Documentation
¶
Index ¶
- type BIFContractService
- type ContractService
- func (cs *ContractService) BatchContractInvoke(r request.BIFBatchContractInvokeRequest) response.BIFContractInvokeResponse
- func (cs *ContractService) CheckContractAddress(r request.BIFContractCheckValidRequest) response.BIFContractCheckValidResponse
- func (cs *ContractService) ContractCreate(r request.BIFContractCreateRequest) response.BIFContractCreateResponse
- func (cs *ContractService) ContractInvoke(r request.BIFContractInvokeRequest) response.BIFContractInvokeResponse
- func (cs *ContractService) ContractQuery(r request.BIFContractCallRequest) response.BIFContractCallResponse
- func (cs *ContractService) GetContractAddress(r request.BIFContractGetAddressRequest) response.BIFContractGetAddressResponse
- func (cs *ContractService) GetContractInfo(r request.BIFContractGetInfoRequest) response.BIFContractGetInfoResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BIFContractService ¶
type BIFContractService interface { // CheckContractAddress 检测合约账户的有效性 CheckContractAddress(bifContractCheckValidRequest request.BIFContractCheckValidRequest) response.BIFContractCheckValidResponse // ContractCreate 创建合约 ContractCreate(bifContractCreateRequest request.BIFContractCreateRequest) response.BIFContractCreateResponse // GetContractInfo 查询合约代码 GetContractInfo(bifContractGetInfoRequest request.BIFContractGetInfoRequest) response.BIFContractGetInfoResponse // GetContractAddress 根据交易Hash查询合约地址 GetContractAddress(bifContractGetAddressRequest request.BIFContractGetAddressRequest) response.BIFContractGetAddressResponse // ContractQuery 合约查询接口 ContractQuery(bifContractCallRequest request.BIFContractCallRequest) response.BIFContractCallResponse // ContractInvoke 合约调用 ContractInvoke(bifContractInvokeRequest request.BIFContractInvokeRequest) response.BIFContractInvokeResponse // BatchContractInvoke 批量调用合约 BatchContractInvoke(bifBatchContractInvokeRequest request.BIFBatchContractInvokeRequest) response.BIFContractInvokeResponse }
BIFContractService ...
type ContractService ¶
type ContractService struct {
// contains filtered or unexported fields
}
ContractService ...
func GetContractInstance ¶
func GetContractInstance(url string) *ContractService
func (*ContractService) BatchContractInvoke ¶
func (cs *ContractService) BatchContractInvoke(r request.BIFBatchContractInvokeRequest) response.BIFContractInvokeResponse
func (*ContractService) CheckContractAddress ¶
func (cs *ContractService) CheckContractAddress(r request.BIFContractCheckValidRequest) response.BIFContractCheckValidResponse
func (*ContractService) ContractCreate ¶
func (cs *ContractService) ContractCreate(r request.BIFContractCreateRequest) response.BIFContractCreateResponse
func (*ContractService) ContractInvoke ¶
func (cs *ContractService) ContractInvoke(r request.BIFContractInvokeRequest) response.BIFContractInvokeResponse
func (*ContractService) ContractQuery ¶
func (cs *ContractService) ContractQuery(r request.BIFContractCallRequest) response.BIFContractCallResponse
func (*ContractService) GetContractAddress ¶
func (cs *ContractService) GetContractAddress(r request.BIFContractGetAddressRequest) response.BIFContractGetAddressResponse
func (*ContractService) GetContractInfo ¶
func (cs *ContractService) GetContractInfo(r request.BIFContractGetInfoRequest) response.BIFContractGetInfoResponse
Click to show internal directories.
Click to hide internal directories.