models

package
v0.0.0-...-77861b7 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetMessageRequest

type GetMessageRequest struct {
	ID string `json:"id"`
}

type GetMessageResponse

type GetMessageResponse struct {
	ExecutionRecord *models.ExecutionRecord
	Message         *types.Message
}

type RevertExecutionStatusRequest

type RevertExecutionStatusRequest struct {
	ID    string `json:"id"`
	SrcTx string `json:"srcTx"`
	DstTx string `json:"dstTx"`
}

type RevertExecutionStatusResponse

type RevertExecutionStatusResponse struct {
}

type ServerResponse

type ServerResponse[T any] struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	Data    T      `json:"data"`
}

type UnstuckTxRequest

type UnstuckTxRequest struct {
	ID      string `json:"id"`
	SrcTx   string `json:"srcTx"`
	DstTx   string `json:"dstTx"`
	Account string `json:"account"`
	// legacy
	GasPrice string `json:"gasPrice"`
	// eip1559
	GasTipCap string `json:"gasTipCap"`
	GasFeeCap string `json:"gasFeeCap"`
}

type UnstuckTxResponse

type UnstuckTxResponse struct {
	ReplacementTx string `json:"replacementTx"`
}

Jump to

Keyboard shortcuts

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