types

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventTypeRegisterTopLevelDomain = "register-top-level-domain"

	AttributeRegisterTopLevelDomainEventName                      = "name"
	AttributeRegisterTopLevelDomainEventExpirationDate            = "expiration-date"
	AttributeRegisterTopLevelDomainEventMaxSubdomainRegistrations = "max-subdomain-registrations"
	AttributeRegisterTopLevelDomainEventTotalRegistrationFee      = "total-registration-fee"
	AttributeRegisterTopLevelDomainEventBurnWeight                = "burn-weight"
	AttributeRegisterTopLevelDomainEventRegistrationFeeToBurn     = "registration-fee-to-burn"
	AttributeRegisterTopLevelDomainEventRegistrationFeeToTreasury = "registration-fee-to-treasury"
)

Register top-level-domain event

View Source
const (
	EventTypeRegisterSecondLevelDomain = "register-second-leve-domain"

	AttributeRegisterSecondLevelDomainEventName            = "name"
	AttributeRegisterSecondLevelDomainEventParent          = "parent"
	AttributeRegisterSecondLevelDomainEventExpirationDate  = "expiration-date"
	AttributeRegisterSecondLevelDomainEventRegistrationFee = "registration-fee"
)

Register second-level-domain event

View Source
const (
	EventTypeUpdateWalletRecord = "update-wallet-record"

	AttributeUpdateWalletRecordEventDomainName       = "name"
	AttributeUpdateWalletRecordEventDomainParent     = "parent"
	AttributeUpdateWalletRecordEventWalletRecordType = "wallet-record-type"
	AttributeUpdateWalletRecordEventValue            = "value"
)

Update wallet record event

View Source
const (
	EventTypeUpdateDnsRecord = "update-dns-record"

	AttributeUpdateDnsRecordEventDomainName    = "name"
	AttributeUpdateDnsRecordEventDomainParent  = "parent"
	AttributeUpdateDnsRecordEventDnsRecordType = "dns-record-type"
	AttributeUpdateDnsRecordEventValue         = "value"
)

Update dns record event

View Source
const (
	EventTypeUpdateTextRecord = "update-text-record"

	AttributeUpdateTextRecordEventDomainName   = "name"
	AttributeUpdateTextRecordEventDomainParent = "parent"
	AttributeUpdateTextRecordEventKey          = "key"
	AttributeUpdateTextRecordEventValue        = "value"
)

Update text record event

View Source
const (
	EventTypeWithdrawRegistrationFee = "withdraw-registration-fees"

	AttributeWithdrawRegistrationFeeEventDomainName = "name"
	AttributeWithdrawRegistrationFeeEventDomainFee  = "fee"
)

Withdraw fees event

View Source
const (
	EventTypeExtendTopLevelDomainExpirationDate = "extend-top-level-domain-expiration-date"

	AttributeExtendTopLevelDomainExpirationDateEventDomainName                = "name"
	AttributeExtendTopLevelDomainExpirationDateEventExpirationDate            = "expiration-date"
	AttributeExtendTopLevelDomainExpirationDateEventTotalRegistrationFee      = "total-registration-fee"
	AttributeExtendTopLevelDomainExpirationDateEventBurnWeight                = "burn-weight"
	AttributeExtendTopLevelDomainExpirationDateEventRegistrationFeeToBurn     = "registration-fee-to-burn"
	AttributeExtendTopLevelDomainExpirationDateEventRegistrationFeeToTreasury = "registration-fee-to-treasury"
)

Extend top-level-domain expiration date event

View Source
const (
	EventTypeUpdateTopLevelDomainRegistrationPolicy = "update-top-level-domain-registration-policy"

	AttributeUpdateTopLevelDomainRegistrationPolicyEventDomainName         = "name"
	AttributeUpdateTopLevelDomainRegistrationPolicyEventRegistrationPolicy = "registration-policy"
)

Update top-level-domain registration policy

View Source
const (
	// ModuleName defines the module name
	ModuleName = "registry"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey defines the module's message routing key
	RouterKey = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_registry"
)
View Source
const (
	BaseFee = 303
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

View Source
const (
	// DomainOwnershipKeyPrefix is the prefix to retrieve all DomainOwnership
	DomainOwnershipKeyPrefix = "DomainOwnership/value/"
)
View Source
const (
	NamePattern = `-a-z0-9\p{So}\p{Sk}`
)
View Source
const (
	// SecondLevelDomainKeyPrefix is the prefix to retrieve all Domain
	SecondLevelDomainKeyPrefix = "SecondLevelDomain/value/"
)
View Source
const (
	TLDNamePattern = `-a-z0-9\p{So}\p{Sk}`
)
View Source
const (
	// TopLevelDomainKeyPrefix is the prefix to retrieve all TopLevelDomain
	TopLevelDomainKeyPrefix = "TopLevelDomain/value/"
)
View Source
const TypeMsgExtendTopLevelDomainExpirationDate = "extend_top_level_domain_expiration"
View Source
const TypeMsgRegisterSecondLevelDomain = "register_domain"
View Source
const TypeMsgRegisterTopLevelDomain = "register_top_level_domain"
View Source
const TypeMsgUpdateDnsRecord = "update_dns_record"
View Source
const TypeMsgUpdateTextRecord = "update_text_record"
View Source
const TypeMsgUpdateTopLevelDomainRegistrationPolicy = "update_top_level_domain_registration_policy"
View Source
const TypeMsgUpdateWalletRecord = "update_wallet_record"
View Source
const TypeMsgWithdrawRegistrationFee = "withdraw_registration_fee"

Variables

View Source
var (
	ErrInvalidLengthAccessControl        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAccessControl          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAccessControl = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthDomainOwnership        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDomainOwnership          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDomainOwnership = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidTopLevelDomainName               = errorsmod.Register(ModuleName, 1000, "invalid top-level-domain name")
	ErrTopLevelDomainNotFound                  = errorsmod.Register(ModuleName, 1001, "top-level-domain not found")
	ErrTopLevelDomainExpired                   = errorsmod.Register(ModuleName, 1002, "top-level-domain expired")
	ErrTopLevelDomainAlreadyTaken              = errorsmod.Register(ModuleName, 1003, "top-level-domain already taken")
	ErrTopLevelDomainNotRegistrable            = errorsmod.Register(ModuleName, 1004, "top-level-domain not registrable")
	ErrTopLevelDomainMaxSubdomainCountReached  = errorsmod.Register(ModuleName, 1005, "top-level-domain max subdomain count reached")
	ErrTopLevelDomainInvalidRegistrationPeriod = errorsmod.Register(ModuleName, 1006, "top-level-domain invalid registration period")
	ErrTopLevelDomainNotEditable               = errorsmod.Register(ModuleName, 1007, "top-level-domain not editable")
)

top-level-domain sentinel errors

View Source
var (
	ErrInvalidSecondLevelDomainName               = errorsmod.Register(ModuleName, 1100, "invalid second-level-domain name")
	ErrInvalidSecondLevelDomainParent             = errorsmod.Register(ModuleName, 1101, "invalid second-level-domain parent")
	ErrSecondLevelDomainNotFound                  = errorsmod.Register(ModuleName, 1102, "second-level-domain not found")
	ErrSecondLevelDomainExpired                   = errorsmod.Register(ModuleName, 1103, "second-level-domain expired")
	ErrSecondLevelDomainAlreadyTaken              = errorsmod.Register(ModuleName, 1104, "second-level-domain already taken")
	ErrSecondLevelDomainParentDoesNotExist        = errorsmod.Register(ModuleName, 1105, "second-level-domain parent does not exist")
	ErrSecondLevelDomainInvalidRegistrationPeriod = errorsmod.Register(ModuleName, 1106, "second-level-domain invalid registration period")
	ErrSecondLevelDomainNotEditable               = errorsmod.Register(ModuleName, 1107, "second-level-domain not editable")
	ErrSecondLevelDomainNotRegistrable            = errorsmod.Register(ModuleName, 1108, "second-level-domain not registrable")
)

second-level-domain sentinel errors

View Source
var (
	ErrInvalidWalletAddress    = errorsmod.Register(ModuleName, 1200, "invalid wallet address")
	ErrInvalidWalletRecordType = errorsmod.Register(ModuleName, 1201, "invalid wallet record type")
	ErrInvalidDnsRecordValue   = errorsmod.Register(ModuleName, 1202, "invalid dns record value")
	ErrInvalidDnsRecordType    = errorsmod.Register(ModuleName, 1203, "invalid dns record type")
	ErrInvalidTextRecordKey    = errorsmod.Register(ModuleName, 1204, "invalid text record key, this key is reserved")
)

record sentinel errors

View Source
var (
	ErrNoEnoughBalance              = errorsmod.Register(ModuleName, 1300, "no enough balance")
	ErrNoPermissionToWithdraw       = errorsmod.Register(ModuleName, 1301, "no permission to withdraw")
	ErrNoWithdrawalAmountToWithdraw = errorsmod.Register(ModuleName, 1302, "no registration fee to withdraw")
	ErrInvalidDenom                 = errorsmod.Register(ModuleName, 1303, "invalid denom")
)

withdraw sentinel errors

View Source
var (
	ErrInvalidRegistrationPolicy = errorsmod.Register(ModuleName, 1400, "invalid registration policy")
	ErrNotAllowedRegisterDomain  = errorsmod.Register(ModuleName, 1401, "not allowed to regsiter under private domain")
)

policy sentinel errors

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSecondLevelDomain        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSecondLevelDomain          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSecondLevelDomain = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSubdomainConfig        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSubdomainConfig          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSubdomainConfig = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTopLevelDomain        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTopLevelDomain          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTopLevelDomain = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var DnsRecordType_name = map[int32]string{
	0: "NO_RECORD_TYPE",
	1: "A",
	2: "AAAA",
	3: "CNAME",
	4: "NS",
	5: "MX",
	6: "PTR",
	7: "SOA",
	8: "SRV",
	9: "TXT",
}
View Source
var DnsRecordType_value = map[string]int32{
	"NO_RECORD_TYPE": 0,
	"A":              1,
	"AAAA":           2,
	"CNAME":          3,
	"NS":             4,
	"MX":             5,
	"PTR":            6,
	"SOA":            7,
	"SRV":            8,
	"TXT":            9,
}
View Source
var DomainRole_name = map[int32]string{
	0: "NO_ROLE",
	1: "OWNER",
	2: "EDITOR",
}
View Source
var DomainRole_value = map[string]int32{
	"NO_ROLE": 0,
	"OWNER":   1,
	"EDITOR":  2,
}
View Source
var NetworkName_name = map[int32]string{
	0:     "NO_NETWORK",
	10000: "BITCOIN_MAINNET_MAINNET",
	10001: "BITCOIN_TESTNET_TESTNET",
	19999: "BITCOIN_DEFAULT_DEFAULT",
	20000: "ETHEREUM_MAINNET_MAINNET",
	20001: "ETHEREUM_TESTNET_GOERLI",
	20002: "ETHEREUM_TESTNET_SEPOLIA",
	20003: "POLYGON_MAINNET_MAINNET",
	20004: "POLYGON_TESTNET_MUMBAI",
	20005: "BNB_MAINNET_MAINNET",
	20006: "BNB_TESTNET_TESTNET",
	20007: "AVALANCHE_MAINNET_CCHAIN",
	20008: "AVALANCHE_TESTNET_FUJI",
	20009: "GNOSIS_MAINNET_MAINNET",
	20010: "GNOSIS_TESTNET_CHIADO",
	20011: "OPTIMISM_MAINNET_MAINNET",
	20012: "OPTIMISM_TESTNET_GOERLI",
	20013: "ARBITRUM_MAINNET_MAINNET",
	20014: "ARBITRUM_TESTNET_GOERLI",
	20017: "SHARDEUM_BETANET_SPHINX",
	20019: "ZETA_TESTNET_ATHENS",
	29999: "EVM_DEFAULT_DEFAULT",
	30000: "APTOS_MAINNET_MAINNET",
	30001: "APTOS_TESTNET_TESTNET",
	30002: "SUI_MAINNET_MAINNET",
	30003: "SUI_TESTNET_TESTNET",
	39999: "MOVE_DEFAULT_DEFAULT",
	40000: "SOLANA_MAINNET_MAINNET",
	40001: "SOLANA_TESTNET_TESTNET",
	49999: "SOLANA_DEFAULT_DEFAULT",
}
View Source
var NetworkName_value = map[string]int32{
	"NO_NETWORK":               0,
	"BITCOIN_MAINNET_MAINNET":  10000,
	"BITCOIN_TESTNET_TESTNET":  10001,
	"BITCOIN_DEFAULT_DEFAULT":  19999,
	"ETHEREUM_MAINNET_MAINNET": 20000,
	"ETHEREUM_TESTNET_GOERLI":  20001,
	"ETHEREUM_TESTNET_SEPOLIA": 20002,
	"POLYGON_MAINNET_MAINNET":  20003,
	"POLYGON_TESTNET_MUMBAI":   20004,
	"BNB_MAINNET_MAINNET":      20005,
	"BNB_TESTNET_TESTNET":      20006,
	"AVALANCHE_MAINNET_CCHAIN": 20007,
	"AVALANCHE_TESTNET_FUJI":   20008,
	"GNOSIS_MAINNET_MAINNET":   20009,
	"GNOSIS_TESTNET_CHIADO":    20010,
	"OPTIMISM_MAINNET_MAINNET": 20011,
	"OPTIMISM_TESTNET_GOERLI":  20012,
	"ARBITRUM_MAINNET_MAINNET": 20013,
	"ARBITRUM_TESTNET_GOERLI":  20014,
	"SHARDEUM_BETANET_SPHINX":  20017,
	"ZETA_TESTNET_ATHENS":      20019,
	"EVM_DEFAULT_DEFAULT":      29999,
	"APTOS_MAINNET_MAINNET":    30000,
	"APTOS_TESTNET_TESTNET":    30001,
	"SUI_MAINNET_MAINNET":      30002,
	"SUI_TESTNET_TESTNET":      30003,
	"MOVE_DEFAULT_DEFAULT":     39999,
	"SOLANA_MAINNET_MAINNET":   40000,
	"SOLANA_TESTNET_TESTNET":   40001,
	"SOLANA_DEFAULT_DEFAULT":   49999,
}
View Source
var RegistrationPolicyType_name = map[int32]string{
	0: "PRIVATE",
	1: "PUBLIC",
}
View Source
var RegistrationPolicyType_value = map[string]int32{
	"PRIVATE": 0,
	"PUBLIC":  1,
}

Functions

func DnsRecordTypeFormats

func DnsRecordTypeFormats() map[string]string

func DnsRecordValueRegex

func DnsRecordValueRegex() map[string]string

func DomainOwnershipKey

func DomainOwnershipKey(
	owner string,
) []byte

DomainOwnershipKey returns the store key to retrieve a DomainOwnership from the index fields

func GetBeseFeeAmountInDenom added in v0.1.0

func GetBeseFeeAmountInDenom(denom string, baseFeeInUsd int64) (amount math.Int, err error)

func GetDefaultTLDNames

func GetDefaultTLDNames() []string

Default TLD Names

func GetDefaultWalletRecordType added in v0.1.2

func GetDefaultWalletRecordType(walletRecordType string) string

GetDefaultRecordType(walletRecordType) returns the default wallet address for a given wallet record type. This is used when a wallet record is not found in the domain record.

func GetDnsRecordValueFormat

func GetDnsRecordValueFormat(dnsRecordType string) (dnsRecordTypeFormat string, err error)

func GetMycelPrice added in v0.1.0

func GetMycelPrice(denom string) (price math.Int, err error)

func GetWalletAddressFormat

func GetWalletAddressFormat(walletRecordType string) (walletAddressFormat string, err error)

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func SecondLevelDomainKey added in v0.1.0

func SecondLevelDomainKey(
	name string,
	parent string,
) []byte

SecondLevelDomainKey returns the store key to retrieve a Domain from the index fields

func TopLevelDomainKey added in v0.1.0

func TopLevelDomainKey(
	name string,
) []byte

TopLevelDomainKey returns the store key to retrieve a TopLevelDomain from the index fields

func ValidateDnsRecordType

func ValidateDnsRecordType(dnsRecordType string) (err error)

func ValidateDnsRecordValue

func ValidateDnsRecordValue(dnsRecordFormat string, address string) (err error)

func ValidateEd25519PublicKey

func ValidateEd25519PublicKey(walletAddressFormat string, address string) (err error)

func ValidateSecondLevelDomainName added in v0.1.0

func ValidateSecondLevelDomainName(name string) (err error)

func ValidateSecondLevelDomainParent added in v0.1.0

func ValidateSecondLevelDomainParent(parent string) (err error)

func ValidateTextRecordKey added in v0.1.2

func ValidateTextRecordKey(textRecordKey string) (err error)

func ValidateTopLevelDomainName added in v0.1.0

func ValidateTopLevelDomainName(name string) (err error)

func ValidateWalletAddress

func ValidateWalletAddress(walletAddressFormat string, address string) (err error)

func ValidateWalletAddressWithRegex

func ValidateWalletAddressWithRegex(walletAddressFormat string, address string) (err error)

func ValidateWalletRecordType

func ValidateWalletRecordType(walletRecordType string) (err error)

func WalletAddressRegex

func WalletAddressRegex() map[string]string

func WalletRecordFormats

func WalletRecordFormats() map[string]string

Types

type AccessControl added in v0.1.2

type AccessControl struct {
	Address string     `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Role    DomainRole `protobuf:"varint,2,opt,name=role,proto3,enum=mycel.registry.DomainRole" json:"role,omitempty"`
}

func (*AccessControl) Descriptor added in v0.1.2

func (*AccessControl) Descriptor() ([]byte, []int)

func (*AccessControl) GetAddress added in v0.1.2

func (m *AccessControl) GetAddress() string

func (*AccessControl) GetRole added in v0.1.2

func (m *AccessControl) GetRole() DomainRole

func (*AccessControl) Marshal added in v0.1.2

func (m *AccessControl) Marshal() (dAtA []byte, err error)

func (*AccessControl) MarshalTo added in v0.1.2

func (m *AccessControl) MarshalTo(dAtA []byte) (int, error)

func (*AccessControl) MarshalToSizedBuffer added in v0.1.2

func (m *AccessControl) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccessControl) ProtoMessage added in v0.1.2

func (*AccessControl) ProtoMessage()

func (*AccessControl) Reset added in v0.1.2

func (m *AccessControl) Reset()

func (*AccessControl) Size added in v0.1.2

func (m *AccessControl) Size() (n int)

func (*AccessControl) String added in v0.1.2

func (m *AccessControl) String() string

func (*AccessControl) Unmarshal added in v0.1.2

func (m *AccessControl) Unmarshal(dAtA []byte) error

func (*AccessControl) XXX_DiscardUnknown added in v0.1.2

func (m *AccessControl) XXX_DiscardUnknown()

func (*AccessControl) XXX_Marshal added in v0.1.2

func (m *AccessControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccessControl) XXX_Merge added in v0.1.2

func (m *AccessControl) XXX_Merge(src proto.Message)

func (*AccessControl) XXX_Size added in v0.1.2

func (m *AccessControl) XXX_Size() int

func (*AccessControl) XXX_Unmarshal added in v0.1.2

func (m *AccessControl) XXX_Unmarshal(b []byte) error

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI
	// Methods imported from account should be defined here
	GetModuleAddress(name string) sdk.AccAddress
	GetModuleAccount(ctx sdk.Context, moduleName string) authtypes.ModuleAccountI
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	// Methods imported from bank should be defined here
	SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	GetSupply(ctx sdk.Context, denom string) sdk.Coin
	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
}

BankKeeper defines the expected interface needed to retrieve account balances.

type DistributionKeeper added in v0.1.0

type DistributionKeeper interface {
	FundCommunityPool(ctx sdk.Context, amount sdk.Coins, sender sdk.AccAddress) error
}

type DnsRecord

type DnsRecord struct {
	DnsRecordType DnsRecordType `protobuf:"varint,1,opt,name=dnsRecordType,proto3,enum=mycel.registry.DnsRecordType" json:"dnsRecordType,omitempty"`
	Value         string        `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*DnsRecord) Descriptor

func (*DnsRecord) Descriptor() ([]byte, []int)

func (*DnsRecord) GetDnsRecordType

func (m *DnsRecord) GetDnsRecordType() DnsRecordType

func (*DnsRecord) GetValue

func (m *DnsRecord) GetValue() string

func (*DnsRecord) Marshal

func (m *DnsRecord) Marshal() (dAtA []byte, err error)

func (*DnsRecord) MarshalTo

func (m *DnsRecord) MarshalTo(dAtA []byte) (int, error)

func (*DnsRecord) MarshalToSizedBuffer

func (m *DnsRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DnsRecord) ProtoMessage

func (*DnsRecord) ProtoMessage()

func (*DnsRecord) Reset

func (m *DnsRecord) Reset()

func (*DnsRecord) Size

func (m *DnsRecord) Size() (n int)

func (*DnsRecord) String

func (m *DnsRecord) String() string

func (*DnsRecord) Unmarshal

func (m *DnsRecord) Unmarshal(dAtA []byte) error

func (*DnsRecord) XXX_DiscardUnknown

func (m *DnsRecord) XXX_DiscardUnknown()

func (*DnsRecord) XXX_Marshal

func (m *DnsRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DnsRecord) XXX_Merge

func (m *DnsRecord) XXX_Merge(src proto.Message)

func (*DnsRecord) XXX_Size

func (m *DnsRecord) XXX_Size() int

func (*DnsRecord) XXX_Unmarshal

func (m *DnsRecord) XXX_Unmarshal(b []byte) error

type DnsRecordType

type DnsRecordType int32
const (
	DnsRecordType_NO_RECORD_TYPE DnsRecordType = 0
	DnsRecordType_A              DnsRecordType = 1
	DnsRecordType_AAAA           DnsRecordType = 2
	DnsRecordType_CNAME          DnsRecordType = 3
	DnsRecordType_NS             DnsRecordType = 4
	DnsRecordType_MX             DnsRecordType = 5
	DnsRecordType_PTR            DnsRecordType = 6
	DnsRecordType_SOA            DnsRecordType = 7
	DnsRecordType_SRV            DnsRecordType = 8
	DnsRecordType_TXT            DnsRecordType = 9
)

func (DnsRecordType) EnumDescriptor

func (DnsRecordType) EnumDescriptor() ([]byte, []int)

func (DnsRecordType) String

func (x DnsRecordType) String() string

type DomainOwnership

type DomainOwnership struct {
	Owner   string         `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Domains []*OwnedDomain `protobuf:"bytes,2,rep,name=domains,proto3" json:"domains,omitempty"`
}

func (*DomainOwnership) Descriptor

func (*DomainOwnership) Descriptor() ([]byte, []int)

func (*DomainOwnership) GetDomains

func (m *DomainOwnership) GetDomains() []*OwnedDomain

func (*DomainOwnership) GetOwner

func (m *DomainOwnership) GetOwner() string

func (*DomainOwnership) Marshal

func (m *DomainOwnership) Marshal() (dAtA []byte, err error)

func (*DomainOwnership) MarshalTo

func (m *DomainOwnership) MarshalTo(dAtA []byte) (int, error)

func (*DomainOwnership) MarshalToSizedBuffer

func (m *DomainOwnership) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DomainOwnership) ProtoMessage

func (*DomainOwnership) ProtoMessage()

func (*DomainOwnership) Reset

func (m *DomainOwnership) Reset()

func (*DomainOwnership) Size

func (m *DomainOwnership) Size() (n int)

func (*DomainOwnership) String

func (m *DomainOwnership) String() string

func (*DomainOwnership) Unmarshal

func (m *DomainOwnership) Unmarshal(dAtA []byte) error

func (*DomainOwnership) XXX_DiscardUnknown

func (m *DomainOwnership) XXX_DiscardUnknown()

func (*DomainOwnership) XXX_Marshal

func (m *DomainOwnership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DomainOwnership) XXX_Merge

func (m *DomainOwnership) XXX_Merge(src proto.Message)

func (*DomainOwnership) XXX_Size

func (m *DomainOwnership) XXX_Size() int

func (*DomainOwnership) XXX_Unmarshal

func (m *DomainOwnership) XXX_Unmarshal(b []byte) error

type DomainRole added in v0.1.0

type DomainRole int32
const (
	DomainRole_NO_ROLE DomainRole = 0
	DomainRole_OWNER   DomainRole = 1
	DomainRole_EDITOR  DomainRole = 2
)

func (DomainRole) EnumDescriptor added in v0.1.0

func (DomainRole) EnumDescriptor() ([]byte, []int)

func (DomainRole) String added in v0.1.0

func (x DomainRole) String() string

type FeeByLength added in v0.1.2

type FeeByLength struct {
	Length        uint32      `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"`
	IsRegistrable bool        `protobuf:"varint,2,opt,name=isRegistrable,proto3" json:"isRegistrable,omitempty"`
	Fee           *types.Coin `protobuf:"bytes,3,opt,name=fee,proto3" json:"fee,omitempty"`
}

func (*FeeByLength) Descriptor added in v0.1.2

func (*FeeByLength) Descriptor() ([]byte, []int)

func (*FeeByLength) GetFee added in v0.1.2

func (m *FeeByLength) GetFee() *types.Coin

func (*FeeByLength) GetIsRegistrable added in v0.1.2

func (m *FeeByLength) GetIsRegistrable() bool

func (*FeeByLength) GetLength added in v0.1.2

func (m *FeeByLength) GetLength() uint32

func (*FeeByLength) Marshal added in v0.1.2

func (m *FeeByLength) Marshal() (dAtA []byte, err error)

func (*FeeByLength) MarshalTo added in v0.1.2

func (m *FeeByLength) MarshalTo(dAtA []byte) (int, error)

func (*FeeByLength) MarshalToSizedBuffer added in v0.1.2

func (m *FeeByLength) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FeeByLength) ProtoMessage added in v0.1.2

