contract

package
v0.0.0-...-c02a99c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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) ContractQuery

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL