Documentation
¶
Index ¶
- Constants
- func ExecSetController(xnsContext *types.XnsContext, topDomain string) error
- func ExecSetResolver(xnsContext *types.XnsContext) error
- func ExecuteRegistrar(xnsContext *types.XnsContext, msg, amount string) (*xtypes.TxRes, error)
- func NewRegistrarControllersQueryMsg(startAfter interface{}, limit interface{}) (string, error)
- func NewRegistrarGetConfigQueryMsg() (string, error)
- func NewRegistrarNftRegistrarAddressQueryMsg() (string, error)
- func NewRegistrarRemoveControllerExecuteMsg(controllerAddress string) (string, error)
- func NewRegistrarSetControllerExecuteMsg(controllerAddress, topDomain string) (string, error)
- func NewRegistrarSetResolverExecuteMsg(resolverAddress string) (string, error)
- func NewService() service.Service
- func Query(xnsContext *types.XnsContext, msg string) (*service.QueryResponse, error)
- func QueryConfig(xnsContext *types.XnsContext) (*service.QueryResponse, error)
- func QueryControllers(xnsContext *types.XnsContext, startAfter, limit string) (*service.QueryResponse, error)
- func QueryNftRegistrar(xnsContext *types.XnsContext) (*service.QueryResponse, error)
Constants ¶
const ( RegistrarAPI = "registrar" QueryConfigLabel = "config" QueryNftRegistrarLabel = "nft-registrar" QueryControllersLabel = "controllers" )
Variables ¶
This section is empty.
Functions ¶
func ExecSetController ¶
func ExecSetController(xnsContext *types.XnsContext, topDomain string) error
func ExecSetResolver ¶
func ExecSetResolver(xnsContext *types.XnsContext) error
func ExecuteRegistrar ¶
func NewService ¶
func Query ¶
func Query(xnsContext *types.XnsContext, msg string) (*service.QueryResponse, error)
func QueryConfig ¶
func QueryConfig(xnsContext *types.XnsContext) (*service.QueryResponse, error)
QueryConfig godoc @Summary Config of the contract @Description Get configuration of the registrar contract @Tags Registrar @Accept json @Produce json @Success 200 {object} service.QueryResponse @Failure 400 {object} service.QueryResponse @Router /registrar/config [get]
func QueryControllers ¶
func QueryControllers(xnsContext *types.XnsContext, startAfter, limit string) (*service.QueryResponse, error)
QueryController godoc @Summary linked controllers @Description Get linked controller contracts @Tags Registrar @Accept json @Produce json @Success 200 {object} service.QueryResponse @Failure 400 {object} service.QueryResponse @Router /registrar/controllers [get]
func QueryNftRegistrar ¶
func QueryNftRegistrar(xnsContext *types.XnsContext) (*service.QueryResponse, error)
QueryNftRegistrar godoc @Summary linked NFT registrar @Description Get linked the NFT registrar contract @Tags Registrar @Accept json @Produce json @Success 200 {object} service.QueryResponse @Failure 400 {object} service.QueryResponse @Router /registrar/nft-registrar [get]
Types ¶
This section is empty.