func (*FeeByLength) ProtoMessage()

func (*FeeByLength) Reset added in v0.1.2

func (m *FeeByLength) Reset()

func (*FeeByLength) Size added in v0.1.2

func (m *FeeByLength) Size() (n int)

func (*FeeByLength) String added in v0.1.2

func (m *FeeByLength) String() string

func (*FeeByLength) Unmarshal added in v0.1.2

func (m *FeeByLength) Unmarshal(dAtA []byte) error

func (*FeeByLength) XXX_DiscardUnknown added in v0.1.2

func (m *FeeByLength) XXX_DiscardUnknown()

func (*FeeByLength) XXX_Marshal added in v0.1.2

func (m *FeeByLength) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeeByLength) XXX_Merge added in v0.1.2

func (m *FeeByLength) XXX_Merge(src proto.Message)

func (*FeeByLength) XXX_Size added in v0.1.2

func (m *FeeByLength) XXX_Size() int

func (*FeeByLength) XXX_Unmarshal added in v0.1.2

func (m *FeeByLength) XXX_Unmarshal(b []byte) error

type FeeByName added in v0.1.2

type FeeByName struct {
	Name          string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	IsRegistrable bool        `protobuf:"varint,2,opt,name=isRegistrable,proto3" json:"isRegistrable,omitempty"`
	Fee           *types.Coin `protobuf:"bytes,3,opt,name=fee,proto3" json:"fee,omitempty"`
}

func (*FeeByName) Descriptor added in v0.1.2

func (*FeeByName) Descriptor() ([]byte, []int)

func (*FeeByName) GetFee added in v0.1.2

func (m *FeeByName) GetFee() *types.Coin

func (*FeeByName) GetIsRegistrable added in v0.1.2

func (m *FeeByName) GetIsRegistrable() bool

func (*FeeByName) GetName added in v0.1.2

func (m *FeeByName) GetName() string

func (*FeeByName) Marshal added in v0.1.2

func (m *FeeByName) Marshal() (dAtA []byte, err error)

func (*FeeByName) MarshalTo added in v0.1.2

func (m *FeeByName) MarshalTo(dAtA []byte) (int, error)

func (*FeeByName) MarshalToSizedBuffer added in v0.1.2

func (m *FeeByName) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FeeByName) ProtoMessage added in v0.1.2

func (*FeeByName) ProtoMessage()

func (*FeeByName) Reset added in v0.1.2

func (m *FeeByName) Reset()

func (*FeeByName) Size added in v0.1.2

func (m *FeeByName) Size() (n int)

func (*FeeByName) String added in v0.1.2

func (m *FeeByName) String() string

func (*FeeByName) Unmarshal added in v0.1.2

func (m *FeeByName) Unmarshal(dAtA []byte) error

func (*FeeByName) XXX_DiscardUnknown added in v0.1.2

func (m *FeeByName) XXX_DiscardUnknown()

func (*FeeByName) XXX_Marshal added in v0.1.2

func (m *FeeByName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeeByName) XXX_Merge added in v0.1.2

func (m *FeeByName) XXX_Merge(src proto.Message)

func (*FeeByName) XXX_Size added in v0.1.2

func (m *FeeByName) XXX_Size() int

func (*FeeByName) XXX_Unmarshal added in v0.1.2

func (m *FeeByName) XXX_Unmarshal(b []byte) error

type FurnaceKeeper added in v0.1.0

type FurnaceKeeper interface {
	AddRegistrationFeeToBurnAmounts(ctx sdk.Context, registrationPeriodInYear uint64, amount sdk.Coin) (burnAmounts []furnacetypes.BurnAmount, err error)
}

type GenesisState

type GenesisState struct {
	Params             Params              `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	TopLevelDomains    []TopLevelDomain    `protobuf:"bytes,2,rep,name=topLevelDomains,proto3" json:"topLevelDomains"`
	SecondLevelDomains []SecondLevelDomain `protobuf:"bytes,3,rep,name=secondLevelDomains,proto3" json:"secondLevelDomains"`
	DomainOwnerships   []DomainOwnership   `protobuf:"bytes,4,rep,name=domainOwnerships,proto3" json:"domainOwnerships"`
}

GenesisState defines the registry module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (*GenesisState) Descriptor

func (*GenesisState) Descriptor() ([]byte, []int)

func (*GenesisState) GetDomainOwnerships added in v0.1.0

func (m *GenesisState) GetDomainOwnerships() []DomainOwnership

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetSecondLevelDomains added in v0.1.0

func (m *GenesisState) GetSecondLevelDomains() []SecondLevelDomain

func (*GenesisState) GetTopLevelDomains added in v0.1.0

func (m *GenesisState) GetTopLevelDomains() []TopLevelDomain

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type MintKeeper added in v0.1.0

type MintKeeper interface {
	GetMinter(ctx sdk.Context) (minter minttypes.Minter)
	BondedRatio(ctx sdk.Context) math.LegacyDec
}

type MsgClient

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgExtendTopLevelDomainExpirationDate added in v0.1.0

type MsgExtendTopLevelDomainExpirationDate struct {
	Creator               string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Name                  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ExtensionPeriodInYear uint64 `protobuf:"varint,3,opt,name=extensionPeriodInYear,proto3" json:"extensionPeriodInYear,omitempty"`
}

func NewMsgExtendTopLevelDomainExpirationDate added in v0.1.0

func NewMsgExtendTopLevelDomainExpirationDate(creator string, name string, extentsionPeriodInYear uint64) *MsgExtendTopLevelDomainExpirationDate

func (*MsgExtendTopLevelDomainExpirationDate) Descriptor added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDate) Descriptor() ([]byte, []int)

func (*MsgExtendTopLevelDomainExpirationDate) GetCreator added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDate) GetExtensionPeriodInYear added in v0.1.0

func (m *MsgExtendTopLevelDomainExpirationDate) GetExtensionPeriodInYear() uint64

func (*MsgExtendTopLevelDomainExpirationDate) GetName added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDate) GetSignBytes added in v0.1.0

func (msg *MsgExtendTopLevelDomainExpirationDate) GetSignBytes() []byte

func (*MsgExtendTopLevelDomainExpirationDate) GetSigners added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDate) Marshal added in v0.1.0

func (m *MsgExtendTopLevelDomainExpirationDate) Marshal() (dAtA []byte, err error)

func (*MsgExtendTopLevelDomainExpirationDate) MarshalTo added in v0.1.0

func (m *MsgExtendTopLevelDomainExpirationDate) MarshalTo(dAtA []byte) (int, error)

func (*MsgExtendTopLevelDomainExpirationDate) MarshalToSizedBuffer added in v0.1.0

func (m *MsgExtendTopLevelDomainExpirationDate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgExtendTopLevelDomainExpirationDate) ProtoMessage added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDate) ProtoMessage()

func (*MsgExtendTopLevelDomainExpirationDate) Reset added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDate) Route added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDate) Size added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDate) String added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDate) Type added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDate) Unmarshal added in v0.1.0

func (m *MsgExtendTopLevelDomainExpirationDate) Unmarshal(dAtA []byte) error

func (*MsgExtendTopLevelDomainExpirationDate) ValidateBasic added in v0.1.0

func (msg *MsgExtendTopLevelDomainExpirationDate) ValidateBasic() error

func (*MsgExtendTopLevelDomainExpirationDate) XXX_DiscardUnknown added in v0.1.0

func (m *MsgExtendTopLevelDomainExpirationDate) XXX_DiscardUnknown()

func (*MsgExtendTopLevelDomainExpirationDate) XXX_Marshal added in v0.1.0

func (m *MsgExtendTopLevelDomainExpirationDate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgExtendTopLevelDomainExpirationDate) XXX_Merge added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDate) XXX_Size added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDate) XXX_Unmarshal added in v0.1.0

func (m *MsgExtendTopLevelDomainExpirationDate) XXX_Unmarshal(b []byte) error

type MsgExtendTopLevelDomainExpirationDateResponse added in v0.1.0

type MsgExtendTopLevelDomainExpirationDateResponse struct {
	TopLevelDomain *TopLevelDomain    `protobuf:"bytes,1,opt,name=topLevelDomain,proto3" json:"topLevelDomain,omitempty"`
	Fee            *TopLevelDomainFee `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"`
}

func (*MsgExtendTopLevelDomainExpirationDateResponse) Descriptor added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDateResponse) GetFee added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDateResponse) GetTopLevelDomain added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDateResponse) Marshal added in v0.1.0

func (m *MsgExtendTopLevelDomainExpirationDateResponse) Marshal() (dAtA []byte, err error)

func (*MsgExtendTopLevelDomainExpirationDateResponse) MarshalTo added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDateResponse) MarshalToSizedBuffer added in v0.1.0

func (m *MsgExtendTopLevelDomainExpirationDateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgExtendTopLevelDomainExpirationDateResponse) ProtoMessage added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDateResponse) Reset added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDateResponse) Size added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDateResponse) String added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDateResponse) Unmarshal added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDateResponse) XXX_DiscardUnknown added in v0.1.0

func (m *MsgExtendTopLevelDomainExpirationDateResponse) XXX_DiscardUnknown()

func (*MsgExtendTopLevelDomainExpirationDateResponse) XXX_Marshal added in v0.1.0

func (m *MsgExtendTopLevelDomainExpirationDateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgExtendTopLevelDomainExpirationDateResponse) XXX_Merge added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDateResponse) XXX_Size added in v0.1.0

func (*MsgExtendTopLevelDomainExpirationDateResponse) XXX_Unmarshal added in v0.1.0

type MsgRegisterSecondLevelDomain added in v0.1.0

type MsgRegisterSecondLevelDomain struct {
	Creator                  string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Name                     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Parent                   string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
	RegistrationPeriodInYear uint64 `protobuf:"varint,4,opt,name=registrationPeriodInYear,proto3" json:"registrationPeriodInYear,omitempty"`
}

func NewMsgRegisterSecondLevelDomain added in v0.1.0

func NewMsgRegisterSecondLevelDomain(creator string, name string, parent string, registrationPeriodInYear uint64) *MsgRegisterSecondLevelDomain

func (*MsgRegisterSecondLevelDomain) Descriptor added in v0.1.0

func (*MsgRegisterSecondLevelDomain) Descriptor() ([]byte, []int)

func (*MsgRegisterSecondLevelDomain) GetCreator added in v0.1.0

func (m *MsgRegisterSecondLevelDomain) GetCreator() string

func (*MsgRegisterSecondLevelDomain) GetName added in v0.1.0

func (m *MsgRegisterSecondLevelDomain) GetName() string

func (*MsgRegisterSecondLevelDomain) GetParent added in v0.1.0

func (m *MsgRegisterSecondLevelDomain) GetParent() string

func (*MsgRegisterSecondLevelDomain) GetRegistrationPeriodInYear added in v0.1.0

func (m *MsgRegisterSecondLevelDomain) GetRegistrationPeriodInYear() uint64

func (*MsgRegisterSecondLevelDomain) GetSignBytes added in v0.1.0

func (msg *MsgRegisterSecondLevelDomain) GetSignBytes() []byte

func (*MsgRegisterSecondLevelDomain) GetSigners added in v0.1.0

func (msg *MsgRegisterSecondLevelDomain) GetSigners() []sdk.AccAddress

func (*MsgRegisterSecondLevelDomain) Marshal added in v0.1.0

func (m *MsgRegisterSecondLevelDomain) Marshal() (dAtA []byte, err error)

func (*MsgRegisterSecondLevelDomain) MarshalTo added in v0.1.0

func (m *MsgRegisterSecondLevelDomain) MarshalTo(dAtA []byte) (int, error)

func (*MsgRegisterSecondLevelDomain) MarshalToSizedBuffer added in v0.1.0

func (m *MsgRegisterSecondLevelDomain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRegisterSecondLevelDomain) ProtoMessage added in v0.1.0

func (*MsgRegisterSecondLevelDomain) ProtoMessage()

func (*MsgRegisterSecondLevelDomain) Reset added in v0.1.0

