rest

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

nolint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)

RegisterRoutes - Central function to define routes that get registered by the main application RegisterRoutes registers the auth module REST routes.

Types

type ContractAddresses added in v0.3.2

type ContractAddresses struct {
	BorChainId             string `josn:"bor_chain_id"`
	MaticChainAddress      string `json:"matic_token_address"`
	StalkingManagerAddress string `json:"staking_manager_address"`
	SlashManagerAddress    string `json:"slash_manager_address"`
	RootChainAddress       string `json:"root_chain_address"`
	StalkignInfoAddress    string `json:"staking_info_address"`
	StateSenderAddress     string `json:"state_sender_address"`
	StateReceiverAddress   string `json:"state_receiver_address"`
	ValidatorSetAddress    string `json:"validator_set_address"`
}

type Height added in v0.3.2

type Height struct {

	//Block Height
	//in:query
	Height string `json:"height"`
}

Jump to

Keyboard shortcuts

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