Documentation ¶
Index ¶
- type APIForbidden
- type APIOK
- type APIParams
- func (o *APIParams) SetContext(ctx context.Context)
- func (o *APIParams) SetHTTPClient(client *http.Client)
- func (o *APIParams) SetTimeout(timeout time.Duration)
- func (o *APIParams) WithContext(ctx context.Context) *APIParams
- func (o *APIParams) WithHTTPClient(client *http.Client) *APIParams
- func (o *APIParams) WithTimeout(timeout time.Duration) *APIParams
- func (o *APIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type APIReader
- type APIVersionInternalServerError
- type APIVersionOK
- type APIVersionParams
- func (o *APIVersionParams) SetContext(ctx context.Context)
- func (o *APIVersionParams) SetHTTPClient(client *http.Client)
- func (o *APIVersionParams) SetTimeout(timeout time.Duration)
- func (o *APIVersionParams) WithContext(ctx context.Context) *APIVersionParams
- func (o *APIVersionParams) WithHTTPClient(client *http.Client) *APIVersionParams
- func (o *APIVersionParams) WithTimeout(timeout time.Duration) *APIVersionParams
- func (o *APIVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type APIVersionReader
- type Client
- func (a *Client) API(params *APIParams) (*APIOK, error)
- func (a *Client) APIVersion(params *APIVersionParams) (*APIVersionOK, error)
- func (a *Client) CompileContract(params *CompileContractParams) (*CompileContractOK, error)
- func (a *Client) DecodeCallResult(params *DecodeCallResultParams) (*DecodeCallResultOK, error)
- func (a *Client) DecodeCalldataBytecode(params *DecodeCalldataBytecodeParams) (*DecodeCalldataBytecodeOK, error)
- func (a *Client) DecodeCalldataSource(params *DecodeCalldataSourceParams) (*DecodeCalldataSourceOK, error)
- func (a *Client) DecodeData(params *DecodeDataParams) (*DecodeDataOK, error)
- func (a *Client) EncodeCalldata(params *EncodeCalldataParams) (*EncodeCalldataOK, error)
- func (a *Client) GenerateACI(params *GenerateACIParams) (*GenerateACIOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) Version(params *VersionParams) (*VersionOK, error)
- type CompileContractBadRequest
- type CompileContractForbidden
- type CompileContractOK
- type CompileContractParams
- func NewCompileContractParams() *CompileContractParams
- func NewCompileContractParamsWithContext(ctx context.Context) *CompileContractParams
- func NewCompileContractParamsWithHTTPClient(client *http.Client) *CompileContractParams
- func NewCompileContractParamsWithTimeout(timeout time.Duration) *CompileContractParams
- func (o *CompileContractParams) SetBody(body *models.Contract)
- func (o *CompileContractParams) SetContext(ctx context.Context)
- func (o *CompileContractParams) SetHTTPClient(client *http.Client)
- func (o *CompileContractParams) SetTimeout(timeout time.Duration)
- func (o *CompileContractParams) WithBody(body *models.Contract) *CompileContractParams
- func (o *CompileContractParams) WithContext(ctx context.Context) *CompileContractParams
- func (o *CompileContractParams) WithHTTPClient(client *http.Client) *CompileContractParams
- func (o *CompileContractParams) WithTimeout(timeout time.Duration) *CompileContractParams
- func (o *CompileContractParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CompileContractReader
- type DecodeCallResultBadRequest
- type DecodeCallResultForbidden
- type DecodeCallResultOK
- type DecodeCallResultParams
- func NewDecodeCallResultParams() *DecodeCallResultParams
- func NewDecodeCallResultParamsWithContext(ctx context.Context) *DecodeCallResultParams
- func NewDecodeCallResultParamsWithHTTPClient(client *http.Client) *DecodeCallResultParams
- func NewDecodeCallResultParamsWithTimeout(timeout time.Duration) *DecodeCallResultParams
- func (o *DecodeCallResultParams) SetBody(body *models.SophiaCallResultInput)
- func (o *DecodeCallResultParams) SetContext(ctx context.Context)
- func (o *DecodeCallResultParams) SetHTTPClient(client *http.Client)
- func (o *DecodeCallResultParams) SetTimeout(timeout time.Duration)
- func (o *DecodeCallResultParams) WithBody(body *models.SophiaCallResultInput) *DecodeCallResultParams
- func (o *DecodeCallResultParams) WithContext(ctx context.Context) *DecodeCallResultParams
- func (o *DecodeCallResultParams) WithHTTPClient(client *http.Client) *DecodeCallResultParams
- func (o *DecodeCallResultParams) WithTimeout(timeout time.Duration) *DecodeCallResultParams
- func (o *DecodeCallResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DecodeCallResultReader
- type DecodeCalldataBytecodeBadRequest
- type DecodeCalldataBytecodeForbidden
- type DecodeCalldataBytecodeOK
- type DecodeCalldataBytecodeParams
- func NewDecodeCalldataBytecodeParams() *DecodeCalldataBytecodeParams
- func NewDecodeCalldataBytecodeParamsWithContext(ctx context.Context) *DecodeCalldataBytecodeParams
- func NewDecodeCalldataBytecodeParamsWithHTTPClient(client *http.Client) *DecodeCalldataBytecodeParams
- func NewDecodeCalldataBytecodeParamsWithTimeout(timeout time.Duration) *DecodeCalldataBytecodeParams
- func (o *DecodeCalldataBytecodeParams) SetBody(body *models.DecodeCalldataBytecode)
- func (o *DecodeCalldataBytecodeParams) SetContext(ctx context.Context)
- func (o *DecodeCalldataBytecodeParams) SetHTTPClient(client *http.Client)
- func (o *DecodeCalldataBytecodeParams) SetTimeout(timeout time.Duration)
- func (o *DecodeCalldataBytecodeParams) WithBody(body *models.DecodeCalldataBytecode) *DecodeCalldataBytecodeParams
- func (o *DecodeCalldataBytecodeParams) WithContext(ctx context.Context) *DecodeCalldataBytecodeParams
- func (o *DecodeCalldataBytecodeParams) WithHTTPClient(client *http.Client) *DecodeCalldataBytecodeParams
- func (o *DecodeCalldataBytecodeParams) WithTimeout(timeout time.Duration) *DecodeCalldataBytecodeParams
- func (o *DecodeCalldataBytecodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DecodeCalldataBytecodeReader
- type DecodeCalldataSourceBadRequest
- type DecodeCalldataSourceForbidden
- type DecodeCalldataSourceOK
- type DecodeCalldataSourceParams
- func NewDecodeCalldataSourceParams() *DecodeCalldataSourceParams
- func NewDecodeCalldataSourceParamsWithContext(ctx context.Context) *DecodeCalldataSourceParams
- func NewDecodeCalldataSourceParamsWithHTTPClient(client *http.Client) *DecodeCalldataSourceParams
- func NewDecodeCalldataSourceParamsWithTimeout(timeout time.Duration) *DecodeCalldataSourceParams
- func (o *DecodeCalldataSourceParams) SetBody(body *models.DecodeCalldataSource)
- func (o *DecodeCalldataSourceParams) SetContext(ctx context.Context)
- func (o *DecodeCalldataSourceParams) SetHTTPClient(client *http.Client)
- func (o *DecodeCalldataSourceParams) SetTimeout(timeout time.Duration)
- func (o *DecodeCalldataSourceParams) WithBody(body *models.DecodeCalldataSource) *DecodeCalldataSourceParams
- func (o *DecodeCalldataSourceParams) WithContext(ctx context.Context) *DecodeCalldataSourceParams
- func (o *DecodeCalldataSourceParams) WithHTTPClient(client *http.Client) *DecodeCalldataSourceParams
- func (o *DecodeCalldataSourceParams) WithTimeout(timeout time.Duration) *DecodeCalldataSourceParams
- func (o *DecodeCalldataSourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DecodeCalldataSourceReader
- type DecodeDataBadRequest
- type DecodeDataForbidden
- type DecodeDataOK
- type DecodeDataParams
- func (o *DecodeDataParams) SetBody(body *models.SophiaBinaryData)
- func (o *DecodeDataParams) SetContext(ctx context.Context)
- func (o *DecodeDataParams) SetHTTPClient(client *http.Client)
- func (o *DecodeDataParams) SetTimeout(timeout time.Duration)
- func (o *DecodeDataParams) WithBody(body *models.SophiaBinaryData) *DecodeDataParams
- func (o *DecodeDataParams) WithContext(ctx context.Context) *DecodeDataParams
- func (o *DecodeDataParams) WithHTTPClient(client *http.Client) *DecodeDataParams
- func (o *DecodeDataParams) WithTimeout(timeout time.Duration) *DecodeDataParams
- func (o *DecodeDataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DecodeDataReader
- type EncodeCalldataBadRequest
- type EncodeCalldataForbidden
- type EncodeCalldataOK
- type EncodeCalldataParams
- func NewEncodeCalldataParams() *EncodeCalldataParams
- func NewEncodeCalldataParamsWithContext(ctx context.Context) *EncodeCalldataParams
- func NewEncodeCalldataParamsWithHTTPClient(client *http.Client) *EncodeCalldataParams
- func NewEncodeCalldataParamsWithTimeout(timeout time.Duration) *EncodeCalldataParams
- func (o *EncodeCalldataParams) SetBody(body *models.FunctionCallInput)
- func (o *EncodeCalldataParams) SetContext(ctx context.Context)
- func (o *EncodeCalldataParams) SetHTTPClient(client *http.Client)
- func (o *EncodeCalldataParams) SetTimeout(timeout time.Duration)
- func (o *EncodeCalldataParams) WithBody(body *models.FunctionCallInput) *EncodeCalldataParams
- func (o *EncodeCalldataParams) WithContext(ctx context.Context) *EncodeCalldataParams
- func (o *EncodeCalldataParams) WithHTTPClient(client *http.Client) *EncodeCalldataParams
- func (o *EncodeCalldataParams) WithTimeout(timeout time.Duration) *EncodeCalldataParams
- func (o *EncodeCalldataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EncodeCalldataReader
- type GenerateACIBadRequest
- type GenerateACIForbidden
- type GenerateACIOK
- type GenerateACIParams
- func (o *GenerateACIParams) SetBody(body *models.Contract)
- func (o *GenerateACIParams) SetContext(ctx context.Context)
- func (o *GenerateACIParams) SetHTTPClient(client *http.Client)
- func (o *GenerateACIParams) SetTimeout(timeout time.Duration)
- func (o *GenerateACIParams) WithBody(body *models.Contract) *GenerateACIParams
- func (o *GenerateACIParams) WithContext(ctx context.Context) *GenerateACIParams
- func (o *GenerateACIParams) WithHTTPClient(client *http.Client) *GenerateACIParams
- func (o *GenerateACIParams) WithTimeout(timeout time.Duration) *GenerateACIParams
- func (o *GenerateACIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GenerateACIReader
- type VersionInternalServerError
- type VersionOK
- type VersionParams
- func (o *VersionParams) SetContext(ctx context.Context)
- func (o *VersionParams) SetHTTPClient(client *http.Client)
- func (o *VersionParams) SetTimeout(timeout time.Duration)
- func (o *VersionParams) WithContext(ctx context.Context) *VersionParams
- func (o *VersionParams) WithHTTPClient(client *http.Client) *VersionParams
- func (o *VersionParams) WithTimeout(timeout time.Duration) *VersionParams
- func (o *VersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VersionReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIForbidden ¶
APIForbidden handles this case with default header values.
Error
func NewAPIForbidden ¶
func NewAPIForbidden() *APIForbidden
NewAPIForbidden creates a APIForbidden with default headers values
func (*APIForbidden) Error ¶
func (o *APIForbidden) Error() string
type APIParams ¶
type APIParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
APIParams contains all the parameters to send to the API endpoint for the Api operation typically these are written to a http.Request
func NewAPIParams ¶
func NewAPIParams() *APIParams
NewAPIParams creates a new APIParams object with the default values initialized.
func NewAPIParamsWithContext ¶
NewAPIParamsWithContext creates a new APIParams object with the default values initialized, and the ability to set a context for a request
func NewAPIParamsWithHTTPClient ¶
NewAPIParamsWithHTTPClient creates a new APIParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAPIParamsWithTimeout ¶
NewAPIParamsWithTimeout creates a new APIParams object with the default values initialized, and the ability to set a timeout on a request
func (*APIParams) SetContext ¶
SetContext adds the context to the Api params
func (*APIParams) SetHTTPClient ¶
SetHTTPClient adds the HTTPClient to the Api params
func (*APIParams) SetTimeout ¶
SetTimeout adds the timeout to the Api params
func (*APIParams) WithContext ¶
WithContext adds the context to the Api params
func (*APIParams) WithHTTPClient ¶
WithHTTPClient adds the HTTPClient to the Api params
func (*APIParams) WithTimeout ¶
WithTimeout adds the timeout to the Api params
func (*APIParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type APIReader ¶
type APIReader struct {
// contains filtered or unexported fields
}
APIReader is a Reader for the API structure.
func (*APIReader) ReadResponse ¶
func (o *APIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type APIVersionInternalServerError ¶
APIVersionInternalServerError handles this case with default header values.
Error
func NewAPIVersionInternalServerError ¶
func NewAPIVersionInternalServerError() *APIVersionInternalServerError
NewAPIVersionInternalServerError creates a APIVersionInternalServerError with default headers values
func (*APIVersionInternalServerError) Error ¶
func (o *APIVersionInternalServerError) Error() string
type APIVersionOK ¶
type APIVersionOK struct {
Payload *models.APIVersion
}
APIVersionOK handles this case with default header values.
Sophia compiler version
func NewAPIVersionOK ¶
func NewAPIVersionOK() *APIVersionOK
NewAPIVersionOK creates a APIVersionOK with default headers values
func (*APIVersionOK) Error ¶
func (o *APIVersionOK) Error() string
type APIVersionParams ¶
type APIVersionParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
APIVersionParams contains all the parameters to send to the API endpoint for the API version operation typically these are written to a http.Request
func NewAPIVersionParams ¶
func NewAPIVersionParams() *APIVersionParams
NewAPIVersionParams creates a new APIVersionParams object with the default values initialized.
func NewAPIVersionParamsWithContext ¶
func NewAPIVersionParamsWithContext(ctx context.Context) *APIVersionParams
NewAPIVersionParamsWithContext creates a new APIVersionParams object with the default values initialized, and the ability to set a context for a request
func NewAPIVersionParamsWithHTTPClient ¶
func NewAPIVersionParamsWithHTTPClient(client *http.Client) *APIVersionParams
NewAPIVersionParamsWithHTTPClient creates a new APIVersionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAPIVersionParamsWithTimeout ¶
func NewAPIVersionParamsWithTimeout(timeout time.Duration) *APIVersionParams
NewAPIVersionParamsWithTimeout creates a new APIVersionParams object with the default values initialized, and the ability to set a timeout on a request
func (*APIVersionParams) SetContext ¶
func (o *APIVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the API version params
func (*APIVersionParams) SetHTTPClient ¶
func (o *APIVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the API version params
func (*APIVersionParams) SetTimeout ¶
func (o *APIVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the API version params
func (*APIVersionParams) WithContext ¶
func (o *APIVersionParams) WithContext(ctx context.Context) *APIVersionParams
WithContext adds the context to the API version params
func (*APIVersionParams) WithHTTPClient ¶
func (o *APIVersionParams) WithHTTPClient(client *http.Client) *APIVersionParams
WithHTTPClient adds the HTTPClient to the API version params
func (*APIVersionParams) WithTimeout ¶
func (o *APIVersionParams) WithTimeout(timeout time.Duration) *APIVersionParams
WithTimeout adds the timeout to the API version params
func (*APIVersionParams) WriteToRequest ¶
func (o *APIVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type APIVersionReader ¶
type APIVersionReader struct {
// contains filtered or unexported fields
}
APIVersionReader is a Reader for the APIVersion structure.
func (*APIVersionReader) ReadResponse ¶
func (o *APIVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for operations API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new operations API client.
func (*Client) APIVersion ¶
func (a *Client) APIVersion(params *APIVersionParams) (*APIVersionOK, error)
APIVersion Get the version of the API
func (*Client) CompileContract ¶
func (a *Client) CompileContract(params *CompileContractParams) (*CompileContractOK, error)
CompileContract Compile a sophia contract from source and return byte code
func (*Client) DecodeCallResult ¶
func (a *Client) DecodeCallResult(params *DecodeCallResultParams) (*DecodeCallResultOK, error)
DecodeCallResult Decode the result of contract call
func (*Client) DecodeCalldataBytecode ¶
func (a *Client) DecodeCalldataBytecode(params *DecodeCalldataBytecodeParams) (*DecodeCalldataBytecodeOK, error)
DecodeCalldataBytecode Identify function name and arguments in Calldata for a compiled contract
func (*Client) DecodeCalldataSource ¶
func (a *Client) DecodeCalldataSource(params *DecodeCalldataSourceParams) (*DecodeCalldataSourceOK, error)
DecodeCalldataSource Identify function name and arguments in Calldata for a (partial) contract
func (*Client) DecodeData ¶
func (a *Client) DecodeData(params *DecodeDataParams) (*DecodeDataOK, error)
DecodeData Decode data as retuned by a contract call. - Legacy decoding
func (*Client) EncodeCalldata ¶
func (a *Client) EncodeCalldata(params *EncodeCalldataParams) (*EncodeCalldataOK, error)
EncodeCalldata Encode Sophia function call according to sophia ABI.
func (*Client) GenerateACI ¶
func (a *Client) GenerateACI(params *GenerateACIParams) (*GenerateACIOK, error)
GenerateACI Generate an Aeternity Contract Interface (ACI) for contract
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CompileContractBadRequest ¶
CompileContractBadRequest handles this case with default header values.
Invalid data
func NewCompileContractBadRequest ¶
func NewCompileContractBadRequest() *CompileContractBadRequest
NewCompileContractBadRequest creates a CompileContractBadRequest with default headers values
func (*CompileContractBadRequest) Error ¶
func (o *CompileContractBadRequest) Error() string
type CompileContractForbidden ¶
CompileContractForbidden handles this case with default header values.
Invalid contract
func NewCompileContractForbidden ¶
func NewCompileContractForbidden() *CompileContractForbidden
NewCompileContractForbidden creates a CompileContractForbidden with default headers values
func (*CompileContractForbidden) Error ¶
func (o *CompileContractForbidden) Error() string
type CompileContractOK ¶
CompileContractOK handles this case with default header values.
Byte code response
func NewCompileContractOK ¶
func NewCompileContractOK() *CompileContractOK
NewCompileContractOK creates a CompileContractOK with default headers values
func (*CompileContractOK) Error ¶
func (o *CompileContractOK) Error() string
type CompileContractParams ¶
type CompileContractParams struct { /*Body contract code */ Body *models.Contract Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CompileContractParams contains all the parameters to send to the API endpoint for the compile contract operation typically these are written to a http.Request
func NewCompileContractParams ¶
func NewCompileContractParams() *CompileContractParams
NewCompileContractParams creates a new CompileContractParams object with the default values initialized.
func NewCompileContractParamsWithContext ¶
func NewCompileContractParamsWithContext(ctx context.Context) *CompileContractParams
NewCompileContractParamsWithContext creates a new CompileContractParams object with the default values initialized, and the ability to set a context for a request
func NewCompileContractParamsWithHTTPClient ¶
func NewCompileContractParamsWithHTTPClient(client *http.Client) *CompileContractParams
NewCompileContractParamsWithHTTPClient creates a new CompileContractParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCompileContractParamsWithTimeout ¶
func NewCompileContractParamsWithTimeout(timeout time.Duration) *CompileContractParams
NewCompileContractParamsWithTimeout creates a new CompileContractParams object with the default values initialized, and the ability to set a timeout on a request
func (*CompileContractParams) SetBody ¶
func (o *CompileContractParams) SetBody(body *models.Contract)
SetBody adds the body to the compile contract params
func (*CompileContractParams) SetContext ¶
func (o *CompileContractParams) SetContext(ctx context.Context)
SetContext adds the context to the compile contract params
func (*CompileContractParams) SetHTTPClient ¶
func (o *CompileContractParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the compile contract params
func (*CompileContractParams) SetTimeout ¶
func (o *CompileContractParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the compile contract params
func (*CompileContractParams) WithBody ¶
func (o *CompileContractParams) WithBody(body *models.Contract) *CompileContractParams
WithBody adds the body to the compile contract params
func (*CompileContractParams) WithContext ¶
func (o *CompileContractParams) WithContext(ctx context.Context) *CompileContractParams
WithContext adds the context to the compile contract params
func (*CompileContractParams) WithHTTPClient ¶
func (o *CompileContractParams) WithHTTPClient(client *http.Client) *CompileContractParams
WithHTTPClient adds the HTTPClient to the compile contract params
func (*CompileContractParams) WithTimeout ¶
func (o *CompileContractParams) WithTimeout(timeout time.Duration) *CompileContractParams
WithTimeout adds the timeout to the compile contract params
func (*CompileContractParams) WriteToRequest ¶
func (o *CompileContractParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CompileContractReader ¶
type CompileContractReader struct {
// contains filtered or unexported fields
}
CompileContractReader is a Reader for the CompileContract structure.
func (*CompileContractReader) ReadResponse ¶
func (o *CompileContractReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DecodeCallResultBadRequest ¶
DecodeCallResultBadRequest handles this case with default header values.
Invalid data
func NewDecodeCallResultBadRequest ¶
func NewDecodeCallResultBadRequest() *DecodeCallResultBadRequest
NewDecodeCallResultBadRequest creates a DecodeCallResultBadRequest with default headers values
func (*DecodeCallResultBadRequest) Error ¶
func (o *DecodeCallResultBadRequest) Error() string
type DecodeCallResultForbidden ¶
DecodeCallResultForbidden handles this case with default header values.
Invalid data
func NewDecodeCallResultForbidden ¶
func NewDecodeCallResultForbidden() *DecodeCallResultForbidden
NewDecodeCallResultForbidden creates a DecodeCallResultForbidden with default headers values
func (*DecodeCallResultForbidden) Error ¶
func (o *DecodeCallResultForbidden) Error() string
type DecodeCallResultOK ¶
type DecodeCallResultOK struct {
Payload models.SophiaCallResult
}
DecodeCallResultOK handles this case with default header values.
Json encoded data
func NewDecodeCallResultOK ¶
func NewDecodeCallResultOK() *DecodeCallResultOK
NewDecodeCallResultOK creates a DecodeCallResultOK with default headers values
func (*DecodeCallResultOK) Error ¶
func (o *DecodeCallResultOK) Error() string
type DecodeCallResultParams ¶
type DecodeCallResultParams struct { /*Body Binary data in Sophia ABI format */ Body *models.SophiaCallResultInput Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DecodeCallResultParams contains all the parameters to send to the API endpoint for the decode call result operation typically these are written to a http.Request
func NewDecodeCallResultParams ¶
func NewDecodeCallResultParams() *DecodeCallResultParams
NewDecodeCallResultParams creates a new DecodeCallResultParams object with the default values initialized.
func NewDecodeCallResultParamsWithContext ¶
func NewDecodeCallResultParamsWithContext(ctx context.Context) *DecodeCallResultParams
NewDecodeCallResultParamsWithContext creates a new DecodeCallResultParams object with the default values initialized, and the ability to set a context for a request
func NewDecodeCallResultParamsWithHTTPClient ¶
func NewDecodeCallResultParamsWithHTTPClient(client *http.Client) *DecodeCallResultParams
NewDecodeCallResultParamsWithHTTPClient creates a new DecodeCallResultParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDecodeCallResultParamsWithTimeout ¶
func NewDecodeCallResultParamsWithTimeout(timeout time.Duration) *DecodeCallResultParams
NewDecodeCallResultParamsWithTimeout creates a new DecodeCallResultParams object with the default values initialized, and the ability to set a timeout on a request
func (*DecodeCallResultParams) SetBody ¶
func (o *DecodeCallResultParams) SetBody(body *models.SophiaCallResultInput)
SetBody adds the body to the decode call result params
func (*DecodeCallResultParams) SetContext ¶
func (o *DecodeCallResultParams) SetContext(ctx context.Context)
SetContext adds the context to the decode call result params
func (*DecodeCallResultParams) SetHTTPClient ¶
func (o *DecodeCallResultParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the decode call result params
func (*DecodeCallResultParams) SetTimeout ¶
func (o *DecodeCallResultParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the decode call result params
func (*DecodeCallResultParams) WithBody ¶
func (o *DecodeCallResultParams) WithBody(body *models.SophiaCallResultInput) *DecodeCallResultParams
WithBody adds the body to the decode call result params
func (*DecodeCallResultParams) WithContext ¶
func (o *DecodeCallResultParams) WithContext(ctx context.Context) *DecodeCallResultParams
WithContext adds the context to the decode call result params
func (*DecodeCallResultParams) WithHTTPClient ¶
func (o *DecodeCallResultParams) WithHTTPClient(client *http.Client) *DecodeCallResultParams
WithHTTPClient adds the HTTPClient to the decode call result params
func (*DecodeCallResultParams) WithTimeout ¶
func (o *DecodeCallResultParams) WithTimeout(timeout time.Duration) *DecodeCallResultParams
WithTimeout adds the timeout to the decode call result params
func (*DecodeCallResultParams) WriteToRequest ¶
func (o *DecodeCallResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DecodeCallResultReader ¶
type DecodeCallResultReader struct {
// contains filtered or unexported fields
}
DecodeCallResultReader is a Reader for the DecodeCallResult structure.
func (*DecodeCallResultReader) ReadResponse ¶
func (o *DecodeCallResultReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DecodeCalldataBytecodeBadRequest ¶
DecodeCalldataBytecodeBadRequest handles this case with default header values.
Invalid data
func NewDecodeCalldataBytecodeBadRequest ¶
func NewDecodeCalldataBytecodeBadRequest() *DecodeCalldataBytecodeBadRequest
NewDecodeCalldataBytecodeBadRequest creates a DecodeCalldataBytecodeBadRequest with default headers values
func (*DecodeCalldataBytecodeBadRequest) Error ¶
func (o *DecodeCalldataBytecodeBadRequest) Error() string
type DecodeCalldataBytecodeForbidden ¶
DecodeCalldataBytecodeForbidden handles this case with default header values.
Invalid contract
func NewDecodeCalldataBytecodeForbidden ¶
func NewDecodeCalldataBytecodeForbidden() *DecodeCalldataBytecodeForbidden
NewDecodeCalldataBytecodeForbidden creates a DecodeCalldataBytecodeForbidden with default headers values
func (*DecodeCalldataBytecodeForbidden) Error ¶
func (o *DecodeCalldataBytecodeForbidden) Error() string
type DecodeCalldataBytecodeOK ¶
type DecodeCalldataBytecodeOK struct {
Payload *models.DecodedCalldata
}
DecodeCalldataBytecodeOK handles this case with default header values.
Binary encoded calldata
func NewDecodeCalldataBytecodeOK ¶
func NewDecodeCalldataBytecodeOK() *DecodeCalldataBytecodeOK
NewDecodeCalldataBytecodeOK creates a DecodeCalldataBytecodeOK with default headers values
func (*DecodeCalldataBytecodeOK) Error ¶
func (o *DecodeCalldataBytecodeOK) Error() string
type DecodeCalldataBytecodeParams ¶
type DecodeCalldataBytecodeParams struct { /*Body Calldata + compiled contract */ Body *models.DecodeCalldataBytecode Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DecodeCalldataBytecodeParams contains all the parameters to send to the API endpoint for the decode calldata bytecode operation typically these are written to a http.Request
func NewDecodeCalldataBytecodeParams ¶
func NewDecodeCalldataBytecodeParams() *DecodeCalldataBytecodeParams
NewDecodeCalldataBytecodeParams creates a new DecodeCalldataBytecodeParams object with the default values initialized.
func NewDecodeCalldataBytecodeParamsWithContext ¶
func NewDecodeCalldataBytecodeParamsWithContext(ctx context.Context) *DecodeCalldataBytecodeParams
NewDecodeCalldataBytecodeParamsWithContext creates a new DecodeCalldataBytecodeParams object with the default values initialized, and the ability to set a context for a request
func NewDecodeCalldataBytecodeParamsWithHTTPClient ¶
func NewDecodeCalldataBytecodeParamsWithHTTPClient(client *http.Client) *DecodeCalldataBytecodeParams
NewDecodeCalldataBytecodeParamsWithHTTPClient creates a new DecodeCalldataBytecodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDecodeCalldataBytecodeParamsWithTimeout ¶
func NewDecodeCalldataBytecodeParamsWithTimeout(timeout time.Duration) *DecodeCalldataBytecodeParams
NewDecodeCalldataBytecodeParamsWithTimeout creates a new DecodeCalldataBytecodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*DecodeCalldataBytecodeParams) SetBody ¶
func (o *DecodeCalldataBytecodeParams) SetBody(body *models.DecodeCalldataBytecode)
SetBody adds the body to the decode calldata bytecode params
func (*DecodeCalldataBytecodeParams) SetContext ¶
func (o *DecodeCalldataBytecodeParams) SetContext(ctx context.Context)
SetContext adds the context to the decode calldata bytecode params
func (*DecodeCalldataBytecodeParams) SetHTTPClient ¶
func (o *DecodeCalldataBytecodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the decode calldata bytecode params
func (*DecodeCalldataBytecodeParams) SetTimeout ¶
func (o *DecodeCalldataBytecodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the decode calldata bytecode params
func (*DecodeCalldataBytecodeParams) WithBody ¶
func (o *DecodeCalldataBytecodeParams) WithBody(body *models.DecodeCalldataBytecode) *DecodeCalldataBytecodeParams
WithBody adds the body to the decode calldata bytecode params
func (*DecodeCalldataBytecodeParams) WithContext ¶
func (o *DecodeCalldataBytecodeParams) WithContext(ctx context.Context) *DecodeCalldataBytecodeParams
WithContext adds the context to the decode calldata bytecode params
func (*DecodeCalldataBytecodeParams) WithHTTPClient ¶
func (o *DecodeCalldataBytecodeParams) WithHTTPClient(client *http.Client) *DecodeCalldataBytecodeParams
WithHTTPClient adds the HTTPClient to the decode calldata bytecode params
func (*DecodeCalldataBytecodeParams) WithTimeout ¶
func (o *DecodeCalldataBytecodeParams) WithTimeout(timeout time.Duration) *DecodeCalldataBytecodeParams
WithTimeout adds the timeout to the decode calldata bytecode params
func (*DecodeCalldataBytecodeParams) WriteToRequest ¶
func (o *DecodeCalldataBytecodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DecodeCalldataBytecodeReader ¶
type DecodeCalldataBytecodeReader struct {
// contains filtered or unexported fields
}
DecodeCalldataBytecodeReader is a Reader for the DecodeCalldataBytecode structure.
func (*DecodeCalldataBytecodeReader) ReadResponse ¶
func (o *DecodeCalldataBytecodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DecodeCalldataSourceBadRequest ¶
DecodeCalldataSourceBadRequest handles this case with default header values.
Invalid data
func NewDecodeCalldataSourceBadRequest ¶
func NewDecodeCalldataSourceBadRequest() *DecodeCalldataSourceBadRequest
NewDecodeCalldataSourceBadRequest creates a DecodeCalldataSourceBadRequest with default headers values
func (*DecodeCalldataSourceBadRequest) Error ¶
func (o *DecodeCalldataSourceBadRequest) Error() string
type DecodeCalldataSourceForbidden ¶
DecodeCalldataSourceForbidden handles this case with default header values.
Invalid data
func NewDecodeCalldataSourceForbidden ¶
func NewDecodeCalldataSourceForbidden() *DecodeCalldataSourceForbidden
NewDecodeCalldataSourceForbidden creates a DecodeCalldataSourceForbidden with default headers values
func (*DecodeCalldataSourceForbidden) Error ¶
func (o *DecodeCalldataSourceForbidden) Error() string
type DecodeCalldataSourceOK ¶
type DecodeCalldataSourceOK struct {
Payload *models.DecodedCalldata
}
DecodeCalldataSourceOK handles this case with default header values.
Binary encoded calldata
func NewDecodeCalldataSourceOK ¶
func NewDecodeCalldataSourceOK() *DecodeCalldataSourceOK
NewDecodeCalldataSourceOK creates a DecodeCalldataSourceOK with default headers values
func (*DecodeCalldataSourceOK) Error ¶
func (o *DecodeCalldataSourceOK) Error() string
type DecodeCalldataSourceParams ¶
type DecodeCalldataSourceParams struct { /*Body Calldata + contract (stub) code */ Body *models.DecodeCalldataSource Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DecodeCalldataSourceParams contains all the parameters to send to the API endpoint for the decode calldata source operation typically these are written to a http.Request
func NewDecodeCalldataSourceParams ¶
func NewDecodeCalldataSourceParams() *DecodeCalldataSourceParams
NewDecodeCalldataSourceParams creates a new DecodeCalldataSourceParams object with the default values initialized.
func NewDecodeCalldataSourceParamsWithContext ¶
func NewDecodeCalldataSourceParamsWithContext(ctx context.Context) *DecodeCalldataSourceParams
NewDecodeCalldataSourceParamsWithContext creates a new DecodeCalldataSourceParams object with the default values initialized, and the ability to set a context for a request
func NewDecodeCalldataSourceParamsWithHTTPClient ¶
func NewDecodeCalldataSourceParamsWithHTTPClient(client *http.Client) *DecodeCalldataSourceParams
NewDecodeCalldataSourceParamsWithHTTPClient creates a new DecodeCalldataSourceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDecodeCalldataSourceParamsWithTimeout ¶
func NewDecodeCalldataSourceParamsWithTimeout(timeout time.Duration) *DecodeCalldataSourceParams
NewDecodeCalldataSourceParamsWithTimeout creates a new DecodeCalldataSourceParams object with the default values initialized, and the ability to set a timeout on a request
func (*DecodeCalldataSourceParams) SetBody ¶
func (o *DecodeCalldataSourceParams) SetBody(body *models.DecodeCalldataSource)
SetBody adds the body to the decode calldata source params
func (*DecodeCalldataSourceParams) SetContext ¶
func (o *DecodeCalldataSourceParams) SetContext(ctx context.Context)
SetContext adds the context to the decode calldata source params
func (*DecodeCalldataSourceParams) SetHTTPClient ¶
func (o *DecodeCalldataSourceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the decode calldata source params
func (*DecodeCalldataSourceParams) SetTimeout ¶
func (o *DecodeCalldataSourceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the decode calldata source params
func (*DecodeCalldataSourceParams) WithBody ¶
func (o *DecodeCalldataSourceParams) WithBody(body *models.DecodeCalldataSource) *DecodeCalldataSourceParams
WithBody adds the body to the decode calldata source params
func (*DecodeCalldataSourceParams) WithContext ¶
func (o *DecodeCalldataSourceParams) WithContext(ctx context.Context) *DecodeCalldataSourceParams
WithContext adds the context to the decode calldata source params
func (*DecodeCalldataSourceParams) WithHTTPClient ¶
func (o *DecodeCalldataSourceParams) WithHTTPClient(client *http.Client) *DecodeCalldataSourceParams
WithHTTPClient adds the HTTPClient to the decode calldata source params
func (*DecodeCalldataSourceParams) WithTimeout ¶
func (o *DecodeCalldataSourceParams) WithTimeout(timeout time.Duration) *DecodeCalldataSourceParams
WithTimeout adds the timeout to the decode calldata source params
func (*DecodeCalldataSourceParams) WriteToRequest ¶
func (o *DecodeCalldataSourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DecodeCalldataSourceReader ¶
type DecodeCalldataSourceReader struct {
// contains filtered or unexported fields
}
DecodeCalldataSourceReader is a Reader for the DecodeCalldataSource structure.
func (*DecodeCalldataSourceReader) ReadResponse ¶
func (o *DecodeCalldataSourceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DecodeDataBadRequest ¶
DecodeDataBadRequest handles this case with default header values.
Invalid data
func NewDecodeDataBadRequest ¶
func NewDecodeDataBadRequest() *DecodeDataBadRequest
NewDecodeDataBadRequest creates a DecodeDataBadRequest with default headers values
func (*DecodeDataBadRequest) Error ¶
func (o *DecodeDataBadRequest) Error() string
type DecodeDataForbidden ¶
DecodeDataForbidden handles this case with default header values.
Invalid data
func NewDecodeDataForbidden ¶
func NewDecodeDataForbidden() *DecodeDataForbidden
NewDecodeDataForbidden creates a DecodeDataForbidden with default headers values
func (*DecodeDataForbidden) Error ¶
func (o *DecodeDataForbidden) Error() string
type DecodeDataOK ¶
type DecodeDataOK struct {
Payload *models.SophiaJSONData
}
DecodeDataOK handles this case with default header values.
Json encoded data
func NewDecodeDataOK ¶
func NewDecodeDataOK() *DecodeDataOK
NewDecodeDataOK creates a DecodeDataOK with default headers values
func (*DecodeDataOK) Error ¶
func (o *DecodeDataOK) Error() string
type DecodeDataParams ¶
type DecodeDataParams struct { /*Body Binary data in Sophia ABI format */ Body *models.SophiaBinaryData Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DecodeDataParams contains all the parameters to send to the API endpoint for the decode data operation typically these are written to a http.Request
func NewDecodeDataParams ¶
func NewDecodeDataParams() *DecodeDataParams
NewDecodeDataParams creates a new DecodeDataParams object with the default values initialized.
func NewDecodeDataParamsWithContext ¶
func NewDecodeDataParamsWithContext(ctx context.Context) *DecodeDataParams
NewDecodeDataParamsWithContext creates a new DecodeDataParams object with the default values initialized, and the ability to set a context for a request
func NewDecodeDataParamsWithHTTPClient ¶
func NewDecodeDataParamsWithHTTPClient(client *http.Client) *DecodeDataParams
NewDecodeDataParamsWithHTTPClient creates a new DecodeDataParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDecodeDataParamsWithTimeout ¶
func NewDecodeDataParamsWithTimeout(timeout time.Duration) *DecodeDataParams
NewDecodeDataParamsWithTimeout creates a new DecodeDataParams object with the default values initialized, and the ability to set a timeout on a request
func (*DecodeDataParams) SetBody ¶
func (o *DecodeDataParams) SetBody(body *models.SophiaBinaryData)
SetBody adds the body to the decode data params
func (*DecodeDataParams) SetContext ¶
func (o *DecodeDataParams) SetContext(ctx context.Context)
SetContext adds the context to the decode data params
func (*DecodeDataParams) SetHTTPClient ¶
func (o *DecodeDataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the decode data params
func (*DecodeDataParams) SetTimeout ¶
func (o *DecodeDataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the decode data params
func (*DecodeDataParams) WithBody ¶
func (o *DecodeDataParams) WithBody(body *models.SophiaBinaryData) *DecodeDataParams
WithBody adds the body to the decode data params
func (*DecodeDataParams) WithContext ¶
func (o *DecodeDataParams) WithContext(ctx context.Context) *DecodeDataParams
WithContext adds the context to the decode data params
func (*DecodeDataParams) WithHTTPClient ¶
func (o *DecodeDataParams) WithHTTPClient(client *http.Client) *DecodeDataParams
WithHTTPClient adds the HTTPClient to the decode data params
func (*DecodeDataParams) WithTimeout ¶
func (o *DecodeDataParams) WithTimeout(timeout time.Duration) *DecodeDataParams
WithTimeout adds the timeout to the decode data params
func (*DecodeDataParams) WriteToRequest ¶
func (o *DecodeDataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DecodeDataReader ¶
type DecodeDataReader struct {
// contains filtered or unexported fields
}
DecodeDataReader is a Reader for the DecodeData structure.
func (*DecodeDataReader) ReadResponse ¶
func (o *DecodeDataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EncodeCalldataBadRequest ¶
EncodeCalldataBadRequest handles this case with default header values.
Invalid data
func NewEncodeCalldataBadRequest ¶
func NewEncodeCalldataBadRequest() *EncodeCalldataBadRequest
NewEncodeCalldataBadRequest creates a EncodeCalldataBadRequest with default headers values
func (*EncodeCalldataBadRequest) Error ¶
func (o *EncodeCalldataBadRequest) Error() string
type EncodeCalldataForbidden ¶
EncodeCalldataForbidden handles this case with default header values.
Invalid contract
func NewEncodeCalldataForbidden ¶
func NewEncodeCalldataForbidden() *EncodeCalldataForbidden
NewEncodeCalldataForbidden creates a EncodeCalldataForbidden with default headers values
func (*EncodeCalldataForbidden) Error ¶
func (o *EncodeCalldataForbidden) Error() string
type EncodeCalldataOK ¶
EncodeCalldataOK handles this case with default header values.
Binary encoded calldata
func NewEncodeCalldataOK ¶
func NewEncodeCalldataOK() *EncodeCalldataOK
NewEncodeCalldataOK creates a EncodeCalldataOK with default headers values
func (*EncodeCalldataOK) Error ¶
func (o *EncodeCalldataOK) Error() string
type EncodeCalldataParams ¶
type EncodeCalldataParams struct { /*Body Sophia function call - contract code + function name + arguments */ Body *models.FunctionCallInput Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EncodeCalldataParams contains all the parameters to send to the API endpoint for the encode calldata operation typically these are written to a http.Request
func NewEncodeCalldataParams ¶
func NewEncodeCalldataParams() *EncodeCalldataParams
NewEncodeCalldataParams creates a new EncodeCalldataParams object with the default values initialized.
func NewEncodeCalldataParamsWithContext ¶
func NewEncodeCalldataParamsWithContext(ctx context.Context) *EncodeCalldataParams
NewEncodeCalldataParamsWithContext creates a new EncodeCalldataParams object with the default values initialized, and the ability to set a context for a request
func NewEncodeCalldataParamsWithHTTPClient ¶
func NewEncodeCalldataParamsWithHTTPClient(client *http.Client) *EncodeCalldataParams
NewEncodeCalldataParamsWithHTTPClient creates a new EncodeCalldataParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEncodeCalldataParamsWithTimeout ¶
func NewEncodeCalldataParamsWithTimeout(timeout time.Duration) *EncodeCalldataParams
NewEncodeCalldataParamsWithTimeout creates a new EncodeCalldataParams object with the default values initialized, and the ability to set a timeout on a request
func (*EncodeCalldataParams) SetBody ¶
func (o *EncodeCalldataParams) SetBody(body *models.FunctionCallInput)
SetBody adds the body to the encode calldata params
func (*EncodeCalldataParams) SetContext ¶
func (o *EncodeCalldataParams) SetContext(ctx context.Context)
SetContext adds the context to the encode calldata params
func (*EncodeCalldataParams) SetHTTPClient ¶
func (o *EncodeCalldataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the encode calldata params
func (*EncodeCalldataParams) SetTimeout ¶
func (o *EncodeCalldataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the encode calldata params
func (*EncodeCalldataParams) WithBody ¶
func (o *EncodeCalldataParams) WithBody(body *models.FunctionCallInput) *EncodeCalldataParams
WithBody adds the body to the encode calldata params
func (*EncodeCalldataParams) WithContext ¶
func (o *EncodeCalldataParams) WithContext(ctx context.Context) *EncodeCalldataParams
WithContext adds the context to the encode calldata params
func (*EncodeCalldataParams) WithHTTPClient ¶
func (o *EncodeCalldataParams) WithHTTPClient(client *http.Client) *EncodeCalldataParams
WithHTTPClient adds the HTTPClient to the encode calldata params
func (*EncodeCalldataParams) WithTimeout ¶
func (o *EncodeCalldataParams) WithTimeout(timeout time.Duration) *EncodeCalldataParams
WithTimeout adds the timeout to the encode calldata params
func (*EncodeCalldataParams) WriteToRequest ¶
func (o *EncodeCalldataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EncodeCalldataReader ¶
type EncodeCalldataReader struct {
// contains filtered or unexported fields
}
EncodeCalldataReader is a Reader for the EncodeCalldata structure.
func (*EncodeCalldataReader) ReadResponse ¶
func (o *EncodeCalldataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GenerateACIBadRequest ¶
GenerateACIBadRequest handles this case with default header values.
Invalid input
func NewGenerateACIBadRequest ¶
func NewGenerateACIBadRequest() *GenerateACIBadRequest
NewGenerateACIBadRequest creates a GenerateACIBadRequest with default headers values
func (*GenerateACIBadRequest) Error ¶
func (o *GenerateACIBadRequest) Error() string
type GenerateACIForbidden ¶
GenerateACIForbidden handles this case with default header values.
Invalid input
func NewGenerateACIForbidden ¶
func NewGenerateACIForbidden() *GenerateACIForbidden
NewGenerateACIForbidden creates a GenerateACIForbidden with default headers values
func (*GenerateACIForbidden) Error ¶
func (o *GenerateACIForbidden) Error() string
type GenerateACIOK ¶
GenerateACIOK handles this case with default header values.
ACI for contract
func NewGenerateACIOK ¶
func NewGenerateACIOK() *GenerateACIOK
NewGenerateACIOK creates a GenerateACIOK with default headers values
func (*GenerateACIOK) Error ¶
func (o *GenerateACIOK) Error() string
type GenerateACIParams ¶
type GenerateACIParams struct { /*Body contract code */ Body *models.Contract Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GenerateACIParams contains all the parameters to send to the API endpoint for the generate a c i operation typically these are written to a http.Request
func NewGenerateACIParams ¶
func NewGenerateACIParams() *GenerateACIParams
NewGenerateACIParams creates a new GenerateACIParams object with the default values initialized.
func NewGenerateACIParamsWithContext ¶
func NewGenerateACIParamsWithContext(ctx context.Context) *GenerateACIParams
NewGenerateACIParamsWithContext creates a new GenerateACIParams object with the default values initialized, and the ability to set a context for a request
func NewGenerateACIParamsWithHTTPClient ¶
func NewGenerateACIParamsWithHTTPClient(client *http.Client) *GenerateACIParams
NewGenerateACIParamsWithHTTPClient creates a new GenerateACIParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGenerateACIParamsWithTimeout ¶
func NewGenerateACIParamsWithTimeout(timeout time.Duration) *GenerateACIParams
NewGenerateACIParamsWithTimeout creates a new GenerateACIParams object with the default values initialized, and the ability to set a timeout on a request
func (*GenerateACIParams) SetBody ¶
func (o *GenerateACIParams) SetBody(body *models.Contract)
SetBody adds the body to the generate a c i params
func (*GenerateACIParams) SetContext ¶
func (o *GenerateACIParams) SetContext(ctx context.Context)
SetContext adds the context to the generate a c i params
func (*GenerateACIParams) SetHTTPClient ¶
func (o *GenerateACIParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the generate a c i params
func (*GenerateACIParams) SetTimeout ¶
func (o *GenerateACIParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the generate a c i params
func (*GenerateACIParams) WithBody ¶
func (o *GenerateACIParams) WithBody(body *models.Contract) *GenerateACIParams
WithBody adds the body to the generate a c i params
func (*GenerateACIParams) WithContext ¶
func (o *GenerateACIParams) WithContext(ctx context.Context) *GenerateACIParams
WithContext adds the context to the generate a c i params
func (*GenerateACIParams) WithHTTPClient ¶
func (o *GenerateACIParams) WithHTTPClient(client *http.Client) *GenerateACIParams
WithHTTPClient adds the HTTPClient to the generate a c i params
func (*GenerateACIParams) WithTimeout ¶
func (o *GenerateACIParams) WithTimeout(timeout time.Duration) *GenerateACIParams
WithTimeout adds the timeout to the generate a c i params
func (*GenerateACIParams) WriteToRequest ¶
func (o *GenerateACIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GenerateACIReader ¶
type GenerateACIReader struct {
// contains filtered or unexported fields
}
GenerateACIReader is a Reader for the GenerateACI structure.
func (*GenerateACIReader) ReadResponse ¶
func (o *GenerateACIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type VersionInternalServerError ¶
VersionInternalServerError handles this case with default header values.
Error
func NewVersionInternalServerError ¶
func NewVersionInternalServerError() *VersionInternalServerError
NewVersionInternalServerError creates a VersionInternalServerError with default headers values
func (*VersionInternalServerError) Error ¶
func (o *VersionInternalServerError) Error() string
type VersionOK ¶
type VersionOK struct {
Payload *models.CompilerVersion
}
VersionOK handles this case with default header values.
Sophia compiler version
func NewVersionOK ¶
func NewVersionOK() *VersionOK
NewVersionOK creates a VersionOK with default headers values
type VersionParams ¶
type VersionParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
VersionParams contains all the parameters to send to the API endpoint for the version operation typically these are written to a http.Request
func NewVersionParams ¶
func NewVersionParams() *VersionParams
NewVersionParams creates a new VersionParams object with the default values initialized.
func NewVersionParamsWithContext ¶
func NewVersionParamsWithContext(ctx context.Context) *VersionParams
NewVersionParamsWithContext creates a new VersionParams object with the default values initialized, and the ability to set a context for a request
func NewVersionParamsWithHTTPClient ¶
func NewVersionParamsWithHTTPClient(client *http.Client) *VersionParams
NewVersionParamsWithHTTPClient creates a new VersionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewVersionParamsWithTimeout ¶
func NewVersionParamsWithTimeout(timeout time.Duration) *VersionParams
NewVersionParamsWithTimeout creates a new VersionParams object with the default values initialized, and the ability to set a timeout on a request
func (*VersionParams) SetContext ¶
func (o *VersionParams) SetContext(ctx context.Context)
SetContext adds the context to the version params
func (*VersionParams) SetHTTPClient ¶
func (o *VersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the version params
func (*VersionParams) SetTimeout ¶
func (o *VersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the version params
func (*VersionParams) WithContext ¶
func (o *VersionParams) WithContext(ctx context.Context) *VersionParams
WithContext adds the context to the version params
func (*VersionParams) WithHTTPClient ¶
func (o *VersionParams) WithHTTPClient(client *http.Client) *VersionParams
WithHTTPClient adds the HTTPClient to the version params
func (*VersionParams) WithTimeout ¶
func (o *VersionParams) WithTimeout(timeout time.Duration) *VersionParams
WithTimeout adds the timeout to the version params
func (*VersionParams) WriteToRequest ¶
func (o *VersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type VersionReader ¶
type VersionReader struct {
// contains filtered or unexported fields
}
VersionReader is a Reader for the Version structure.
func (*VersionReader) ReadResponse ¶
func (o *VersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- api_parameters.go
- api_responses.go
- api_version_parameters.go
- api_version_responses.go
- compile_contract_parameters.go
- compile_contract_responses.go
- decode_call_result_parameters.go
- decode_call_result_responses.go
- decode_calldata_bytecode_parameters.go
- decode_calldata_bytecode_responses.go
- decode_calldata_source_parameters.go
- decode_calldata_source_responses.go
- decode_data_parameters.go
- decode_data_responses.go
- encode_calldata_parameters.go
- encode_calldata_responses.go
- generate_a_c_i_parameters.go
- generate_a_c_i_responses.go
- operations_client.go
- version_parameters.go
- version_responses.go