func (m *MsgRegisterSecondLevelDomain) Reset()

func (*MsgRegisterSecondLevelDomain) Route added in v0.1.0

func (msg *MsgRegisterSecondLevelDomain) Route() string

func (*MsgRegisterSecondLevelDomain) Size added in v0.1.0

func (m *MsgRegisterSecondLevelDomain) Size() (n int)

func (*MsgRegisterSecondLevelDomain) String added in v0.1.0

func (*MsgRegisterSecondLevelDomain) Type added in v0.1.0

func (*MsgRegisterSecondLevelDomain) Unmarshal added in v0.1.0

func (m *MsgRegisterSecondLevelDomain) Unmarshal(dAtA []byte) error

func (*MsgRegisterSecondLevelDomain) ValidateBasic added in v0.1.0

func (msg *MsgRegisterSecondLevelDomain) ValidateBasic() error

func (*MsgRegisterSecondLevelDomain) XXX_DiscardUnknown added in v0.1.0

func (m *MsgRegisterSecondLevelDomain) XXX_DiscardUnknown()

func (*MsgRegisterSecondLevelDomain) XXX_Marshal added in v0.1.0

func (m *MsgRegisterSecondLevelDomain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRegisterSecondLevelDomain) XXX_Merge added in v0.1.0

func (m *MsgRegisterSecondLevelDomain) XXX_Merge(src proto.Message)

func (*MsgRegisterSecondLevelDomain) XXX_Size added in v0.1.0

func (m *MsgRegisterSecondLevelDomain) XXX_Size() int

func (*MsgRegisterSecondLevelDomain) XXX_Unmarshal added in v0.1.0

func (m *MsgRegisterSecondLevelDomain) XXX_Unmarshal(b []byte) error

type MsgRegisterSecondLevelDomainResponse added in v0.1.0

type MsgRegisterSecondLevelDomainResponse struct {
}

func (*MsgRegisterSecondLevelDomainResponse) Descriptor added in v0.1.0

func (*MsgRegisterSecondLevelDomainResponse) Descriptor() ([]byte, []int)

func (*MsgRegisterSecondLevelDomainResponse) Marshal added in v0.1.0

func (m *MsgRegisterSecondLevelDomainResponse) Marshal() (dAtA []byte, err error)

func (*MsgRegisterSecondLevelDomainResponse) MarshalTo added in v0.1.0

func (m *MsgRegisterSecondLevelDomainResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRegisterSecondLevelDomainResponse) MarshalToSizedBuffer added in v0.1.0

func (m *MsgRegisterSecondLevelDomainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRegisterSecondLevelDomainResponse) ProtoMessage added in v0.1.0

func (*MsgRegisterSecondLevelDomainResponse) ProtoMessage()

func (*MsgRegisterSecondLevelDomainResponse) Reset added in v0.1.0

func (*MsgRegisterSecondLevelDomainResponse) Size added in v0.1.0

func (*MsgRegisterSecondLevelDomainResponse) String added in v0.1.0

func (*MsgRegisterSecondLevelDomainResponse) Unmarshal added in v0.1.0

func (m *MsgRegisterSecondLevelDomainResponse) Unmarshal(dAtA []byte) error

func (*MsgRegisterSecondLevelDomainResponse) XXX_DiscardUnknown added in v0.1.0

func (m *MsgRegisterSecondLevelDomainResponse) XXX_DiscardUnknown()

func (*MsgRegisterSecondLevelDomainResponse) XXX_Marshal added in v0.1.0

func (m *MsgRegisterSecondLevelDomainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRegisterSecondLevelDomainResponse) XXX_Merge added in v0.1.0

func (*MsgRegisterSecondLevelDomainResponse) XXX_Size added in v0.1.0

func (*MsgRegisterSecondLevelDomainResponse) XXX_Unmarshal added in v0.1.0

func (m *MsgRegisterSecondLevelDomainResponse) XXX_Unmarshal(b []byte) error

type MsgRegisterTopLevelDomain added in v0.1.0

type MsgRegisterTopLevelDomain struct {
	Creator                  string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Name                     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	RegistrationPeriodInYear uint64 `protobuf:"varint,3,opt,name=registrationPeriodInYear,proto3" json:"registrationPeriodInYear,omitempty"`
}

func NewMsgRegisterTopLevelDomain added in v0.1.0

func NewMsgRegisterTopLevelDomain(creator string, name string, registrationPeriodInYear uint64) *MsgRegisterTopLevelDomain

func (*MsgRegisterTopLevelDomain) Descriptor added in v0.1.0

func (*MsgRegisterTopLevelDomain) Descriptor() ([]byte, []int)

func (*MsgRegisterTopLevelDomain) GetCreator added in v0.1.0

func (m *MsgRegisterTopLevelDomain) GetCreator() string

func (*MsgRegisterTopLevelDomain) GetName added in v0.1.0

func (m *MsgRegisterTopLevelDomain) GetName() string

func (*MsgRegisterTopLevelDomain) GetRegistrationPeriodInYear added in v0.1.0

func (m *MsgRegisterTopLevelDomain) GetRegistrationPeriodInYear() uint64

func (*MsgRegisterTopLevelDomain) GetSignBytes added in v0.1.0

func (msg *MsgRegisterTopLevelDomain) GetSignBytes() []byte

func (*MsgRegisterTopLevelDomain) GetSigners added in v0.1.0

func (msg *MsgRegisterTopLevelDomain) GetSigners() []sdk.AccAddress

func (*MsgRegisterTopLevelDomain) Marshal added in v0.1.0

func (m *MsgRegisterTopLevelDomain) Marshal() (dAtA []byte, err error)

func (*MsgRegisterTopLevelDomain) MarshalTo added in v0.1.0

func (m *MsgRegisterTopLevelDomain) MarshalTo(dAtA []byte) (int, error)

func (*MsgRegisterTopLevelDomain) MarshalToSizedBuffer added in v0.1.0

func (m *MsgRegisterTopLevelDomain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRegisterTopLevelDomain) ProtoMessage added in v0.1.0

func (*MsgRegisterTopLevelDomain) ProtoMessage()

func (*MsgRegisterTopLevelDomain) Reset added in v0.1.0

func (m *MsgRegisterTopLevelDomain) Reset()

func (*MsgRegisterTopLevelDomain) Route added in v0.1.0

func (msg *MsgRegisterTopLevelDomain) Route() string

func (*MsgRegisterTopLevelDomain) Size added in v0.1.0

func (m *MsgRegisterTopLevelDomain) Size() (n int)

func (*MsgRegisterTopLevelDomain) String added in v0.1.0

func (m *MsgRegisterTopLevelDomain) String() string

func (*MsgRegisterTopLevelDomain) Type added in v0.1.0

func (msg *MsgRegisterTopLevelDomain) Type() string

func (*MsgRegisterTopLevelDomain) Unmarshal added in v0.1.0

func (m *MsgRegisterTopLevelDomain) Unmarshal(dAtA []byte) error

func (*MsgRegisterTopLevelDomain) ValidateBasic added in v0.1.0

func (msg *MsgRegisterTopLevelDomain) ValidateBasic() error

func (*MsgRegisterTopLevelDomain) XXX_DiscardUnknown added in v0.1.0

func (m *MsgRegisterTopLevelDomain) XXX_DiscardUnknown()

func (*MsgRegisterTopLevelDomain) XXX_Marshal added in v0.1.0

func (m *MsgRegisterTopLevelDomain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRegisterTopLevelDomain) XXX_Merge added in v0.1.0

func (m *MsgRegisterTopLevelDomain) XXX_Merge(src proto.Message)

func (*MsgRegisterTopLevelDomain) XXX_Size added in v0.1.0

func (m *MsgRegisterTopLevelDomain) XXX_Size() int

func (*MsgRegisterTopLevelDomain) XXX_Unmarshal added in v0.1.0

func (m *MsgRegisterTopLevelDomain) XXX_Unmarshal(b []byte) error

type MsgRegisterTopLevelDomainResponse added in v0.1.0

type MsgRegisterTopLevelDomainResponse struct {
	TopLevelDomain *TopLevelDomain    `protobuf:"bytes,1,opt,name=topLevelDomain,proto3" json:"topLevelDomain,omitempty"`
	Fee            *TopLevelDomainFee `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"`
}

func (*MsgRegisterTopLevelDomainResponse) Descriptor added in v0.1.0

func (*MsgRegisterTopLevelDomainResponse) Descriptor() ([]byte, []int)

func (*MsgRegisterTopLevelDomainResponse) GetFee added in v0.1.0

func (*MsgRegisterTopLevelDomainResponse) GetTopLevelDomain added in v0.1.0

func (m *MsgRegisterTopLevelDomainResponse) GetTopLevelDomain() *TopLevelDomain

func (*MsgRegisterTopLevelDomainResponse) Marshal added in v0.1.0

func (m *MsgRegisterTopLevelDomainResponse) Marshal() (dAtA []byte, err error)

func (*MsgRegisterTopLevelDomainResponse) MarshalTo added in v0.1.0

func (m *MsgRegisterTopLevelDomainResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRegisterTopLevelDomainResponse) MarshalToSizedBuffer added in v0.1.0

func (m *MsgRegisterTopLevelDomainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRegisterTopLevelDomainResponse) ProtoMessage added in v0.1.0

func (*MsgRegisterTopLevelDomainResponse) ProtoMessage()

func (*MsgRegisterTopLevelDomainResponse) Reset added in v0.1.0

func (*MsgRegisterTopLevelDomainResponse) Size added in v0.1.0

func (m *MsgRegisterTopLevelDomainResponse) Size() (n int)

func (*MsgRegisterTopLevelDomainResponse) String added in v0.1.0

func (*MsgRegisterTopLevelDomainResponse) Unmarshal added in v0.1.0

func (m *MsgRegisterTopLevelDomainResponse) Unmarshal(dAtA []byte) error

func (*MsgRegisterTopLevelDomainResponse) XXX_DiscardUnknown added in v0.1.0

func (m *MsgRegisterTopLevelDomainResponse) XXX_DiscardUnknown()

func (*MsgRegisterTopLevelDomainResponse) XXX_Marshal added in v0.1.0

func (m *MsgRegisterTopLevelDomainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRegisterTopLevelDomainResponse) XXX_Merge added in v0.1.0

func (*MsgRegisterTopLevelDomainResponse) XXX_Size added in v0.1.0

func (m *MsgRegisterTopLevelDomainResponse) XXX_Size() int

func (*MsgRegisterTopLevelDomainResponse) XXX_Unmarshal added in v0.1.0

func (m *MsgRegisterTopLevelDomainResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateDnsRecord

type MsgUpdateDnsRecord struct {
	Creator       string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Name          string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Parent        string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
	DnsRecordType string `protobuf:"bytes,4,opt,name=dnsRecordType,proto3" json:"dnsRecordType,omitempty"`
	Value         string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
}

func NewMsgUpdateDnsRecord

func NewMsgUpdateDnsRecord(creator string, name string, parent string, dnsRecordType string, value string) *MsgUpdateDnsRecord

func (*MsgUpdateDnsRecord) Descriptor

func (*MsgUpdateDnsRecord) Descriptor() ([]byte, []int)

func (*MsgUpdateDnsRecord) GetCreator

func (m *MsgUpdateDnsRecord) GetCreator() string

func (*MsgUpdateDnsRecord) GetDnsRecordType

func (m *MsgUpdateDnsRecord) GetDnsRecordType() string

func (*MsgUpdateDnsRecord) GetName

func (m *MsgUpdateDnsRecord) GetName() string

func (*MsgUpdateDnsRecord) GetParent

func (m *MsgUpdateDnsRecord) GetParent() string

func (*MsgUpdateDnsRecord) GetSignBytes

func (msg *MsgUpdateDnsRecord) GetSignBytes() []byte

func (*MsgUpdateDnsRecord) GetSigners

func (msg *MsgUpdateDnsRecord) GetSigners() []sdk.AccAddress

func (*MsgUpdateDnsRecord) GetValue

func (m *MsgUpdateDnsRecord) GetValue() string

func (*MsgUpdateDnsRecord) Marshal

func (m *MsgUpdateDnsRecord) Marshal() (dAtA []byte, err error)

func (*MsgUpdateDnsRecord) MarshalTo

func (m *MsgUpdateDnsRecord) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateDnsRecord) MarshalToSizedBuffer

func (m *MsgUpdateDnsRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateDnsRecord) ProtoMessage

func (*MsgUpdateDnsRecord) ProtoMessage()

func (*MsgUpdateDnsRecord) Reset

func (m *MsgUpdateDnsRecord) Reset()

func (*MsgUpdateDnsRecord) Route

func (msg *MsgUpdateDnsRecord) Route() string

func (*MsgUpdateDnsRecord) Size

func (m *MsgUpdateDnsRecord) Size() (n int)

func (*MsgUpdateDnsRecord) String

func (m *MsgUpdateDnsRecord) String() string

func (*MsgUpdateDnsRecord) Type

func (msg *MsgUpdateDnsRecord) Type() string

func (*MsgUpdateDnsRecord) Unmarshal

func (m *MsgUpdateDnsRecord) Unmarshal(dAtA []byte) error

func (*MsgUpdateDnsRecord) ValidateBasic

func (msg *MsgUpdateDnsRecord) ValidateBasic() error

func (*MsgUpdateDnsRecord) XXX_DiscardUnknown

func (m *MsgUpdateDnsRecord) XXX_DiscardUnknown()

func (*MsgUpdateDnsRecord) XXX_Marshal

func (m *MsgUpdateDnsRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateDnsRecord) XXX_Merge

func (m *MsgUpdateDnsRecord) XXX_Merge(src proto.Message)

func (*MsgUpdateDnsRecord) XXX_Size

func (m *MsgUpdateDnsRecord) XXX_Size() int

func (*MsgUpdateDnsRecord) XXX_Unmarshal

func (m *MsgUpdateDnsRecord) XXX_Unmarshal(b []byte) error

type MsgUpdateDnsRecordResponse

type MsgUpdateDnsRecordResponse struct {
}

func (*MsgUpdateDnsRecordResponse) Descriptor

func (*MsgUpdateDnsRecordResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateDnsRecordResponse) Marshal

func (m *MsgUpdateDnsRecordResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateDnsRecordResponse) MarshalTo

func (m *MsgUpdateDnsRecordResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateDnsRecordResponse) MarshalToSizedBuffer

func (m *MsgUpdateDnsRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateDnsRecordResponse) ProtoMessage

func (*MsgUpdateDnsRecordResponse) ProtoMessage()

func (*MsgUpdateDnsRecordResponse) Reset

func (m *MsgUpdateDnsRecordResponse) Reset()

func (*MsgUpdateDnsRecordResponse) Size

func (m *MsgUpdateDnsRecordResponse) Size() (n int)

func (*MsgUpdateDnsRecordResponse) String

func (m *MsgUpdateDnsRecordResponse) String() string

func (*MsgUpdateDnsRecordResponse) Unmarshal

func (m *MsgUpdateDnsRecordResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateDnsRecordResponse) XXX_DiscardUnknown

func (m *MsgUpdateDnsRecordResponse) XXX_DiscardUnknown()

func (*MsgUpdateDnsRecordResponse) XXX_Marshal

func (m *MsgUpdateDnsRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateDnsRecordResponse) XXX_Merge

func (m *MsgUpdateDnsRecordResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateDnsRecordResponse) XXX_Size

func (m *MsgUpdateDnsRecordResponse) XXX_Size() int

func (*MsgUpdateDnsRecordResponse) XXX_Unmarshal

func (m *MsgUpdateDnsRecordResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateTextRecord added in v0.1.2

type MsgUpdateTextRecord struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Parent  string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
	Key     string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
	Value   string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
}

func NewMsgUpdateTextRecord added in v0.1.2

func NewMsgUpdateTextRecord(creator string, name string, parent string, key string, value string) *MsgUpdateTextRecord

func (*MsgUpdateTextRecord) Descriptor added in v0.1.2

func (*MsgUpdateTextRecord) Descriptor() ([]byte, []int)

func (*MsgUpdateTextRecord) GetCreator added in v0.1.2

func (m *MsgUpdateTextRecord) GetCreator() string

func (*MsgUpdateTextRecord) GetKey added in v0.1.2

func (m *MsgUpdateTextRecord) GetKey() string

func (*MsgUpdateTextRecord) GetName added in v0.1.2

func (m *MsgUpdateTextRecord) GetName() string

func (*MsgUpdateTextRecord) GetParent added in v0.1.2

func (m *MsgUpdateTextRecord) GetParent() string

func (*MsgUpdateTextRecord) GetSignBytes added in v0.1.2

func (msg *MsgUpdateTextRecord) GetSignBytes() []byte

func (*MsgUpdateTextRecord) GetSigners added in v0.1.2

func (msg *MsgUpdateTextRecord) GetSigners() []sdk.AccAddress

func (*MsgUpdateTextRecord) GetValue added in v0.1.2

func (m *MsgUpdateTextRecord) GetValue() string

func (*MsgUpdateTextRecord) Marshal added in v0.1.2

func (m *MsgUpdateTextRecord) Marshal() (dAtA []byte, err error)

func (*MsgUpdateTextRecord) MarshalTo added in v0.1.2

func (m *MsgUpdateTextRecord) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateTextRecord) MarshalToSizedBuffer added in v0.1.2

func (m *MsgUpdateTextRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateTextRecord) ProtoMessage added in v0.1.2

func (*MsgUpdateTextRecord) ProtoMessage()

func (*MsgUpdateTextRecord) Reset added in v0.1.2

func (m *MsgUpdateTextRecord) Reset()

func (*MsgUpdateTextRecord) Route added in v0.1.2

func (msg *MsgUpdateTextRecord) Route() string

func (*MsgUpdateTextRecord) Size added in v0.1.2

func (m *MsgUpdateTextRecord) Size() (n int)

func (*MsgUpdateTextRecord) String added in v0.1.2

func (m *MsgUpdateTextRecord) String() string

func (*MsgUpdateTextRecord) Type added in v0.1.2

func (msg *MsgUpdateTextRecord) Type() string

func (*MsgUpdateTextRecord) Unmarshal added in v0.1.2

func (m *MsgUpdateTextRecord) Unmarshal(dAtA []byte) error

func (*MsgUpdateTextRecord) ValidateBasic added in v0.1.2

func (msg *MsgUpdateTextRecord) ValidateBasic() error

func (*MsgUpdateTextRecord) XXX_DiscardUnknown added in v0.1.2

func (m *MsgUpdateTextRecord) XXX_DiscardUnknown()

func (*MsgUpdateTextRecord) XXX_Marshal added in v0.1.2

func (m *MsgUpdateTextRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateTextRecord) XXX_Merge added in v0.1.2

func (m *MsgUpdateTextRecord) XXX_Merge(src proto.Message)

func (*MsgUpdateTextRecord) XXX_Size added in v0.1.2

func (m *MsgUpdateTextRecord) XXX_Size() int

