Documentation ¶
Overview ¶
Package mock_chainmaker_sdk_go is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockSDKAdapter
- func (m *MockSDKAdapter) EXPECT() *MockSDKAdapterMockRecorder
- func (m *MockSDKAdapter) GetBlockByHeight(blockHeight uint64) (common.Blocker, error)
- func (m *MockSDKAdapter) GetChainConfig() (*protogo.RemoteConfig, error)
- func (m *MockSDKAdapter) GetChainHeight() (uint64, error)
- func (m *MockSDKAdapter) GetTransactionByTxKey(txKey string) (common.Transactioner, error)
- func (m *MockSDKAdapter) Stop() error
- func (m *MockSDKAdapter) SubscribeBlock() (chan common.Blocker, error)
- type MockSDKAdapterMockRecorder
- func (mr *MockSDKAdapterMockRecorder) GetBlockByHeight(blockHeight interface{}) *gomock.Call
- func (mr *MockSDKAdapterMockRecorder) GetChainConfig() *gomock.Call
- func (mr *MockSDKAdapterMockRecorder) GetChainHeight() *gomock.Call
- func (mr *MockSDKAdapterMockRecorder) GetTransactionByTxKey(txKey interface{}) *gomock.Call
- func (mr *MockSDKAdapterMockRecorder) Stop() *gomock.Call
- func (mr *MockSDKAdapterMockRecorder) SubscribeBlock() *gomock.Call
- type MockSDKInterface
- func (m *MockSDKInterface) AddAlias() (*common.TxResponse, error)
- func (m *MockSDKInterface) AddCert() (*common.TxResponse, error)
- func (m *MockSDKInterface) AttachGasLimit(payload *common.Payload, limit *common.Limit) *common.Payload
- func (m *MockSDKInterface) CheckCallerCertAuth(payload string, orgIds []string, signPairs []*syscontract.SignInfo) (*common.TxResponse, error)
- func (m *MockSDKInterface) CreateArchiveBlockPayload(targetBlockHeight uint64) (*common.Payload, error)
- func (m *MockSDKInterface) CreateCertManageFrozenPayload(certs []string) *common.Payload
- func (m *MockSDKInterface) CreateCertManagePayload(method string, kvs []*common.KeyValuePair) *common.Payload
- func (m *MockSDKInterface) CreateCertManageRevocationPayload(certCrl string) *common.Payload
- func (m *MockSDKInterface) CreateCertManageUnfrozenPayload(certs []string) *common.Payload
- func (m *MockSDKInterface) CreateChainConfigAlterAddrTypePayload(addrType string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigBlockUpdatePayload(txTimestampVerify bool, ...) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigConsensusExtAddPayload(kvs []*common.KeyValuePair) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigConsensusExtDeletePayload(keys []string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigConsensusExtUpdatePayload(kvs []*common.KeyValuePair) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigConsensusNodeIdAddPayload(nodeOrgId string, nodeIds []string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigConsensusNodeIdDeletePayload(nodeOrgId, nodeId string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigConsensusNodeIdUpdatePayload(nodeOrgId, nodeOldNodeId, nodeNewNodeId string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigConsensusNodeOrgAddPayload(nodeOrgId string, nodeIds []string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigConsensusNodeOrgDeletePayload(nodeOrgId string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigConsensusNodeOrgUpdatePayload(nodeOrgId string, nodeIds []string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigCoreUpdatePayload(txSchedulerTimeout, txSchedulerValidateTimeout uint64) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigEnableOrDisableGasPayload() (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigOptimizeChargeGasPayload(enable bool) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigPermissionAddPayload(permissionResourceName string, policy *accesscontrol.Policy) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigPermissionDeletePayload(permissionResourceName string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigPermissionUpdatePayload(permissionResourceName string, policy *accesscontrol.Policy) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigTrustMemberAddPayload(trustMemberOrgId, trustMemberNodeId, trustMemberRole, trustMemberInfo string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigTrustMemberDeletePayload(trustMemberInfo string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigTrustRootAddPayload(trustRootOrgId string, trustRootCrt []string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigTrustRootDeletePayload(trustRootOrgId string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigTrustRootUpdatePayload(trustRootOrgId string, trustRootCrt []string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateContractCreatePayload(contractName, version, byteCodeStringOrFilePath string, ...) (*common.Payload, error)
- func (m *MockSDKInterface) CreateContractFreezePayload(contractName string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateContractRevokePayload(contractName string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateContractUnfreezePayload(contractName string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateContractUpgradePayload(contractName, version, byteCodeStringOrFilePath string, ...) (*common.Payload, error)
- func (m *MockSDKInterface) CreateDeleteCertsAliasPayload(aliases []string) *common.Payload
- func (m *MockSDKInterface) CreateFrozenGasAccountPayload(address string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateHibeInitParamsTxPayloadParams(orgId string, hibeParams []byte) ([]*common.KeyValuePair, error)
- func (m *MockSDKInterface) CreateHibeTxPayloadParamsWithHibeParams(plaintext []byte, receiverIds []string, paramsBytesList [][]byte, txId string, ...) ([]*common.KeyValuePair, error)
- func (m *MockSDKInterface) CreateHibeTxPayloadParamsWithoutHibeParams(contractName, queryParamsMethod string, plaintext []byte, ...) ([]*common.KeyValuePair, error)
- func (m *MockSDKInterface) CreateMultiSignReqPayload(pairs []*common.KeyValuePair) *common.Payload
- func (m *MockSDKInterface) CreateNativeContractAccessGrantPayload(grantContractList []string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateNativeContractAccessRevokePayload(revokeContractList []string) (*common.Payload, error)
- func (m *MockSDKInterface) CreatePubkeyAddPayload(pubkey, orgId, role string) (*common.Payload, error)
- func (m *MockSDKInterface) CreatePubkeyDelPayload(pubkey, orgId string) (*common.Payload, error)
- func (m *MockSDKInterface) CreatePubkeyQueryPayload(pubkey string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateRechargeGasPayload(rechargeGasList []*syscontract.RechargeGas) (*common.Payload, error)
- func (m *MockSDKInterface) CreateRefundGasPayload(address string, amount int64) (*common.Payload, error)
- func (m *MockSDKInterface) CreateRestoreBlockPayload(fullBlock []byte) (*common.Payload, error)
- func (m *MockSDKInterface) CreateSaveEnclaveCACertPayload(caCert, txId string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateSaveEnclaveReportPayload(enclaveId, report, txId string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateSetGasAdminPayload(address string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateSetInvokeBaseGasPayload(amount int64) (*common.Payload, error)
- func (m *MockSDKInterface) CreateUnfrozenGasAccountPayload(address string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateUpdateCertByAliasPayload(alias, newCertPEM string) *common.Payload
- func (m *MockSDKInterface) DecryptHibeTxByTxId(localId string, hibeParams, hibePrvKey []byte, txId string, ...) ([]byte, error)
- func (m *MockSDKInterface) DeleteCert(certHashes []string) (*common.TxResponse, error)
- func (m *MockSDKInterface) DeleteCertsAlias(payload *common.Payload, endorsers []*common.EndorsementEntry, timeout int64, ...) (*common.TxResponse, error)
- func (m *MockSDKInterface) DisableCertHash() error
- func (m *MockSDKInterface) EXPECT() *MockSDKInterfaceMockRecorder
- func (m *MockSDKInterface) EnableCertHash() error
- func (m *MockSDKInterface) EstimateGas(payload *common.Payload) (uint64, error)
- func (m *MockSDKInterface) GetArchivedBlockByHash(blockHash string, withRWSet bool) (*common.BlockInfo, error)
- func (m *MockSDKInterface) GetArchivedBlockByHeight(blockHeight uint64, withRWSet bool) (*common.BlockInfo, error)
- func (m *MockSDKInterface) GetArchivedBlockByTxId(txId string, withRWSet bool) (*common.BlockInfo, error)
- func (m *MockSDKInterface) GetArchivedBlockHeight() (uint64, error)
- func (m *MockSDKInterface) GetArchivedFullBlockByHeight(blockHeight uint64) (*store.BlockWithRWSet, error)
- func (m *MockSDKInterface) GetArchivedTxByTxId(txId string) (*common.TransactionInfo, error)
- func (m *MockSDKInterface) GetBlockByHash(blockHash string, withRWSet bool) (*common.BlockInfo, error)
- func (m *MockSDKInterface) GetBlockByHeight(blockHeight uint64, withRWSet bool) (*common.BlockInfo, error)
- func (m *MockSDKInterface) GetBlockByTxId(txId string, withRWSet bool) (*common.BlockInfo, error)
- func (m *MockSDKInterface) GetBlockHeaderByHeight(blockHeight uint64) (*common.BlockHeader, error)
- func (m *MockSDKInterface) GetBlockHeightByHash(blockHash string) (uint64, error)
- func (m *MockSDKInterface) GetBlockHeightByTxId(txId string) (uint64, error)
- func (m *MockSDKInterface) GetCertHash() ([]byte, error)
- func (m *MockSDKInterface) GetChainConfig() (*config.ChainConfig, error)
- func (m *MockSDKInterface) GetChainConfigByBlockHeight(blockHeight uint64) (*config.ChainConfig, error)
- func (m *MockSDKInterface) GetChainConfigPermissionList() ([]*config.ResourcePolicy, error)
- func (m *MockSDKInterface) GetChainConfigSequence() (uint64, error)
- func (m *MockSDKInterface) GetChainInfo() (*discovery.ChainInfo, error)
- func (m *MockSDKInterface) GetChainMakerServerVersion() (string, error)
- func (m *MockSDKInterface) GetContract(contractName, codeHash string) (*common.PrivateGetContract, error)
- func (m *MockSDKInterface) GetContractInfo(contractName string) (*common.Contract, error)
- func (m *MockSDKInterface) GetContractList() ([]*common.Contract, error)
- func (m *MockSDKInterface) GetCurrentBlockHeight() (uint64, error)
- func (m *MockSDKInterface) GetData(contractName, key string) ([]byte, error)
- func (m *MockSDKInterface) GetDir(orderId string) ([]byte, error)
- func (m *MockSDKInterface) GetDisabledNativeContractList() ([]string, error)
- func (m *MockSDKInterface) GetEnclaveCACert() ([]byte, error)
- func (m *MockSDKInterface) GetEnclaveChallenge(enclaveId string) ([]byte, error)
- func (m *MockSDKInterface) GetEnclaveEncryptPubKey(enclaveId string) ([]byte, error)
- func (m *MockSDKInterface) GetEnclaveProof(enclaveId string) ([]byte, error)
- func (m *MockSDKInterface) GetEnclaveReport(enclaveId string) ([]byte, error)
- func (m *MockSDKInterface) GetEnclaveSignature(enclaveId string) ([]byte, error)
- func (m *MockSDKInterface) GetEnclaveVerificationPubKey(enclaveId string) ([]byte, error)
- func (m *MockSDKInterface) GetFullBlockByHeight(blockHeight uint64) (*store.BlockWithRWSet, error)
- func (m *MockSDKInterface) GetGasAccountStatus(address string) (bool, error)
- func (m *MockSDKInterface) GetGasAdmin() (string, error)
- func (m *MockSDKInterface) GetGasBalance(address string) (int64, error)
- func (m *MockSDKInterface) GetLastBlock(withRWSet bool) (*common.BlockInfo, error)
- func (m *MockSDKInterface) GetLastConfigBlock(withRWSet bool) (*common.BlockInfo, error)
- func (m *MockSDKInterface) GetMerklePathByTxId(txId string) ([]byte, error)
- func (m *MockSDKInterface) GetNodeChainList() (*discovery.ChainList, error)
- func (m *MockSDKInterface) GetPoolStatus() (*txpool.TxPoolStatus, error)
- func (m *MockSDKInterface) GetTxByTxId(txId string) (*common.TransactionInfo, error)
- func (m *MockSDKInterface) GetTxIdsByTypeAndStage(txType txpool.TxType, txStage txpool.TxStage) ([]string, error)
- func (m *MockSDKInterface) GetTxRequest(contractName, method, txId string, kvs []*common.KeyValuePair) (*common.TxRequest, error)
- func (m *MockSDKInterface) GetTxWithRWSetByTxId(txId string) (*common.TransactionInfoWithRWSet, error)
- func (m *MockSDKInterface) GetTxsInPoolByTxIds(txIds []string) ([]*common.Transaction, []string, error)
- func (m *MockSDKInterface) InvokeContract(contractName, method, txId string, kvs []*common.KeyValuePair, timeout int64, ...) (*common.TxResponse, error)
- func (m *MockSDKInterface) InvokeContractWithLimit(contractName, method, txId string, kvs []*common.KeyValuePair, timeout int64, ...) (*common.TxResponse, error)
- func (m *MockSDKInterface) InvokeSystemContract(contractName, method, txId string, kvs []*common.KeyValuePair, timeout int64, ...) (*common.TxResponse, error)
- func (m *MockSDKInterface) MultiSignContractQuery(txId string) (*common.TxResponse, error)
- func (m *MockSDKInterface) MultiSignContractReq(payload *common.Payload) (*common.TxResponse, error)
- func (m *MockSDKInterface) MultiSignContractVote(payload *common.Payload, endorser *common.EndorsementEntry, isAgree bool) (*common.TxResponse, error)
- func (m *MockSDKInterface) QueryCert(certHashes []string) (*common.CertInfos, error)
- func (m *MockSDKInterface) QueryCertsAlias(aliases []string) (*common.AliasInfos, error)
- func (m *MockSDKInterface) QueryContract(contractName, method string, kvs []*common.KeyValuePair, timeout int64) (*common.TxResponse, error)
- func (m *MockSDKInterface) QueryHibeParamsWithOrgId(contractName, method, orgId string, timeout int64) ([]byte, error)
- func (m *MockSDKInterface) QuerySystemContract(contractName, method string, kvs []*common.KeyValuePair, timeout int64) (*common.TxResponse, error)
- func (m *MockSDKInterface) SaveData(contractName, contractVersion string, isDeployment bool, ...) (*common.TxResponse, error)
- func (m *MockSDKInterface) SaveDir(orderId, txId string, privateDir *common.StrSlice, withSyncResult bool, ...) (*common.TxResponse, error)
- func (m *MockSDKInterface) SaveRemoteAttestationProof(proof, txId string, withSyncResult bool, timeout int64) (*common.TxResponse, error)
- func (m *MockSDKInterface) SendArchiveBlockRequest(payload *common.Payload, timeout int64) (*common.TxResponse, error)
- func (m *MockSDKInterface) SendCertManageRequest(payload *common.Payload, endorsers []*common.EndorsementEntry, timeout int64, ...) (*common.TxResponse, error)
- func (m *MockSDKInterface) SendChainConfigUpdateRequest(payload *common.Payload, endorsers []*common.EndorsementEntry, timeout int64, ...) (*common.TxResponse, error)
- func (m *MockSDKInterface) SendContractManageRequest(payload *common.Payload, endorsers []*common.EndorsementEntry, timeout int64, ...) (*common.TxResponse, error)
- func (m *MockSDKInterface) SendGasManageRequest(payload *common.Payload, endorsers []*common.EndorsementEntry, timeout int64, ...) (*common.TxResponse, error)
- func (m *MockSDKInterface) SendPubkeyManageRequest(payload *common.Payload, endorsers []*common.EndorsementEntry, timeout int64, ...) (*common.TxResponse, error)
- func (m *MockSDKInterface) SendRestoreBlockRequest(payload *common.Payload, timeout int64) (*common.TxResponse, error)
- func (m *MockSDKInterface) SendTxRequest(txRequest *common.TxRequest, timeout int64, withSyncResult bool) (*common.TxResponse, error)
- func (m *MockSDKInterface) SignArchivePayload(payload *common.Payload) (*common.Payload, error)
- func (m *MockSDKInterface) SignCertManagePayload(payload *common.Payload) (*common.EndorsementEntry, error)
- func (m *MockSDKInterface) SignChainConfigPayload(payload *common.Payload) (*common.EndorsementEntry, error)
- func (m *MockSDKInterface) SignContractManagePayload(payload *common.Payload) (*common.EndorsementEntry, error)
- func (m *MockSDKInterface) SignDeleteAliasPayload(payload *common.Payload) (*common.EndorsementEntry, error)
- func (m *MockSDKInterface) SignUpdateCertByAliasPayload(payload *common.Payload) (*common.EndorsementEntry, error)
- func (m *MockSDKInterface) Stop() error
- func (m *MockSDKInterface) Subscribe(ctx context.Context, payloadBytes *common.Payload) (<-chan interface{}, error)
- func (m *MockSDKInterface) SubscribeBlock(ctx context.Context, startBlock, endBlock int64, withRWSet, onlyHeader bool) (<-chan interface{}, error)
- func (m *MockSDKInterface) SubscribeContractEvent(ctx context.Context, startBlock, endBlock int64, contractName, topic string) (<-chan interface{}, error)
- func (m *MockSDKInterface) SubscribeTx(ctx context.Context, startBlock, endBlock int64, contractName string, ...) (<-chan interface{}, error)
- func (m *MockSDKInterface) UpdateCertByAlias(payload *common.Payload, endorsers []*common.EndorsementEntry, timeout int64, ...) (*common.TxResponse, error)
- type MockSDKInterfaceMockRecorder
- func (mr *MockSDKInterfaceMockRecorder) AddAlias() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) AddCert() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) AttachGasLimit(payload, limit interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CheckCallerCertAuth(payload, orgIds, signPairs interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateArchiveBlockPayload(targetBlockHeight interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateCertManageFrozenPayload(certs interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateCertManagePayload(method, kvs interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateCertManageRevocationPayload(certCrl interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateCertManageUnfrozenPayload(certs interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigAlterAddrTypePayload(addrType interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigBlockUpdatePayload(...) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusExtAddPayload(kvs interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusExtDeletePayload(keys interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusExtUpdatePayload(kvs interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeIdAddPayload(nodeOrgId, nodeIds interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeIdDeletePayload(nodeOrgId, nodeId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeIdUpdatePayload(nodeOrgId, nodeOldNodeId, nodeNewNodeId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeOrgAddPayload(nodeOrgId, nodeIds interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeOrgDeletePayload(nodeOrgId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeOrgUpdatePayload(nodeOrgId, nodeIds interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigCoreUpdatePayload(txSchedulerTimeout, txSchedulerValidateTimeout interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigEnableOrDisableGasPayload() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigOptimizeChargeGasPayload(enable interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigPermissionAddPayload(permissionResourceName, policy interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigPermissionDeletePayload(permissionResourceName interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigPermissionUpdatePayload(permissionResourceName, policy interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigTrustMemberAddPayload(...) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigTrustMemberDeletePayload(trustMemberInfo interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigTrustRootAddPayload(trustRootOrgId, trustRootCrt interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigTrustRootDeletePayload(trustRootOrgId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigTrustRootUpdatePayload(trustRootOrgId, trustRootCrt interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateContractCreatePayload(contractName, version, byteCodeStringOrFilePath, runtime, kvs interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateContractFreezePayload(contractName interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateContractRevokePayload(contractName interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateContractUnfreezePayload(contractName interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateContractUpgradePayload(contractName, version, byteCodeStringOrFilePath, runtime, kvs interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateDeleteCertsAliasPayload(aliases interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateFrozenGasAccountPayload(address interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateHibeInitParamsTxPayloadParams(orgId, hibeParams interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateHibeTxPayloadParamsWithHibeParams(plaintext, receiverIds, paramsBytesList, txId, keyType interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateHibeTxPayloadParamsWithoutHibeParams(...) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateMultiSignReqPayload(pairs interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateNativeContractAccessGrantPayload(grantContractList interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateNativeContractAccessRevokePayload(revokeContractList interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreatePubkeyAddPayload(pubkey, orgId, role interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreatePubkeyDelPayload(pubkey, orgId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreatePubkeyQueryPayload(pubkey interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateRechargeGasPayload(rechargeGasList interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateRefundGasPayload(address, amount interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateRestoreBlockPayload(fullBlock interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateSaveEnclaveCACertPayload(caCert, txId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateSaveEnclaveReportPayload(enclaveId, report, txId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateSetGasAdminPayload(address interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateSetInvokeBaseGasPayload(amount interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateUnfrozenGasAccountPayload(address interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateUpdateCertByAliasPayload(alias, newCertPEM interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) DecryptHibeTxByTxId(localId, hibeParams, hibePrvKey, txId, keyType interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) DeleteCert(certHashes interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) DeleteCertsAlias(payload, endorsers, timeout, withSyncResult interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) DisableCertHash() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) EnableCertHash() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) EstimateGas(payload interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetArchivedBlockByHash(blockHash, withRWSet interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetArchivedBlockByHeight(blockHeight, withRWSet interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetArchivedBlockByTxId(txId, withRWSet interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetArchivedBlockHeight() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetArchivedFullBlockByHeight(blockHeight interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetArchivedTxByTxId(txId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetBlockByHash(blockHash, withRWSet interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetBlockByHeight(blockHeight, withRWSet interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetBlockByTxId(txId, withRWSet interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetBlockHeaderByHeight(blockHeight interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetBlockHeightByHash(blockHash interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetBlockHeightByTxId(txId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetCertHash() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetChainConfig() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetChainConfigByBlockHeight(blockHeight interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetChainConfigPermissionList() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetChainConfigSequence() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetChainInfo() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetChainMakerServerVersion() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetContract(contractName, codeHash interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetContractInfo(contractName interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetContractList() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetCurrentBlockHeight() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetData(contractName, key interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetDir(orderId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetDisabledNativeContractList() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetEnclaveCACert() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetEnclaveChallenge(enclaveId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetEnclaveEncryptPubKey(enclaveId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetEnclaveProof(enclaveId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetEnclaveReport(enclaveId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetEnclaveSignature(enclaveId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetEnclaveVerificationPubKey(enclaveId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetFullBlockByHeight(blockHeight interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetGasAccountStatus(address interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetGasAdmin() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetGasBalance(address interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetLastBlock(withRWSet interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetLastConfigBlock(withRWSet interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetMerklePathByTxId(txId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetNodeChainList() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetPoolStatus() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetTxByTxId(txId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetTxIdsByTypeAndStage(txType, txStage interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetTxRequest(contractName, method, txId, kvs interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetTxWithRWSetByTxId(txId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetTxsInPoolByTxIds(txIds interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) InvokeContract(contractName, method, txId, kvs, timeout, withSyncResult interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) InvokeContractWithLimit(contractName, method, txId, kvs, timeout, withSyncResult, limit interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) InvokeSystemContract(contractName, method, txId, kvs, timeout, withSyncResult interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) MultiSignContractQuery(txId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) MultiSignContractReq(payload interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) MultiSignContractVote(payload, endorser, isAgree interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) QueryCert(certHashes interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) QueryCertsAlias(aliases interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) QueryContract(contractName, method, kvs, timeout interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) QueryHibeParamsWithOrgId(contractName, method, orgId, timeout interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) QuerySystemContract(contractName, method, kvs, timeout interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SaveData(...) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SaveDir(orderId, txId, privateDir, withSyncResult, timeout interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SaveRemoteAttestationProof(proof, txId, withSyncResult, timeout interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SendArchiveBlockRequest(payload, timeout interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SendCertManageRequest(payload, endorsers, timeout, withSyncResult interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SendChainConfigUpdateRequest(payload, endorsers, timeout, withSyncResult interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SendContractManageRequest(payload, endorsers, timeout, withSyncResult interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SendGasManageRequest(payload, endorsers, timeout, withSyncResult interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SendPubkeyManageRequest(payload, endorsers, timeout, withSyncResult interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SendRestoreBlockRequest(payload, timeout interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SendTxRequest(txRequest, timeout, withSyncResult interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SignArchivePayload(payload interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SignCertManagePayload(payload interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SignChainConfigPayload(payload interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SignContractManagePayload(payload interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SignDeleteAliasPayload(payload interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SignUpdateCertByAliasPayload(payload interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) Stop() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) Subscribe(ctx, payloadBytes interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SubscribeBlock(ctx, startBlock, endBlock, withRWSet, onlyHeader interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SubscribeContractEvent(ctx, startBlock, endBlock, contractName, topic interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SubscribeTx(ctx, startBlock, endBlock, contractName, txIds interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) UpdateCertByAlias(payload, endorsers, timeout, withSyncResult interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSDKAdapter ¶
type MockSDKAdapter struct {
// contains filtered or unexported fields
}
MockSDKAdapter is a mock of SDKAdapter interface.
func NewMockSDKAdapter ¶
func NewMockSDKAdapter(ctrl *gomock.Controller) *MockSDKAdapter
NewMockSDKAdapter creates a new mock instance.
func (*MockSDKAdapter) EXPECT ¶
func (m *MockSDKAdapter) EXPECT() *MockSDKAdapterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSDKAdapter) GetBlockByHeight ¶
func (m *MockSDKAdapter) GetBlockByHeight(blockHeight uint64) (common.Blocker, error)
GetBlockByHeight mocks base method.
func (*MockSDKAdapter) GetChainConfig ¶
func (m *MockSDKAdapter) GetChainConfig() (*protogo.RemoteConfig, error)
GetChainConfig mocks base method.
func (*MockSDKAdapter) GetChainHeight ¶
func (m *MockSDKAdapter) GetChainHeight() (uint64, error)
GetChainHeight mocks base method.
func (*MockSDKAdapter) GetTransactionByTxKey ¶
func (m *MockSDKAdapter) GetTransactionByTxKey(txKey string) (common.Transactioner, error)
GetTransactionByTxKey mocks base method.
func (*MockSDKAdapter) SubscribeBlock ¶
func (m *MockSDKAdapter) SubscribeBlock() (chan common.Blocker, error)
SubscribeBlock mocks base method.
type MockSDKAdapterMockRecorder ¶
type MockSDKAdapterMockRecorder struct {
// contains filtered or unexported fields
}
MockSDKAdapterMockRecorder is the mock recorder for MockSDKAdapter.
func (*MockSDKAdapterMockRecorder) GetBlockByHeight ¶
func (mr *MockSDKAdapterMockRecorder) GetBlockByHeight(blockHeight interface{}) *gomock.Call
GetBlockByHeight indicates an expected call of GetBlockByHeight.
func (*MockSDKAdapterMockRecorder) GetChainConfig ¶
func (mr *MockSDKAdapterMockRecorder) GetChainConfig() *gomock.Call
GetChainConfig indicates an expected call of GetChainConfig.
func (*MockSDKAdapterMockRecorder) GetChainHeight ¶
func (mr *MockSDKAdapterMockRecorder) GetChainHeight() *gomock.Call
GetChainHeight indicates an expected call of GetChainHeight.
func (*MockSDKAdapterMockRecorder) GetTransactionByTxKey ¶
func (mr *MockSDKAdapterMockRecorder) GetTransactionByTxKey(txKey interface{}) *gomock.Call
GetTransactionByTxKey indicates an expected call of GetTransactionByTxKey.
func (*MockSDKAdapterMockRecorder) Stop ¶
func (mr *MockSDKAdapterMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
func (*MockSDKAdapterMockRecorder) SubscribeBlock ¶
func (mr *MockSDKAdapterMockRecorder) SubscribeBlock() *gomock.Call
SubscribeBlock indicates an expected call of SubscribeBlock.
type MockSDKInterface ¶
type MockSDKInterface struct {
// contains filtered or unexported fields
}
MockSDKInterface is a mock of SDKInterface interface.
func NewMockSDKInterface ¶
func NewMockSDKInterface(ctrl *gomock.Controller) *MockSDKInterface
NewMockSDKInterface creates a new mock instance.
func (*MockSDKInterface) AddAlias ¶ added in v2.2.1
func (m *MockSDKInterface) AddAlias() (*common.TxResponse, error)
AddAlias mocks base method.
func (*MockSDKInterface) AddCert ¶
func (m *MockSDKInterface) AddCert() (*common.TxResponse, error)
AddCert mocks base method.
func (*MockSDKInterface) AttachGasLimit ¶ added in v2.2.1
func (m *MockSDKInterface) AttachGasLimit(payload *common.Payload, limit *common.Limit) *common.Payload
AttachGasLimit mocks base method.
func (*MockSDKInterface) CheckCallerCertAuth ¶
func (m *MockSDKInterface) CheckCallerCertAuth(payload string, orgIds []string, signPairs []*syscontract.SignInfo) (*common.TxResponse, error)
CheckCallerCertAuth mocks base method.
func (*MockSDKInterface) CreateArchiveBlockPayload ¶
func (m *MockSDKInterface) CreateArchiveBlockPayload(targetBlockHeight uint64) (*common.Payload, error)
CreateArchiveBlockPayload mocks base method.
func (*MockSDKInterface) CreateCertManageFrozenPayload ¶
func (m *MockSDKInterface) CreateCertManageFrozenPayload(certs []string) *common.Payload
CreateCertManageFrozenPayload mocks base method.
func (*MockSDKInterface) CreateCertManagePayload ¶
func (m *MockSDKInterface) CreateCertManagePayload(method string, kvs []*common.KeyValuePair) *common.Payload
CreateCertManagePayload mocks base method.
func (*MockSDKInterface) CreateCertManageRevocationPayload ¶
func (m *MockSDKInterface) CreateCertManageRevocationPayload(certCrl string) *common.Payload
CreateCertManageRevocationPayload mocks base method.
func (*MockSDKInterface) CreateCertManageUnfrozenPayload ¶
func (m *MockSDKInterface) CreateCertManageUnfrozenPayload(certs []string) *common.Payload
CreateCertManageUnfrozenPayload mocks base method.
func (*MockSDKInterface) CreateChainConfigAlterAddrTypePayload ¶ added in v2.2.1
func (m *MockSDKInterface) CreateChainConfigAlterAddrTypePayload(addrType string) (*common.Payload, error)
CreateChainConfigAlterAddrTypePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigBlockUpdatePayload ¶
func (m *MockSDKInterface) CreateChainConfigBlockUpdatePayload(txTimestampVerify bool, txTimeout, blockTxCapacity, blockSize, blockInterval, txParamterSize uint32) (*common.Payload, error)
CreateChainConfigBlockUpdatePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigConsensusExtAddPayload ¶
func (m *MockSDKInterface) CreateChainConfigConsensusExtAddPayload(kvs []*common.KeyValuePair) (*common.Payload, error)
CreateChainConfigConsensusExtAddPayload mocks base method.
func (*MockSDKInterface) CreateChainConfigConsensusExtDeletePayload ¶
func (m *MockSDKInterface) CreateChainConfigConsensusExtDeletePayload(keys []string) (*common.Payload, error)
CreateChainConfigConsensusExtDeletePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigConsensusExtUpdatePayload ¶
func (m *MockSDKInterface) CreateChainConfigConsensusExtUpdatePayload(kvs []*common.KeyValuePair) (*common.Payload, error)
CreateChainConfigConsensusExtUpdatePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigConsensusNodeIdAddPayload ¶
func (m *MockSDKInterface) CreateChainConfigConsensusNodeIdAddPayload(nodeOrgId string, nodeIds []string) (*common.Payload, error)
CreateChainConfigConsensusNodeIdAddPayload mocks base method.
func (*MockSDKInterface) CreateChainConfigConsensusNodeIdDeletePayload ¶
func (m *MockSDKInterface) CreateChainConfigConsensusNodeIdDeletePayload(nodeOrgId, nodeId string) (*common.Payload, error)
CreateChainConfigConsensusNodeIdDeletePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigConsensusNodeIdUpdatePayload ¶
func (m *MockSDKInterface) CreateChainConfigConsensusNodeIdUpdatePayload(nodeOrgId, nodeOldNodeId, nodeNewNodeId string) (*common.Payload, error)
CreateChainConfigConsensusNodeIdUpdatePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigConsensusNodeOrgAddPayload ¶
func (m *MockSDKInterface) CreateChainConfigConsensusNodeOrgAddPayload(nodeOrgId string, nodeIds []string) (*common.Payload, error)
CreateChainConfigConsensusNodeOrgAddPayload mocks base method.
func (*MockSDKInterface) CreateChainConfigConsensusNodeOrgDeletePayload ¶
func (m *MockSDKInterface) CreateChainConfigConsensusNodeOrgDeletePayload(nodeOrgId string) (*common.Payload, error)
CreateChainConfigConsensusNodeOrgDeletePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigConsensusNodeOrgUpdatePayload ¶
func (m *MockSDKInterface) CreateChainConfigConsensusNodeOrgUpdatePayload(nodeOrgId string, nodeIds []string) (*common.Payload, error)
CreateChainConfigConsensusNodeOrgUpdatePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigCoreUpdatePayload ¶
func (m *MockSDKInterface) CreateChainConfigCoreUpdatePayload(txSchedulerTimeout, txSchedulerValidateTimeout uint64) (*common.Payload, error)
CreateChainConfigCoreUpdatePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigEnableOrDisableGasPayload ¶ added in v2.2.1
func (m *MockSDKInterface) CreateChainConfigEnableOrDisableGasPayload() (*common.Payload, error)
CreateChainConfigEnableOrDisableGasPayload mocks base method.
func (*MockSDKInterface) CreateChainConfigOptimizeChargeGasPayload ¶ added in v2.2.1
func (m *MockSDKInterface) CreateChainConfigOptimizeChargeGasPayload(enable bool) (*common.Payload, error)
CreateChainConfigOptimizeChargeGasPayload mocks base method.
func (*MockSDKInterface) CreateChainConfigPermissionAddPayload ¶
func (m *MockSDKInterface) CreateChainConfigPermissionAddPayload(permissionResourceName string, policy *accesscontrol.Policy) (*common.Payload, error)
CreateChainConfigPermissionAddPayload mocks base method.
func (*MockSDKInterface) CreateChainConfigPermissionDeletePayload ¶
func (m *MockSDKInterface) CreateChainConfigPermissionDeletePayload(permissionResourceName string) (*common.Payload, error)
CreateChainConfigPermissionDeletePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigPermissionUpdatePayload ¶
func (m *MockSDKInterface) CreateChainConfigPermissionUpdatePayload(permissionResourceName string, policy *accesscontrol.Policy) (*common.Payload, error)
CreateChainConfigPermissionUpdatePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigTrustMemberAddPayload ¶
func (m *MockSDKInterface) CreateChainConfigTrustMemberAddPayload(trustMemberOrgId, trustMemberNodeId, trustMemberRole, trustMemberInfo string) (*common.Payload, error)
CreateChainConfigTrustMemberAddPayload mocks base method.
func (*MockSDKInterface) CreateChainConfigTrustMemberDeletePayload ¶
func (m *MockSDKInterface) CreateChainConfigTrustMemberDeletePayload(trustMemberInfo string) (*common.Payload, error)
CreateChainConfigTrustMemberDeletePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigTrustRootAddPayload ¶
func (m *MockSDKInterface) CreateChainConfigTrustRootAddPayload(trustRootOrgId string, trustRootCrt []string) (*common.Payload, error)
CreateChainConfigTrustRootAddPayload mocks base method.
func (*MockSDKInterface) CreateChainConfigTrustRootDeletePayload ¶
func (m *MockSDKInterface) CreateChainConfigTrustRootDeletePayload(trustRootOrgId string) (*common.Payload, error)
CreateChainConfigTrustRootDeletePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigTrustRootUpdatePayload ¶
func (m *MockSDKInterface) CreateChainConfigTrustRootUpdatePayload(trustRootOrgId string, trustRootCrt []string) (*common.Payload, error)
CreateChainConfigTrustRootUpdatePayload mocks base method.
func (*MockSDKInterface) CreateContractCreatePayload ¶
func (m *MockSDKInterface) CreateContractCreatePayload(contractName, version, byteCodeStringOrFilePath string, runtime common.RuntimeType, kvs []*common.KeyValuePair) (*common.Payload, error)
CreateContractCreatePayload mocks base method.
func (*MockSDKInterface) CreateContractFreezePayload ¶
func (m *MockSDKInterface) CreateContractFreezePayload(contractName string) (*common.Payload, error)
CreateContractFreezePayload mocks base method.
func (*MockSDKInterface) CreateContractRevokePayload ¶
func (m *MockSDKInterface) CreateContractRevokePayload(contractName string) (*common.Payload, error)
CreateContractRevokePayload mocks base method.
func (*MockSDKInterface) CreateContractUnfreezePayload ¶
func (m *MockSDKInterface) CreateContractUnfreezePayload(contractName string) (*common.Payload, error)
CreateContractUnfreezePayload mocks base method.
func (*MockSDKInterface) CreateContractUpgradePayload ¶
func (m *MockSDKInterface) CreateContractUpgradePayload(contractName, version, byteCodeStringOrFilePath string, runtime common.RuntimeType, kvs []*common.KeyValuePair) (*common.Payload, error)
CreateContractUpgradePayload mocks base method.
func (*MockSDKInterface) CreateDeleteCertsAliasPayload ¶ added in v2.2.1
func (m *MockSDKInterface) CreateDeleteCertsAliasPayload(aliases []string) *common.Payload
CreateDeleteCertsAliasPayload mocks base method.
func (*MockSDKInterface) CreateFrozenGasAccountPayload ¶ added in v2.2.1
func (m *MockSDKInterface) CreateFrozenGasAccountPayload(address string) (*common.Payload, error)
CreateFrozenGasAccountPayload mocks base method.
func (*MockSDKInterface) CreateHibeInitParamsTxPayloadParams ¶
func (m *MockSDKInterface) CreateHibeInitParamsTxPayloadParams(orgId string, hibeParams []byte) ([]*common.KeyValuePair, error)
CreateHibeInitParamsTxPayloadParams mocks base method.
func (*MockSDKInterface) CreateHibeTxPayloadParamsWithHibeParams ¶
func (m *MockSDKInterface) CreateHibeTxPayloadParamsWithHibeParams(plaintext []byte, receiverIds []string, paramsBytesList [][]byte, txId string, keyType crypto.KeyType) ([]*common.KeyValuePair, error)
CreateHibeTxPayloadParamsWithHibeParams mocks base method.
func (*MockSDKInterface) CreateHibeTxPayloadParamsWithoutHibeParams ¶
func (m *MockSDKInterface) CreateHibeTxPayloadParamsWithoutHibeParams(contractName, queryParamsMethod string, plaintext []byte, receiverIds, receiverOrgIds []string, txId string, keyType crypto.KeyType, timeout int64) ([]*common.KeyValuePair, error)
CreateHibeTxPayloadParamsWithoutHibeParams mocks base method.
func (*MockSDKInterface) CreateMultiSignReqPayload ¶ added in v2.2.1
func (m *MockSDKInterface) CreateMultiSignReqPayload(pairs []*common.KeyValuePair) *common.Payload
CreateMultiSignReqPayload mocks base method.
func (*MockSDKInterface) CreateNativeContractAccessGrantPayload ¶ added in v2.2.1
func (m *MockSDKInterface) CreateNativeContractAccessGrantPayload(grantContractList []string) (*common.Payload, error)
CreateNativeContractAccessGrantPayload mocks base method.
func (*MockSDKInterface) CreateNativeContractAccessRevokePayload ¶ added in v2.2.1
func (m *MockSDKInterface) CreateNativeContractAccessRevokePayload(revokeContractList []string) (*common.Payload, error)
CreateNativeContractAccessRevokePayload mocks base method.
func (*MockSDKInterface) CreatePubkeyAddPayload ¶ added in v2.2.1
func (m *MockSDKInterface) CreatePubkeyAddPayload(pubkey, orgId, role string) (*common.Payload, error)
CreatePubkeyAddPayload mocks base method.
func (*MockSDKInterface) CreatePubkeyDelPayload ¶ added in v2.2.1
func (m *MockSDKInterface) CreatePubkeyDelPayload(pubkey, orgId string) (*common.Payload, error)
CreatePubkeyDelPayload mocks base method.
func (*MockSDKInterface) CreatePubkeyQueryPayload ¶ added in v2.2.1
func (m *MockSDKInterface) CreatePubkeyQueryPayload(pubkey string) (*common.Payload, error)
CreatePubkeyQueryPayload mocks base method.
func (*MockSDKInterface) CreateRechargeGasPayload ¶ added in v2.2.1
func (m *MockSDKInterface) CreateRechargeGasPayload(rechargeGasList []*syscontract.RechargeGas) (*common.Payload, error)
CreateRechargeGasPayload mocks base method.
func (*MockSDKInterface) CreateRefundGasPayload ¶ added in v2.2.1
func (m *MockSDKInterface) CreateRefundGasPayload(address string, amount int64) (*common.Payload, error)
CreateRefundGasPayload mocks base method.
func (*MockSDKInterface) CreateRestoreBlockPayload ¶
func (m *MockSDKInterface) CreateRestoreBlockPayload(fullBlock []byte) (*common.Payload, error)
CreateRestoreBlockPayload mocks base method.
func (*MockSDKInterface) CreateSaveEnclaveCACertPayload ¶
func (m *MockSDKInterface) CreateSaveEnclaveCACertPayload(caCert, txId string) (*common.Payload, error)
CreateSaveEnclaveCACertPayload mocks base method.
func (*MockSDKInterface) CreateSaveEnclaveReportPayload ¶
func (m *MockSDKInterface) CreateSaveEnclaveReportPayload(enclaveId, report, txId string) (*common.Payload, error)
CreateSaveEnclaveReportPayload mocks base method.
func (*MockSDKInterface) CreateSetGasAdminPayload ¶ added in v2.2.1
func (m *MockSDKInterface) CreateSetGasAdminPayload(address string) (*common.Payload, error)
CreateSetGasAdminPayload mocks base method.
func (*MockSDKInterface) CreateSetInvokeBaseGasPayload ¶ added in v2.2.1
func (m *MockSDKInterface) CreateSetInvokeBaseGasPayload(amount int64) (*common.Payload, error)
CreateSetInvokeBaseGasPayload mocks base method.
func (*MockSDKInterface) CreateUnfrozenGasAccountPayload ¶ added in v2.2.1
func (m *MockSDKInterface) CreateUnfrozenGasAccountPayload(address string) (*common.Payload, error)
CreateUnfrozenGasAccountPayload mocks base method.
func (*MockSDKInterface) CreateUpdateCertByAliasPayload ¶ added in v2.2.1
func (m *MockSDKInterface) CreateUpdateCertByAliasPayload(alias, newCertPEM string) *common.Payload
CreateUpdateCertByAliasPayload mocks base method.
func (*MockSDKInterface) DecryptHibeTxByTxId ¶
func (m *MockSDKInterface) DecryptHibeTxByTxId(localId string, hibeParams, hibePrvKey []byte, txId string, keyType crypto.KeyType) ([]byte, error)
DecryptHibeTxByTxId mocks base method.
func (*MockSDKInterface) DeleteCert ¶
func (m *MockSDKInterface) DeleteCert(certHashes []string) (*common.TxResponse, error)
DeleteCert mocks base method.
func (*MockSDKInterface) DeleteCertsAlias ¶ added in v2.2.1
func (m *MockSDKInterface) DeleteCertsAlias(payload *common.Payload, endorsers []*common.EndorsementEntry, timeout int64, withSyncResult bool) (*common.TxResponse, error)
DeleteCertsAlias mocks base method.
func (*MockSDKInterface) DisableCertHash ¶
func (m *MockSDKInterface) DisableCertHash() error
DisableCertHash mocks base method.
func (*MockSDKInterface) EXPECT ¶
func (m *MockSDKInterface) EXPECT() *MockSDKInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSDKInterface) EnableCertHash ¶
func (m *MockSDKInterface) EnableCertHash() error
EnableCertHash mocks base method.
func (*MockSDKInterface) EstimateGas ¶ added in v2.2.1
func (m *MockSDKInterface) EstimateGas(payload *common.Payload) (uint64, error)
EstimateGas mocks base method.
func (*MockSDKInterface) GetArchivedBlockByHash ¶
func (m *MockSDKInterface) GetArchivedBlockByHash(blockHash string, withRWSet bool) (*common.BlockInfo, error)
GetArchivedBlockByHash mocks base method.
func (*MockSDKInterface) GetArchivedBlockByHeight ¶
func (m *MockSDKInterface) GetArchivedBlockByHeight(blockHeight uint64, withRWSet bool) (*common.BlockInfo, error)
GetArchivedBlockByHeight mocks base method.
func (*MockSDKInterface) GetArchivedBlockByTxId ¶
func (m *MockSDKInterface) GetArchivedBlockByTxId(txId string, withRWSet bool) (*common.BlockInfo, error)
GetArchivedBlockByTxId mocks base method.
func (*MockSDKInterface) GetArchivedBlockHeight ¶
func (m *MockSDKInterface) GetArchivedBlockHeight() (uint64, error)
GetArchivedBlockHeight mocks base method.
func (*MockSDKInterface) GetArchivedFullBlockByHeight ¶
func (m *MockSDKInterface) GetArchivedFullBlockByHeight(blockHeight uint64) (*store.BlockWithRWSet, error)
GetArchivedFullBlockByHeight mocks base method.
func (*MockSDKInterface) GetArchivedTxByTxId ¶
func (m *MockSDKInterface) GetArchivedTxByTxId(txId string) (*common.TransactionInfo, error)
GetArchivedTxByTxId mocks base method.
func (*MockSDKInterface) GetBlockByHash ¶
func (m *MockSDKInterface) GetBlockByHash(blockHash string, withRWSet bool) (*common.BlockInfo, error)
GetBlockByHash mocks base method.
func (*MockSDKInterface) GetBlockByHeight ¶
func (m *MockSDKInterface) GetBlockByHeight(blockHeight uint64, withRWSet bool) (*common.BlockInfo, error)
GetBlockByHeight mocks base method.
func (*MockSDKInterface) GetBlockByTxId ¶
GetBlockByTxId mocks base method.
func (*MockSDKInterface) GetBlockHeaderByHeight ¶
func (m *MockSDKInterface) GetBlockHeaderByHeight(blockHeight uint64) (*common.BlockHeader, error)
GetBlockHeaderByHeight mocks base method.
func (*MockSDKInterface) GetBlockHeightByHash ¶
func (m *MockSDKInterface) GetBlockHeightByHash(blockHash string) (uint64, error)
GetBlockHeightByHash mocks base method.
func (*MockSDKInterface) GetBlockHeightByTxId ¶
func (m *MockSDKInterface) GetBlockHeightByTxId(txId string) (uint64, error)
GetBlockHeightByTxId mocks base method.
func (*MockSDKInterface) GetCertHash ¶
func (m *MockSDKInterface) GetCertHash() ([]byte, error)
GetCertHash mocks base method.
func (*MockSDKInterface) GetChainConfig ¶
func (m *MockSDKInterface) GetChainConfig() (*config.ChainConfig, error)
GetChainConfig mocks base method.
func (*MockSDKInterface) GetChainConfigByBlockHeight ¶
func (m *MockSDKInterface) GetChainConfigByBlockHeight(blockHeight uint64) (*config.ChainConfig, error)
GetChainConfigByBlockHeight mocks base method.
func (*MockSDKInterface) GetChainConfigPermissionList ¶ added in v2.2.1
func (m *MockSDKInterface) GetChainConfigPermissionList() ([]*config.ResourcePolicy, error)
GetChainConfigPermissionList mocks base method.
func (*MockSDKInterface) GetChainConfigSequence ¶
func (m *MockSDKInterface) GetChainConfigSequence() (uint64, error)
GetChainConfigSequence mocks base method.
func (*MockSDKInterface) GetChainInfo ¶
func (m *MockSDKInterface) GetChainInfo() (*discovery.ChainInfo, error)
GetChainInfo mocks base method.
func (*MockSDKInterface) GetChainMakerServerVersion ¶
func (m *MockSDKInterface) GetChainMakerServerVersion() (string, error)
GetChainMakerServerVersion mocks base method.
func (*MockSDKInterface) GetContract ¶
func (m *MockSDKInterface) GetContract(contractName, codeHash string) (*common.PrivateGetContract, error)
GetContract mocks base method.
func (*MockSDKInterface) GetContractInfo ¶ added in v2.2.1
func (m *MockSDKInterface) GetContractInfo(contractName string) (*common.Contract, error)
GetContractInfo mocks base method.
func (*MockSDKInterface) GetContractList ¶ added in v2.2.1
func (m *MockSDKInterface) GetContractList() ([]*common.Contract, error)
GetContractList mocks base method.
func (*MockSDKInterface) GetCurrentBlockHeight ¶
func (m *MockSDKInterface) GetCurrentBlockHeight() (uint64, error)
GetCurrentBlockHeight mocks base method.
func (*MockSDKInterface) GetData ¶
func (m *MockSDKInterface) GetData(contractName, key string) ([]byte, error)
GetData mocks base method.
func (*MockSDKInterface) GetDir ¶
func (m *MockSDKInterface) GetDir(orderId string) ([]byte, error)
GetDir mocks base method.
func (*MockSDKInterface) GetDisabledNativeContractList ¶ added in v2.2.1
func (m *MockSDKInterface) GetDisabledNativeContractList() ([]string, error)
GetDisabledNativeContractList mocks base method.
func (*MockSDKInterface) GetEnclaveCACert ¶
func (m *MockSDKInterface) GetEnclaveCACert() ([]byte, error)
GetEnclaveCACert mocks base method.
func (*MockSDKInterface) GetEnclaveChallenge ¶
func (m *MockSDKInterface) GetEnclaveChallenge(enclaveId string) ([]byte, error)
GetEnclaveChallenge mocks base method.
func (*MockSDKInterface) GetEnclaveEncryptPubKey ¶
func (m *MockSDKInterface) GetEnclaveEncryptPubKey(enclaveId string) ([]byte, error)
GetEnclaveEncryptPubKey mocks base method.
func (*MockSDKInterface) GetEnclaveProof ¶
func (m *MockSDKInterface) GetEnclaveProof(enclaveId string) ([]byte, error)
GetEnclaveProof mocks base method.
func (*MockSDKInterface) GetEnclaveReport ¶
func (m *MockSDKInterface) GetEnclaveReport(enclaveId string) ([]byte, error)
GetEnclaveReport mocks base method.
func (*MockSDKInterface) GetEnclaveSignature ¶
func (m *MockSDKInterface) GetEnclaveSignature(enclaveId string) ([]byte, error)
GetEnclaveSignature mocks base method.
func (*MockSDKInterface) GetEnclaveVerificationPubKey ¶
func (m *MockSDKInterface) GetEnclaveVerificationPubKey(enclaveId string) ([]byte, error)
GetEnclaveVerificationPubKey mocks base method.
func (*MockSDKInterface) GetFullBlockByHeight ¶
func (m *MockSDKInterface) GetFullBlockByHeight(blockHeight uint64) (*store.BlockWithRWSet, error)
GetFullBlockByHeight mocks base method.
func (*MockSDKInterface) GetGasAccountStatus ¶ added in v2.2.1
func (m *MockSDKInterface) GetGasAccountStatus(address string) (bool, error)
GetGasAccountStatus mocks base method.
func (*MockSDKInterface) GetGasAdmin ¶ added in v2.2.1
func (m *MockSDKInterface) GetGasAdmin() (string, error)
GetGasAdmin mocks base method.
func (*MockSDKInterface) GetGasBalance ¶ added in v2.2.1
func (m *MockSDKInterface) GetGasBalance(address string) (int64, error)
GetGasBalance mocks base method.
func (*MockSDKInterface) GetLastBlock ¶
func (m *MockSDKInterface) GetLastBlock(withRWSet bool) (*common.BlockInfo, error)
GetLastBlock mocks base method.
func (*MockSDKInterface) GetLastConfigBlock ¶
func (m *MockSDKInterface) GetLastConfigBlock(withRWSet bool) (*common.BlockInfo, error)
GetLastConfigBlock mocks base method.
func (*MockSDKInterface) GetMerklePathByTxId ¶ added in v2.2.1
func (m *MockSDKInterface) GetMerklePathByTxId(txId string) ([]byte, error)
GetMerklePathByTxId mocks base method.
func (*MockSDKInterface) GetNodeChainList ¶
func (m *MockSDKInterface) GetNodeChainList() (*discovery.ChainList, error)
GetNodeChainList mocks base method.
func (*MockSDKInterface) GetPoolStatus ¶ added in v2.2.1
func (m *MockSDKInterface) GetPoolStatus() (*txpool.TxPoolStatus, error)
GetPoolStatus mocks base method.
func (*MockSDKInterface) GetTxByTxId ¶
func (m *MockSDKInterface) GetTxByTxId(txId string) (*common.TransactionInfo, error)
GetTxByTxId mocks base method.
func (*MockSDKInterface) GetTxIdsByTypeAndStage ¶ added in v2.2.1
func (m *MockSDKInterface) GetTxIdsByTypeAndStage(txType txpool.TxType, txStage txpool.TxStage) ([]string, error)
GetTxIdsByTypeAndStage mocks base method.
func (*MockSDKInterface) GetTxRequest ¶
func (m *MockSDKInterface) GetTxRequest(contractName, method, txId string, kvs []*common.KeyValuePair) (*common.TxRequest, error)
GetTxRequest mocks base method.
func (*MockSDKInterface) GetTxWithRWSetByTxId ¶ added in v2.2.1
func (m *MockSDKInterface) GetTxWithRWSetByTxId(txId string) (*common.TransactionInfoWithRWSet, error)
GetTxWithRWSetByTxId mocks base method.
func (*MockSDKInterface) GetTxsInPoolByTxIds ¶ added in v2.2.1
func (m *MockSDKInterface) GetTxsInPoolByTxIds(txIds []string) ([]*common.Transaction, []string, error)
GetTxsInPoolByTxIds mocks base method.
func (*MockSDKInterface) InvokeContract ¶
func (m *MockSDKInterface) InvokeContract(contractName, method, txId string, kvs []*common.KeyValuePair, timeout int64, withSyncResult bool) (*common.TxResponse, error)
InvokeContract mocks base method.
func (*MockSDKInterface) InvokeContractWithLimit ¶ added in v2.2.1
func (m *MockSDKInterface) InvokeContractWithLimit(contractName, method, txId string, kvs []*common.KeyValuePair, timeout int64, withSyncResult bool, limit *common.Limit) (*common.TxResponse, error)
InvokeContractWithLimit mocks base method.
func (*MockSDKInterface) InvokeSystemContract ¶
func (m *MockSDKInterface) InvokeSystemContract(contractName, method, txId string, kvs []*common.KeyValuePair, timeout int64, withSyncResult bool) (*common.TxResponse, error)
InvokeSystemContract mocks base method.
func (*MockSDKInterface) MultiSignContractQuery ¶ added in v2.2.1
func (m *MockSDKInterface) MultiSignContractQuery(txId string) (*common.TxResponse, error)
MultiSignContractQuery mocks base method.
func (*MockSDKInterface) MultiSignContractReq ¶ added in v2.2.1
func (m *MockSDKInterface) MultiSignContractReq(payload *common.Payload) (*common.TxResponse, error)
MultiSignContractReq mocks base method.
func (*MockSDKInterface) MultiSignContractVote ¶ added in v2.2.1
func (m *MockSDKInterface) MultiSignContractVote(payload *common.Payload, endorser *common.EndorsementEntry, isAgree bool) (*common.TxResponse, error)
MultiSignContractVote mocks base method.
func (*MockSDKInterface) QueryCert ¶
func (m *MockSDKInterface) QueryCert(certHashes []string) (*common.CertInfos, error)
QueryCert mocks base method.
func (*MockSDKInterface) QueryCertsAlias ¶ added in v2.2.1
func (m *MockSDKInterface) QueryCertsAlias(aliases []string) (*common.AliasInfos, error)
QueryCertsAlias mocks base method.
func (*MockSDKInterface) QueryContract ¶
func (m *MockSDKInterface) QueryContract(contractName, method string, kvs []*common.KeyValuePair, timeout int64) (*common.TxResponse, error)
QueryContract mocks base method.
func (*MockSDKInterface) QueryHibeParamsWithOrgId ¶
func (m *MockSDKInterface) QueryHibeParamsWithOrgId(contractName, method, orgId string, timeout int64) ([]byte, error)
QueryHibeParamsWithOrgId mocks base method.
func (*MockSDKInterface) QuerySystemContract ¶
func (m *MockSDKInterface) QuerySystemContract(contractName, method string, kvs []*common.KeyValuePair, timeout int64) (*common.TxResponse, error)
QuerySystemContract mocks base method.
func (*MockSDKInterface) SaveData ¶
func (m *MockSDKInterface) SaveData(contractName, contractVersion string, isDeployment bool, codeHash, reportHash []byte, result *common.ContractResult, codeHeader []byte, txId string, rwSet *common.TxRWSet, sign []byte, events *common.StrSlice, privateReq []byte, withSyncResult bool, timeout int64) (*common.TxResponse, error)
SaveData mocks base method.
func (*MockSDKInterface) SaveDir ¶
func (m *MockSDKInterface) SaveDir(orderId, txId string, privateDir *common.StrSlice, withSyncResult bool, timeout int64) (*common.TxResponse, error)
SaveDir mocks base method.
func (*MockSDKInterface) SaveRemoteAttestationProof ¶
func (m *MockSDKInterface) SaveRemoteAttestationProof(proof, txId string, withSyncResult bool, timeout int64) (*common.TxResponse, error)
SaveRemoteAttestationProof mocks base method.
func (*MockSDKInterface) SendArchiveBlockRequest ¶
func (m *MockSDKInterface) SendArchiveBlockRequest(payload *common.Payload, timeout int64) (*common.TxResponse, error)
SendArchiveBlockRequest mocks base method.
func (*MockSDKInterface) SendCertManageRequest ¶
func (m *MockSDKInterface) SendCertManageRequest(payload *common.Payload, endorsers []*common.EndorsementEntry, timeout int64, withSyncResult bool) (*common.TxResponse, error)
SendCertManageRequest mocks base method.
func (*MockSDKInterface) SendChainConfigUpdateRequest ¶
func (m *MockSDKInterface) SendChainConfigUpdateRequest(payload *common.Payload, endorsers []*common.EndorsementEntry, timeout int64, withSyncResult bool) (*common.TxResponse, error)
SendChainConfigUpdateRequest mocks base method.
func (*MockSDKInterface) SendContractManageRequest ¶
func (m *MockSDKInterface) SendContractManageRequest(payload *common.Payload, endorsers []*common.EndorsementEntry, timeout int64, withSyncResult bool) (*common.TxResponse, error)
SendContractManageRequest mocks base method.
func (*MockSDKInterface) SendGasManageRequest ¶ added in v2.2.1
func (m *MockSDKInterface) SendGasManageRequest(payload *common.Payload, endorsers []*common.EndorsementEntry, timeout int64, withSyncResult bool) (*common.TxResponse, error)
SendGasManageRequest mocks base method.
func (*MockSDKInterface) SendPubkeyManageRequest ¶ added in v2.2.1
func (m *MockSDKInterface) SendPubkeyManageRequest(payload *common.Payload, endorsers []*common.EndorsementEntry, timeout int64, withSyncResult bool) (*common.TxResponse, error)
SendPubkeyManageRequest mocks base method.
func (*MockSDKInterface) SendRestoreBlockRequest ¶
func (m *MockSDKInterface) SendRestoreBlockRequest(payload *common.Payload, timeout int64) (*common.TxResponse, error)
SendRestoreBlockRequest mocks base method.
func (*MockSDKInterface) SendTxRequest ¶
func (m *MockSDKInterface) SendTxRequest(txRequest *common.TxRequest, timeout int64, withSyncResult bool) (*common.TxResponse, error)
SendTxRequest mocks base method.
func (*MockSDKInterface) SignArchivePayload ¶
SignArchivePayload mocks base method.
func (*MockSDKInterface) SignCertManagePayload ¶
func (m *MockSDKInterface) SignCertManagePayload(payload *common.Payload) (*common.EndorsementEntry, error)
SignCertManagePayload mocks base method.
func (*MockSDKInterface) SignChainConfigPayload ¶
func (m *MockSDKInterface) SignChainConfigPayload(payload *common.Payload) (*common.EndorsementEntry, error)
SignChainConfigPayload mocks base method.
func (*MockSDKInterface) SignContractManagePayload ¶
func (m *MockSDKInterface) SignContractManagePayload(payload *common.Payload) (*common.EndorsementEntry, error)
SignContractManagePayload mocks base method.
func (*MockSDKInterface) SignDeleteAliasPayload ¶ added in v2.2.1
func (m *MockSDKInterface) SignDeleteAliasPayload(payload *common.Payload) (*common.EndorsementEntry, error)
SignDeleteAliasPayload mocks base method.
func (*MockSDKInterface) SignUpdateCertByAliasPayload ¶ added in v2.2.1
func (m *MockSDKInterface) SignUpdateCertByAliasPayload(payload *common.Payload) (*common.EndorsementEntry, error)
SignUpdateCertByAliasPayload mocks base method.
func (*MockSDKInterface) Subscribe ¶
func (m *MockSDKInterface) Subscribe(ctx context.Context, payloadBytes *common.Payload) (<-chan interface{}, error)
Subscribe mocks base method.
func (*MockSDKInterface) SubscribeBlock ¶
func (m *MockSDKInterface) SubscribeBlock(ctx context.Context, startBlock, endBlock int64, withRWSet, onlyHeader bool) (<-chan interface{}, error)
SubscribeBlock mocks base method.
func (*MockSDKInterface) SubscribeContractEvent ¶
func (m *MockSDKInterface) SubscribeContractEvent(ctx context.Context, startBlock, endBlock int64, contractName, topic string) (<-chan interface{}, error)
SubscribeContractEvent mocks base method.
func (*MockSDKInterface) SubscribeTx ¶
func (m *MockSDKInterface) SubscribeTx(ctx context.Context, startBlock, endBlock int64, contractName string, txIds []string) (<-chan interface{}, error)
SubscribeTx mocks base method.
func (*MockSDKInterface) UpdateCertByAlias ¶ added in v2.2.1
func (m *MockSDKInterface) UpdateCertByAlias(payload *common.Payload, endorsers []*common.EndorsementEntry, timeout int64, withSyncResult bool) (*common.TxResponse, error)
UpdateCertByAlias mocks base method.
type MockSDKInterfaceMockRecorder ¶
type MockSDKInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockSDKInterfaceMockRecorder is the mock recorder for MockSDKInterface.
func (*MockSDKInterfaceMockRecorder) AddAlias ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) AddAlias() *gomock.Call
AddAlias indicates an expected call of AddAlias.
func (*MockSDKInterfaceMockRecorder) AddCert ¶
func (mr *MockSDKInterfaceMockRecorder) AddCert() *gomock.Call
AddCert indicates an expected call of AddCert.
func (*MockSDKInterfaceMockRecorder) AttachGasLimit ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) AttachGasLimit(payload, limit interface{}) *gomock.Call
AttachGasLimit indicates an expected call of AttachGasLimit.
func (*MockSDKInterfaceMockRecorder) CheckCallerCertAuth ¶
func (mr *MockSDKInterfaceMockRecorder) CheckCallerCertAuth(payload, orgIds, signPairs interface{}) *gomock.Call
CheckCallerCertAuth indicates an expected call of CheckCallerCertAuth.
func (*MockSDKInterfaceMockRecorder) CreateArchiveBlockPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateArchiveBlockPayload(targetBlockHeight interface{}) *gomock.Call
CreateArchiveBlockPayload indicates an expected call of CreateArchiveBlockPayload.
func (*MockSDKInterfaceMockRecorder) CreateCertManageFrozenPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateCertManageFrozenPayload(certs interface{}) *gomock.Call
CreateCertManageFrozenPayload indicates an expected call of CreateCertManageFrozenPayload.
func (*MockSDKInterfaceMockRecorder) CreateCertManagePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateCertManagePayload(method, kvs interface{}) *gomock.Call
CreateCertManagePayload indicates an expected call of CreateCertManagePayload.
func (*MockSDKInterfaceMockRecorder) CreateCertManageRevocationPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateCertManageRevocationPayload(certCrl interface{}) *gomock.Call
CreateCertManageRevocationPayload indicates an expected call of CreateCertManageRevocationPayload.
func (*MockSDKInterfaceMockRecorder) CreateCertManageUnfrozenPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateCertManageUnfrozenPayload(certs interface{}) *gomock.Call
CreateCertManageUnfrozenPayload indicates an expected call of CreateCertManageUnfrozenPayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigAlterAddrTypePayload ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigAlterAddrTypePayload(addrType interface{}) *gomock.Call
CreateChainConfigAlterAddrTypePayload indicates an expected call of CreateChainConfigAlterAddrTypePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigBlockUpdatePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigBlockUpdatePayload(txTimestampVerify, txTimeout, blockTxCapacity, blockSize, blockInterval, txParamterSize interface{}) *gomock.Call
CreateChainConfigBlockUpdatePayload indicates an expected call of CreateChainConfigBlockUpdatePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigConsensusExtAddPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusExtAddPayload(kvs interface{}) *gomock.Call
CreateChainConfigConsensusExtAddPayload indicates an expected call of CreateChainConfigConsensusExtAddPayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigConsensusExtDeletePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusExtDeletePayload(keys interface{}) *gomock.Call
CreateChainConfigConsensusExtDeletePayload indicates an expected call of CreateChainConfigConsensusExtDeletePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigConsensusExtUpdatePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusExtUpdatePayload(kvs interface{}) *gomock.Call
CreateChainConfigConsensusExtUpdatePayload indicates an expected call of CreateChainConfigConsensusExtUpdatePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeIdAddPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeIdAddPayload(nodeOrgId, nodeIds interface{}) *gomock.Call
CreateChainConfigConsensusNodeIdAddPayload indicates an expected call of CreateChainConfigConsensusNodeIdAddPayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeIdDeletePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeIdDeletePayload(nodeOrgId, nodeId interface{}) *gomock.Call
CreateChainConfigConsensusNodeIdDeletePayload indicates an expected call of CreateChainConfigConsensusNodeIdDeletePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeIdUpdatePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeIdUpdatePayload(nodeOrgId, nodeOldNodeId, nodeNewNodeId interface{}) *gomock.Call
CreateChainConfigConsensusNodeIdUpdatePayload indicates an expected call of CreateChainConfigConsensusNodeIdUpdatePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeOrgAddPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeOrgAddPayload(nodeOrgId, nodeIds interface{}) *gomock.Call
CreateChainConfigConsensusNodeOrgAddPayload indicates an expected call of CreateChainConfigConsensusNodeOrgAddPayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeOrgDeletePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeOrgDeletePayload(nodeOrgId interface{}) *gomock.Call
CreateChainConfigConsensusNodeOrgDeletePayload indicates an expected call of CreateChainConfigConsensusNodeOrgDeletePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeOrgUpdatePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeOrgUpdatePayload(nodeOrgId, nodeIds interface{}) *gomock.Call
CreateChainConfigConsensusNodeOrgUpdatePayload indicates an expected call of CreateChainConfigConsensusNodeOrgUpdatePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigCoreUpdatePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigCoreUpdatePayload(txSchedulerTimeout, txSchedulerValidateTimeout interface{}) *gomock.Call
CreateChainConfigCoreUpdatePayload indicates an expected call of CreateChainConfigCoreUpdatePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigEnableOrDisableGasPayload ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigEnableOrDisableGasPayload() *gomock.Call
CreateChainConfigEnableOrDisableGasPayload indicates an expected call of CreateChainConfigEnableOrDisableGasPayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigOptimizeChargeGasPayload ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigOptimizeChargeGasPayload(enable interface{}) *gomock.Call
CreateChainConfigOptimizeChargeGasPayload indicates an expected call of CreateChainConfigOptimizeChargeGasPayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigPermissionAddPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigPermissionAddPayload(permissionResourceName, policy interface{}) *gomock.Call
CreateChainConfigPermissionAddPayload indicates an expected call of CreateChainConfigPermissionAddPayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigPermissionDeletePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigPermissionDeletePayload(permissionResourceName interface{}) *gomock.Call
CreateChainConfigPermissionDeletePayload indicates an expected call of CreateChainConfigPermissionDeletePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigPermissionUpdatePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigPermissionUpdatePayload(permissionResourceName, policy interface{}) *gomock.Call
CreateChainConfigPermissionUpdatePayload indicates an expected call of CreateChainConfigPermissionUpdatePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigTrustMemberAddPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigTrustMemberAddPayload(trustMemberOrgId, trustMemberNodeId, trustMemberRole, trustMemberInfo interface{}) *gomock.Call
CreateChainConfigTrustMemberAddPayload indicates an expected call of CreateChainConfigTrustMemberAddPayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigTrustMemberDeletePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigTrustMemberDeletePayload(trustMemberInfo interface{}) *gomock.Call
CreateChainConfigTrustMemberDeletePayload indicates an expected call of CreateChainConfigTrustMemberDeletePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigTrustRootAddPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigTrustRootAddPayload(trustRootOrgId, trustRootCrt interface{}) *gomock.Call
CreateChainConfigTrustRootAddPayload indicates an expected call of CreateChainConfigTrustRootAddPayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigTrustRootDeletePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigTrustRootDeletePayload(trustRootOrgId interface{}) *gomock.Call
CreateChainConfigTrustRootDeletePayload indicates an expected call of CreateChainConfigTrustRootDeletePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigTrustRootUpdatePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigTrustRootUpdatePayload(trustRootOrgId, trustRootCrt interface{}) *gomock.Call
CreateChainConfigTrustRootUpdatePayload indicates an expected call of CreateChainConfigTrustRootUpdatePayload.
func (*MockSDKInterfaceMockRecorder) CreateContractCreatePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateContractCreatePayload(contractName, version, byteCodeStringOrFilePath, runtime, kvs interface{}) *gomock.Call
CreateContractCreatePayload indicates an expected call of CreateContractCreatePayload.
func (*MockSDKInterfaceMockRecorder) CreateContractFreezePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateContractFreezePayload(contractName interface{}) *gomock.Call
CreateContractFreezePayload indicates an expected call of CreateContractFreezePayload.
func (*MockSDKInterfaceMockRecorder) CreateContractRevokePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateContractRevokePayload(contractName interface{}) *gomock.Call
CreateContractRevokePayload indicates an expected call of CreateContractRevokePayload.
func (*MockSDKInterfaceMockRecorder) CreateContractUnfreezePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateContractUnfreezePayload(contractName interface{}) *gomock.Call
CreateContractUnfreezePayload indicates an expected call of CreateContractUnfreezePayload.
func (*MockSDKInterfaceMockRecorder) CreateContractUpgradePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateContractUpgradePayload(contractName, version, byteCodeStringOrFilePath, runtime, kvs interface{}) *gomock.Call
CreateContractUpgradePayload indicates an expected call of CreateContractUpgradePayload.
func (*MockSDKInterfaceMockRecorder) CreateDeleteCertsAliasPayload ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) CreateDeleteCertsAliasPayload(aliases interface{}) *gomock.Call
CreateDeleteCertsAliasPayload indicates an expected call of CreateDeleteCertsAliasPayload.
func (*MockSDKInterfaceMockRecorder) CreateFrozenGasAccountPayload ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) CreateFrozenGasAccountPayload(address interface{}) *gomock.Call
CreateFrozenGasAccountPayload indicates an expected call of CreateFrozenGasAccountPayload.
func (*MockSDKInterfaceMockRecorder) CreateHibeInitParamsTxPayloadParams ¶
func (mr *MockSDKInterfaceMockRecorder) CreateHibeInitParamsTxPayloadParams(orgId, hibeParams interface{}) *gomock.Call
CreateHibeInitParamsTxPayloadParams indicates an expected call of CreateHibeInitParamsTxPayloadParams.
func (*MockSDKInterfaceMockRecorder) CreateHibeTxPayloadParamsWithHibeParams ¶
func (mr *MockSDKInterfaceMockRecorder) CreateHibeTxPayloadParamsWithHibeParams(plaintext, receiverIds, paramsBytesList, txId, keyType interface{}) *gomock.Call
CreateHibeTxPayloadParamsWithHibeParams indicates an expected call of CreateHibeTxPayloadParamsWithHibeParams.
func (*MockSDKInterfaceMockRecorder) CreateHibeTxPayloadParamsWithoutHibeParams ¶
func (mr *MockSDKInterfaceMockRecorder) CreateHibeTxPayloadParamsWithoutHibeParams(contractName, queryParamsMethod, plaintext, receiverIds, receiverOrgIds, txId, keyType, timeout interface{}) *gomock.Call
CreateHibeTxPayloadParamsWithoutHibeParams indicates an expected call of CreateHibeTxPayloadParamsWithoutHibeParams.
func (*MockSDKInterfaceMockRecorder) CreateMultiSignReqPayload ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) CreateMultiSignReqPayload(pairs interface{}) *gomock.Call
CreateMultiSignReqPayload indicates an expected call of CreateMultiSignReqPayload.
func (*MockSDKInterfaceMockRecorder) CreateNativeContractAccessGrantPayload ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) CreateNativeContractAccessGrantPayload(grantContractList interface{}) *gomock.Call
CreateNativeContractAccessGrantPayload indicates an expected call of CreateNativeContractAccessGrantPayload.
func (*MockSDKInterfaceMockRecorder) CreateNativeContractAccessRevokePayload ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) CreateNativeContractAccessRevokePayload(revokeContractList interface{}) *gomock.Call
CreateNativeContractAccessRevokePayload indicates an expected call of CreateNativeContractAccessRevokePayload.
func (*MockSDKInterfaceMockRecorder) CreatePubkeyAddPayload ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) CreatePubkeyAddPayload(pubkey, orgId, role interface{}) *gomock.Call
CreatePubkeyAddPayload indicates an expected call of CreatePubkeyAddPayload.
func (*MockSDKInterfaceMockRecorder) CreatePubkeyDelPayload ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) CreatePubkeyDelPayload(pubkey, orgId interface{}) *gomock.Call
CreatePubkeyDelPayload indicates an expected call of CreatePubkeyDelPayload.
func (*MockSDKInterfaceMockRecorder) CreatePubkeyQueryPayload ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) CreatePubkeyQueryPayload(pubkey interface{}) *gomock.Call
CreatePubkeyQueryPayload indicates an expected call of CreatePubkeyQueryPayload.
func (*MockSDKInterfaceMockRecorder) CreateRechargeGasPayload ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) CreateRechargeGasPayload(rechargeGasList interface{}) *gomock.Call
CreateRechargeGasPayload indicates an expected call of CreateRechargeGasPayload.
func (*MockSDKInterfaceMockRecorder) CreateRefundGasPayload ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) CreateRefundGasPayload(address, amount interface{}) *gomock.Call
CreateRefundGasPayload indicates an expected call of CreateRefundGasPayload.
func (*MockSDKInterfaceMockRecorder) CreateRestoreBlockPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateRestoreBlockPayload(fullBlock interface{}) *gomock.Call
CreateRestoreBlockPayload indicates an expected call of CreateRestoreBlockPayload.
func (*MockSDKInterfaceMockRecorder) CreateSaveEnclaveCACertPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateSaveEnclaveCACertPayload(caCert, txId interface{}) *gomock.Call
CreateSaveEnclaveCACertPayload indicates an expected call of CreateSaveEnclaveCACertPayload.
func (*MockSDKInterfaceMockRecorder) CreateSaveEnclaveReportPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateSaveEnclaveReportPayload(enclaveId, report, txId interface{}) *gomock.Call
CreateSaveEnclaveReportPayload indicates an expected call of CreateSaveEnclaveReportPayload.
func (*MockSDKInterfaceMockRecorder) CreateSetGasAdminPayload ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) CreateSetGasAdminPayload(address interface{}) *gomock.Call
CreateSetGasAdminPayload indicates an expected call of CreateSetGasAdminPayload.
func (*MockSDKInterfaceMockRecorder) CreateSetInvokeBaseGasPayload ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) CreateSetInvokeBaseGasPayload(amount interface{}) *gomock.Call
CreateSetInvokeBaseGasPayload indicates an expected call of CreateSetInvokeBaseGasPayload.
func (*MockSDKInterfaceMockRecorder) CreateUnfrozenGasAccountPayload ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) CreateUnfrozenGasAccountPayload(address interface{}) *gomock.Call
CreateUnfrozenGasAccountPayload indicates an expected call of CreateUnfrozenGasAccountPayload.
func (*MockSDKInterfaceMockRecorder) CreateUpdateCertByAliasPayload ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) CreateUpdateCertByAliasPayload(alias, newCertPEM interface{}) *gomock.Call
CreateUpdateCertByAliasPayload indicates an expected call of CreateUpdateCertByAliasPayload.
func (*MockSDKInterfaceMockRecorder) DecryptHibeTxByTxId ¶
func (mr *MockSDKInterfaceMockRecorder) DecryptHibeTxByTxId(localId, hibeParams, hibePrvKey, txId, keyType interface{}) *gomock.Call
DecryptHibeTxByTxId indicates an expected call of DecryptHibeTxByTxId.
func (*MockSDKInterfaceMockRecorder) DeleteCert ¶
func (mr *MockSDKInterfaceMockRecorder) DeleteCert(certHashes interface{}) *gomock.Call
DeleteCert indicates an expected call of DeleteCert.
func (*MockSDKInterfaceMockRecorder) DeleteCertsAlias ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) DeleteCertsAlias(payload, endorsers, timeout, withSyncResult interface{}) *gomock.Call
DeleteCertsAlias indicates an expected call of DeleteCertsAlias.
func (*MockSDKInterfaceMockRecorder) DisableCertHash ¶
func (mr *MockSDKInterfaceMockRecorder) DisableCertHash() *gomock.Call
DisableCertHash indicates an expected call of DisableCertHash.
func (*MockSDKInterfaceMockRecorder) EnableCertHash ¶
func (mr *MockSDKInterfaceMockRecorder) EnableCertHash() *gomock.Call
EnableCertHash indicates an expected call of EnableCertHash.
func (*MockSDKInterfaceMockRecorder) EstimateGas ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) EstimateGas(payload interface{}) *gomock.Call
EstimateGas indicates an expected call of EstimateGas.
func (*MockSDKInterfaceMockRecorder) GetArchivedBlockByHash ¶
func (mr *MockSDKInterfaceMockRecorder) GetArchivedBlockByHash(blockHash, withRWSet interface{}) *gomock.Call
GetArchivedBlockByHash indicates an expected call of GetArchivedBlockByHash.
func (*MockSDKInterfaceMockRecorder) GetArchivedBlockByHeight ¶
func (mr *MockSDKInterfaceMockRecorder) GetArchivedBlockByHeight(blockHeight, withRWSet interface{}) *gomock.Call
GetArchivedBlockByHeight indicates an expected call of GetArchivedBlockByHeight.
func (*MockSDKInterfaceMockRecorder) GetArchivedBlockByTxId ¶
func (mr *MockSDKInterfaceMockRecorder) GetArchivedBlockByTxId(txId, withRWSet interface{}) *gomock.Call
GetArchivedBlockByTxId indicates an expected call of GetArchivedBlockByTxId.
func (*MockSDKInterfaceMockRecorder) GetArchivedBlockHeight ¶
func (mr *MockSDKInterfaceMockRecorder) GetArchivedBlockHeight() *gomock.Call
GetArchivedBlockHeight indicates an expected call of GetArchivedBlockHeight.
func (*MockSDKInterfaceMockRecorder) GetArchivedFullBlockByHeight ¶
func (mr *MockSDKInterfaceMockRecorder) GetArchivedFullBlockByHeight(blockHeight interface{}) *gomock.Call
GetArchivedFullBlockByHeight indicates an expected call of GetArchivedFullBlockByHeight.
func (*MockSDKInterfaceMockRecorder) GetArchivedTxByTxId ¶
func (mr *MockSDKInterfaceMockRecorder) GetArchivedTxByTxId(txId interface{}) *gomock.Call
GetArchivedTxByTxId indicates an expected call of GetArchivedTxByTxId.
func (*MockSDKInterfaceMockRecorder) GetBlockByHash ¶
func (mr *MockSDKInterfaceMockRecorder) GetBlockByHash(blockHash, withRWSet interface{}) *gomock.Call
GetBlockByHash indicates an expected call of GetBlockByHash.
func (*MockSDKInterfaceMockRecorder) GetBlockByHeight ¶
func (mr *MockSDKInterfaceMockRecorder) GetBlockByHeight(blockHeight, withRWSet interface{}) *gomock.Call
GetBlockByHeight indicates an expected call of GetBlockByHeight.
func (*MockSDKInterfaceMockRecorder) GetBlockByTxId ¶
func (mr *MockSDKInterfaceMockRecorder) GetBlockByTxId(txId, withRWSet interface{}) *gomock.Call
GetBlockByTxId indicates an expected call of GetBlockByTxId.
func (*MockSDKInterfaceMockRecorder) GetBlockHeaderByHeight ¶
func (mr *MockSDKInterfaceMockRecorder) GetBlockHeaderByHeight(blockHeight interface{}) *gomock.Call
GetBlockHeaderByHeight indicates an expected call of GetBlockHeaderByHeight.
func (*MockSDKInterfaceMockRecorder) GetBlockHeightByHash ¶
func (mr *MockSDKInterfaceMockRecorder) GetBlockHeightByHash(blockHash interface{}) *gomock.Call
GetBlockHeightByHash indicates an expected call of GetBlockHeightByHash.
func (*MockSDKInterfaceMockRecorder) GetBlockHeightByTxId ¶
func (mr *MockSDKInterfaceMockRecorder) GetBlockHeightByTxId(txId interface{}) *gomock.Call
GetBlockHeightByTxId indicates an expected call of GetBlockHeightByTxId.
func (*MockSDKInterfaceMockRecorder) GetCertHash ¶
func (mr *MockSDKInterfaceMockRecorder) GetCertHash() *gomock.Call
GetCertHash indicates an expected call of GetCertHash.
func (*MockSDKInterfaceMockRecorder) GetChainConfig ¶
func (mr *MockSDKInterfaceMockRecorder) GetChainConfig() *gomock.Call
GetChainConfig indicates an expected call of GetChainConfig.
func (*MockSDKInterfaceMockRecorder) GetChainConfigByBlockHeight ¶
func (mr *MockSDKInterfaceMockRecorder) GetChainConfigByBlockHeight(blockHeight interface{}) *gomock.Call
GetChainConfigByBlockHeight indicates an expected call of GetChainConfigByBlockHeight.
func (*MockSDKInterfaceMockRecorder) GetChainConfigPermissionList ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) GetChainConfigPermissionList() *gomock.Call
GetChainConfigPermissionList indicates an expected call of GetChainConfigPermissionList.
func (*MockSDKInterfaceMockRecorder) GetChainConfigSequence ¶
func (mr *MockSDKInterfaceMockRecorder) GetChainConfigSequence() *gomock.Call
GetChainConfigSequence indicates an expected call of GetChainConfigSequence.
func (*MockSDKInterfaceMockRecorder) GetChainInfo ¶
func (mr *MockSDKInterfaceMockRecorder) GetChainInfo() *gomock.Call
GetChainInfo indicates an expected call of GetChainInfo.
func (*MockSDKInterfaceMockRecorder) GetChainMakerServerVersion ¶
func (mr *MockSDKInterfaceMockRecorder) GetChainMakerServerVersion() *gomock.Call
GetChainMakerServerVersion indicates an expected call of GetChainMakerServerVersion.
func (*MockSDKInterfaceMockRecorder) GetContract ¶
func (mr *MockSDKInterfaceMockRecorder) GetContract(contractName, codeHash interface{}) *gomock.Call
GetContract indicates an expected call of GetContract.
func (*MockSDKInterfaceMockRecorder) GetContractInfo ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) GetContractInfo(contractName interface{}) *gomock.Call
GetContractInfo indicates an expected call of GetContractInfo.
func (*MockSDKInterfaceMockRecorder) GetContractList ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) GetContractList() *gomock.Call
GetContractList indicates an expected call of GetContractList.
func (*MockSDKInterfaceMockRecorder) GetCurrentBlockHeight ¶
func (mr *MockSDKInterfaceMockRecorder) GetCurrentBlockHeight() *gomock.Call
GetCurrentBlockHeight indicates an expected call of GetCurrentBlockHeight.
func (*MockSDKInterfaceMockRecorder) GetData ¶
func (mr *MockSDKInterfaceMockRecorder) GetData(contractName, key interface{}) *gomock.Call
GetData indicates an expected call of GetData.
func (*MockSDKInterfaceMockRecorder) GetDir ¶
func (mr *MockSDKInterfaceMockRecorder) GetDir(orderId interface{}) *gomock.Call
GetDir indicates an expected call of GetDir.
func (*MockSDKInterfaceMockRecorder) GetDisabledNativeContractList ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) GetDisabledNativeContractList() *gomock.Call
GetDisabledNativeContractList indicates an expected call of GetDisabledNativeContractList.
func (*MockSDKInterfaceMockRecorder) GetEnclaveCACert ¶
func (mr *MockSDKInterfaceMockRecorder) GetEnclaveCACert() *gomock.Call
GetEnclaveCACert indicates an expected call of GetEnclaveCACert.
func (*MockSDKInterfaceMockRecorder) GetEnclaveChallenge ¶
func (mr *MockSDKInterfaceMockRecorder) GetEnclaveChallenge(enclaveId interface{}) *gomock.Call
GetEnclaveChallenge indicates an expected call of GetEnclaveChallenge.
func (*MockSDKInterfaceMockRecorder) GetEnclaveEncryptPubKey ¶
func (mr *MockSDKInterfaceMockRecorder) GetEnclaveEncryptPubKey(enclaveId interface{}) *gomock.Call
GetEnclaveEncryptPubKey indicates an expected call of GetEnclaveEncryptPubKey.
func (*MockSDKInterfaceMockRecorder) GetEnclaveProof ¶
func (mr *MockSDKInterfaceMockRecorder) GetEnclaveProof(enclaveId interface{}) *gomock.Call
GetEnclaveProof indicates an expected call of GetEnclaveProof.
func (*MockSDKInterfaceMockRecorder) GetEnclaveReport ¶
func (mr *MockSDKInterfaceMockRecorder) GetEnclaveReport(enclaveId interface{}) *gomock.Call
GetEnclaveReport indicates an expected call of GetEnclaveReport.
func (*MockSDKInterfaceMockRecorder) GetEnclaveSignature ¶
func (mr *MockSDKInterfaceMockRecorder) GetEnclaveSignature(enclaveId interface{}) *gomock.Call
GetEnclaveSignature indicates an expected call of GetEnclaveSignature.
func (*MockSDKInterfaceMockRecorder) GetEnclaveVerificationPubKey ¶
func (mr *MockSDKInterfaceMockRecorder) GetEnclaveVerificationPubKey(enclaveId interface{}) *gomock.Call
GetEnclaveVerificationPubKey indicates an expected call of GetEnclaveVerificationPubKey.
func (*MockSDKInterfaceMockRecorder) GetFullBlockByHeight ¶
func (mr *MockSDKInterfaceMockRecorder) GetFullBlockByHeight(blockHeight interface{}) *gomock.Call
GetFullBlockByHeight indicates an expected call of GetFullBlockByHeight.
func (*MockSDKInterfaceMockRecorder) GetGasAccountStatus ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) GetGasAccountStatus(address interface{}) *gomock.Call
GetGasAccountStatus indicates an expected call of GetGasAccountStatus.
func (*MockSDKInterfaceMockRecorder) GetGasAdmin ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) GetGasAdmin() *gomock.Call
GetGasAdmin indicates an expected call of GetGasAdmin.
func (*MockSDKInterfaceMockRecorder) GetGasBalance ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) GetGasBalance(address interface{}) *gomock.Call
GetGasBalance indicates an expected call of GetGasBalance.
func (*MockSDKInterfaceMockRecorder) GetLastBlock ¶
func (mr *MockSDKInterfaceMockRecorder) GetLastBlock(withRWSet interface{}) *gomock.Call
GetLastBlock indicates an expected call of GetLastBlock.
func (*MockSDKInterfaceMockRecorder) GetLastConfigBlock ¶
func (mr *MockSDKInterfaceMockRecorder) GetLastConfigBlock(withRWSet interface{}) *gomock.Call
GetLastConfigBlock indicates an expected call of GetLastConfigBlock.
func (*MockSDKInterfaceMockRecorder) GetMerklePathByTxId ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) GetMerklePathByTxId(txId interface{}) *gomock.Call
GetMerklePathByTxId indicates an expected call of GetMerklePathByTxId.
func (*MockSDKInterfaceMockRecorder) GetNodeChainList ¶
func (mr *MockSDKInterfaceMockRecorder) GetNodeChainList() *gomock.Call
GetNodeChainList indicates an expected call of GetNodeChainList.
func (*MockSDKInterfaceMockRecorder) GetPoolStatus ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) GetPoolStatus() *gomock.Call
GetPoolStatus indicates an expected call of GetPoolStatus.
func (*MockSDKInterfaceMockRecorder) GetTxByTxId ¶
func (mr *MockSDKInterfaceMockRecorder) GetTxByTxId(txId interface{}) *gomock.Call
GetTxByTxId indicates an expected call of GetTxByTxId.
func (*MockSDKInterfaceMockRecorder) GetTxIdsByTypeAndStage ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) GetTxIdsByTypeAndStage(txType, txStage interface{}) *gomock.Call
GetTxIdsByTypeAndStage indicates an expected call of GetTxIdsByTypeAndStage.
func (*MockSDKInterfaceMockRecorder) GetTxRequest ¶
func (mr *MockSDKInterfaceMockRecorder) GetTxRequest(contractName, method, txId, kvs interface{}) *gomock.Call
GetTxRequest indicates an expected call of GetTxRequest.
func (*MockSDKInterfaceMockRecorder) GetTxWithRWSetByTxId ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) GetTxWithRWSetByTxId(txId interface{}) *gomock.Call
GetTxWithRWSetByTxId indicates an expected call of GetTxWithRWSetByTxId.
func (*MockSDKInterfaceMockRecorder) GetTxsInPoolByTxIds ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) GetTxsInPoolByTxIds(txIds interface{}) *gomock.Call
GetTxsInPoolByTxIds indicates an expected call of GetTxsInPoolByTxIds.
func (*MockSDKInterfaceMockRecorder) InvokeContract ¶
func (mr *MockSDKInterfaceMockRecorder) InvokeContract(contractName, method, txId, kvs, timeout, withSyncResult interface{}) *gomock.Call
InvokeContract indicates an expected call of InvokeContract.
func (*MockSDKInterfaceMockRecorder) InvokeContractWithLimit ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) InvokeContractWithLimit(contractName, method, txId, kvs, timeout, withSyncResult, limit interface{}) *gomock.Call
InvokeContractWithLimit indicates an expected call of InvokeContractWithLimit.
func (*MockSDKInterfaceMockRecorder) InvokeSystemContract ¶
func (mr *MockSDKInterfaceMockRecorder) InvokeSystemContract(contractName, method, txId, kvs, timeout, withSyncResult interface{}) *gomock.Call
InvokeSystemContract indicates an expected call of InvokeSystemContract.
func (*MockSDKInterfaceMockRecorder) MultiSignContractQuery ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) MultiSignContractQuery(txId interface{}) *gomock.Call
MultiSignContractQuery indicates an expected call of MultiSignContractQuery.
func (*MockSDKInterfaceMockRecorder) MultiSignContractReq ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) MultiSignContractReq(payload interface{}) *gomock.Call
MultiSignContractReq indicates an expected call of MultiSignContractReq.
func (*MockSDKInterfaceMockRecorder) MultiSignContractVote ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) MultiSignContractVote(payload, endorser, isAgree interface{}) *gomock.Call
MultiSignContractVote indicates an expected call of MultiSignContractVote.
func (*MockSDKInterfaceMockRecorder) QueryCert ¶
func (mr *MockSDKInterfaceMockRecorder) QueryCert(certHashes interface{}) *gomock.Call
QueryCert indicates an expected call of QueryCert.
func (*MockSDKInterfaceMockRecorder) QueryCertsAlias ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) QueryCertsAlias(aliases interface{}) *gomock.Call
QueryCertsAlias indicates an expected call of QueryCertsAlias.
func (*MockSDKInterfaceMockRecorder) QueryContract ¶
func (mr *MockSDKInterfaceMockRecorder) QueryContract(contractName, method, kvs, timeout interface{}) *gomock.Call
QueryContract indicates an expected call of QueryContract.
func (*MockSDKInterfaceMockRecorder) QueryHibeParamsWithOrgId ¶
func (mr *MockSDKInterfaceMockRecorder) QueryHibeParamsWithOrgId(contractName, method, orgId, timeout interface{}) *gomock.Call
QueryHibeParamsWithOrgId indicates an expected call of QueryHibeParamsWithOrgId.
func (*MockSDKInterfaceMockRecorder) QuerySystemContract ¶
func (mr *MockSDKInterfaceMockRecorder) QuerySystemContract(contractName, method, kvs, timeout interface{}) *gomock.Call
QuerySystemContract indicates an expected call of QuerySystemContract.
func (*MockSDKInterfaceMockRecorder) SaveData ¶
func (mr *MockSDKInterfaceMockRecorder) SaveData(contractName, contractVersion, isDeployment, codeHash, reportHash, result, codeHeader, txId, rwSet, sign, events, privateReq, withSyncResult, timeout interface{}) *gomock.Call
SaveData indicates an expected call of SaveData.
func (*MockSDKInterfaceMockRecorder) SaveDir ¶
func (mr *MockSDKInterfaceMockRecorder) SaveDir(orderId, txId, privateDir, withSyncResult, timeout interface{}) *gomock.Call
SaveDir indicates an expected call of SaveDir.
func (*MockSDKInterfaceMockRecorder) SaveRemoteAttestationProof ¶
func (mr *MockSDKInterfaceMockRecorder) SaveRemoteAttestationProof(proof, txId, withSyncResult, timeout interface{}) *gomock.Call
SaveRemoteAttestationProof indicates an expected call of SaveRemoteAttestationProof.
func (*MockSDKInterfaceMockRecorder) SendArchiveBlockRequest ¶
func (mr *MockSDKInterfaceMockRecorder) SendArchiveBlockRequest(payload, timeout interface{}) *gomock.Call
SendArchiveBlockRequest indicates an expected call of SendArchiveBlockRequest.
func (*MockSDKInterfaceMockRecorder) SendCertManageRequest ¶
func (mr *MockSDKInterfaceMockRecorder) SendCertManageRequest(payload, endorsers, timeout, withSyncResult interface{}) *gomock.Call
SendCertManageRequest indicates an expected call of SendCertManageRequest.
func (*MockSDKInterfaceMockRecorder) SendChainConfigUpdateRequest ¶
func (mr *MockSDKInterfaceMockRecorder) SendChainConfigUpdateRequest(payload, endorsers, timeout, withSyncResult interface{}) *gomock.Call
SendChainConfigUpdateRequest indicates an expected call of SendChainConfigUpdateRequest.
func (*MockSDKInterfaceMockRecorder) SendContractManageRequest ¶
func (mr *MockSDKInterfaceMockRecorder) SendContractManageRequest(payload, endorsers, timeout, withSyncResult interface{}) *gomock.Call
SendContractManageRequest indicates an expected call of SendContractManageRequest.
func (*MockSDKInterfaceMockRecorder) SendGasManageRequest ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) SendGasManageRequest(payload, endorsers, timeout, withSyncResult interface{}) *gomock.Call
SendGasManageRequest indicates an expected call of SendGasManageRequest.
func (*MockSDKInterfaceMockRecorder) SendPubkeyManageRequest ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) SendPubkeyManageRequest(payload, endorsers, timeout, withSyncResult interface{}) *gomock.Call
SendPubkeyManageRequest indicates an expected call of SendPubkeyManageRequest.
func (*MockSDKInterfaceMockRecorder) SendRestoreBlockRequest ¶
func (mr *MockSDKInterfaceMockRecorder) SendRestoreBlockRequest(payload, timeout interface{}) *gomock.Call
SendRestoreBlockRequest indicates an expected call of SendRestoreBlockRequest.
func (*MockSDKInterfaceMockRecorder) SendTxRequest ¶
func (mr *MockSDKInterfaceMockRecorder) SendTxRequest(txRequest, timeout, withSyncResult interface{}) *gomock.Call
SendTxRequest indicates an expected call of SendTxRequest.
func (*MockSDKInterfaceMockRecorder) SignArchivePayload ¶
func (mr *MockSDKInterfaceMockRecorder) SignArchivePayload(payload interface{}) *gomock.Call
SignArchivePayload indicates an expected call of SignArchivePayload.
func (*MockSDKInterfaceMockRecorder) SignCertManagePayload ¶
func (mr *MockSDKInterfaceMockRecorder) SignCertManagePayload(payload interface{}) *gomock.Call
SignCertManagePayload indicates an expected call of SignCertManagePayload.
func (*MockSDKInterfaceMockRecorder) SignChainConfigPayload ¶
func (mr *MockSDKInterfaceMockRecorder) SignChainConfigPayload(payload interface{}) *gomock.Call
SignChainConfigPayload indicates an expected call of SignChainConfigPayload.
func (*MockSDKInterfaceMockRecorder) SignContractManagePayload ¶
func (mr *MockSDKInterfaceMockRecorder) SignContractManagePayload(payload interface{}) *gomock.Call
SignContractManagePayload indicates an expected call of SignContractManagePayload.
func (*MockSDKInterfaceMockRecorder) SignDeleteAliasPayload ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) SignDeleteAliasPayload(payload interface{}) *gomock.Call
SignDeleteAliasPayload indicates an expected call of SignDeleteAliasPayload.
func (*MockSDKInterfaceMockRecorder) SignUpdateCertByAliasPayload ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) SignUpdateCertByAliasPayload(payload interface{}) *gomock.Call
SignUpdateCertByAliasPayload indicates an expected call of SignUpdateCertByAliasPayload.
func (*MockSDKInterfaceMockRecorder) Stop ¶
func (mr *MockSDKInterfaceMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
func (*MockSDKInterfaceMockRecorder) Subscribe ¶
func (mr *MockSDKInterfaceMockRecorder) Subscribe(ctx, payloadBytes interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.
func (*MockSDKInterfaceMockRecorder) SubscribeBlock ¶
func (mr *MockSDKInterfaceMockRecorder) SubscribeBlock(ctx, startBlock, endBlock, withRWSet, onlyHeader interface{}) *gomock.Call
SubscribeBlock indicates an expected call of SubscribeBlock.
func (*MockSDKInterfaceMockRecorder) SubscribeContractEvent ¶
func (mr *MockSDKInterfaceMockRecorder) SubscribeContractEvent(ctx, startBlock, endBlock, contractName, topic interface{}) *gomock.Call
SubscribeContractEvent indicates an expected call of SubscribeContractEvent.
func (*MockSDKInterfaceMockRecorder) SubscribeTx ¶
func (mr *MockSDKInterfaceMockRecorder) SubscribeTx(ctx, startBlock, endBlock, contractName, txIds interface{}) *gomock.Call
SubscribeTx indicates an expected call of SubscribeTx.
func (*MockSDKInterfaceMockRecorder) UpdateCertByAlias ¶ added in v2.2.1
func (mr *MockSDKInterfaceMockRecorder) UpdateCertByAlias(payload, endorsers, timeout, withSyncResult interface{}) *gomock.Call
UpdateCertByAlias indicates an expected call of UpdateCertByAlias.