Documentation ¶
Index ¶
- func SetupNonce(e *echo.Echo, config *config.Config)
- func SetupSigNonce(e *echo.Echo, config *config.Config)
- func SetupSigner(e *echo.Echo, config *config.Config)
- type ErrorResponse
- type NonceHandler
- func (nh NonceHandler) GetNonce(ctx echo.Context, chainId uint64, address string) error
- func (nh NonceHandler) GetNonceWithSigner(ctx echo.Context, chainId uint64, address string, ...) error
- func (nh NonceHandler) ReturnNonce(ctx echo.Context, chainId uint64, address string, nonceI uint64) error
- func (nh NonceHandler) ReturnNonceWithSigner(ctx echo.Context, chainId uint64, address string, nonceI uint64, ...) error
- func (nh NonceHandler) SyncNonce(ctx echo.Context, chainId uint64, address string) error
- type SigNonceHandler
- func (nh SigNonceHandler) GetNonce(ctx echo.Context, contract string, chainId uint64, address string) error
- func (nh SigNonceHandler) GetNonceWithSigner(ctx echo.Context, contract string, chainId uint64, address string, ...) error
- func (nh SigNonceHandler) ReturnNonce(ctx echo.Context, contract string, chainId uint64, address string, ...) error
- func (nh SigNonceHandler) ReturnNonceWithSigner(ctx echo.Context, contract string, chainId uint64, address string, ...) error
- func (nh SigNonceHandler) SyncNonce(ctx echo.Context, contract string, chainId uint64, address string) error
- type SignerHandlers
- func (sn SignerHandlers) Health(ctx echo.Context) error
- func (sh SignerHandlers) NewSigner(ctx echo.Context) error
- func (sn SignerHandlers) ReplaceKey(ctx echo.Context, address signer.Address, params signer.ReplaceKeyParams) error
- func (sn SignerHandlers) SignBytes(ctx echo.Context, address signer.Address, params signer.SignBytesParams) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupNonce ¶
func SetupSigNonce ¶
func SetupSigner ¶
Types ¶
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:"error"`
}
type NonceHandler ¶
type NonceHandler struct{}
func (NonceHandler) GetNonce ¶
func (nh NonceHandler) GetNonce(ctx echo.Context, chainId uint64, address string) error
func (NonceHandler) GetNonceWithSigner ¶
func (nh NonceHandler) GetNonceWithSigner(ctx echo.Context, chainId uint64, address string, params nonceServer.GetNonceWithSignerParams) error
func (NonceHandler) ReturnNonce ¶
func (nh NonceHandler) ReturnNonce(ctx echo.Context, chainId uint64, address string, nonceI uint64) error
func (NonceHandler) ReturnNonceWithSigner ¶
func (nh NonceHandler) ReturnNonceWithSigner(ctx echo.Context, chainId uint64, address string, nonceI uint64, params nonceServer.ReturnNonceWithSignerParams) error
type SigNonceHandler ¶
type SigNonceHandler struct{}
func (SigNonceHandler) GetNonce ¶
func (nh SigNonceHandler) GetNonce(ctx echo.Context, contract string, chainId uint64, address string) error
func (SigNonceHandler) GetNonceWithSigner ¶
func (nh SigNonceHandler) GetNonceWithSigner(ctx echo.Context, contract string, chainId uint64, address string, params signonceServer.GetNonceWithSignerParams) error
func (SigNonceHandler) ReturnNonce ¶
func (SigNonceHandler) ReturnNonceWithSigner ¶
func (nh SigNonceHandler) ReturnNonceWithSigner(ctx echo.Context, contract string, chainId uint64, address string, nonceI uint64, params signonceServer.ReturnNonceWithSignerParams) error
type SignerHandlers ¶
type SignerHandlers struct{}
func (SignerHandlers) Health ¶
func (sn SignerHandlers) Health(ctx echo.Context) error
func (SignerHandlers) NewSigner ¶
func (sh SignerHandlers) NewSigner(ctx echo.Context) error
func (SignerHandlers) ReplaceKey ¶
func (sn SignerHandlers) ReplaceKey(ctx echo.Context, address signer.Address, params signer.ReplaceKeyParams) error
func (SignerHandlers) SignBytes ¶
func (sn SignerHandlers) SignBytes(ctx echo.Context, address signer.Address, params signer.SignBytesParams) error
Click to show internal directories.
Click to hide internal directories.