func (*MsgUpdateTextRecord) XXX_Unmarshal added in v0.1.2

func (m *MsgUpdateTextRecord) XXX_Unmarshal(b []byte) error

type MsgUpdateTextRecordResponse added in v0.1.2

type MsgUpdateTextRecordResponse struct {
}

func (*MsgUpdateTextRecordResponse) Descriptor added in v0.1.2

func (*MsgUpdateTextRecordResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateTextRecordResponse) Marshal added in v0.1.2

func (m *MsgUpdateTextRecordResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateTextRecordResponse) MarshalTo added in v0.1.2

func (m *MsgUpdateTextRecordResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateTextRecordResponse) MarshalToSizedBuffer added in v0.1.2

func (m *MsgUpdateTextRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateTextRecordResponse) ProtoMessage added in v0.1.2

func (*MsgUpdateTextRecordResponse) ProtoMessage()

func (*MsgUpdateTextRecordResponse) Reset added in v0.1.2

func (m *MsgUpdateTextRecordResponse) Reset()

func (*MsgUpdateTextRecordResponse) Size added in v0.1.2

func (m *MsgUpdateTextRecordResponse) Size() (n int)

func (*MsgUpdateTextRecordResponse) String added in v0.1.2

func (m *MsgUpdateTextRecordResponse) String() string

func (*MsgUpdateTextRecordResponse) Unmarshal added in v0.1.2

func (m *MsgUpdateTextRecordResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateTextRecordResponse) XXX_DiscardUnknown added in v0.1.2

func (m *MsgUpdateTextRecordResponse) XXX_DiscardUnknown()

func (*MsgUpdateTextRecordResponse) XXX_Marshal added in v0.1.2

func (m *MsgUpdateTextRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateTextRecordResponse) XXX_Merge added in v0.1.2

func (m *MsgUpdateTextRecordResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateTextRecordResponse) XXX_Size added in v0.1.2

func (m *MsgUpdateTextRecordResponse) XXX_Size() int

func (*MsgUpdateTextRecordResponse) XXX_Unmarshal added in v0.1.2

func (m *MsgUpdateTextRecordResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateTopLevelDomainRegistrationPolicy added in v0.1.2

type MsgUpdateTopLevelDomainRegistrationPolicy struct {
	Creator            string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Name               string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	RegistrationPolicy string `protobuf:"bytes,3,opt,name=registrationPolicy,proto3" json:"registrationPolicy,omitempty"`
}

func NewMsgUpdateTopLevelDomainRegistrationPolicy added in v0.1.2

func NewMsgUpdateTopLevelDomainRegistrationPolicy(creator string, name string, registrationPolicy string) *MsgUpdateTopLevelDomainRegistrationPolicy

func (*MsgUpdateTopLevelDomainRegistrationPolicy) Descriptor added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicy) Descriptor() ([]byte, []int)

func (*MsgUpdateTopLevelDomainRegistrationPolicy) GetCreator added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicy) GetName added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicy) GetRegistrationPolicy added in v0.1.2

func (m *MsgUpdateTopLevelDomainRegistrationPolicy) GetRegistrationPolicy() string

func (*MsgUpdateTopLevelDomainRegistrationPolicy) GetSignBytes added in v0.1.2

func (msg *MsgUpdateTopLevelDomainRegistrationPolicy) GetSignBytes() []byte

func (*MsgUpdateTopLevelDomainRegistrationPolicy) GetSigners added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicy) Marshal added in v0.1.2

func (m *MsgUpdateTopLevelDomainRegistrationPolicy) Marshal() (dAtA []byte, err error)

func (*MsgUpdateTopLevelDomainRegistrationPolicy) MarshalTo added in v0.1.2

func (m *MsgUpdateTopLevelDomainRegistrationPolicy) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateTopLevelDomainRegistrationPolicy) MarshalToSizedBuffer added in v0.1.2

func (m *MsgUpdateTopLevelDomainRegistrationPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateTopLevelDomainRegistrationPolicy) ProtoMessage added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicy) Reset added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicy) Route added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicy) Size added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicy) String added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicy) Type added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicy) Unmarshal added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicy) ValidateBasic added in v0.1.2

func (msg *MsgUpdateTopLevelDomainRegistrationPolicy) ValidateBasic() error

func (*MsgUpdateTopLevelDomainRegistrationPolicy) XXX_DiscardUnknown added in v0.1.2

func (m *MsgUpdateTopLevelDomainRegistrationPolicy) XXX_DiscardUnknown()

func (*MsgUpdateTopLevelDomainRegistrationPolicy) XXX_Marshal added in v0.1.2

func (m *MsgUpdateTopLevelDomainRegistrationPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateTopLevelDomainRegistrationPolicy) XXX_Merge added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicy) XXX_Size added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicy) XXX_Unmarshal added in v0.1.2

type MsgUpdateTopLevelDomainRegistrationPolicyResponse added in v0.1.2

type MsgUpdateTopLevelDomainRegistrationPolicyResponse struct {
}

func (*MsgUpdateTopLevelDomainRegistrationPolicyResponse) Descriptor added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicyResponse) Marshal added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicyResponse) MarshalTo added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicyResponse) MarshalToSizedBuffer added in v0.1.2

func (m *MsgUpdateTopLevelDomainRegistrationPolicyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateTopLevelDomainRegistrationPolicyResponse) ProtoMessage added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicyResponse) Reset added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicyResponse) Size added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicyResponse) String added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicyResponse) Unmarshal added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicyResponse) XXX_DiscardUnknown added in v0.1.2

func (m *MsgUpdateTopLevelDomainRegistrationPolicyResponse) XXX_DiscardUnknown()

func (*MsgUpdateTopLevelDomainRegistrationPolicyResponse) XXX_Marshal added in v0.1.2

func (m *MsgUpdateTopLevelDomainRegistrationPolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateTopLevelDomainRegistrationPolicyResponse) XXX_Merge added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicyResponse) XXX_Size added in v0.1.2

func (*MsgUpdateTopLevelDomainRegistrationPolicyResponse) XXX_Unmarshal added in v0.1.2

type MsgUpdateWalletRecord

type MsgUpdateWalletRecord struct {
	Creator          string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Name             string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Parent           string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
	WalletRecordType string `protobuf:"bytes,4,opt,name=walletRecordType,proto3" json:"walletRecordType,omitempty"`
	Value            string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
}

func NewMsgUpdateWalletRecord

func NewMsgUpdateWalletRecord(creator string, name string, parent string, walletRecordType string, value string) *MsgUpdateWalletRecord

func (*MsgUpdateWalletRecord) Descriptor

func (*MsgUpdateWalletRecord) Descriptor() ([]byte, []int)

func (*MsgUpdateWalletRecord) GetCreator

func (m *MsgUpdateWalletRecord) GetCreator() string

func (*MsgUpdateWalletRecord) GetName

func (m *MsgUpdateWalletRecord) GetName() string

func (*MsgUpdateWalletRecord) GetParent

func (m *MsgUpdateWalletRecord) GetParent() string

func (*MsgUpdateWalletRecord) GetSignBytes

func (msg *MsgUpdateWalletRecord) GetSignBytes() []byte

func (*MsgUpdateWalletRecord) GetSigners

func (msg *MsgUpdateWalletRecord) GetSigners() []sdk.AccAddress

func (*MsgUpdateWalletRecord) GetValue

func (m *MsgUpdateWalletRecord) GetValue() string

func (*MsgUpdateWalletRecord) GetWalletRecordType

func (m *MsgUpdateWalletRecord) GetWalletRecordType() string

func (*MsgUpdateWalletRecord) Marshal

func (m *MsgUpdateWalletRecord) Marshal() (dAtA []byte, err error)

func (*MsgUpdateWalletRecord) MarshalTo

func (m *MsgUpdateWalletRecord) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateWalletRecord) MarshalToSizedBuffer

func (m *MsgUpdateWalletRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateWalletRecord) ProtoMessage

func (*MsgUpdateWalletRecord) ProtoMessage()

func (*MsgUpdateWalletRecord) Reset

func (m *MsgUpdateWalletRecord) Reset()

func (*MsgUpdateWalletRecord) Route

func (msg *MsgUpdateWalletRecord) Route() string

func (*MsgUpdateWalletRecord) Size

func (m *MsgUpdateWalletRecord) Size() (n int)

func (*MsgUpdateWalletRecord) String

func (m *MsgUpdateWalletRecord) String() string

func (*MsgUpdateWalletRecord) Type

func (msg *MsgUpdateWalletRecord) Type() string

func (*MsgUpdateWalletRecord) Unmarshal

func (m *MsgUpdateWalletRecord) Unmarshal(dAtA []byte) error

func (*MsgUpdateWalletRecord) ValidateBasic

func (msg *MsgUpdateWalletRecord) ValidateBasic() error

func (*MsgUpdateWalletRecord) XXX_DiscardUnknown

func (m *MsgUpdateWalletRecord) XXX_DiscardUnknown()

func (*MsgUpdateWalletRecord) XXX_Marshal

func (m *MsgUpdateWalletRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateWalletRecord) XXX_Merge

func (m *MsgUpdateWalletRecord) XXX_Merge(src proto.Message)

func (*MsgUpdateWalletRecord) XXX_Size

func (m *MsgUpdateWalletRecord) XXX_Size() int

func (*MsgUpdateWalletRecord) XXX_Unmarshal

func (m *MsgUpdateWalletRecord) XXX_Unmarshal(b []byte) error

type MsgUpdateWalletRecordResponse

type MsgUpdateWalletRecordResponse struct {
}

func (*MsgUpdateWalletRecordResponse) Descriptor

func (*MsgUpdateWalletRecordResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateWalletRecordResponse) Marshal

func (m *MsgUpdateWalletRecordResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateWalletRecordResponse) MarshalTo

func (m *MsgUpdateWalletRecordResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateWalletRecordResponse) MarshalToSizedBuffer

func (m *MsgUpdateWalletRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateWalletRecordResponse) ProtoMessage

func (*MsgUpdateWalletRecordResponse) ProtoMessage()

func (*MsgUpdateWalletRecordResponse) Reset

func (m *MsgUpdateWalletRecordResponse) Reset()

func (*MsgUpdateWalletRecordResponse) Size

func (m *MsgUpdateWalletRecordResponse) Size() (n int)

func (*MsgUpdateWalletRecordResponse) String

func (*MsgUpdateWalletRecordResponse) Unmarshal

func (m *MsgUpdateWalletRecordResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateWalletRecordResponse) XXX_DiscardUnknown

func (m *MsgUpdateWalletRecordResponse) XXX_DiscardUnknown()

func (*MsgUpdateWalletRecordResponse) XXX_Marshal

func (m *MsgUpdateWalletRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateWalletRecordResponse) XXX_Merge

func (m *MsgUpdateWalletRecordResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateWalletRecordResponse) XXX_Size

func (m *MsgUpdateWalletRecordResponse) XXX_Size() int

func (*MsgUpdateWalletRecordResponse) XXX_Unmarshal

func (m *MsgUpdateWalletRecordResponse) XXX_Unmarshal(b []byte) error

type MsgWithdrawRegistrationFee added in v0.1.0

type MsgWithdrawRegistrationFee struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}

func NewMsgWithdrawRegistrationFee added in v0.1.0

func NewMsgWithdrawRegistrationFee(creator string, name string) *MsgWithdrawRegistrationFee

func (*MsgWithdrawRegistrationFee) Descriptor added in v0.1.0

func (*MsgWithdrawRegistrationFee) Descriptor() ([]byte, []int)

func (*MsgWithdrawRegistrationFee) GetCreator added in v0.1.0

func (m *MsgWithdrawRegistrationFee) GetCreator() string

func (*MsgWithdrawRegistrationFee) GetName added in v0.1.0

func (m *MsgWithdrawRegistrationFee) GetName() string

func (*MsgWithdrawRegistrationFee) GetSignBytes added in v0.1.0

func (msg *MsgWithdrawRegistrationFee) GetSignBytes() []byte

func (*MsgWithdrawRegistrationFee) GetSigners added in v0.1.0

func (msg *MsgWithdrawRegistrationFee) GetSigners() []sdk.AccAddress

func (*MsgWithdrawRegistrationFee) Marshal added in v0.1.0

func (m *MsgWithdrawRegistrationFee) Marshal() (dAtA []byte, err error)

func (*MsgWithdrawRegistrationFee) MarshalTo added in v0.1.0

func (m *MsgWithdrawRegistrationFee) MarshalTo(dAtA []byte) (int, error)

func (*MsgWithdrawRegistrationFee) MarshalToSizedBuffer added in v0.1.0

func (m *MsgWithdrawRegistrationFee) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgWithdrawRegistrationFee) ProtoMessage added in v0.1.0

func (*MsgWithdrawRegistrationFee) ProtoMessage()

func (*MsgWithdrawRegistrationFee) Reset added in v0.1.0

func (m *MsgWithdrawRegistrationFee) Reset()

func (*MsgWithdrawRegistrationFee) Route added in v0.1.0

func (msg *MsgWithdrawRegistrationFee) Route() string

func (*MsgWithdrawRegistrationFee) Size added in v0.1.0

func (m *MsgWithdrawRegistrationFee) Size() (n int)

func (*MsgWithdrawRegistrationFee) String added in v0.1.0

func (m *MsgWithdrawRegistrationFee) String() string

func (*MsgWithdrawRegistrationFee) Type added in v0.1.0

func (msg *MsgWithdrawRegistrationFee) Type() string

func (*MsgWithdrawRegistrationFee) Unmarshal added in v0.1.0

func (m *MsgWithdrawRegistrationFee) Unmarshal(dAtA []byte) error

func (*MsgWithdrawRegistrationFee) ValidateBasic added in v0.1.0

func (msg *MsgWithdrawRegistrationFee) ValidateBasic() error

func (*MsgWithdrawRegistrationFee) XXX_DiscardUnknown added in v0.1.0

func (m *MsgWithdrawRegistrationFee) XXX_DiscardUnknown()

func (*MsgWithdrawRegistrationFee) XXX_Marshal added in v0.1.0

func (m *MsgWithdrawRegistrationFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgWithdrawRegistrationFee) XXX_Merge added in v0.1.0

func (m *MsgWithdrawRegistrationFee) XXX_Merge(src proto.Message)

func (*MsgWithdrawRegistrationFee) XXX_Size added in v0.1.0

func (m *MsgWithdrawRegistrationFee) XXX_Size() int

func (*MsgWithdrawRegistrationFee) XXX_Unmarshal added in v0.1.0

func (m *MsgWithdrawRegistrationFee) XXX_Unmarshal(b []byte) error

type MsgWithdrawRegistrationFeeResponse added in v0.1.0

type MsgWithdrawRegistrationFeeResponse struct {
	RegistrationFee github_com_cosmos_cosmos_sdk_types.Coins `` /* 127-byte string literal not displayed */
}

func (*MsgWithdrawRegistrationFeeResponse) Descriptor added in v0.1.0

func (*MsgWithdrawRegistrationFeeResponse) Descriptor() ([]byte, []int)

func (*MsgWithdrawRegistrationFeeResponse) GetRegistrationFee added in v0.1.0

func (*MsgWithdrawRegistrationFeeResponse) Marshal added in v0.1.0

func (m *MsgWithdrawRegistrationFeeResponse) Marshal() (dAtA []byte, err error)

func (*MsgWithdrawRegistrationFeeResponse) MarshalTo added in v0.1.0

func (m *MsgWithdrawRegistrationFeeResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgWithdrawRegistrationFeeResponse) MarshalToSizedBuffer added in v0.1.0

func (m *MsgWithdrawRegistrationFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgWithdrawRegistrationFeeResponse) ProtoMessage added in v0.1.0

func (*MsgWithdrawRegistrationFeeResponse) ProtoMessage()

func (*MsgWithdrawRegistrationFeeResponse) Reset added in v0.1.0

func (*MsgWithdrawRegistrationFeeResponse) Size added in v0.1.0

func (*MsgWithdrawRegistrationFeeResponse) String added in v0.1.0

func (*MsgWithdrawRegistrationFeeResponse) Unmarshal added in v0.1.0

func (m *MsgWithdrawRegistrationFeeResponse) Unmarshal(dAtA []byte) error

func (*MsgWithdrawRegistrationFeeResponse) XXX_DiscardUnknown added in v0.1.0

func (m *MsgWithdrawRegistrationFeeResponse) XXX_DiscardUnknown()

func (*MsgWithdrawRegistrationFeeResponse) XXX_Marshal added in v0.1.0

func (m *MsgWithdrawRegistrationFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgWithdrawRegistrationFeeResponse) XXX_Merge added in v0.1.0

func (*MsgWithdrawRegistrationFeeResponse) XXX_Size added in v0.1.0

func (*MsgWithdrawRegistrationFeeResponse) XXX_Unmarshal added in v0.1.0

func (m *MsgWithdrawRegistrationFeeResponse) XXX_Unmarshal(b []byte) error

type NetworkName added in v0.1.0

type NetworkName int32
const (
	NetworkName_NO_NETWORK NetworkName = 0
	// BTC 1xxx
	NetworkName_BITCOIN_MAINNET_MAINNET NetworkName = 10000
	NetworkName_BITCOIN_TESTNET_TESTNET NetworkName = 10001
	// DEFAULT
	NetworkName_BITCOIN_DEFAULT_DEFAULT NetworkName = 19999
	// EVM 2xxxx
	// Etheruem
	NetworkName_ETHEREUM_MAINNET_MAINNET NetworkName = 20000
	NetworkName_ETHEREUM_TESTNET_GOERLI  NetworkName = 20001
	NetworkName_ETHEREUM_TESTNET_SEPOLIA NetworkName = 20002
	// Polygon
	NetworkName_POLYGON_MAINNET_MAINNET NetworkName = 20003
	NetworkName_POLYGON_TESTNET_MUMBAI  NetworkName = 20004
	// BNB Chain
	NetworkName_BNB_MAINNET_MAINNET NetworkName = 20005
	NetworkName_BNB_TESTNET_TESTNET NetworkName = 20006
	// Avalanche
	NetworkName_AVALANCHE_MAINNET_CCHAIN NetworkName = 20007
	NetworkName_AVALANCHE_TESTNET_FUJI   NetworkName = 20008
	// Gnosis
	NetworkName_GNOSIS_MAINNET_MAINNET NetworkName = 20009
	NetworkName_GNOSIS_TESTNET_CHIADO  NetworkName = 20010
	// Optimism
	NetworkName_OPTIMISM_MAINNET_MAINNET NetworkName = 20011
	NetworkName_OPTIMISM_TESTNET_GOERLI  NetworkName = 20012
	// Arbitrum
	NetworkName_ARBITRUM_MAINNET_MAINNET NetworkName = 20013
	NetworkName_ARBITRUM_TESTNET_GOERLI  NetworkName = 20014
	//Shardeum
	// SHARDEUM_MAINNET_ = 20015;
	// SHARDEUM_TESTNET_ = 20016;
	NetworkName_SHARDEUM_BETANET_SPHINX NetworkName = 20017
	// Zetachain
	// ZETA_MAINNET_MAINNET = 20018;
	NetworkName_ZETA_TESTNET_ATHENS NetworkName = 20019
	// DEFAULT
	NetworkName_EVM_DEFAULT_DEFAULT NetworkName = 29999
	// MOVE 3xxxx
	//Aptos
	NetworkName_APTOS_MAINNET_MAINNET NetworkName = 30000
	NetworkName_APTOS_TESTNET_TESTNET NetworkName = 30001
	// Sui
	NetworkName_SUI_MAINNET_MAINNET NetworkName = 30002
	NetworkName_SUI_TESTNET_TESTNET NetworkName = 30003
	// DEFAULT
	NetworkName_MOVE_DEFAULT_DEFAULT NetworkName = 39999
	// SOLANA 4xxxx
	NetworkName_SOLANA_MAINNET_MAINNET NetworkName = 40000
	NetworkName_SOLANA_TESTNET_TESTNET NetworkName = 40001
	// DEFAULT
	NetworkName_SOLANA_DEFAULT_DEFAULT NetworkName = 49999
)

