Documentation ¶
Index ¶
- func DeployCustomContract(member *types.Member, filename, contractName string) (string, error)
- func DeployFireFlyContract(s *types.Stack, log log.Logger, verbose bool) (*core.BlockchainConfig, *types.ContractDeploymentResult, error)
- func DeprecatedDeployContract(member *types.Member, contract *ethereum.CompiledContract, name string, ...) (string, error)
- func DeprecatedRegisterContract(member *types.Member, contract *ethereum.CompiledContract, ...) error
- func GetEthconnectServiceDefinitions(s *types.Stack, dependentServices map[string]string) []*docker.ServiceDefinition
- type Config
- type DeployContractResponseBody
- type EthconnectMessageHeaders
- type EthconnectMessageRequest
- type EthconnectMessageResponse
- type EthconnectReply
- type EthconnectReplyHeaders
- type HTTP
- type OpenAPI
- type PublishAbiResponseBody
- type RPC
- type RegisterResponseBody
- type Rest
- type RestGateway
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployCustomContract ¶ added in v0.0.45
func DeployFireFlyContract ¶ added in v0.0.47
func DeployFireFlyContract(s *types.Stack, log log.Logger, verbose bool) (*core.BlockchainConfig, *types.ContractDeploymentResult, error)
func DeprecatedDeployContract ¶ added in v0.0.47
func DeprecatedRegisterContract ¶ added in v0.0.47
Types ¶
type Config ¶ added in v0.0.39
type Config struct {
Rest *Rest `yaml:"rest,omitempty"`
}
func GenerateEthconnectConfig ¶ added in v0.0.39
type DeployContractResponseBody ¶
type DeployContractResponseBody struct {
ContractAddress string `json:"contractAddress,omitempty"`
}
type EthconnectMessageHeaders ¶ added in v0.0.45
type EthconnectMessageRequest ¶ added in v0.0.45
type EthconnectMessageRequest struct { Headers EthconnectMessageHeaders `json:"headers,omitempty"` To string `json:"to"` From string `json:"from,omitempty"` ABI interface{} `json:"abi,omitempty"` Bytecode string `json:"compiled"` }
type EthconnectMessageResponse ¶ added in v0.0.45
type EthconnectReply ¶ added in v0.0.45
type EthconnectReply struct { ID string `json:"_id,omitempty"` Headers *EthconnectReplyHeaders `json:"headers,omitempty"` ContractAddress string `json:"contractAddress,omitempty"` ErrorCode string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }
type EthconnectReplyHeaders ¶ added in v0.0.45
type EthconnectReplyHeaders struct { ID string `json:"id,omitempty"` RequestID string `json:"requestId,omitempty"` RequestOffset string `json:"requestOffset,omitempty"` TimeElapsed float64 `json:"timeElapsed,omitempty"` TimeReceived string `json:"timeReceived,omitempty"` Type string `json:"type,omitempty"` }
type PublishAbiResponseBody ¶
type PublishAbiResponseBody struct {
ID string `json:"id,omitempty"`
}
type RegisterResponseBody ¶
type Rest ¶ added in v0.0.39
type Rest struct {
RestGateway *RestGateway `yaml:"rest-gateway,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.