func (NetworkName) EnumDescriptor added in v0.1.0

func (NetworkName) EnumDescriptor() ([]byte, []int)

func (NetworkName) String added in v0.1.0

func (x NetworkName) String() string

type OwnedDomain

type OwnedDomain struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
}

func (*OwnedDomain) Descriptor

func (*OwnedDomain) Descriptor() ([]byte, []int)

func (*OwnedDomain) GetName

func (m *OwnedDomain) GetName() string

func (*OwnedDomain) GetParent

func (m *OwnedDomain) GetParent() string

func (*OwnedDomain) Marshal

func (m *OwnedDomain) Marshal() (dAtA []byte, err error)

func (*OwnedDomain) MarshalTo

func (m *OwnedDomain) MarshalTo(dAtA []byte) (int, error)

func (*OwnedDomain) MarshalToSizedBuffer

func (m *OwnedDomain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OwnedDomain) ProtoMessage

func (*OwnedDomain) ProtoMessage()

func (*OwnedDomain) Reset

func (m *OwnedDomain) Reset()

func (*OwnedDomain) Size

func (m *OwnedDomain) Size() (n int)

func (*OwnedDomain) String

func (m *OwnedDomain) String() string

func (*OwnedDomain) Unmarshal

func (m *OwnedDomain) Unmarshal(dAtA []byte) error

func (*OwnedDomain) XXX_DiscardUnknown

func (m *OwnedDomain) XXX_DiscardUnknown()

func (*OwnedDomain) XXX_Marshal

func (m *OwnedDomain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OwnedDomain) XXX_Merge

func (m *OwnedDomain) XXX_Merge(src proto.Message)

func (*OwnedDomain) XXX_Size

func (m *OwnedDomain) XXX_Size() int

func (*OwnedDomain) XXX_Unmarshal

func (m *OwnedDomain) XXX_Unmarshal(b []byte) error

type Params

type Params struct {
	StakingInflationRatio      float32 `protobuf:"fixed32,1,opt,name=stakingInflationRatio,proto3" json:"stakingInflationRatio,omitempty"`
	TopLevelDomainBaseFeeInUsd int64   `protobuf:"varint,2,opt,name=topLevelDomainBaseFeeInUsd,proto3" json:"topLevelDomainBaseFeeInUsd,omitempty"`
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) GetStakingInflationRatio added in v0.1.0

func (m *Params) GetStakingInflationRatio() float32

func (*Params) GetTopLevelDomainBaseFeeInUsd added in v0.1.0

func (m *Params) GetTopLevelDomainBaseFeeInUsd() int64

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type QueryAllDomainOwnershipRequest

type QueryAllDomainOwnershipRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllDomainOwnershipRequest) Descriptor

func (*QueryAllDomainOwnershipRequest) Descriptor() ([]byte, []int)

func (*QueryAllDomainOwnershipRequest) GetPagination

func (m *QueryAllDomainOwnershipRequest) GetPagination() *query.PageRequest

func (*QueryAllDomainOwnershipRequest) Marshal

func (m *QueryAllDomainOwnershipRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllDomainOwnershipRequest) MarshalTo

func (m *QueryAllDomainOwnershipRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllDomainOwnershipRequest) MarshalToSizedBuffer

func (m *QueryAllDomainOwnershipRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllDomainOwnershipRequest) ProtoMessage

func (*QueryAllDomainOwnershipRequest) ProtoMessage()

func (*QueryAllDomainOwnershipRequest) Reset

func (m *QueryAllDomainOwnershipRequest) Reset()

func (*QueryAllDomainOwnershipRequest) Size

func (m *QueryAllDomainOwnershipRequest) Size() (n int)

func (*QueryAllDomainOwnershipRequest) String

func (*QueryAllDomainOwnershipRequest) Unmarshal

func (m *QueryAllDomainOwnershipRequest) Unmarshal(dAtA []byte) error

func (*QueryAllDomainOwnershipRequest) XXX_DiscardUnknown

func (m *QueryAllDomainOwnershipRequest) XXX_DiscardUnknown()

func (*QueryAllDomainOwnershipRequest) XXX_Marshal

func (m *QueryAllDomainOwnershipRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllDomainOwnershipRequest) XXX_Merge

func (m *QueryAllDomainOwnershipRequest) XXX_Merge(src proto.Message)

func (*QueryAllDomainOwnershipRequest) XXX_Size

func (m *QueryAllDomainOwnershipRequest) XXX_Size() int

func (*QueryAllDomainOwnershipRequest) XXX_Unmarshal

func (m *QueryAllDomainOwnershipRequest) XXX_Unmarshal(b []byte) error

type QueryAllDomainOwnershipResponse

type QueryAllDomainOwnershipResponse struct {
	DomainOwnership []DomainOwnership   `protobuf:"bytes,1,rep,name=domainOwnership,proto3" json:"domainOwnership"`
	Pagination      *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllDomainOwnershipResponse) Descriptor

func (*QueryAllDomainOwnershipResponse) Descriptor() ([]byte, []int)

func (*QueryAllDomainOwnershipResponse) GetDomainOwnership

func (m *QueryAllDomainOwnershipResponse) GetDomainOwnership() []DomainOwnership

func (*QueryAllDomainOwnershipResponse) GetPagination

func (*QueryAllDomainOwnershipResponse) Marshal

func (m *QueryAllDomainOwnershipResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllDomainOwnershipResponse) MarshalTo

func (m *QueryAllDomainOwnershipResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllDomainOwnershipResponse) MarshalToSizedBuffer

func (m *QueryAllDomainOwnershipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllDomainOwnershipResponse) ProtoMessage

func (*QueryAllDomainOwnershipResponse) ProtoMessage()

func (*QueryAllDomainOwnershipResponse) Reset

func (*QueryAllDomainOwnershipResponse) Size

func (m *QueryAllDomainOwnershipResponse) Size() (n int)

func (*QueryAllDomainOwnershipResponse) String

func (*QueryAllDomainOwnershipResponse) Unmarshal

func (m *QueryAllDomainOwnershipResponse) Unmarshal(dAtA []byte) error

func (*QueryAllDomainOwnershipResponse) XXX_DiscardUnknown

func (m *QueryAllDomainOwnershipResponse) XXX_DiscardUnknown()

func (*QueryAllDomainOwnershipResponse) XXX_Marshal

func (m *QueryAllDomainOwnershipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllDomainOwnershipResponse) XXX_Merge

func (m *QueryAllDomainOwnershipResponse) XXX_Merge(src proto.Message)

func (*QueryAllDomainOwnershipResponse) XXX_Size

func (m *QueryAllDomainOwnershipResponse) XXX_Size() int

func (*QueryAllDomainOwnershipResponse) XXX_Unmarshal

func (m *QueryAllDomainOwnershipResponse) XXX_Unmarshal(b []byte) error

type QueryAllSecondLevelDomainRequest added in v0.1.0

type QueryAllSecondLevelDomainRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllSecondLevelDomainRequest) Descriptor added in v0.1.0

func (*QueryAllSecondLevelDomainRequest) Descriptor() ([]byte, []int)

func (*QueryAllSecondLevelDomainRequest) GetPagination added in v0.1.0

func (*QueryAllSecondLevelDomainRequest) Marshal added in v0.1.0

func (m *QueryAllSecondLevelDomainRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllSecondLevelDomainRequest) MarshalTo added in v0.1.0

func (m *QueryAllSecondLevelDomainRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllSecondLevelDomainRequest) MarshalToSizedBuffer added in v0.1.0

func (m *QueryAllSecondLevelDomainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllSecondLevelDomainRequest) ProtoMessage added in v0.1.0

func (*QueryAllSecondLevelDomainRequest) ProtoMessage()

func (*QueryAllSecondLevelDomainRequest) Reset added in v0.1.0

func (*QueryAllSecondLevelDomainRequest) Size added in v0.1.0

func (m *QueryAllSecondLevelDomainRequest) Size() (n int)

func (*QueryAllSecondLevelDomainRequest) String added in v0.1.0

func (*QueryAllSecondLevelDomainRequest) Unmarshal added in v0.1.0

func (m *QueryAllSecondLevelDomainRequest) Unmarshal(dAtA []byte) error

func (*QueryAllSecondLevelDomainRequest) XXX_DiscardUnknown added in v0.1.0

func (m *QueryAllSecondLevelDomainRequest) XXX_DiscardUnknown()

func (*QueryAllSecondLevelDomainRequest) XXX_Marshal added in v0.1.0

func (m *QueryAllSecondLevelDomainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllSecondLevelDomainRequest) XXX_Merge added in v0.1.0

func (*QueryAllSecondLevelDomainRequest) XXX_Size added in v0.1.0

func (m *QueryAllSecondLevelDomainRequest) XXX_Size() int

func (*QueryAllSecondLevelDomainRequest) XXX_Unmarshal added in v0.1.0

func (m *QueryAllSecondLevelDomainRequest) XXX_Unmarshal(b []byte) error

type QueryAllSecondLevelDomainResponse added in v0.1.0

type QueryAllSecondLevelDomainResponse struct {
	SecondLevelDomain []SecondLevelDomainResponse `protobuf:"bytes,1,rep,name=secondLevelDomain,proto3" json:"secondLevelDomain"`
	Pagination        *query.PageResponse         `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllSecondLevelDomainResponse) Descriptor added in v0.1.0

func (*QueryAllSecondLevelDomainResponse) Descriptor() ([]byte, []int)

func (*QueryAllSecondLevelDomainResponse) GetPagination added in v0.1.0

func (*QueryAllSecondLevelDomainResponse) GetSecondLevelDomain added in v0.1.0

func (*QueryAllSecondLevelDomainResponse) Marshal added in v0.1.0

func (m *QueryAllSecondLevelDomainResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllSecondLevelDomainResponse) MarshalTo added in v0.1.0

func (m *QueryAllSecondLevelDomainResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllSecondLevelDomainResponse) MarshalToSizedBuffer added in v0.1.0

func (m *QueryAllSecondLevelDomainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllSecondLevelDomainResponse) ProtoMessage added in v0.1.0

func (*QueryAllSecondLevelDomainResponse) ProtoMessage()

func (*QueryAllSecondLevelDomainResponse) Reset added in v0.1.0

func (*QueryAllSecondLevelDomainResponse) Size added in v0.1.0

func (m *QueryAllSecondLevelDomainResponse) Size() (n int)

func (*QueryAllSecondLevelDomainResponse) String added in v0.1.0

func (*QueryAllSecondLevelDomainResponse) Unmarshal added in v0.1.0

func (m *QueryAllSecondLevelDomainResponse) Unmarshal(dAtA []byte) error

func (*QueryAllSecondLevelDomainResponse) XXX_DiscardUnknown added in v0.1.0

func (m *QueryAllSecondLevelDomainResponse) XXX_DiscardUnknown()

func (*QueryAllSecondLevelDomainResponse) XXX_Marshal added in v0.1.0

func (m *QueryAllSecondLevelDomainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllSecondLevelDomainResponse) XXX_Merge added in v0.1.0

func (*QueryAllSecondLevelDomainResponse) XXX_Size added in v0.1.0

func (m *QueryAllSecondLevelDomainResponse) XXX_Size() int

func (*QueryAllSecondLevelDomainResponse) XXX_Unmarshal added in v0.1.0

func (m *QueryAllSecondLevelDomainResponse) XXX_Unmarshal(b []byte) error

type QueryAllTopLevelDomainRequest added in v0.1.0

type QueryAllTopLevelDomainRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllTopLevelDomainRequest) Descriptor added in v0.1.0

func (*QueryAllTopLevelDomainRequest) Descriptor() ([]byte, []int)

func (*QueryAllTopLevelDomainRequest) GetPagination added in v0.1.0

func (m *QueryAllTopLevelDomainRequest) GetPagination() *query.PageRequest

func (*QueryAllTopLevelDomainRequest) Marshal added in v0.1.0

func (m *QueryAllTopLevelDomainRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllTopLevelDomainRequest) MarshalTo added in v0.1.0

func (m *QueryAllTopLevelDomainRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllTopLevelDomainRequest) MarshalToSizedBuffer added in v0.1.0

func (m *QueryAllTopLevelDomainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllTopLevelDomainRequest) ProtoMessage added in v0.1.0

func (*QueryAllTopLevelDomainRequest) ProtoMessage()

func (*QueryAllTopLevelDomainRequest) Reset added in v0.1.0

func (m *QueryAllTopLevelDomainRequest) Reset()

func (*QueryAllTopLevelDomainRequest) Size added in v0.1.0

func (m *QueryAllTopLevelDomainRequest) Size() (n int)

func (*QueryAllTopLevelDomainRequest) String added in v0.1.0

func (*QueryAllTopLevelDomainRequest) Unmarshal added in v0.1.0

func (m *QueryAllTopLevelDomainRequest) Unmarshal(dAtA []byte) error

func (*QueryAllTopLevelDomainRequest) XXX_DiscardUnknown added in v0.1.0

func (m *QueryAllTopLevelDomainRequest) XXX_DiscardUnknown()

func (*QueryAllTopLevelDomainRequest) XXX_Marshal added in v0.1.0

func (m *QueryAllTopLevelDomainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllTopLevelDomainRequest) XXX_Merge added in v0.1.0

func (m *QueryAllTopLevelDomainRequest) XXX_Merge(src proto.Message)

func (*QueryAllTopLevelDomainRequest) XXX_Size added in v0.1.0

func (m *QueryAllTopLevelDomainRequest) XXX_Size() int

func (*QueryAllTopLevelDomainRequest) XXX_Unmarshal added in v0.1.0

func (m *QueryAllTopLevelDomainRequest) XXX_Unmarshal(b []byte) error

type QueryAllTopLevelDomainResponse added in v0.1.0

type QueryAllTopLevelDomainResponse struct {
	TopLevelDomain []TopLevelDomain    `protobuf:"bytes,1,rep,name=topLevelDomain,proto3" json:"topLevelDomain"`
	Pagination     *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllTopLevelDomainResponse) Descriptor added in v0.1.0

func (*QueryAllTopLevelDomainResponse) Descriptor() ([]byte, []int)

func (*QueryAllTopLevelDomainResponse) GetPagination added in v0.1.0

func (*QueryAllTopLevelDomainResponse) GetTopLevelDomain added in v0.1.0

func (m *QueryAllTopLevelDomainResponse) GetTopLevelDomain() []TopLevelDomain

func (*QueryAllTopLevelDomainResponse) Marshal added in v0.1.0

func (m *QueryAllTopLevelDomainResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllTopLevelDomainResponse) MarshalTo added in v0.1.0

func (m *QueryAllTopLevelDomainResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllTopLevelDomainResponse) MarshalToSizedBuffer added in v0.1.0

func (m *QueryAllTopLevelDomainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllTopLevelDomainResponse) ProtoMessage added in v0.1.0

func (*QueryAllTopLevelDomainResponse) ProtoMessage()

func (*QueryAllTopLevelDomainResponse) Reset added in v0.1.0

func (m *QueryAllTopLevelDomainResponse) Reset()

func (*QueryAllTopLevelDomainResponse) Size added in v0.1.0

func (m *QueryAllTopLevelDomainResponse) Size() (n int)

func (*QueryAllTopLevelDomainResponse) String added in v0.1.0

func (*QueryAllTopLevelDomainResponse) Unmarshal added in v0.1.0

func (m *QueryAllTopLevelDomainResponse) Unmarshal(dAtA []byte) error

func (*QueryAllTopLevelDomainResponse) XXX_DiscardUnknown added in v0.1.0

func (m *QueryAllTopLevelDomainResponse) XXX_DiscardUnknown()

func (*QueryAllTopLevelDomainResponse) XXX_Marshal added in v0.1.0

func (m *QueryAllTopLevelDomainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllTopLevelDomainResponse) XXX_Merge added in v0.1.0

func (m *QueryAllTopLevelDomainResponse) XXX_Merge(src proto.Message)

func (*QueryAllTopLevelDomainResponse) XXX_Size added in v0.1.0

func (m *QueryAllTopLevelDomainResponse) XXX_Size() int

func (*QueryAllTopLevelDomainResponse) XXX_Unmarshal added in v0.1.0

func (m *QueryAllTopLevelDomainResponse) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a list of TopLevelDomain items.
	TopLevelDomain(ctx context.Context, in *QueryGetTopLevelDomainRequest, opts ...grpc.CallOption) (*QueryGetTopLevelDomainResponse, error)
	TopLevelDomainAll(ctx context.Context, in *QueryAllTopLevelDomainRequest, opts ...grpc.CallOption) (*QueryAllTopLevelDomainResponse, error)
	// Queries a list of SecondLevelDomain items.
	SecondLevelDomain(ctx context.Context, in *QueryGetSecondLevelDomainRequest, opts ...grpc.CallOption) (*QueryGetSecondLevelDomainResponse, error)
	SecondLevelDomainAll(ctx context.Context, in *QueryAllSecondLevelDomainRequest, opts ...grpc.CallOption) (*QueryAllSecondLevelDomainResponse, error)
	// Queries a list of DomainOwnership items.
	DomainOwnership(ctx context.Context, in *QueryGetDomainOwnershipRequest, opts ...grpc.CallOption) (*QueryGetDomainOwnershipResponse, error)
	DomainOwnershipAll(ctx context.Context, in *QueryAllDomainOwnershipRequest, opts ...grpc.CallOption) (*QueryAllDomainOwnershipResponse, error)
	// Queries a list of DomainRegistrationFee items.
	DomainRegistrationFee(ctx context.Context, in *QueryDomainRegistrationFeeRequest, opts ...grpc.CallOption) (*QueryDomainRegistrationFeeResponse, error)
	// Queries a list of Role items.
	Role(ctx context.Context, in *QueryRoleRequest, opts ...grpc.CallOption) (*QueryRoleResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryDomainRegistrationFeeRequest

type QueryDomainRegistrationFeeRequest struct {
	Name                     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Parent                   string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
	RegistrationPeriodInYear uint64 `protobuf:"varint,3,opt,name=registrationPeriodInYear,proto3" json:"registrationPeriodInYear,omitempty"`
	Registerer               string `protobuf:"bytes,4,opt,name=registerer,proto3" json:"registerer,omitempty"`
}

func (*QueryDomainRegistrationFeeRequest) Descriptor

func (*QueryDomainRegistrationFeeRequest) Descriptor() ([]byte, []int)

func (*QueryDomainRegistrationFeeRequest) GetName

func (*QueryDomainRegistrationFeeRequest) GetParent

func (*QueryDomainRegistrationFeeRequest) GetRegisterer added in v0.1.2

func (m *QueryDomainRegistrationFeeRequest) GetRegisterer() string

func (*QueryDomainRegistrationFeeRequest) GetRegistrationPeriodInYear added in v0.1.0

func (m *QueryDomainRegistrationFeeRequest) GetRegistrationPeriodInYear() uint64

func (*QueryDomainRegistrationFeeRequest) Marshal

func (m *QueryDomainRegistrationFeeRequest) Marshal() (dAtA []byte, err error)

func (*QueryDomainRegistrationFeeRequest) MarshalTo

func (m *QueryDomainRegistrationFeeRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryDomainRegistrationFeeRequest) MarshalToSizedBuffer

func (m *QueryDomainRegistrationFeeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDomainRegistrationFeeRequest) ProtoMessage

func (*QueryDomainRegistrationFeeRequest) ProtoMessage()

func (*QueryDomainRegistrationFeeRequest) Reset

func (*QueryDomainRegistrationFeeRequest) Size

func (m *QueryDomainRegistrationFeeRequest) Size() (n int)

func (*QueryDomainRegistrationFeeRequest) String

func (*QueryDomainRegistrationFeeRequest) Unmarshal

func (m *QueryDomainRegistrationFeeRequest) Unmarshal(dAtA []byte) error

func (*QueryDomainRegistrationFeeRequest) XXX_DiscardUnknown

func (m *QueryDomainRegistrationFeeRequest) XXX_DiscardUnknown()

func (*QueryDomainRegistrationFeeRequest) XXX_Marshal

func (m *QueryDomainRegistrationFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDomainRegistrationFeeRequest) XXX_Merge

func (*QueryDomainRegistrationFeeRequest) XXX_Size

func (m *QueryDomainRegistrationFeeRequest) XXX_Size() int

func (*QueryDomainRegistrationFeeRequest) XXX_Unmarshal

func (m *QueryDomainRegistrationFeeRequest) XXX_Unmarshal(b []byte) error

type QueryDomainRegistrationFeeResponse

type QueryDomainRegistrationFeeResponse struct {
	IsRegistrable             bool                                     `protobuf:"varint,1,opt,name=isRegistrable,proto3" json:"isRegistrable,omitempty"`
	Fee                       github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=fee,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"fee"`
	RegistrationPeriodInYear  uint64                                   `protobuf:"varint,3,opt,name=registrationPeriodInYear,proto3" json:"registrationPeriodInYear,omitempty"`
	MaxSubDomainRegistrations uint64                                   `protobuf:"varint,4,opt,name=maxSubDomainRegistrations,proto3" json:"maxSubDomainRegistrations,omitempty"`
	ErrorMessage              string                                   `protobuf:"bytes,5,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
}

func (*QueryDomainRegistrationFeeResponse) Descriptor

func (*QueryDomainRegistrationFeeResponse) Descriptor() ([]byte, []int)

func (*QueryDomainRegistrationFeeResponse) GetErrorMessage added in v0.1.0

func (m *QueryDomainRegistrationFeeResponse) GetErrorMessage() string

func (*QueryDomainRegistrationFeeResponse) GetFee

func (*QueryDomainRegistrationFeeResponse) GetIsRegistrable added in v0.1.0

func (m *QueryDomainRegistrationFeeResponse) GetIsRegistrable() bool

func (*QueryDomainRegistrationFeeResponse) GetMaxSubDomainRegistrations added in v0.1.0

func (m *QueryDomainRegistrationFeeResponse) GetMaxSubDomainRegistrations() uint64

func (*QueryDomainRegistrationFeeResponse) GetRegistrationPeriodInYear added in v0.1.0

func (m *QueryDomainRegistrationFeeResponse) GetRegistrationPeriodInYear() uint64

func (*QueryDomainRegistrationFeeResponse) Marshal

func (m *QueryDomainRegistrationFeeResponse) Marshal() (dAtA []byte, err error)

func (*QueryDomainRegistrationFeeResponse) MarshalTo

func (m *QueryDomainRegistrationFeeResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryDomainRegistrationFeeResponse) MarshalToSizedBuffer

func (m *QueryDomainRegistrationFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDomainRegistrationFeeResponse) ProtoMessage

func (*QueryDomainRegistrationFeeResponse) ProtoMessage()

func (*QueryDomainRegistrationFeeResponse) Reset

func (*QueryDomainRegistrationFeeResponse) Size

func (*QueryDomainRegistrationFeeResponse) String

func (*QueryDomainRegistrationFeeResponse) Unmarshal

func (m *QueryDomainRegistrationFeeResponse) Unmarshal(dAtA []byte) error

func (*QueryDomainRegistrationFeeResponse) XXX_DiscardUnknown

func (m *QueryDomainRegistrationFeeResponse) XXX_DiscardUnknown()

func (*QueryDomainRegistrationFeeResponse) XXX_Marshal

func (m *QueryDomainRegistrationFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDomainRegistrationFeeResponse) XXX_Merge

func (*QueryDomainRegistrationFeeResponse) XXX_Size

func (*QueryDomainRegistrationFeeResponse) XXX_Unmarshal

func (m *QueryDomainRegistrationFeeResponse) XXX_Unmarshal(b []byte) error

type QueryGetDomainOwnershipRequest

type QueryGetDomainOwnershipRequest struct {
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
}

func (*QueryGetDomainOwnershipRequest) Descriptor

func (*QueryGetDomainOwnershipRequest) Descriptor() ([]byte, []int)

func (*QueryGetDomainOwnershipRequest) GetOwner

func (m *QueryGetDomainOwnershipRequest) GetOwner() string

func (*QueryGetDomainOwnershipRequest) Marshal

func (m *QueryGetDomainOwnershipRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetDomainOwnershipRequest) MarshalTo

func (m *QueryGetDomainOwnershipRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetDomainOwnershipRequest) MarshalToSizedBuffer

func (m *QueryGetDomainOwnershipRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetDomainOwnershipRequest) ProtoMessage

func (*QueryGetDomainOwnershipRequest) ProtoMessage()

func (*QueryGetDomainOwnershipRequest) Reset

func (m *QueryGetDomainOwnershipRequest) Reset()

func (*QueryGetDomainOwnershipRequest) Size

func (m *QueryGetDomainOwnershipRequest) Size() (n int)

func (*QueryGetDomainOwnershipRequest) String

func (*QueryGetDomainOwnershipRequest) Unmarshal

func (m *QueryGetDomainOwnershipRequest) Unmarshal(dAtA []byte) error

func (*QueryGetDomainOwnershipRequest) XXX_DiscardUnknown

func (m *QueryGetDomainOwnershipRequest) XXX_DiscardUnknown()

func (*QueryGetDomainOwnershipRequest) XXX_Marshal

func (m *QueryGetDomainOwnershipRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetDomainOwnershipRequest) XXX_Merge

func (m *QueryGetDomainOwnershipRequest) XXX_Merge(src proto.Message)

func (*QueryGetDomainOwnershipRequest) XXX_Size

func (m *QueryGetDomainOwnershipRequest) XXX_Size() int

func (*QueryGetDomainOwnershipRequest) XXX_Unmarshal

func (m *QueryGetDomainOwnershipRequest) XXX_Unmarshal(b []byte) error

type QueryGetDomainOwnershipResponse

type QueryGetDomainOwnershipResponse struct {
	DomainOwnership DomainOwnership `protobuf:"bytes,1,opt,name=domainOwnership,proto3" json:"domainOwnership"`
}

func (*QueryGetDomainOwnershipResponse) Descriptor

func (*QueryGetDomainOwnershipResponse) Descriptor() ([]byte, []int)

func (*QueryGetDomainOwnershipResponse) GetDomainOwnership

func (m *QueryGetDomainOwnershipResponse) GetDomainOwnership() DomainOwnership

func (*QueryGetDomainOwnershipResponse) Marshal

func (m *QueryGetDomainOwnershipResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetDomainOwnershipResponse) MarshalTo

func (m *QueryGetDomainOwnershipResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetDomainOwnershipResponse) MarshalToSizedBuffer

func (m *QueryGetDomainOwnershipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetDomainOwnershipResponse) ProtoMessage

func (*QueryGetDomainOwnershipResponse) ProtoMessage()

func (*QueryGetDomainOwnershipResponse) Reset

func (*QueryGetDomainOwnershipResponse) Size

func (m *QueryGetDomainOwnershipResponse) Size() (n int)

func (*QueryGetDomainOwnershipResponse) String

func (*QueryGetDomainOwnershipResponse) Unmarshal

func (m *QueryGetDomainOwnershipResponse) Unmarshal(dAtA []byte) error

func (*QueryGetDomainOwnershipResponse) XXX_DiscardUnknown

func (m *QueryGetDomainOwnershipResponse) XXX_DiscardUnknown()

func (*QueryGetDomainOwnershipResponse) XXX_Marshal

func (m *QueryGetDomainOwnershipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetDomainOwnershipResponse) XXX_Merge

func (m *QueryGetDomainOwnershipResponse) XXX_Merge(src proto.Message)

func (*QueryGetDomainOwnershipResponse) XXX_Size

func (m *QueryGetDomainOwnershipResponse) XXX_Size() int

func (*QueryGetDomainOwnershipResponse) XXX_Unmarshal

func (m *QueryGetDomainOwnershipResponse) XXX_Unmarshal(b []byte) error

type QueryGetSecondLevelDomainRequest added in v0.1.0

type QueryGetSecondLevelDomainRequest struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
}

func (*QueryGetSecondLevelDomainRequest) Descriptor added in v0.1.0

func (*QueryGetSecondLevelDomainRequest) Descriptor() ([]byte, []int)

func (*QueryGetSecondLevelDomainRequest) GetName added in v0.1.0

func (*QueryGetSecondLevelDomainRequest) GetParent added in v0.1.0

func (*QueryGetSecondLevelDomainRequest) Marshal added in v0.1.0

func (m *QueryGetSecondLevelDomainRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetSecondLevelDomainRequest) MarshalTo added in v0.1.0

func (m *QueryGetSecondLevelDomainRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetSecondLevelDomainRequest) MarshalToSizedBuffer added in v0.1.0

func (m *QueryGetSecondLevelDomainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetSecondLevelDomainRequest) ProtoMessage added in v0.1.0

func (*QueryGetSecondLevelDomainRequest) ProtoMessage()

func (*QueryGetSecondLevelDomainRequest) Reset added in v0.1.0

func (*QueryGetSecondLevelDomainRequest) Size added in v0.1.0

func (m *QueryGetSecondLevelDomainRequest) Size() (n int)

func (*QueryGetSecondLevelDomainRequest) String added in v0.1.0

func (*QueryGetSecondLevelDomainRequest) Unmarshal added in v0.1.0

func (m *QueryGetSecondLevelDomainRequest) Unmarshal(dAtA []byte) error

func (*QueryGetSecondLevelDomainRequest) XXX_DiscardUnknown added in v0.1.0

func (m *QueryGetSecondLevelDomainRequest) XXX_DiscardUnknown()

func (*QueryGetSecondLevelDomainRequest) XXX_Marshal added in v0.1.0

func (m *QueryGetSecondLevelDomainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetSecondLevelDomainRequest) XXX_Merge added in v0.1.0

func (*QueryGetSecondLevelDomainRequest) XXX_Size added in v0.1.0

func (m *QueryGetSecondLevelDomainRequest) XXX_Size() int

func (*QueryGetSecondLevelDomainRequest) XXX_Unmarshal added in v0.1.0

func (m *QueryGetSecondLevelDomainRequest) XXX_Unmarshal(b []byte) error

type QueryGetSecondLevelDomainResponse added in v0.1.0

type QueryGetSecondLevelDomainResponse struct {
	SecondLevelDomain SecondLevelDomainResponse `protobuf:"bytes,1,opt,name=secondLevelDomain,proto3" json:"secondLevelDomain"`
}

func (*QueryGetSecondLevelDomainResponse) Descriptor added in v0.1.0

func (*QueryGetSecondLevelDomainResponse) Descriptor() ([]byte, []int)

func (*QueryGetSecondLevelDomainResponse) GetSecondLevelDomain added in v0.1.0

func (*QueryGetSecondLevelDomainResponse) Marshal added in v0.1.0

func (m *QueryGetSecondLevelDomainResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetSecondLevelDomainResponse) MarshalTo added in v0.1.0

func (m *QueryGetSecondLevelDomainResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetSecondLevelDomainResponse) MarshalToSizedBuffer added in v0.1.0

func (m *QueryGetSecondLevelDomainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetSecondLevelDomainResponse) ProtoMessage added in v0.1.0

func (*QueryGetSecondLevelDomainResponse) ProtoMessage()

func (*QueryGetSecondLevelDomainResponse) Reset added in v0.1.0

func (*QueryGetSecondLevelDomainResponse) Size added in v0.1.0

func (m *QueryGetSecondLevelDomainResponse) Size() (n int)

func (*QueryGetSecondLevelDomainResponse) String added in v0.1.0

func (*QueryGetSecondLevelDomainResponse) Unmarshal added in v0.1.0

func (m *QueryGetSecondLevelDomainResponse) Unmarshal(dAtA []byte) error

func (*QueryGetSecondLevelDomainResponse) XXX_DiscardUnknown added in v0.1.0

func (m *QueryGetSecondLevelDomainResponse) XXX_DiscardUnknown()

func (*QueryGetSecondLevelDomainResponse) XXX_Marshal added in v0.1.0

func (m *QueryGetSecondLevelDomainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetSecondLevelDomainResponse) XXX_Merge added in v0.1.0

func (*QueryGetSecondLevelDomainResponse) XXX_Size added in v0.1.0

func (m *QueryGetSecondLevelDomainResponse) XXX_Size() int

func (*QueryGetSecondLevelDomainResponse) XXX_Unmarshal added in v0.1.0

func (m *QueryGetSecondLevelDomainResponse) XXX_Unmarshal(b []byte) error

type QueryGetTopLevelDomainRequest added in v0.1.0

type QueryGetTopLevelDomainRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}

func (*QueryGetTopLevelDomainRequest) Descriptor added in v0.1.0

func (*QueryGetTopLevelDomainRequest) Descriptor() ([]byte, []int)

func (*QueryGetTopLevelDomainRequest) GetName added in v0.1.0

func (*QueryGetTopLevelDomainRequest) Marshal added in v0.1.0

func (m *QueryGetTopLevelDomainRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetTopLevelDomainRequest) MarshalTo added in v0.1.0

func (m *QueryGetTopLevelDomainRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetTopLevelDomainRequest) MarshalToSizedBuffer added in v0.1.0

func (m *QueryGetTopLevelDomainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetTopLevelDomainRequest) ProtoMessage added in v0.1.0

func (*QueryGetTopLevelDomainRequest) ProtoMessage()

func (*QueryGetTopLevelDomainRequest) Reset added in v0.1.0

func (m *QueryGetTopLevelDomainRequest) Reset()

func (*QueryGetTopLevelDomainRequest) Size added in v0.1.0

func (m *QueryGetTopLevelDomainRequest) Size() (n int)

func (*QueryGetTopLevelDomainRequest) String added in v0.1.0

func (*QueryGetTopLevelDomainRequest) Unmarshal added in v0.1.0

func (m *QueryGetTopLevelDomainRequest) Unmarshal(dAtA []byte) error

func (*QueryGetTopLevelDomainRequest) XXX_DiscardUnknown added in v0.1.0

func (m *QueryGetTopLevelDomainRequest) XXX_DiscardUnknown()

func (*QueryGetTopLevelDomainRequest) XXX_Marshal added in v0.1.0

func (m *QueryGetTopLevelDomainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetTopLevelDomainRequest) XXX_Merge added in v0.1.0

func (m *QueryGetTopLevelDomainRequest) XXX_Merge(src proto.Message)

func (*QueryGetTopLevelDomainRequest) XXX_Size added in v0.1.0

func (m *QueryGetTopLevelDomainRequest) XXX_Size() int

func (*QueryGetTopLevelDomainRequest) XXX_Unmarshal added in v0.1.0

func (m *QueryGetTopLevelDomainRequest) XXX_Unmarshal(b []byte) error

type QueryGetTopLevelDomainResponse added in v0.1.0

type QueryGetTopLevelDomainResponse struct {
	TopLevelDomain TopLevelDomain `protobuf:"bytes,1,opt,name=topLevelDomain,proto3" json:"topLevelDomain"`
}

func (*QueryGetTopLevelDomainResponse) Descriptor added in v0.1.0

func (*QueryGetTopLevelDomainResponse) Descriptor() ([]byte, []int)

func (*QueryGetTopLevelDomainResponse) GetTopLevelDomain added in v0.1.0

func (m *QueryGetTopLevelDomainResponse) GetTopLevelDomain() TopLevelDomain

func (*QueryGetTopLevelDomainResponse) Marshal added in v0.1.0

func (m *QueryGetTopLevelDomainResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetTopLevelDomainResponse) MarshalTo added in v0.1.0

func (m *QueryGetTopLevelDomainResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetTopLevelDomainResponse) MarshalToSizedBuffer added in v0.1.0

func (m *QueryGetTopLevelDomainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetTopLevelDomainResponse) ProtoMessage added in v0.1.0

func (*QueryGetTopLevelDomainResponse) ProtoMessage()

func (*QueryGetTopLevelDomainResponse) Reset added in v0.1.0

func (m *QueryGetTopLevelDomainResponse) Reset()

func (*QueryGetTopLevelDomainResponse) Size added in v0.1.0

func (m *QueryGetTopLevelDomainResponse) Size() (n int)

func (*QueryGetTopLevelDomainResponse) String added in v0.1.0

func (*QueryGetTopLevelDomainResponse) Unmarshal added in v0.1.0

func (m *QueryGetTopLevelDomainResponse) Unmarshal(dAtA []byte) error

func (*QueryGetTopLevelDomainResponse) XXX_DiscardUnknown added in v0.1.0

func (m *QueryGetTopLevelDomainResponse) XXX_DiscardUnknown()

func (*QueryGetTopLevelDomainResponse) XXX_Marshal added in v0.1.0

func (m *QueryGetTopLevelDomainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetTopLevelDomainResponse) XXX_Merge added in v0.1.0

func (m *QueryGetTopLevelDomainResponse) XXX_Merge(src proto.Message)

func (*QueryGetTopLevelDomainResponse) XXX_Size added in v0.1.0

func (m *QueryGetTopLevelDomainResponse) XXX_Size() int

func (*QueryGetTopLevelDomainResponse) XXX_Unmarshal added in v0.1.0

func (m *QueryGetTopLevelDomainResponse) XXX_Unmarshal(b []byte) error

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor

func (*QueryParamsRequest) Descriptor() ([]byte, []int)

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor

func (*QueryParamsResponse) Descriptor() ([]byte, []int)

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryRoleRequest added in v0.1.1

type QueryRoleRequest struct {
	DomainName string `protobuf:"bytes,1,opt,name=domainName,proto3" json:"domainName,omitempty"`
	Address    string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryRoleRequest) Descriptor added in v0.1.1

func (*QueryRoleRequest) Descriptor() ([]byte, []int)

func (*QueryRoleRequest) GetAddress added in v0.1.1

func (m *QueryRoleRequest) GetAddress() string

func (*QueryRoleRequest) GetDomainName added in v0.1.1

func (m *QueryRoleRequest) GetDomainName() string

func (*QueryRoleRequest) Marshal added in v0.1.1

func (m *QueryRoleRequest) Marshal() (dAtA []byte, err error)

func (*QueryRoleRequest) MarshalTo added in v0.1.1

func (m *QueryRoleRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryRoleRequest) MarshalToSizedBuffer added in v0.1.1

func (m *QueryRoleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryRoleRequest) ProtoMessage added in v0.1.1

func (*QueryRoleRequest) ProtoMessage()

func (*QueryRoleRequest) Reset added in v0.1.1

func (m *QueryRoleRequest) Reset()

func (*QueryRoleRequest) Size added in v0.1.1

func (m *QueryRoleRequest) Size() (n int)

func (*QueryRoleRequest) String added in v0.1.1

func (m *QueryRoleRequest) String() string

func (*QueryRoleRequest) Unmarshal added in v0.1.1

func (m *QueryRoleRequest) Unmarshal(dAtA []byte) error

func (*QueryRoleRequest) XXX_DiscardUnknown added in v0.1.1

func (m *QueryRoleRequest) XXX_DiscardUnknown()

func (*QueryRoleRequest) XXX_Marshal added in v0.1.1

func (m *QueryRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryRoleRequest) XXX_Merge added in v0.1.1

func (m *QueryRoleRequest) XXX_Merge(src proto.Message)

func (*QueryRoleRequest) XXX_Size added in v0.1.1

func (m *QueryRoleRequest) XXX_Size() int

func (*QueryRoleRequest) XXX_Unmarshal added in v0.1.1

func (m *QueryRoleRequest) XXX_Unmarshal(b []byte) error

type QueryRoleResponse added in v0.1.1

type QueryRoleResponse struct {
	Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
}

func (*QueryRoleResponse) Descriptor added in v0.1.1

func (*QueryRoleResponse) Descriptor() ([]byte, []int)

func (*QueryRoleResponse) GetRole added in v0.1.1

func (m *QueryRoleResponse) GetRole() string

func (*QueryRoleResponse) Marshal added in v0.1.1

func (m *QueryRoleResponse) Marshal() (dAtA []byte, err error)

func (*QueryRoleResponse) MarshalTo added in v0.1.1

func (m *QueryRoleResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryRoleResponse) MarshalToSizedBuffer added in v0.1.1

func (m *QueryRoleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryRoleResponse) ProtoMessage added in v0.1.1

func (*QueryRoleResponse) ProtoMessage()

func (*QueryRoleResponse) Reset added in v0.1.1

func (m *QueryRoleResponse) Reset()

func (*QueryRoleResponse) Size added in v0.1.1

func (m *QueryRoleResponse) Size() (n int)

func (*QueryRoleResponse) String added in v0.1.1

func (m *QueryRoleResponse) String() string

func (*QueryRoleResponse) Unmarshal added in v0.1.1

func (m *QueryRoleResponse) Unmarshal(dAtA []byte) error

func (*QueryRoleResponse) XXX_DiscardUnknown added in v0.1.1

func (m *QueryRoleResponse) XXX_DiscardUnknown()

func (*QueryRoleResponse) XXX_Marshal added in v0.1.1

func (m *QueryRoleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryRoleResponse) XXX_Merge added in v0.1.1

func (m *QueryRoleResponse) XXX_Merge(src proto.Message)

func (*QueryRoleResponse) XXX_Size added in v0.1.1

func (m *QueryRoleResponse) XXX_Size() int

func (*QueryRoleResponse) XXX_Unmarshal added in v0.1.1

func (m *QueryRoleResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of TopLevelDomain items.
	TopLevelDomain(context.Context, *QueryGetTopLevelDomainRequest) (*QueryGetTopLevelDomainResponse, error)
	TopLevelDomainAll(context.Context, *QueryAllTopLevelDomainRequest) (*QueryAllTopLevelDomainResponse, error)
	// Queries a list of SecondLevelDomain items.
	SecondLevelDomain(context.Context, *QueryGetSecondLevelDomainRequest) (*QueryGetSecondLevelDomainResponse, error)
	SecondLevelDomainAll(context.Context, *QueryAllSecondLevelDomainRequest) (*QueryAllSecondLevelDomainResponse, error)
	// Queries a list of DomainOwnership items.
	DomainOwnership(context.Context, *QueryGetDomainOwnershipRequest) (*QueryGetDomainOwnershipResponse, error)
	DomainOwnershipAll(context.Context, *QueryAllDomainOwnershipRequest) (*QueryAllDomainOwnershipResponse, error)
	// Queries a list of DomainRegistrationFee items.
	DomainRegistrationFee(context.Context, *QueryDomainRegistrationFeeRequest) (*QueryDomainRegistrationFeeResponse, error)
	// Queries a list of Role items.
	Role(context.Context, *QueryRoleRequest) (*QueryRoleResponse, error)
}

QueryServer is the server API for Query service.

type Record added in v0.1.0

type Record struct {
	// Types that are valid to be assigned to Record:
	//
	//	*Record_DnsRecord
	//	*Record_WalletRecord
	//	*Record_TextRecord
	Record isRecord_Record `protobuf_oneof:"record"`
}

func (*Record) Descriptor added in v0.1.0

func (*Record) Descriptor() ([]byte, []int)

func (*Record) GetDnsRecord added in v0.1.0

func (m *Record) GetDnsRecord() *DnsRecord

func (*Record) GetRecord added in v0.1.0

func (m *Record) GetRecord() isRecord_Record

func (*Record) GetTextRecord added in v0.1.2

func (m *Record) GetTextRecord() *TextRecord

func (*Record) GetWalletRecord added in v0.1.0

func (m *Record) GetWalletRecord() *WalletRecord

func (*Record) Marshal added in v0.1.0

func (m *Record) Marshal() (dAtA []byte, err error)

func (*Record) MarshalTo added in v0.1.0

func (m *Record) MarshalTo(dAtA []byte) (int, error)

func (*Record) MarshalToSizedBuffer added in v0.1.0

func (m *Record) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Record) ProtoMessage added in v0.1.0

func (*Record) ProtoMessage()

func (*Record) Reset added in v0.1.0

func (m *Record) Reset()

func (*Record) Size added in v0.1.0

func (m *Record) Size() (n int)

func (*Record) String added in v0.1.0

func (m *Record) String() string

func (*Record) Unmarshal added in v0.1.0

func (m *Record) Unmarshal(dAtA []byte) error

func (*Record) XXX_DiscardUnknown added in v0.1.0

func (m *Record) XXX_DiscardUnknown()

func (*Record) XXX_Marshal added in v0.1.0

func (m *Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Record) XXX_Merge added in v0.1.0

func (m *Record) XXX_Merge(src proto.Message)

func (*Record) XXX_OneofWrappers added in v0.1.0

func (*Record) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Record) XXX_Size added in v0.1.0

func (m *Record) XXX_Size() int

func (*Record) XXX_Unmarshal added in v0.1.0

func (m *Record) XXX_Unmarshal(b []byte) error

type Record_DnsRecord added in v0.1.0

type Record_DnsRecord struct {
	DnsRecord *DnsRecord `protobuf:"bytes,1,opt,name=dnsRecord,proto3,oneof" json:"dnsRecord,omitempty"`
}

func (*Record_DnsRecord) MarshalTo added in v0.1.0

func (m *Record_DnsRecord) MarshalTo(dAtA []byte) (int, error)

func (*Record_DnsRecord) MarshalToSizedBuffer added in v0.1.0

func (m *Record_DnsRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Record_DnsRecord) Size added in v0.1.0

func (m *Record_DnsRecord) Size() (n int)

type Record_TextRecord added in v0.1.2

type Record_TextRecord struct {
	TextRecord *TextRecord `protobuf:"bytes,3,opt,name=textRecord,proto3,oneof" json:"textRecord,omitempty"`
}

func (*Record_TextRecord) MarshalTo added in v0.1.2

func (m *Record_TextRecord) MarshalTo(dAtA []byte) (int, error)

func (*Record_TextRecord) MarshalToSizedBuffer added in v0.1.2

func (m *Record_TextRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Record_TextRecord) Size added in v0.1.2

func (m *Record_TextRecord) Size() (n int)

type Record_WalletRecord added in v0.1.0

type Record_WalletRecord struct {
	WalletRecord *WalletRecord `protobuf:"bytes,2,opt,name=walletRecord,proto3,oneof" json:"walletRecord,omitempty"`
}

func (*Record_WalletRecord) MarshalTo added in v0.1.0

func (m *Record_WalletRecord) MarshalTo(dAtA []byte) (int, error)

func (*Record_WalletRecord) MarshalToSizedBuffer added in v0.1.0

func (m *Record_WalletRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Record_WalletRecord) Size added in v0.1.0

func (m *Record_WalletRecord) Size() (n int)

type RegistrationPolicyType added in v0.1.2

type RegistrationPolicyType int32
const (
	RegistrationPolicyType_PRIVATE RegistrationPolicyType = 0
	RegistrationPolicyType_PUBLIC  RegistrationPolicyType = 1
)

func (RegistrationPolicyType) EnumDescriptor added in v0.1.2

func (RegistrationPolicyType) EnumDescriptor() ([]byte, []int)

func (RegistrationPolicyType) String added in v0.1.2

func (x RegistrationPolicyType) String() string

type SecondLevelDomain added in v0.1.0

type SecondLevelDomain struct {
	Name           string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Parent         string           `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
	Owner          string           `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
	ExpirationDate time.Time        `protobuf:"bytes,4,opt,name=expirationDate,proto3,stdtime" json:"expirationDate"`
	Records        []*Record        `protobuf:"bytes,5,rep,name=records,proto3" json:"records,omitempty"`
	AccessControl  []*AccessControl `protobuf:"bytes,6,rep,name=accessControl,proto3" json:"accessControl,omitempty"`
}

func (*SecondLevelDomain) Descriptor added in v0.1.0

func (*SecondLevelDomain) Descriptor() ([]byte, []int)

func (*SecondLevelDomain) GetAccessControl added in v0.1.0

func (m *SecondLevelDomain) GetAccessControl() []*AccessControl

func (*SecondLevelDomain) GetDnsRecord added in v0.1.2

func (secondLevelDomain *SecondLevelDomain) GetDnsRecord(dnsRecordType string) string

func (*SecondLevelDomain) GetExpirationDate added in v0.1.0

func (m *SecondLevelDomain) GetExpirationDate() time.Time

func (*SecondLevelDomain) GetName added in v0.1.0

func (m *SecondLevelDomain) GetName() string

func (*SecondLevelDomain) GetOwner added in v0.1.0

func (m *SecondLevelDomain) GetOwner() string

func (*SecondLevelDomain) GetParent added in v0.1.0

func (m *SecondLevelDomain) GetParent() string

func (*SecondLevelDomain) GetRecords added in v0.1.0

func (m *SecondLevelDomain) GetRecords() []*Record

func (*SecondLevelDomain) GetRole added in v0.1.1

func (secondLevelDomain *SecondLevelDomain) GetRole(address string) (role DomainRole)

func (*SecondLevelDomain) GetTextRecord added in v0.1.2

func (secondLevelDomain *SecondLevelDomain) GetTextRecord(key string) string

func (*SecondLevelDomain) GetWalletRecord added in v0.1.2

func (secondLevelDomain *SecondLevelDomain) GetWalletRecord(walletRecordType string) string

func (SecondLevelDomain) IsRecordEditable added in v0.1.0

func (secondLevelDomain SecondLevelDomain) IsRecordEditable(sender string) (isEditable bool, err error)

func (*SecondLevelDomain) Marshal added in v0.1.0

func (m *SecondLevelDomain) Marshal() (dAtA []byte, err error)

func (*SecondLevelDomain) MarshalTo added in v0.1.0

func (m *SecondLevelDomain) MarshalTo(dAtA []byte) (int, error)

func (*SecondLevelDomain) MarshalToSizedBuffer added in v0.1.0

func (m *SecondLevelDomain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (SecondLevelDomain) ParseParent added in v0.1.0

func (secondLevelDomain SecondLevelDomain) ParseParent() (parent string)

func (*SecondLevelDomain) ProtoMessage added in v0.1.0

func (*SecondLevelDomain) ProtoMessage()

func (*SecondLevelDomain) Reset added in v0.1.0

func (m *SecondLevelDomain) Reset()

func (*SecondLevelDomain) Size added in v0.1.0

func (m *SecondLevelDomain) Size() (n int)

func (*SecondLevelDomain) String added in v0.1.0

func (m *SecondLevelDomain) String() string

func (*SecondLevelDomain) Unmarshal added in v0.1.0

func (m *SecondLevelDomain) Unmarshal(dAtA []byte) error

func (*SecondLevelDomain) UpdateDnsRecord added in v0.1.0

func (secondLevelDomain *SecondLevelDomain) UpdateDnsRecord(dnsRecordType string, value string) (err error)

func (*SecondLevelDomain) UpdateTextRecord added in v0.1.2

func (secondLevelDomain *SecondLevelDomain) UpdateTextRecord(key string, value string) (err error)

func (*SecondLevelDomain) UpdateWalletRecord added in v0.1.0

func (secondLevelDomain *SecondLevelDomain) UpdateWalletRecord(walletRecordType string, address string) (err error)

func (SecondLevelDomain) Validate added in v0.1.0

func (secondLevelDomain SecondLevelDomain) Validate() (err error)

func (SecondLevelDomain) ValidateName added in v0.1.0

func (secondLevelDomain SecondLevelDomain) ValidateName() (err error)

func (SecondLevelDomain) ValidateParent added in v0.1.0

func (secondLevelDomain SecondLevelDomain) ValidateParent() (err error)

func (*SecondLevelDomain) XXX_DiscardUnknown added in v0.1.0

func (m *SecondLevelDomain) XXX_DiscardUnknown()

func (*SecondLevelDomain) XXX_Marshal added in v0.1.0

func (m *SecondLevelDomain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecondLevelDomain) XXX_Merge added in v0.1.0

func (m *SecondLevelDomain) XXX_Merge(src proto.Message)

func (*SecondLevelDomain) XXX_Size added in v0.1.0

func (m *SecondLevelDomain) XXX_Size() int

func (*SecondLevelDomain) XXX_Unmarshal added in v0.1.0

func (m *SecondLevelDomain) XXX_Unmarshal(b []byte) error

type SecondLevelDomainResponse added in v0.1.0

type SecondLevelDomainResponse struct {
	Name           string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Parent         string    `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
	ExpirationDate time.Time `protobuf:"bytes,3,opt,name=expirationDate,proto3,stdtime" json:"expirationDate"`
}

func (*SecondLevelDomainResponse) Descriptor added in v0.1.0

func (*SecondLevelDomainResponse) Descriptor() ([]byte, []int)

func (*SecondLevelDomainResponse) GetExpirationDate added in v0.1.0

func (m *SecondLevelDomainResponse) GetExpirationDate() time.Time

func (*SecondLevelDomainResponse) GetName added in v0.1.0

func (m *SecondLevelDomainResponse) GetName() string

func (*SecondLevelDomainResponse) GetParent added in v0.1.0

func (m *SecondLevelDomainResponse) GetParent() string

func (*SecondLevelDomainResponse) Marshal added in v0.1.0

func (m *SecondLevelDomainResponse) Marshal() (dAtA []byte, err error)

func (*SecondLevelDomainResponse) MarshalTo added in v0.1.0

func (m *SecondLevelDomainResponse) MarshalTo(dAtA []byte) (int, error)

func (*SecondLevelDomainResponse) MarshalToSizedBuffer added in v0.1.0

func (m *SecondLevelDomainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecondLevelDomainResponse) ProtoMessage added in v0.1.0

func (*SecondLevelDomainResponse) ProtoMessage()

func (*SecondLevelDomainResponse) Reset added in v0.1.0

func (m *SecondLevelDomainResponse) Reset()

func (*SecondLevelDomainResponse) Size added in v0.1.0

func (m *SecondLevelDomainResponse) Size() (n int)

func (*SecondLevelDomainResponse) String added in v0.1.0

func (m *SecondLevelDomainResponse) String() string

func (*SecondLevelDomainResponse) Unmarshal added in v0.1.0

func (m *SecondLevelDomainResponse) Unmarshal(dAtA []byte) error

func (*SecondLevelDomainResponse) XXX_DiscardUnknown added in v0.1.0

func (m *SecondLevelDomainResponse) XXX_DiscardUnknown()

func (*SecondLevelDomainResponse) XXX_Marshal added in v0.1.0

func (m *SecondLevelDomainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecondLevelDomainResponse) XXX_Merge added in v0.1.0

func (m *SecondLevelDomainResponse) XXX_Merge(src proto.Message)

func (*SecondLevelDomainResponse) XXX_Size added in v0.1.0

func (m *SecondLevelDomainResponse) XXX_Size() int

func (*SecondLevelDomainResponse) XXX_Unmarshal added in v0.1.0

func (m *SecondLevelDomainResponse) XXX_Unmarshal(b []byte) error

type SubdomainConfig added in v0.1.0

type SubdomainConfig struct {
	MaxSubdomainRegistrations uint64                     `protobuf:"varint,1,opt,name=maxSubdomainRegistrations,proto3" json:"maxSubdomainRegistrations,omitempty"`
	SubdomainRegistrationFees *SubdomainRegistrationFees `protobuf:"bytes,2,opt,name=subdomainRegistrationFees,proto3" json:"subdomainRegistrationFees,omitempty"`
	IsRegistrable             bool                       `protobuf:"varint,3,opt,name=isRegistrable,proto3" json:"isRegistrable,omitempty"`
	RegistrableRole           DomainRole                 `protobuf:"varint,4,opt,name=registrableRole,proto3,enum=mycel.registry.DomainRole" json:"registrableRole,omitempty"`
	CustomExpirationDate      bool                       `protobuf:"varint,5,opt,name=customExpirationDate,proto3" json:"customExpirationDate,omitempty"`
	RegistrationPolicy        RegistrationPolicyType     `` /* 133-byte string literal not displayed */
}

func GetDefaultSubdomainConfig added in v0.1.0

func GetDefaultSubdomainConfig(baseFee int64) SubdomainConfig

func (*SubdomainConfig) Descriptor added in v0.1.0

func (*SubdomainConfig) Descriptor() ([]byte, []int)

func (*SubdomainConfig) GetCustomExpirationDate added in v0.1.2

func (m *SubdomainConfig) GetCustomExpirationDate() bool

func (*SubdomainConfig) GetIsRegistrable added in v0.1.2

func (m *SubdomainConfig) GetIsRegistrable() bool

func (*SubdomainConfig) GetMaxSubdomainRegistrations added in v0.1.0

func (m *SubdomainConfig) GetMaxSubdomainRegistrations() uint64

func (*SubdomainConfig) GetRegistrableRole added in v0.1.2

func (m *SubdomainConfig) GetRegistrableRole() DomainRole

func (SubdomainConfig) GetRegistrationFee added in v0.1.0

func (config SubdomainConfig) GetRegistrationFee(name string, registrationPeriodInYear uint64) (amount sdk.Coin, err error)

func (*SubdomainConfig) GetRegistrationPolicy added in v0.1.2

func (m *SubdomainConfig) GetRegistrationPolicy() RegistrationPolicyType

func (*SubdomainConfig) GetSubdomainRegistrationFees added in v0.1.0

func (m *SubdomainConfig) GetSubdomainRegistrationFees() *SubdomainRegistrationFees

func (*SubdomainConfig) Marshal added in v0.1.0

func (m *SubdomainConfig) Marshal() (dAtA []byte, err error)

func (*SubdomainConfig) MarshalTo added in v0.1.0

func (m *SubdomainConfig) MarshalTo(dAtA []byte) (int, error)

func (*SubdomainConfig) MarshalToSizedBuffer added in v0.1.0

func (m *SubdomainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubdomainConfig) ProtoMessage added in v0.1.0

func (*SubdomainConfig) ProtoMessage()

func (*SubdomainConfig) Reset added in v0.1.0

func (m *SubdomainConfig) Reset()

func (*SubdomainConfig) Size added in v0.1.0

func (m *SubdomainConfig) Size() (n int)

func (*SubdomainConfig) String added in v0.1.0

func (m *SubdomainConfig) String() string

func (*SubdomainConfig) Unmarshal added in v0.1.0

func (m *SubdomainConfig) Unmarshal(dAtA []byte) error

func (*SubdomainConfig) XXX_DiscardUnknown added in v0.1.0

func (m *SubdomainConfig) XXX_DiscardUnknown()

func (*SubdomainConfig) XXX_Marshal added in v0.1.0

func (m *SubdomainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubdomainConfig) XXX_Merge added in v0.1.0

func (m *SubdomainConfig) XXX_Merge(src proto.Message)

func (*SubdomainConfig) XXX_Size added in v0.1.0

func (m *SubdomainConfig) XXX_Size() int

func (*SubdomainConfig) XXX_Unmarshal added in v0.1.0

func (m *SubdomainConfig) XXX_Unmarshal(b []byte) error

type SubdomainRegistrationFees added in v0.1.0

type SubdomainRegistrationFees struct {
	FeeByLength []*FeeByLength `protobuf:"bytes,1,rep,name=feeByLength,proto3" json:"feeByLength,omitempty"`
	FeeByName   []*FeeByName   `protobuf:"bytes,2,rep,name=feeByName,proto3" json:"feeByName,omitempty"`
	DefaultFee  *types.Coin    `protobuf:"bytes,3,opt,name=defaultFee,proto3" json:"defaultFee,omitempty"`
}

func (*SubdomainRegistrationFees) Descriptor added in v0.1.0

func (*SubdomainRegistrationFees) Descriptor() ([]byte, []int)

func (*SubdomainRegistrationFees) GetDefaultFee added in v0.1.0

func (m *SubdomainRegistrationFees) GetDefaultFee() *types.Coin

func (*SubdomainRegistrationFees) GetFeeByLength added in v0.1.0

func (m *SubdomainRegistrationFees) GetFeeByLength() []*FeeByLength

func (*SubdomainRegistrationFees) GetFeeByName added in v0.1.0

func (m *SubdomainRegistrationFees) GetFeeByName() []*FeeByName

func (*SubdomainRegistrationFees) Marshal added in v0.1.0

func (m *SubdomainRegistrationFees) Marshal() (dAtA []byte, err error)

func (*SubdomainRegistrationFees) MarshalTo added in v0.1.0

func (m *SubdomainRegistrationFees) MarshalTo(dAtA []byte) (int, error)

func (*SubdomainRegistrationFees) MarshalToSizedBuffer added in v0.1.0

func (m *SubdomainRegistrationFees) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubdomainRegistrationFees) ProtoMessage added in v0.1.0

func (*SubdomainRegistrationFees) ProtoMessage()

func (*SubdomainRegistrationFees) Reset added in v0.1.0

func (m *SubdomainRegistrationFees) Reset()

func (*SubdomainRegistrationFees) Size added in v0.1.0

func (m *SubdomainRegistrationFees) Size() (n int)

func (*SubdomainRegistrationFees) String added in v0.1.0

func (m *SubdomainRegistrationFees) String() string

func (*SubdomainRegistrationFees) Unmarshal added in v0.1.0

func (m *SubdomainRegistrationFees) Unmarshal(dAtA []byte) error

func (*SubdomainRegistrationFees) XXX_DiscardUnknown added in v0.1.0

func (m *SubdomainRegistrationFees) XXX_DiscardUnknown()

func (*SubdomainRegistrationFees) XXX_Marshal added in v0.1.0

func (m *SubdomainRegistrationFees) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubdomainRegistrationFees) XXX_Merge added in v0.1.0

func (m *SubdomainRegistrationFees) XXX_Merge(src proto.Message)

func (*SubdomainRegistrationFees) XXX_Size added in v0.1.0

func (m *SubdomainRegistrationFees) XXX_Size() int

func (*SubdomainRegistrationFees) XXX_Unmarshal added in v0.1.0

func (m *SubdomainRegistrationFees) XXX_Unmarshal(b []byte) error

type TextRecord added in v0.1.2

type TextRecord struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*TextRecord) Descriptor added in v0.1.2

func (*TextRecord) Descriptor() ([]byte, []int)

func (*TextRecord) GetKey added in v0.1.2

func (m *TextRecord) GetKey() string

func (*TextRecord) GetValue added in v0.1.2

func (m *TextRecord) GetValue() string

func (*TextRecord) Marshal added in v0.1.2

func (m *TextRecord) Marshal() (dAtA []byte, err error)

func (*TextRecord) MarshalTo added in v0.1.2

func (m *TextRecord) MarshalTo(dAtA []byte) (int, error)

func (*TextRecord) MarshalToSizedBuffer added in v0.1.2

func (m *TextRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TextRecord) ProtoMessage added in v0.1.2

func (*TextRecord) ProtoMessage()

func (*TextRecord) Reset added in v0.1.2

func (m *TextRecord) Reset()

func (*TextRecord) Size added in v0.1.2

func (m *TextRecord) Size() (n int)

func (*TextRecord) String added in v0.1.2

func (m *TextRecord) String() string

func (*TextRecord) Unmarshal added in v0.1.2

func (m *TextRecord) Unmarshal(dAtA []byte) error

func (*TextRecord) XXX_DiscardUnknown added in v0.1.2

func (m *TextRecord) XXX_DiscardUnknown()

func (*TextRecord) XXX_Marshal added in v0.1.2

func (m *TextRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TextRecord) XXX_Merge added in v0.1.2

func (m *TextRecord) XXX_Merge(src proto.Message)

func (*TextRecord) XXX_Size added in v0.1.2

func (m *TextRecord) XXX_Size() int

func (*TextRecord) XXX_Unmarshal added in v0.1.2

func (m *TextRecord) XXX_Unmarshal(b []byte) error

type TopLevelDomain added in v0.1.0

type TopLevelDomain struct {
	Name                  string                                   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ExpirationDate        time.Time                                `protobuf:"bytes,2,opt,name=expirationDate,proto3,stdtime" json:"expirationDate"`
	SubdomainConfig       *SubdomainConfig                         `protobuf:"bytes,3,opt,name=subdomainConfig,proto3" json:"subdomainConfig,omitempty"`
	SubdomainCount        uint64                                   `protobuf:"varint,4,opt,name=subdomainCount,proto3" json:"subdomainCount,omitempty"`
	AccessControl         []*AccessControl                         `protobuf:"bytes,5,rep,name=accessControl,proto3" json:"accessControl,omitempty"`
	TotalWithdrawalAmount github_com_cosmos_cosmos_sdk_types.Coins `` /* 139-byte string literal not displayed */
}

func GetDefaultTLDs

func GetDefaultTLDs() (defaultTLDs []TopLevelDomain)

Get default TLDs

func (*TopLevelDomain) Descriptor added in v0.1.0

func (*TopLevelDomain) Descriptor() ([]byte, []int)

func (*TopLevelDomain) ExtendExpirationDate added in v0.1.0

func (topLevelDomain *TopLevelDomain) ExtendExpirationDate(from time.Time, extensionPeriodInYear uint64) (expirationDate time.Time)

func (*TopLevelDomain) GetAccessControl added in v0.1.0

func (m *TopLevelDomain) GetAccessControl() []*AccessControl

func (*TopLevelDomain) GetExpirationDate added in v0.1.0

func (m *TopLevelDomain) GetExpirationDate() time.Time

func (*TopLevelDomain) GetName added in v0.1.0

func (m *TopLevelDomain) GetName() string

func (TopLevelDomain) GetRegistrationFeeAmountInDenom added in v0.1.0

func (topLevelDomain TopLevelDomain) GetRegistrationFeeAmountInDenom(denom string, baseFeeInUsd int64, registrationPeriodInYear uint64) (amount math.Int, err error)

func (*TopLevelDomain) GetRole added in v0.1.1

func (topLevelDomain *TopLevelDomain) GetRole(address string) (role DomainRole)

func (*TopLevelDomain) GetSubdomainConfig added in v0.1.0

func (m *TopLevelDomain) GetSubdomainConfig() *SubdomainConfig

func (*TopLevelDomain) GetSubdomainCount added in v0.1.0

func (m *TopLevelDomain) GetSubdomainCount() uint64

func (*TopLevelDomain) GetTotalWithdrawalAmount added in v0.1.0

func (m *TopLevelDomain) GetTotalWithdrawalAmount() github_com_cosmos_cosmos_sdk_types.Coins

func (TopLevelDomain) IsEditable added in v0.1.0

func (topLevelDomain TopLevelDomain) IsEditable(sender string) (isEditable bool, err error)

func (*TopLevelDomain) Marshal added in v0.1.0

func (m *TopLevelDomain) Marshal() (dAtA []byte, err error)

func (*TopLevelDomain) MarshalTo added in v0.1.0

func (m *TopLevelDomain) MarshalTo(dAtA []byte) (int, error)

func (*TopLevelDomain) MarshalToSizedBuffer added in v0.1.0

func (m *TopLevelDomain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TopLevelDomain) ProtoMessage added in v0.1.0

func (*TopLevelDomain) ProtoMessage()

func (*TopLevelDomain) Reset added in v0.1.0

func (m *TopLevelDomain) Reset()

func (*TopLevelDomain) Size added in v0.1.0

func (m *TopLevelDomain) Size() (n int)

func (*TopLevelDomain) String added in v0.1.0

func (m *TopLevelDomain) String() string

func (*TopLevelDomain) Unmarshal added in v0.1.0

func (m *TopLevelDomain) Unmarshal(dAtA []byte) error

func (*TopLevelDomain) UpdateRegistrationPolicy added in v0.1.2

func (topLevelDomain *TopLevelDomain) UpdateRegistrationPolicy(rp RegistrationPolicyType)

func (TopLevelDomain) Validate added in v0.1.0

func (topLevelDomain TopLevelDomain) Validate() (err error)

func (TopLevelDomain) ValidateName added in v0.1.0

func (topLevelDomain TopLevelDomain) ValidateName() (err error)

func (TopLevelDomain) ValidateTopLevelDomainRegistrationPolicy added in v0.1.2

func (topLevelDomain TopLevelDomain) ValidateTopLevelDomainRegistrationPolicy(rps string) (RegistrationPolicyType, error)

func (*TopLevelDomain) XXX_DiscardUnknown added in v0.1.0

func (m *TopLevelDomain) XXX_DiscardUnknown()

func (*TopLevelDomain) XXX_Marshal added in v0.1.0

func (m *TopLevelDomain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TopLevelDomain) XXX_Merge added in v0.1.0

func (m *TopLevelDomain) XXX_Merge(src proto.Message)

func (*TopLevelDomain) XXX_Size added in v0.1.0

func (m *TopLevelDomain) XXX_Size() int

func (*TopLevelDomain) XXX_Unmarshal added in v0.1.0

func (m *TopLevelDomain) XXX_Unmarshal(b []byte) error

type TopLevelDomainFee added in v0.1.0

type TopLevelDomainFee struct {
	TotalFee      github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=totalFee,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"totalFee"`
	BurnWeight    string                                   `protobuf:"bytes,2,opt,name=burnWeight,proto3" json:"burnWeight,omitempty"`
	FeeToBurn     types.Coin                               `protobuf:"bytes,3,opt,name=feeToBurn,proto3,castvalue=github.com/cosmos/cosmos-sdk/types.Coin" json:"feeToBurn"`
	FeeToTreasury types.Coin                               `protobuf:"bytes,4,opt,name=feeToTreasury,proto3,castvalue=github.com/cosmos/cosmos-sdk/types.Coin" json:"feeToTreasury"`
}

func (*TopLevelDomainFee) Descriptor added in v0.1.0

func (*TopLevelDomainFee) Descriptor() ([]byte, []int)

func (*TopLevelDomainFee) GetBurnWeight added in v0.1.0

func (m *TopLevelDomainFee) GetBurnWeight() string

func (*TopLevelDomainFee) GetFeeToBurn added in v0.1.0

func (m *TopLevelDomainFee) GetFeeToBurn() types.Coin

func (*TopLevelDomainFee) GetFeeToTreasury added in v0.1.0

func (m *TopLevelDomainFee) GetFeeToTreasury() types.Coin

func (*TopLevelDomainFee) GetTotalFee added in v0.1.0

func (*TopLevelDomainFee) Marshal added in v0.1.0

func (m *TopLevelDomainFee) Marshal() (dAtA []byte, err error)

func (*TopLevelDomainFee) MarshalTo added in v0.1.0

func (m *TopLevelDomainFee) MarshalTo(dAtA []byte) (int, error)

func (*TopLevelDomainFee) MarshalToSizedBuffer added in v0.1.0

func (m *TopLevelDomainFee) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TopLevelDomainFee) ProtoMessage added in v0.1.0

func (*TopLevelDomainFee) ProtoMessage()

func (*TopLevelDomainFee) Reset added in v0.1.0

func (m *TopLevelDomainFee) Reset()

func (*TopLevelDomainFee) Size added in v0.1.0

func (m *TopLevelDomainFee) Size() (n int)

func (*TopLevelDomainFee) String added in v0.1.0

func (m *TopLevelDomainFee) String() string

func (*TopLevelDomainFee) Unmarshal added in v0.1.0

func (m *TopLevelDomainFee) Unmarshal(dAtA []byte) error

func (*TopLevelDomainFee) XXX_DiscardUnknown added in v0.1.0

func (m *TopLevelDomainFee) XXX_DiscardUnknown()

func (*TopLevelDomainFee) XXX_Marshal added in v0.1.0

func (m *TopLevelDomainFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TopLevelDomainFee) XXX_Merge added in v0.1.0

func (m *TopLevelDomainFee) XXX_Merge(src proto.Message)

func (*TopLevelDomainFee) XXX_Size added in v0.1.0

func (m *TopLevelDomainFee) XXX_Size() int

func (*TopLevelDomainFee) XXX_Unmarshal added in v0.1.0

func (m *TopLevelDomainFee) XXX_Unmarshal(b []byte) error

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) ExtendTopLevelDomainExpirationDate added in v0.1.0

func (*UnimplementedMsgServer) RegisterSecondLevelDomain added in v0.1.0

func (*UnimplementedMsgServer) RegisterTopLevelDomain added in v0.1.0

func (*UnimplementedMsgServer) UpdateDnsRecord

func (*UnimplementedMsgServer) UpdateTextRecord added in v0.1.2

func (*UnimplementedMsgServer) UpdateTopLevelDomainRegistrationPolicy added in v0.1.2

func (*UnimplementedMsgServer) UpdateWalletRecord

func (*UnimplementedMsgServer) WithdrawRegistrationFee added in v0.1.0

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) DomainOwnership

func (*UnimplementedQueryServer) DomainOwnershipAll

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) Role added in v0.1.1

func (*UnimplementedQueryServer) SecondLevelDomain added in v0.1.0

func (*UnimplementedQueryServer) SecondLevelDomainAll added in v0.1.0

func (*UnimplementedQueryServer) TopLevelDomain added in v0.1.0

func (*UnimplementedQueryServer) TopLevelDomainAll added in v0.1.0

type WalletRecord

type WalletRecord struct {
	WalletRecordType NetworkName `protobuf:"varint,1,opt,name=walletRecordType,proto3,enum=mycel.registry.NetworkName" json:"walletRecordType,omitempty"`
	Value            string      `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*WalletRecord) Descriptor

func (*WalletRecord) Descriptor() ([]byte, []int)

func (*WalletRecord) GetValue

func (m *WalletRecord) GetValue() string

func (*WalletRecord) GetWalletRecordType

func (m *WalletRecord) GetWalletRecordType() NetworkName

func (*WalletRecord) Marshal

func (m *WalletRecord) Marshal() (dAtA []byte, err error)

func (*WalletRecord) MarshalTo

func (m *WalletRecord) MarshalTo(dAtA []byte) (int, error)

func (*WalletRecord) MarshalToSizedBuffer

func (m *WalletRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WalletRecord) ProtoMessage

func (*WalletRecord) ProtoMessage()

func (*WalletRecord) Reset

func (m *WalletRecord) Reset()

func (*WalletRecord) Size

func (m *WalletRecord) Size() (n int)

func (*WalletRecord) String

func (m *WalletRecord) String() string

func (*WalletRecord) Unmarshal

func (m *WalletRecord) Unmarshal(dAtA []byte) error

func (*WalletRecord) XXX_DiscardUnknown

func (m *WalletRecord) XXX_DiscardUnknown()

func (*WalletRecord) XXX_Marshal

func (m *WalletRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WalletRecord) XXX_Merge

func (m *WalletRecord) XXX_Merge(src proto.Message)

func (*WalletRecord) XXX_Size

func (m *WalletRecord) XXX_Size() int

func (*WalletRecord) XXX_Unmarshal

func (m *WalletRecord) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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