rename nameservie to registry (#54)

This commit is contained in:
Murali Krishna Komatireddy 2022-12-09 09:47:14 +05:30 committed by GitHub
parent f84d438d60
commit 75bcf1f5a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
56 changed files with 1311 additions and 1311 deletions

View File

@ -121,9 +121,9 @@ import (
"github.com/cerc-io/laconicd/x/bond" "github.com/cerc-io/laconicd/x/bond"
bondkeeper "github.com/cerc-io/laconicd/x/bond/keeper" bondkeeper "github.com/cerc-io/laconicd/x/bond/keeper"
bondtypes "github.com/cerc-io/laconicd/x/bond/types" bondtypes "github.com/cerc-io/laconicd/x/bond/types"
"github.com/cerc-io/laconicd/x/nameservice" registry "github.com/cerc-io/laconicd/x/registry"
nameservicekeeper "github.com/cerc-io/laconicd/x/nameservice/keeper" registrykeeper "github.com/cerc-io/laconicd/x/registry/keeper"
nameservicetypes "github.com/cerc-io/laconicd/x/nameservice/types" registrytypes "github.com/cerc-io/laconicd/x/registry/types"
) )
func init() { func init() {
@ -172,7 +172,7 @@ var (
// Laconic modules // Laconic modules
auction.AppModuleBasic{}, auction.AppModuleBasic{},
bond.AppModuleBasic{}, bond.AppModuleBasic{},
nameservice.AppModuleBasic{}, registry.AppModuleBasic{},
) )
// module account permissions // module account permissions
@ -187,9 +187,9 @@ var (
evmtypes.ModuleName: {authtypes.Minter, authtypes.Burner}, // used for secure addition and subtraction of balance using module account evmtypes.ModuleName: {authtypes.Minter, authtypes.Burner}, // used for secure addition and subtraction of balance using module account
auctiontypes.ModuleName: nil, auctiontypes.ModuleName: nil,
auctiontypes.AuctionBurnModuleAccountName: nil, auctiontypes.AuctionBurnModuleAccountName: nil,
nameservicetypes.ModuleName: nil, registrytypes.ModuleName: nil,
nameservicetypes.RecordRentModuleAccountName: nil, registrytypes.RecordRentModuleAccountName: nil,
nameservicetypes.AuthorityRentModuleAccountName: nil, registrytypes.AuthorityRentModuleAccountName: nil,
bondtypes.ModuleName: nil, bondtypes.ModuleName: nil,
} }
@ -250,8 +250,8 @@ type EthermintApp struct {
// laconic keepers // laconic keepers
AuctionKeeper auctionkeeper.Keeper AuctionKeeper auctionkeeper.Keeper
BondKeeper bondkeeper.Keeper BondKeeper bondkeeper.Keeper
NameServiceKeeper nameservicekeeper.Keeper RegistryKeeper registrykeeper.Keeper
NameServiceRecordKeeper nameservicekeeper.RecordKeeper RegistryRecordKeeper registrykeeper.RecordKeeper
// the module manager // the module manager
mm *module.Manager mm *module.Manager
@ -306,7 +306,7 @@ func NewEthermintApp(
// laconic keys // laconic keys
auctiontypes.StoreKey, auctiontypes.StoreKey,
bondtypes.StoreKey, bondtypes.StoreKey,
nameservicetypes.StoreKey, registrytypes.StoreKey,
) )
// Add the EVM transient store key // Add the EVM transient store key
@ -436,19 +436,19 @@ func NewEthermintApp(
appCodec, app.GetSubspace(auctiontypes.ModuleName), appCodec, app.GetSubspace(auctiontypes.ModuleName),
) )
app.NameServiceRecordKeeper = nameservicekeeper.NewRecordKeeper(app.AuctionKeeper, keys[nameservicetypes.StoreKey], appCodec) app.RegistryRecordKeeper = registrykeeper.NewRecordKeeper(app.AuctionKeeper, keys[registrytypes.StoreKey], appCodec)
app.AuctionKeeper.SetUsageKeepers([]auctiontypes.AuctionUsageKeeper{app.NameServiceRecordKeeper}) app.AuctionKeeper.SetUsageKeepers([]auctiontypes.AuctionUsageKeeper{app.RegistryRecordKeeper})
app.BondKeeper = bondkeeper.NewKeeper( app.BondKeeper = bondkeeper.NewKeeper(
appCodec, app.AccountKeeper, app.BankKeeper, appCodec, app.AccountKeeper, app.BankKeeper,
[]bondtypes.BondUsageKeeper{app.NameServiceRecordKeeper}, keys[bondtypes.StoreKey], app.GetSubspace(bondtypes.ModuleName), []bondtypes.BondUsageKeeper{app.RegistryRecordKeeper}, keys[bondtypes.StoreKey], app.GetSubspace(bondtypes.ModuleName),
) )
app.NameServiceKeeper = nameservicekeeper.NewKeeper( app.RegistryKeeper = registrykeeper.NewKeeper(
appCodec, app.AccountKeeper, app.BankKeeper, appCodec, app.AccountKeeper, app.BankKeeper,
app.NameServiceRecordKeeper, app.BondKeeper, app.AuctionKeeper, app.RegistryRecordKeeper, app.BondKeeper, app.AuctionKeeper,
keys[nameservicetypes.StoreKey], app.GetSubspace(nameservicetypes.ModuleName), keys[registrytypes.StoreKey], app.GetSubspace(registrytypes.ModuleName),
) )
// Create IBC Keeper // Create IBC Keeper
@ -539,7 +539,7 @@ func NewEthermintApp(
// laconic modules // laconic modules
auction.NewAppModule(appCodec, app.AuctionKeeper), auction.NewAppModule(appCodec, app.AuctionKeeper),
bond.NewAppModule(appCodec, app.BondKeeper), bond.NewAppModule(appCodec, app.BondKeeper),
nameservice.NewAppModule(app.NameServiceKeeper), registry.NewAppModule(app.RegistryKeeper),
) )
// During begin block slashing happens after distr.BeginBlocker so that // During begin block slashing happens after distr.BeginBlocker so that
@ -573,7 +573,7 @@ func NewEthermintApp(
// laconic modules // laconic modules
auctiontypes.ModuleName, auctiontypes.ModuleName,
bondtypes.ModuleName, bondtypes.ModuleName,
nameservicetypes.ModuleName, registrytypes.ModuleName,
) )
// NOTE: fee market module must go last in order to retrieve the block gas used. // NOTE: fee market module must go last in order to retrieve the block gas used.
@ -602,7 +602,7 @@ func NewEthermintApp(
// laconic modules // laconic modules
auctiontypes.ModuleName, auctiontypes.ModuleName,
bondtypes.ModuleName, bondtypes.ModuleName,
nameservicetypes.ModuleName, registrytypes.ModuleName,
) )
// NOTE: The genutils module must occur after staking so that pools are // NOTE: The genutils module must occur after staking so that pools are
@ -638,7 +638,7 @@ func NewEthermintApp(
// laconic modules // laconic modules
auctiontypes.ModuleName, auctiontypes.ModuleName,
bondtypes.ModuleName, bondtypes.ModuleName,
nameservicetypes.ModuleName, registrytypes.ModuleName,
// NOTE: crisis module must go at the end to check for invariants on each module // NOTE: crisis module must go at the end to check for invariants on each module
crisistypes.ModuleName, crisistypes.ModuleName,
) )
@ -917,6 +917,6 @@ func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino
// laconic subspaces // laconic subspaces
paramsKeeper.Subspace(auctiontypes.ModuleName) paramsKeeper.Subspace(auctiontypes.ModuleName)
paramsKeeper.Subspace(bondtypes.ModuleName) paramsKeeper.Subspace(bondtypes.ModuleName)
paramsKeeper.Subspace(nameservicetypes.ModuleName) paramsKeeper.Subspace(registrytypes.ModuleName)
return paramsKeeper return paramsKeeper
} }

View File

@ -160,81 +160,81 @@
- [Msg](#vulcanize.bond.v1beta1.Msg) - [Msg](#vulcanize.bond.v1beta1.Msg)
- [vulcanize/nameservice/v1beta1/attributes.proto](#vulcanize/nameservice/v1beta1/attributes.proto) - [vulcanize/registry/v1beta1/attributes.proto](#vulcanize/registry/v1beta1/attributes.proto)
- [ServiceProviderRegistration](#vulcanize.nameservice.v1beta1.ServiceProviderRegistration) - [ServiceProviderRegistration](#vulcanize.registry.v1beta1.ServiceProviderRegistration)
- [WebsiteRegistrationRecord](#vulcanize.nameservice.v1beta1.WebsiteRegistrationRecord) - [WebsiteRegistrationRecord](#vulcanize.registry.v1beta1.WebsiteRegistrationRecord)
- [X500](#vulcanize.nameservice.v1beta1.X500) - [X500](#vulcanize.registry.v1beta1.X500)
- [vulcanize/nameservice/v1beta1/nameservice.proto](#vulcanize/nameservice/v1beta1/nameservice.proto) - [vulcanize/registry/v1beta1/registry.proto](#vulcanize/registry/v1beta1/registry.proto)
- [AuctionBidInfo](#vulcanize.nameservice.v1beta1.AuctionBidInfo) - [AuctionBidInfo](#vulcanize.registry.v1beta1.AuctionBidInfo)
- [AuthorityEntry](#vulcanize.nameservice.v1beta1.AuthorityEntry) - [AuthorityEntry](#vulcanize.registry.v1beta1.AuthorityEntry)
- [BlockChangeSet](#vulcanize.nameservice.v1beta1.BlockChangeSet) - [BlockChangeSet](#vulcanize.registry.v1beta1.BlockChangeSet)
- [NameAuthority](#vulcanize.nameservice.v1beta1.NameAuthority) - [NameAuthority](#vulcanize.registry.v1beta1.NameAuthority)
- [NameEntry](#vulcanize.nameservice.v1beta1.NameEntry) - [NameEntry](#vulcanize.registry.v1beta1.NameEntry)
- [NameRecord](#vulcanize.nameservice.v1beta1.NameRecord) - [NameRecord](#vulcanize.registry.v1beta1.NameRecord)
- [NameRecordEntry](#vulcanize.nameservice.v1beta1.NameRecordEntry) - [NameRecordEntry](#vulcanize.registry.v1beta1.NameRecordEntry)
- [Params](#vulcanize.nameservice.v1beta1.Params) - [Params](#vulcanize.registry.v1beta1.Params)
- [Record](#vulcanize.nameservice.v1beta1.Record) - [Record](#vulcanize.registry.v1beta1.Record)
- [Signature](#vulcanize.nameservice.v1beta1.Signature) - [Signature](#vulcanize.registry.v1beta1.Signature)
- [vulcanize/nameservice/v1beta1/genesis.proto](#vulcanize/nameservice/v1beta1/genesis.proto) - [vulcanize/registry/v1beta1/genesis.proto](#vulcanize/registry/v1beta1/genesis.proto)
- [GenesisState](#vulcanize.nameservice.v1beta1.GenesisState) - [GenesisState](#vulcanize.registry.v1beta1.GenesisState)
- [vulcanize/nameservice/v1beta1/query.proto](#vulcanize/nameservice/v1beta1/query.proto) - [vulcanize/registry/v1beta1/query.proto](#vulcanize/registry/v1beta1/query.proto)
- [AccountBalance](#vulcanize.nameservice.v1beta1.AccountBalance) - [AccountBalance](#vulcanize.registry.v1beta1.AccountBalance)
- [ExpiryQueueRecord](#vulcanize.nameservice.v1beta1.ExpiryQueueRecord) - [ExpiryQueueRecord](#vulcanize.registry.v1beta1.ExpiryQueueRecord)
- [GetNameServiceModuleBalanceRequest](#vulcanize.nameservice.v1beta1.GetNameServiceModuleBalanceRequest) - [GetRegistryModuleBalanceRequest](#vulcanize.registry.v1beta1.GetRegistryModuleBalanceRequest)
- [GetNameServiceModuleBalanceResponse](#vulcanize.nameservice.v1beta1.GetNameServiceModuleBalanceResponse) - [GetRegistryModuleBalanceResponse](#vulcanize.registry.v1beta1.GetRegistryModuleBalanceResponse)
- [QueryGetAuthorityExpiryQueue](#vulcanize.nameservice.v1beta1.QueryGetAuthorityExpiryQueue) - [QueryGetAuthorityExpiryQueue](#vulcanize.registry.v1beta1.QueryGetAuthorityExpiryQueue)
- [QueryGetAuthorityExpiryQueueResponse](#vulcanize.nameservice.v1beta1.QueryGetAuthorityExpiryQueueResponse) - [QueryGetAuthorityExpiryQueueResponse](#vulcanize.registry.v1beta1.QueryGetAuthorityExpiryQueueResponse)
- [QueryGetRecordExpiryQueue](#vulcanize.nameservice.v1beta1.QueryGetRecordExpiryQueue) - [QueryGetRecordExpiryQueue](#vulcanize.registry.v1beta1.QueryGetRecordExpiryQueue)
- [QueryGetRecordExpiryQueueResponse](#vulcanize.nameservice.v1beta1.QueryGetRecordExpiryQueueResponse) - [QueryGetRecordExpiryQueueResponse](#vulcanize.registry.v1beta1.QueryGetRecordExpiryQueueResponse)
- [QueryListNameRecordsRequest](#vulcanize.nameservice.v1beta1.QueryListNameRecordsRequest) - [QueryListNameRecordsRequest](#vulcanize.registry.v1beta1.QueryListNameRecordsRequest)
- [QueryListNameRecordsResponse](#vulcanize.nameservice.v1beta1.QueryListNameRecordsResponse) - [QueryListNameRecordsResponse](#vulcanize.registry.v1beta1.QueryListNameRecordsResponse)
- [QueryListRecordsRequest](#vulcanize.nameservice.v1beta1.QueryListRecordsRequest) - [QueryListRecordsRequest](#vulcanize.registry.v1beta1.QueryListRecordsRequest)
- [QueryListRecordsRequest.KeyValueInput](#vulcanize.nameservice.v1beta1.QueryListRecordsRequest.KeyValueInput) - [QueryListRecordsRequest.KeyValueInput](#vulcanize.registry.v1beta1.QueryListRecordsRequest.KeyValueInput)
- [QueryListRecordsRequest.ReferenceInput](#vulcanize.nameservice.v1beta1.QueryListRecordsRequest.ReferenceInput) - [QueryListRecordsRequest.ReferenceInput](#vulcanize.registry.v1beta1.QueryListRecordsRequest.ReferenceInput)
- [QueryListRecordsRequest.ValueInput](#vulcanize.nameservice.v1beta1.QueryListRecordsRequest.ValueInput) - [QueryListRecordsRequest.ValueInput](#vulcanize.registry.v1beta1.QueryListRecordsRequest.ValueInput)
- [QueryListRecordsResponse](#vulcanize.nameservice.v1beta1.QueryListRecordsResponse) - [QueryListRecordsResponse](#vulcanize.registry.v1beta1.QueryListRecordsResponse)
- [QueryLookupCrn](#vulcanize.nameservice.v1beta1.QueryLookupCrn) - [QueryLookupCrn](#vulcanize.registry.v1beta1.QueryLookupCrn)
- [QueryLookupCrnResponse](#vulcanize.nameservice.v1beta1.QueryLookupCrnResponse) - [QueryLookupCrnResponse](#vulcanize.registry.v1beta1.QueryLookupCrnResponse)
- [QueryParamsRequest](#vulcanize.nameservice.v1beta1.QueryParamsRequest) - [QueryParamsRequest](#vulcanize.registry.v1beta1.QueryParamsRequest)
- [QueryParamsResponse](#vulcanize.nameservice.v1beta1.QueryParamsResponse) - [QueryParamsResponse](#vulcanize.registry.v1beta1.QueryParamsResponse)
- [QueryRecordByBondIDRequest](#vulcanize.nameservice.v1beta1.QueryRecordByBondIDRequest) - [QueryRecordByBondIDRequest](#vulcanize.registry.v1beta1.QueryRecordByBondIDRequest)
- [QueryRecordByBondIDResponse](#vulcanize.nameservice.v1beta1.QueryRecordByBondIDResponse) - [QueryRecordByBondIDResponse](#vulcanize.registry.v1beta1.QueryRecordByBondIDResponse)
- [QueryRecordByIDRequest](#vulcanize.nameservice.v1beta1.QueryRecordByIDRequest) - [QueryRecordByIDRequest](#vulcanize.registry.v1beta1.QueryRecordByIDRequest)
- [QueryRecordByIDResponse](#vulcanize.nameservice.v1beta1.QueryRecordByIDResponse) - [QueryRecordByIDResponse](#vulcanize.registry.v1beta1.QueryRecordByIDResponse)
- [QueryResolveCrn](#vulcanize.nameservice.v1beta1.QueryResolveCrn) - [QueryResolveCrn](#vulcanize.registry.v1beta1.QueryResolveCrn)
- [QueryResolveCrnResponse](#vulcanize.nameservice.v1beta1.QueryResolveCrnResponse) - [QueryResolveCrnResponse](#vulcanize.registry.v1beta1.QueryResolveCrnResponse)
- [QueryWhoisRequest](#vulcanize.nameservice.v1beta1.QueryWhoisRequest) - [QueryWhoisRequest](#vulcanize.registry.v1beta1.QueryWhoisRequest)
- [QueryWhoisResponse](#vulcanize.nameservice.v1beta1.QueryWhoisResponse) - [QueryWhoisResponse](#vulcanize.registry.v1beta1.QueryWhoisResponse)
- [Query](#vulcanize.nameservice.v1beta1.Query) - [Query](#vulcanize.registry.v1beta1.Query)
- [vulcanize/nameservice/v1beta1/tx.proto](#vulcanize/nameservice/v1beta1/tx.proto) - [vulcanize/registry/v1beta1/tx.proto](#vulcanize/registry/v1beta1/tx.proto)
- [MsgAssociateBond](#vulcanize.nameservice.v1beta1.MsgAssociateBond) - [MsgAssociateBond](#vulcanize.registry.v1beta1.MsgAssociateBond)
- [MsgAssociateBondResponse](#vulcanize.nameservice.v1beta1.MsgAssociateBondResponse) - [MsgAssociateBondResponse](#vulcanize.registry.v1beta1.MsgAssociateBondResponse)
- [MsgDeleteNameAuthority](#vulcanize.nameservice.v1beta1.MsgDeleteNameAuthority) - [MsgDeleteNameAuthority](#vulcanize.registry.v1beta1.MsgDeleteNameAuthority)
- [MsgDeleteNameAuthorityResponse](#vulcanize.nameservice.v1beta1.MsgDeleteNameAuthorityResponse) - [MsgDeleteNameAuthorityResponse](#vulcanize.registry.v1beta1.MsgDeleteNameAuthorityResponse)
- [MsgDissociateBond](#vulcanize.nameservice.v1beta1.MsgDissociateBond) - [MsgDissociateBond](#vulcanize.registry.v1beta1.MsgDissociateBond)
- [MsgDissociateBondResponse](#vulcanize.nameservice.v1beta1.MsgDissociateBondResponse) - [MsgDissociateBondResponse](#vulcanize.registry.v1beta1.MsgDissociateBondResponse)
- [MsgDissociateRecords](#vulcanize.nameservice.v1beta1.MsgDissociateRecords) - [MsgDissociateRecords](#vulcanize.registry.v1beta1.MsgDissociateRecords)
- [MsgDissociateRecordsResponse](#vulcanize.nameservice.v1beta1.MsgDissociateRecordsResponse) - [MsgDissociateRecordsResponse](#vulcanize.registry.v1beta1.MsgDissociateRecordsResponse)
- [MsgReAssociateRecords](#vulcanize.nameservice.v1beta1.MsgReAssociateRecords) - [MsgReAssociateRecords](#vulcanize.registry.v1beta1.MsgReAssociateRecords)
- [MsgReAssociateRecordsResponse](#vulcanize.nameservice.v1beta1.MsgReAssociateRecordsResponse) - [MsgReAssociateRecordsResponse](#vulcanize.registry.v1beta1.MsgReAssociateRecordsResponse)
- [MsgRenewRecord](#vulcanize.nameservice.v1beta1.MsgRenewRecord) - [MsgRenewRecord](#vulcanize.registry.v1beta1.MsgRenewRecord)
- [MsgRenewRecordResponse](#vulcanize.nameservice.v1beta1.MsgRenewRecordResponse) - [MsgRenewRecordResponse](#vulcanize.registry.v1beta1.MsgRenewRecordResponse)
- [MsgReserveAuthority](#vulcanize.nameservice.v1beta1.MsgReserveAuthority) - [MsgReserveAuthority](#vulcanize.registry.v1beta1.MsgReserveAuthority)
- [MsgReserveAuthorityResponse](#vulcanize.nameservice.v1beta1.MsgReserveAuthorityResponse) - [MsgReserveAuthorityResponse](#vulcanize.registry.v1beta1.MsgReserveAuthorityResponse)
- [MsgSetAuthorityBond](#vulcanize.nameservice.v1beta1.MsgSetAuthorityBond) - [MsgSetAuthorityBond](#vulcanize.registry.v1beta1.MsgSetAuthorityBond)
- [MsgSetAuthorityBondResponse](#vulcanize.nameservice.v1beta1.MsgSetAuthorityBondResponse) - [MsgSetAuthorityBondResponse](#vulcanize.registry.v1beta1.MsgSetAuthorityBondResponse)
- [MsgSetName](#vulcanize.nameservice.v1beta1.MsgSetName) - [MsgSetName](#vulcanize.registry.v1beta1.MsgSetName)
- [MsgSetNameResponse](#vulcanize.nameservice.v1beta1.MsgSetNameResponse) - [MsgSetNameResponse](#vulcanize.registry.v1beta1.MsgSetNameResponse)
- [MsgSetRecord](#vulcanize.nameservice.v1beta1.MsgSetRecord) - [MsgSetRecord](#vulcanize.registry.v1beta1.MsgSetRecord)
- [MsgSetRecordResponse](#vulcanize.nameservice.v1beta1.MsgSetRecordResponse) - [MsgSetRecordResponse](#vulcanize.registry.v1beta1.MsgSetRecordResponse)
- [Payload](#vulcanize.nameservice.v1beta1.Payload) - [Payload](#vulcanize.registry.v1beta1.Payload)
- [Msg](#vulcanize.nameservice.v1beta1.Msg) - [Msg](#vulcanize.registry.v1beta1.Msg)
- [Scalar Value Types](#scalar-value-types) - [Scalar Value Types](#scalar-value-types)
@ -2315,14 +2315,14 @@ Msg defines the bond Msg service.
<a name="vulcanize/nameservice/v1beta1/attributes.proto"></a> <a name="vulcanize/registry/v1beta1/attributes.proto"></a>
<p align="right"><a href="#top">Top</a></p> <p align="right"><a href="#top">Top</a></p>
## vulcanize/nameservice/v1beta1/attributes.proto ## vulcanize/registry/v1beta1/attributes.proto
<a name="vulcanize.nameservice.v1beta1.ServiceProviderRegistration"></a> <a name="vulcanize.registry.v1beta1.ServiceProviderRegistration"></a>
### ServiceProviderRegistration ### ServiceProviderRegistration
@ -2332,7 +2332,7 @@ Msg defines the bond Msg service.
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| `bond_id` | [string](#string) | | | | `bond_id` | [string](#string) | | |
| `laconic_id` | [string](#string) | | | | `laconic_id` | [string](#string) | | |
| `x500` | [X500](#vulcanize.nameservice.v1beta1.X500) | | | | `x500` | [X500](#vulcanize.registry.v1beta1.X500) | | |
| `type` | [string](#string) | | | | `type` | [string](#string) | | |
@ -2340,7 +2340,7 @@ Msg defines the bond Msg service.
<a name="vulcanize.nameservice.v1beta1.WebsiteRegistrationRecord"></a> <a name="vulcanize.registry.v1beta1.WebsiteRegistrationRecord"></a>
### WebsiteRegistrationRecord ### WebsiteRegistrationRecord
@ -2359,7 +2359,7 @@ Msg defines the bond Msg service.
<a name="vulcanize.nameservice.v1beta1.X500"></a> <a name="vulcanize.registry.v1beta1.X500"></a>
### X500 ### X500
@ -2388,14 +2388,14 @@ Msg defines the bond Msg service.
<a name="vulcanize/nameservice/v1beta1/nameservice.proto"></a> <a name="vulcanize/registry/v1beta1/registry.proto"></a>
<p align="right"><a href="#top">Top</a></p> <p align="right"><a href="#top">Top</a></p>
## vulcanize/nameservice/v1beta1/nameservice.proto ## vulcanize/registry/v1beta1/registry.proto
<a name="vulcanize.nameservice.v1beta1.AuctionBidInfo"></a> <a name="vulcanize.registry.v1beta1.AuctionBidInfo"></a>
### AuctionBidInfo ### AuctionBidInfo
AuctionBidInfo AuctionBidInfo
@ -2411,23 +2411,23 @@ AuctionBidInfo
<a name="vulcanize.nameservice.v1beta1.AuthorityEntry"></a> <a name="vulcanize.registry.v1beta1.AuthorityEntry"></a>
### AuthorityEntry ### AuthorityEntry
AuthorityEntry defines the nameservice module AuthorityEntries AuthorityEntry defines the registry module AuthorityEntries
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| `name` | [string](#string) | | | | `name` | [string](#string) | | |
| `entry` | [NameAuthority](#vulcanize.nameservice.v1beta1.NameAuthority) | | | | `entry` | [NameAuthority](#vulcanize.registry.v1beta1.NameAuthority) | | |
<a name="vulcanize.nameservice.v1beta1.BlockChangeSet"></a> <a name="vulcanize.registry.v1beta1.BlockChangeSet"></a>
### BlockChangeSet ### BlockChangeSet
BlockChangeSet BlockChangeSet
@ -2438,7 +2438,7 @@ BlockChangeSet
| `height` | [int64](#int64) | | | | `height` | [int64](#int64) | | |
| `records` | [string](#string) | repeated | | | `records` | [string](#string) | repeated | |
| `auctions` | [string](#string) | repeated | | | `auctions` | [string](#string) | repeated | |
| `auction_bids` | [AuctionBidInfo](#vulcanize.nameservice.v1beta1.AuctionBidInfo) | repeated | | | `auction_bids` | [AuctionBidInfo](#vulcanize.registry.v1beta1.AuctionBidInfo) | repeated | |
| `authorities` | [string](#string) | repeated | | | `authorities` | [string](#string) | repeated | |
| `names` | [string](#string) | repeated | | | `names` | [string](#string) | repeated | |
@ -2447,7 +2447,7 @@ BlockChangeSet
<a name="vulcanize.nameservice.v1beta1.NameAuthority"></a> <a name="vulcanize.registry.v1beta1.NameAuthority"></a>
### NameAuthority ### NameAuthority
NameAuthority NameAuthority
@ -2468,7 +2468,7 @@ NameAuthority
<a name="vulcanize.nameservice.v1beta1.NameEntry"></a> <a name="vulcanize.registry.v1beta1.NameEntry"></a>
### NameEntry ### NameEntry
NameEntry NameEntry
@ -2477,14 +2477,14 @@ NameEntry
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| `name` | [string](#string) | | | | `name` | [string](#string) | | |
| `entry` | [NameRecord](#vulcanize.nameservice.v1beta1.NameRecord) | | | | `entry` | [NameRecord](#vulcanize.registry.v1beta1.NameRecord) | | |
<a name="vulcanize.nameservice.v1beta1.NameRecord"></a> <a name="vulcanize.registry.v1beta1.NameRecord"></a>
### NameRecord ### NameRecord
NameRecord NameRecord
@ -2492,15 +2492,15 @@ NameRecord
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| `latest` | [NameRecordEntry](#vulcanize.nameservice.v1beta1.NameRecordEntry) | | | | `latest` | [NameRecordEntry](#vulcanize.registry.v1beta1.NameRecordEntry) | | |
| `history` | [NameRecordEntry](#vulcanize.nameservice.v1beta1.NameRecordEntry) | repeated | | | `history` | [NameRecordEntry](#vulcanize.registry.v1beta1.NameRecordEntry) | repeated | |
<a name="vulcanize.nameservice.v1beta1.NameRecordEntry"></a> <a name="vulcanize.registry.v1beta1.NameRecordEntry"></a>
### NameRecordEntry ### NameRecordEntry
NameRecordEntry NameRecordEntry
@ -2516,10 +2516,10 @@ NameRecordEntry
<a name="vulcanize.nameservice.v1beta1.Params"></a> <a name="vulcanize.registry.v1beta1.Params"></a>
### Params ### Params
Params defines the nameservice module parameters Params defines the registry module parameters
| Field | Type | Label | Description | | Field | Type | Label | Description |
@ -2541,10 +2541,10 @@ Params defines the nameservice module parameters
<a name="vulcanize.nameservice.v1beta1.Record"></a> <a name="vulcanize.registry.v1beta1.Record"></a>
### Record ### Record
Params defines the nameservice module records Params defines the registry module records
| Field | Type | Label | Description | | Field | Type | Label | Description |
@ -2564,7 +2564,7 @@ Params defines the nameservice module records
<a name="vulcanize.nameservice.v1beta1.Signature"></a> <a name="vulcanize.registry.v1beta1.Signature"></a>
### Signature ### Signature
Signature Signature
@ -2589,25 +2589,25 @@ Signature
<a name="vulcanize/nameservice/v1beta1/genesis.proto"></a> <a name="vulcanize/registry/v1beta1/genesis.proto"></a>
<p align="right"><a href="#top">Top</a></p> <p align="right"><a href="#top">Top</a></p>
## vulcanize/nameservice/v1beta1/genesis.proto ## vulcanize/registry/v1beta1/genesis.proto
<a name="vulcanize.nameservice.v1beta1.GenesisState"></a> <a name="vulcanize.registry.v1beta1.GenesisState"></a>
### GenesisState ### GenesisState
GenesisState defines the nameservice module's genesis state. GenesisState defines the registry module's genesis state.
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| `params` | [Params](#vulcanize.nameservice.v1beta1.Params) | | params defines all the params of nameservice module. | | `params` | [Params](#vulcanize.registry.v1beta1.Params) | | params defines all the params of registry module. |
| `records` | [Record](#vulcanize.nameservice.v1beta1.Record) | repeated | records | | `records` | [Record](#vulcanize.registry.v1beta1.Record) | repeated | records |
| `authorities` | [AuthorityEntry](#vulcanize.nameservice.v1beta1.AuthorityEntry) | repeated | authorities | | `authorities` | [AuthorityEntry](#vulcanize.registry.v1beta1.AuthorityEntry) | repeated | authorities |
| `names` | [NameEntry](#vulcanize.nameservice.v1beta1.NameEntry) | repeated | names | | `names` | [NameEntry](#vulcanize.registry.v1beta1.NameEntry) | repeated | names |
@ -2623,17 +2623,17 @@ GenesisState defines the nameservice module's genesis state.
<a name="vulcanize/nameservice/v1beta1/query.proto"></a> <a name="vulcanize/registry/v1beta1/query.proto"></a>
<p align="right"><a href="#top">Top</a></p> <p align="right"><a href="#top">Top</a></p>
## vulcanize/nameservice/v1beta1/query.proto ## vulcanize/registry/v1beta1/query.proto
<a name="vulcanize.nameservice.v1beta1.AccountBalance"></a> <a name="vulcanize.registry.v1beta1.AccountBalance"></a>
### AccountBalance ### AccountBalance
AccountBalance is nameservice module account balance AccountBalance is registry module account balance
| Field | Type | Label | Description | | Field | Type | Label | Description |
@ -2646,7 +2646,7 @@ AccountBalance is nameservice module account balance
<a name="vulcanize.nameservice.v1beta1.ExpiryQueueRecord"></a> <a name="vulcanize.registry.v1beta1.ExpiryQueueRecord"></a>
### ExpiryQueueRecord ### ExpiryQueueRecord
ExpiryQueueRecord ExpiryQueueRecord
@ -2662,32 +2662,32 @@ ExpiryQueueRecord
<a name="vulcanize.nameservice.v1beta1.GetNameServiceModuleBalanceRequest"></a> <a name="vulcanize.registry.v1beta1.GetRegistryModuleBalanceRequest"></a>
### GetNameServiceModuleBalanceRequest ### GetRegistryModuleBalanceRequest
GetNameServiceModuleBalanceRequest is request type for nameservice module accounts balance GetRegistryModuleBalanceRequest is request type for registry module accounts balance
<a name="vulcanize.nameservice.v1beta1.GetNameServiceModuleBalanceResponse"></a> <a name="vulcanize.registry.v1beta1.GetRegistryModuleBalanceResponse"></a>
### GetNameServiceModuleBalanceResponse ### GetRegistryModuleBalanceResponse
GetNameServiceModuleBalanceResponse is response type for nameservice module accounts balance GetRegistryModuleBalanceResponse is response type for registry module accounts balance
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| `balances` | [AccountBalance](#vulcanize.nameservice.v1beta1.AccountBalance) | repeated | | | `balances` | [AccountBalance](#vulcanize.registry.v1beta1.AccountBalance) | repeated | |
<a name="vulcanize.nameservice.v1beta1.QueryGetAuthorityExpiryQueue"></a> <a name="vulcanize.registry.v1beta1.QueryGetAuthorityExpiryQueue"></a>
### QueryGetAuthorityExpiryQueue ### QueryGetAuthorityExpiryQueue
QueryGetAuthorityExpiryQueue QueryGetAuthorityExpiryQueue
@ -2702,7 +2702,7 @@ QueryGetAuthorityExpiryQueue
<a name="vulcanize.nameservice.v1beta1.QueryGetAuthorityExpiryQueueResponse"></a> <a name="vulcanize.registry.v1beta1.QueryGetAuthorityExpiryQueueResponse"></a>
### QueryGetAuthorityExpiryQueueResponse ### QueryGetAuthorityExpiryQueueResponse
QueryGetAuthorityExpiryQueueResponse QueryGetAuthorityExpiryQueueResponse
@ -2710,7 +2710,7 @@ QueryGetAuthorityExpiryQueueResponse
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| `authorities` | [ExpiryQueueRecord](#vulcanize.nameservice.v1beta1.ExpiryQueueRecord) | repeated | | | `authorities` | [ExpiryQueueRecord](#vulcanize.registry.v1beta1.ExpiryQueueRecord) | repeated | |
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. | | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. |
@ -2718,7 +2718,7 @@ QueryGetAuthorityExpiryQueueResponse
<a name="vulcanize.nameservice.v1beta1.QueryGetRecordExpiryQueue"></a> <a name="vulcanize.registry.v1beta1.QueryGetRecordExpiryQueue"></a>
### QueryGetRecordExpiryQueue ### QueryGetRecordExpiryQueue
QueryGetRecordExpiryQueue QueryGetRecordExpiryQueue
@ -2733,7 +2733,7 @@ QueryGetRecordExpiryQueue
<a name="vulcanize.nameservice.v1beta1.QueryGetRecordExpiryQueueResponse"></a> <a name="vulcanize.registry.v1beta1.QueryGetRecordExpiryQueueResponse"></a>
### QueryGetRecordExpiryQueueResponse ### QueryGetRecordExpiryQueueResponse
QueryGetRecordExpiryQueueResponse QueryGetRecordExpiryQueueResponse
@ -2741,7 +2741,7 @@ QueryGetRecordExpiryQueueResponse
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| `records` | [ExpiryQueueRecord](#vulcanize.nameservice.v1beta1.ExpiryQueueRecord) | repeated | | | `records` | [ExpiryQueueRecord](#vulcanize.registry.v1beta1.ExpiryQueueRecord) | repeated | |
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. | | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. |
@ -2749,10 +2749,10 @@ QueryGetRecordExpiryQueueResponse
<a name="vulcanize.nameservice.v1beta1.QueryListNameRecordsRequest"></a> <a name="vulcanize.registry.v1beta1.QueryListNameRecordsRequest"></a>
### QueryListNameRecordsRequest ### QueryListNameRecordsRequest
QueryListNameRecordsRequest is request type for nameservice names records QueryListNameRecordsRequest is request type for registry names records
| Field | Type | Label | Description | | Field | Type | Label | Description |
@ -2764,15 +2764,15 @@ QueryListNameRecordsRequest is request type for nameservice names records
<a name="vulcanize.nameservice.v1beta1.QueryListNameRecordsResponse"></a> <a name="vulcanize.registry.v1beta1.QueryListNameRecordsResponse"></a>
### QueryListNameRecordsResponse ### QueryListNameRecordsResponse
QueryListNameRecordsResponse is response type for nameservice names records QueryListNameRecordsResponse is response type for registry names records
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| `names` | [NameEntry](#vulcanize.nameservice.v1beta1.NameEntry) | repeated | | | `names` | [NameEntry](#vulcanize.registry.v1beta1.NameEntry) | repeated | |
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. | | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. |
@ -2780,15 +2780,15 @@ QueryListNameRecordsResponse is response type for nameservice names records
<a name="vulcanize.nameservice.v1beta1.QueryListRecordsRequest"></a> <a name="vulcanize.registry.v1beta1.QueryListRecordsRequest"></a>
### QueryListRecordsRequest ### QueryListRecordsRequest
QueryListRecordsRequest is request type for nameservice records list QueryListRecordsRequest is request type for registry records list
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| `attributes` | [QueryListRecordsRequest.KeyValueInput](#vulcanize.nameservice.v1beta1.QueryListRecordsRequest.KeyValueInput) | repeated | | | `attributes` | [QueryListRecordsRequest.KeyValueInput](#vulcanize.registry.v1beta1.QueryListRecordsRequest.KeyValueInput) | repeated | |
| `all` | [bool](#bool) | | | | `all` | [bool](#bool) | | |
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. | | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. |
@ -2797,7 +2797,7 @@ QueryListRecordsRequest is request type for nameservice records list
<a name="vulcanize.nameservice.v1beta1.QueryListRecordsRequest.KeyValueInput"></a> <a name="vulcanize.registry.v1beta1.QueryListRecordsRequest.KeyValueInput"></a>
### QueryListRecordsRequest.KeyValueInput ### QueryListRecordsRequest.KeyValueInput
@ -2806,14 +2806,14 @@ QueryListRecordsRequest is request type for nameservice records list
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| `key` | [string](#string) | | | | `key` | [string](#string) | | |
| `value` | [QueryListRecordsRequest.ValueInput](#vulcanize.nameservice.v1beta1.QueryListRecordsRequest.ValueInput) | | | | `value` | [QueryListRecordsRequest.ValueInput](#vulcanize.registry.v1beta1.QueryListRecordsRequest.ValueInput) | | |
<a name="vulcanize.nameservice.v1beta1.QueryListRecordsRequest.ReferenceInput"></a> <a name="vulcanize.registry.v1beta1.QueryListRecordsRequest.ReferenceInput"></a>
### QueryListRecordsRequest.ReferenceInput ### QueryListRecordsRequest.ReferenceInput
@ -2828,7 +2828,7 @@ QueryListRecordsRequest is request type for nameservice records list
<a name="vulcanize.nameservice.v1beta1.QueryListRecordsRequest.ValueInput"></a> <a name="vulcanize.registry.v1beta1.QueryListRecordsRequest.ValueInput"></a>
### QueryListRecordsRequest.ValueInput ### QueryListRecordsRequest.ValueInput
@ -2841,23 +2841,23 @@ QueryListRecordsRequest is request type for nameservice records list
| `int` | [int64](#int64) | | | | `int` | [int64](#int64) | | |
| `float` | [double](#double) | | | | `float` | [double](#double) | | |
| `boolean` | [bool](#bool) | | | | `boolean` | [bool](#bool) | | |
| `reference` | [QueryListRecordsRequest.ReferenceInput](#vulcanize.nameservice.v1beta1.QueryListRecordsRequest.ReferenceInput) | | | | `reference` | [QueryListRecordsRequest.ReferenceInput](#vulcanize.registry.v1beta1.QueryListRecordsRequest.ReferenceInput) | | |
| `values` | [QueryListRecordsRequest.ValueInput](#vulcanize.nameservice.v1beta1.QueryListRecordsRequest.ValueInput) | repeated | | | `values` | [QueryListRecordsRequest.ValueInput](#vulcanize.registry.v1beta1.QueryListRecordsRequest.ValueInput) | repeated | |
<a name="vulcanize.nameservice.v1beta1.QueryListRecordsResponse"></a> <a name="vulcanize.registry.v1beta1.QueryListRecordsResponse"></a>
### QueryListRecordsResponse ### QueryListRecordsResponse
QueryListRecordsResponse is response type for nameservice records list QueryListRecordsResponse is response type for registry records list
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| `records` | [Record](#vulcanize.nameservice.v1beta1.Record) | repeated | | | `records` | [Record](#vulcanize.registry.v1beta1.Record) | repeated | |
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. | | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. |
@ -2865,7 +2865,7 @@ QueryListRecordsResponse is response type for nameservice records list
<a name="vulcanize.nameservice.v1beta1.QueryLookupCrn"></a> <a name="vulcanize.registry.v1beta1.QueryLookupCrn"></a>
### QueryLookupCrn ### QueryLookupCrn
QueryLookupCrn is request type for LookupCrn QueryLookupCrn is request type for LookupCrn
@ -2880,7 +2880,7 @@ QueryLookupCrn is request type for LookupCrn
<a name="vulcanize.nameservice.v1beta1.QueryLookupCrnResponse"></a> <a name="vulcanize.registry.v1beta1.QueryLookupCrnResponse"></a>
### QueryLookupCrnResponse ### QueryLookupCrnResponse
QueryLookupCrnResponse is response type for QueryLookupCrn QueryLookupCrnResponse is response type for QueryLookupCrn
@ -2888,39 +2888,39 @@ QueryLookupCrnResponse is response type for QueryLookupCrn
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| `name` | [NameRecord](#vulcanize.nameservice.v1beta1.NameRecord) | | | | `name` | [NameRecord](#vulcanize.registry.v1beta1.NameRecord) | | |
<a name="vulcanize.nameservice.v1beta1.QueryParamsRequest"></a> <a name="vulcanize.registry.v1beta1.QueryParamsRequest"></a>
### QueryParamsRequest ### QueryParamsRequest
QueryParamsRequest is request type for nameservice params QueryParamsRequest is request type for registry params
<a name="vulcanize.nameservice.v1beta1.QueryParamsResponse"></a> <a name="vulcanize.registry.v1beta1.QueryParamsResponse"></a>
### QueryParamsResponse ### QueryParamsResponse
QueryParamsResponse is response type for nameservice params QueryParamsResponse is response type for registry params
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| `params` | [Params](#vulcanize.nameservice.v1beta1.Params) | | | | `params` | [Params](#vulcanize.registry.v1beta1.Params) | | |
<a name="vulcanize.nameservice.v1beta1.QueryRecordByBondIDRequest"></a> <a name="vulcanize.registry.v1beta1.QueryRecordByBondIDRequest"></a>
### QueryRecordByBondIDRequest ### QueryRecordByBondIDRequest
QueryRecordByBondIdRequest is request type for get the records by bond-id QueryRecordByBondIdRequest is request type for get the records by bond-id
@ -2936,7 +2936,7 @@ QueryRecordByBondIdRequest is request type for get the records by bond-id
<a name="vulcanize.nameservice.v1beta1.QueryRecordByBondIDResponse"></a> <a name="vulcanize.registry.v1beta1.QueryRecordByBondIDResponse"></a>
### QueryRecordByBondIDResponse ### QueryRecordByBondIDResponse
QueryRecordByBondIdResponse is response type for records list by bond-id QueryRecordByBondIdResponse is response type for records list by bond-id
@ -2944,7 +2944,7 @@ QueryRecordByBondIdResponse is response type for records list by bond-id
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| `records` | [Record](#vulcanize.nameservice.v1beta1.Record) | repeated | | | `records` | [Record](#vulcanize.registry.v1beta1.Record) | repeated | |
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. | | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. |
@ -2952,10 +2952,10 @@ QueryRecordByBondIdResponse is response type for records list by bond-id
<a name="vulcanize.nameservice.v1beta1.QueryRecordByIDRequest"></a> <a name="vulcanize.registry.v1beta1.QueryRecordByIDRequest"></a>
### QueryRecordByIDRequest ### QueryRecordByIDRequest
QueryRecordByIDRequest is request type for nameservice records by id QueryRecordByIDRequest is request type for registry records by id
| Field | Type | Label | Description | | Field | Type | Label | Description |
@ -2967,22 +2967,22 @@ QueryRecordByIDRequest is request type for nameservice records by id
<a name="vulcanize.nameservice.v1beta1.QueryRecordByIDResponse"></a> <a name="vulcanize.registry.v1beta1.QueryRecordByIDResponse"></a>
### QueryRecordByIDResponse ### QueryRecordByIDResponse
QueryRecordByIDResponse is response type for nameservice records by id QueryRecordByIDResponse is response type for registry records by id
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| `record` | [Record](#vulcanize.nameservice.v1beta1.Record) | | | | `record` | [Record](#vulcanize.registry.v1beta1.Record) | | |
<a name="vulcanize.nameservice.v1beta1.QueryResolveCrn"></a> <a name="vulcanize.registry.v1beta1.QueryResolveCrn"></a>
### QueryResolveCrn ### QueryResolveCrn
QueryResolveCrn is request type for ResolveCrn QueryResolveCrn is request type for ResolveCrn
@ -2997,7 +2997,7 @@ QueryResolveCrn is request type for ResolveCrn
<a name="vulcanize.nameservice.v1beta1.QueryResolveCrnResponse"></a> <a name="vulcanize.registry.v1beta1.QueryResolveCrnResponse"></a>
### QueryResolveCrnResponse ### QueryResolveCrnResponse
QueryResolveCrnResponse is response type for QueryResolveCrn QueryResolveCrnResponse is response type for QueryResolveCrn
@ -3005,14 +3005,14 @@ QueryResolveCrnResponse is response type for QueryResolveCrn
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| `record` | [Record](#vulcanize.nameservice.v1beta1.Record) | | | | `record` | [Record](#vulcanize.registry.v1beta1.Record) | | |
<a name="vulcanize.nameservice.v1beta1.QueryWhoisRequest"></a> <a name="vulcanize.registry.v1beta1.QueryWhoisRequest"></a>
### QueryWhoisRequest ### QueryWhoisRequest
QueryWhoisRequest is request type for Get NameAuthority QueryWhoisRequest is request type for Get NameAuthority
@ -3027,7 +3027,7 @@ QueryWhoisRequest is request type for Get NameAuthority
<a name="vulcanize.nameservice.v1beta1.QueryWhoisResponse"></a> <a name="vulcanize.registry.v1beta1.QueryWhoisResponse"></a>
### QueryWhoisResponse ### QueryWhoisResponse
QueryWhoisResponse is response type for whois request QueryWhoisResponse is response type for whois request
@ -3035,7 +3035,7 @@ QueryWhoisResponse is response type for whois request
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| `name_authority` | [NameAuthority](#vulcanize.nameservice.v1beta1.NameAuthority) | | | | `name_authority` | [NameAuthority](#vulcanize.registry.v1beta1.NameAuthority) | | |
@ -3048,37 +3048,37 @@ QueryWhoisResponse is response type for whois request
<!-- end HasExtensions --> <!-- end HasExtensions -->
<a name="vulcanize.nameservice.v1beta1.Query"></a> <a name="vulcanize.registry.v1beta1.Query"></a>
### Query ### Query
Query defines the gRPC querier service for nameservice module Query defines the gRPC querier service for registry module
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- | | ----------- | ------------ | ------------- | ------------| ------- | -------- |
| `Params` | [QueryParamsRequest](#vulcanize.nameservice.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#vulcanize.nameservice.v1beta1.QueryParamsResponse) | Params queries the nameservice module params. | GET|/vulcanize/nameservice/v1beta1/params| | `Params` | [QueryParamsRequest](#vulcanize.registry.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#vulcanize.registry.v1beta1.QueryParamsResponse) | Params queries the registry module params. | GET|/vulcanize/registry/v1beta1/params|
| `ListRecords` | [QueryListRecordsRequest](#vulcanize.nameservice.v1beta1.QueryListRecordsRequest) | [QueryListRecordsResponse](#vulcanize.nameservice.v1beta1.QueryListRecordsResponse) | List records | GET|/vulcanize/nameservice/v1beta1/records| | `ListRecords` | [QueryListRecordsRequest](#vulcanize.registry.v1beta1.QueryListRecordsRequest) | [QueryListRecordsResponse](#vulcanize.registry.v1beta1.QueryListRecordsResponse) | List records | GET|/vulcanize/registry/v1beta1/records|
| `GetRecord` | [QueryRecordByIDRequest](#vulcanize.nameservice.v1beta1.QueryRecordByIDRequest) | [QueryRecordByIDResponse](#vulcanize.nameservice.v1beta1.QueryRecordByIDResponse) | Get record by id | GET|/vulcanize/nameservice/v1beta1/records/{id}| | `GetRecord` | [QueryRecordByIDRequest](#vulcanize.registry.v1beta1.QueryRecordByIDRequest) | [QueryRecordByIDResponse](#vulcanize.registry.v1beta1.QueryRecordByIDResponse) | Get record by id | GET|/vulcanize/registry/v1beta1/records/{id}|
| `GetRecordByBondID` | [QueryRecordByBondIDRequest](#vulcanize.nameservice.v1beta1.QueryRecordByBondIDRequest) | [QueryRecordByBondIDResponse](#vulcanize.nameservice.v1beta1.QueryRecordByBondIDResponse) | Get records by bond id | GET|/vulcanize/nameservice/v1beta1/records-by-bond-id/{id}| | `GetRecordByBondID` | [QueryRecordByBondIDRequest](#vulcanize.registry.v1beta1.QueryRecordByBondIDRequest) | [QueryRecordByBondIDResponse](#vulcanize.registry.v1beta1.QueryRecordByBondIDResponse) | Get records by bond id | GET|/vulcanize/registry/v1beta1/records-by-bond-id/{id}|
| `GetNameServiceModuleBalance` | [GetNameServiceModuleBalanceRequest](#vulcanize.nameservice.v1beta1.GetNameServiceModuleBalanceRequest) | [GetNameServiceModuleBalanceResponse](#vulcanize.nameservice.v1beta1.GetNameServiceModuleBalanceResponse) | Get nameservice module balance | GET|/vulcanize/nameservice/v1beta1/balance| | `GetRegistryModuleBalance` | [GetRegistryModuleBalanceRequest](#vulcanize.registry.v1beta1.GetRegistryModuleBalanceRequest) | [GetRegistryModuleBalanceResponse](#vulcanize.registry.v1beta1.GetRegistryModuleBalanceResponse) | Get registry module balance | GET|/vulcanize/registry/v1beta1/balance|
| `ListNameRecords` | [QueryListNameRecordsRequest](#vulcanize.nameservice.v1beta1.QueryListNameRecordsRequest) | [QueryListNameRecordsResponse](#vulcanize.nameservice.v1beta1.QueryListNameRecordsResponse) | List name records | GET|/vulcanize/nameservice/v1beta1/names| | `ListNameRecords` | [QueryListNameRecordsRequest](#vulcanize.registry.v1beta1.QueryListNameRecordsRequest) | [QueryListNameRecordsResponse](#vulcanize.registry.v1beta1.QueryListNameRecordsResponse) | List name records | GET|/vulcanize/registry/v1beta1/names|
| `Whois` | [QueryWhoisRequest](#vulcanize.nameservice.v1beta1.QueryWhoisRequest) | [QueryWhoisResponse](#vulcanize.nameservice.v1beta1.QueryWhoisResponse) | Whois method retrieve the name authority info | GET|/vulcanize/nameservice/v1beta1/whois/{name}| | `Whois` | [QueryWhoisRequest](#vulcanize.registry.v1beta1.QueryWhoisRequest) | [QueryWhoisResponse](#vulcanize.registry.v1beta1.QueryWhoisResponse) | Whois method retrieve the name authority info | GET|/vulcanize/registry/v1beta1/whois/{name}|
| `LookupCrn` | [QueryLookupCrn](#vulcanize.nameservice.v1beta1.QueryLookupCrn) | [QueryLookupCrnResponse](#vulcanize.nameservice.v1beta1.QueryLookupCrnResponse) | LookupCrn | GET|/vulcanize/nameservice/v1beta1/lookup| | `LookupCrn` | [QueryLookupCrn](#vulcanize.registry.v1beta1.QueryLookupCrn) | [QueryLookupCrnResponse](#vulcanize.registry.v1beta1.QueryLookupCrnResponse) | LookupCrn | GET|/vulcanize/registry/v1beta1/lookup|
| `ResolveCrn` | [QueryResolveCrn](#vulcanize.nameservice.v1beta1.QueryResolveCrn) | [QueryResolveCrnResponse](#vulcanize.nameservice.v1beta1.QueryResolveCrnResponse) | ResolveCrn | GET|/vulcanize/nameservice/v1beta1/resolve| | `ResolveCrn` | [QueryResolveCrn](#vulcanize.registry.v1beta1.QueryResolveCrn) | [QueryResolveCrnResponse](#vulcanize.registry.v1beta1.QueryResolveCrnResponse) | ResolveCrn | GET|/vulcanize/registry/v1beta1/resolve|
| `GetRecordExpiryQueue` | [QueryGetRecordExpiryQueue](#vulcanize.nameservice.v1beta1.QueryGetRecordExpiryQueue) | [QueryGetRecordExpiryQueueResponse](#vulcanize.nameservice.v1beta1.QueryGetRecordExpiryQueueResponse) | GetRecordExpiryQueue | GET|/vulcanize/nameservice/v1beta1/record-expiry| | `GetRecordExpiryQueue` | [QueryGetRecordExpiryQueue](#vulcanize.registry.v1beta1.QueryGetRecordExpiryQueue) | [QueryGetRecordExpiryQueueResponse](#vulcanize.registry.v1beta1.QueryGetRecordExpiryQueueResponse) | GetRecordExpiryQueue | GET|/vulcanize/registry/v1beta1/record-expiry|
| `GetAuthorityExpiryQueue` | [QueryGetAuthorityExpiryQueue](#vulcanize.nameservice.v1beta1.QueryGetAuthorityExpiryQueue) | [QueryGetAuthorityExpiryQueueResponse](#vulcanize.nameservice.v1beta1.QueryGetAuthorityExpiryQueueResponse) | GetAuthorityExpiryQueue | GET|/vulcanize/nameservice/v1beta1/authority-expiry| | `GetAuthorityExpiryQueue` | [QueryGetAuthorityExpiryQueue](#vulcanize.registry.v1beta1.QueryGetAuthorityExpiryQueue) | [QueryGetAuthorityExpiryQueueResponse](#vulcanize.registry.v1beta1.QueryGetAuthorityExpiryQueueResponse) | GetAuthorityExpiryQueue | GET|/vulcanize/registry/v1beta1/authority-expiry|
<!-- end services --> <!-- end services -->
<a name="vulcanize/nameservice/v1beta1/tx.proto"></a> <a name="vulcanize/registry/v1beta1/tx.proto"></a>
<p align="right"><a href="#top">Top</a></p> <p align="right"><a href="#top">Top</a></p>
## vulcanize/nameservice/v1beta1/tx.proto ## vulcanize/registry/v1beta1/tx.proto
<a name="vulcanize.nameservice.v1beta1.MsgAssociateBond"></a> <a name="vulcanize.registry.v1beta1.MsgAssociateBond"></a>
### MsgAssociateBond ### MsgAssociateBond
MsgAssociateBond MsgAssociateBond
@ -3095,7 +3095,7 @@ MsgAssociateBond
<a name="vulcanize.nameservice.v1beta1.MsgAssociateBondResponse"></a> <a name="vulcanize.registry.v1beta1.MsgAssociateBondResponse"></a>
### MsgAssociateBondResponse ### MsgAssociateBondResponse
MsgAssociateBondResponse MsgAssociateBondResponse
@ -3105,7 +3105,7 @@ MsgAssociateBondResponse
<a name="vulcanize.nameservice.v1beta1.MsgDeleteNameAuthority"></a> <a name="vulcanize.registry.v1beta1.MsgDeleteNameAuthority"></a>
### MsgDeleteNameAuthority ### MsgDeleteNameAuthority
MsgDeleteNameAuthority is SDK message for DeleteNameAuthority MsgDeleteNameAuthority is SDK message for DeleteNameAuthority
@ -3121,7 +3121,7 @@ MsgDeleteNameAuthority is SDK message for DeleteNameAuthority
<a name="vulcanize.nameservice.v1beta1.MsgDeleteNameAuthorityResponse"></a> <a name="vulcanize.registry.v1beta1.MsgDeleteNameAuthorityResponse"></a>
### MsgDeleteNameAuthorityResponse ### MsgDeleteNameAuthorityResponse
MsgDeleteNameAuthorityResponse MsgDeleteNameAuthorityResponse
@ -3131,7 +3131,7 @@ MsgDeleteNameAuthorityResponse
<a name="vulcanize.nameservice.v1beta1.MsgDissociateBond"></a> <a name="vulcanize.registry.v1beta1.MsgDissociateBond"></a>
### MsgDissociateBond ### MsgDissociateBond
MsgDissociateBond is SDK message for Msg/DissociateBond MsgDissociateBond is SDK message for Msg/DissociateBond
@ -3147,7 +3147,7 @@ MsgDissociateBond is SDK message for Msg/DissociateBond
<a name="vulcanize.nameservice.v1beta1.MsgDissociateBondResponse"></a> <a name="vulcanize.registry.v1beta1.MsgDissociateBondResponse"></a>
### MsgDissociateBondResponse ### MsgDissociateBondResponse
MsgDissociateBondResponse is response type for MsgDissociateBond MsgDissociateBondResponse is response type for MsgDissociateBond
@ -3157,7 +3157,7 @@ MsgDissociateBondResponse is response type for MsgDissociateBond
<a name="vulcanize.nameservice.v1beta1.MsgDissociateRecords"></a> <a name="vulcanize.registry.v1beta1.MsgDissociateRecords"></a>
### MsgDissociateRecords ### MsgDissociateRecords
MsgDissociateRecords is SDK message for Msg/DissociateRecords MsgDissociateRecords is SDK message for Msg/DissociateRecords
@ -3173,7 +3173,7 @@ MsgDissociateRecords is SDK message for Msg/DissociateRecords
<a name="vulcanize.nameservice.v1beta1.MsgDissociateRecordsResponse"></a> <a name="vulcanize.registry.v1beta1.MsgDissociateRecordsResponse"></a>
### MsgDissociateRecordsResponse ### MsgDissociateRecordsResponse
MsgDissociateRecordsResponse is response type for MsgDissociateRecords MsgDissociateRecordsResponse is response type for MsgDissociateRecords
@ -3183,7 +3183,7 @@ MsgDissociateRecordsResponse is response type for MsgDissociateRecords
<a name="vulcanize.nameservice.v1beta1.MsgReAssociateRecords"></a> <a name="vulcanize.registry.v1beta1.MsgReAssociateRecords"></a>
### MsgReAssociateRecords ### MsgReAssociateRecords
MsgReAssociateRecords is SDK message for Msg/ReAssociateRecords MsgReAssociateRecords is SDK message for Msg/ReAssociateRecords
@ -3200,7 +3200,7 @@ MsgReAssociateRecords is SDK message for Msg/ReAssociateRecords
<a name="vulcanize.nameservice.v1beta1.MsgReAssociateRecordsResponse"></a> <a name="vulcanize.registry.v1beta1.MsgReAssociateRecordsResponse"></a>
### MsgReAssociateRecordsResponse ### MsgReAssociateRecordsResponse
MsgReAssociateRecordsResponse is response type for MsgReAssociateRecords MsgReAssociateRecordsResponse is response type for MsgReAssociateRecords
@ -3210,7 +3210,7 @@ MsgReAssociateRecordsResponse is response type for MsgReAssociateRecords
<a name="vulcanize.nameservice.v1beta1.MsgRenewRecord"></a> <a name="vulcanize.registry.v1beta1.MsgRenewRecord"></a>
### MsgRenewRecord ### MsgRenewRecord
MsgRenewRecord is SDK message for Renew a record MsgRenewRecord is SDK message for Renew a record
@ -3226,7 +3226,7 @@ MsgRenewRecord is SDK message for Renew a record
<a name="vulcanize.nameservice.v1beta1.MsgRenewRecordResponse"></a> <a name="vulcanize.registry.v1beta1.MsgRenewRecordResponse"></a>
### MsgRenewRecordResponse ### MsgRenewRecordResponse
MsgRenewRecordResponse MsgRenewRecordResponse
@ -3236,7 +3236,7 @@ MsgRenewRecordResponse
<a name="vulcanize.nameservice.v1beta1.MsgReserveAuthority"></a> <a name="vulcanize.registry.v1beta1.MsgReserveAuthority"></a>
### MsgReserveAuthority ### MsgReserveAuthority
MsgReserveName MsgReserveName
@ -3253,7 +3253,7 @@ MsgReserveName
<a name="vulcanize.nameservice.v1beta1.MsgReserveAuthorityResponse"></a> <a name="vulcanize.registry.v1beta1.MsgReserveAuthorityResponse"></a>
### MsgReserveAuthorityResponse ### MsgReserveAuthorityResponse
MsgReserveNameResponse MsgReserveNameResponse
@ -3263,7 +3263,7 @@ MsgReserveNameResponse
<a name="vulcanize.nameservice.v1beta1.MsgSetAuthorityBond"></a> <a name="vulcanize.registry.v1beta1.MsgSetAuthorityBond"></a>
### MsgSetAuthorityBond ### MsgSetAuthorityBond
MsgSetAuthorityBond is SDK message for SetAuthorityBond MsgSetAuthorityBond is SDK message for SetAuthorityBond
@ -3280,7 +3280,7 @@ MsgSetAuthorityBond is SDK message for SetAuthorityBond
<a name="vulcanize.nameservice.v1beta1.MsgSetAuthorityBondResponse"></a> <a name="vulcanize.registry.v1beta1.MsgSetAuthorityBondResponse"></a>
### MsgSetAuthorityBondResponse ### MsgSetAuthorityBondResponse
MsgSetAuthorityBondResponse MsgSetAuthorityBondResponse
@ -3290,7 +3290,7 @@ MsgSetAuthorityBondResponse
<a name="vulcanize.nameservice.v1beta1.MsgSetName"></a> <a name="vulcanize.registry.v1beta1.MsgSetName"></a>
### MsgSetName ### MsgSetName
MsgSetName MsgSetName
@ -3307,7 +3307,7 @@ MsgSetName
<a name="vulcanize.nameservice.v1beta1.MsgSetNameResponse"></a> <a name="vulcanize.registry.v1beta1.MsgSetNameResponse"></a>
### MsgSetNameResponse ### MsgSetNameResponse
MsgSetNameResponse MsgSetNameResponse
@ -3317,7 +3317,7 @@ MsgSetNameResponse
<a name="vulcanize.nameservice.v1beta1.MsgSetRecord"></a> <a name="vulcanize.registry.v1beta1.MsgSetRecord"></a>
### MsgSetRecord ### MsgSetRecord
MsgSetRecord MsgSetRecord
@ -3327,14 +3327,14 @@ MsgSetRecord
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| `bond_id` | [string](#string) | | | | `bond_id` | [string](#string) | | |
| `signer` | [string](#string) | | | | `signer` | [string](#string) | | |
| `payload` | [Payload](#vulcanize.nameservice.v1beta1.Payload) | | | | `payload` | [Payload](#vulcanize.registry.v1beta1.Payload) | | |
<a name="vulcanize.nameservice.v1beta1.MsgSetRecordResponse"></a> <a name="vulcanize.registry.v1beta1.MsgSetRecordResponse"></a>
### MsgSetRecordResponse ### MsgSetRecordResponse
MsgSetRecordResponse MsgSetRecordResponse
@ -3349,7 +3349,7 @@ MsgSetRecordResponse
<a name="vulcanize.nameservice.v1beta1.Payload"></a> <a name="vulcanize.registry.v1beta1.Payload"></a>
### Payload ### Payload
Payload Payload
@ -3357,8 +3357,8 @@ Payload
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| `record` | [Record](#vulcanize.nameservice.v1beta1.Record) | | | | `record` | [Record](#vulcanize.registry.v1beta1.Record) | | |
| `signatures` | [Signature](#vulcanize.nameservice.v1beta1.Signature) | repeated | | | `signatures` | [Signature](#vulcanize.registry.v1beta1.Signature) | repeated | |
@ -3371,23 +3371,23 @@ Payload
<!-- end HasExtensions --> <!-- end HasExtensions -->
<a name="vulcanize.nameservice.v1beta1.Msg"></a> <a name="vulcanize.registry.v1beta1.Msg"></a>
### Msg ### Msg
Msg Msg
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- | | ----------- | ------------ | ------------- | ------------| ------- | -------- |
| `SetRecord` | [MsgSetRecord](#vulcanize.nameservice.v1beta1.MsgSetRecord) | [MsgSetRecordResponse](#vulcanize.nameservice.v1beta1.MsgSetRecordResponse) | SetRecord will records a new record with given payload and bond id | | | `SetRecord` | [MsgSetRecord](#vulcanize.registry.v1beta1.MsgSetRecord) | [MsgSetRecordResponse](#vulcanize.registry.v1beta1.MsgSetRecordResponse) | SetRecord will records a new record with given payload and bond id | |
| `RenewRecord` | [MsgRenewRecord](#vulcanize.nameservice.v1beta1.MsgRenewRecord) | [MsgRenewRecordResponse](#vulcanize.nameservice.v1beta1.MsgRenewRecordResponse) | Renew Record will renew the expire record | | | `RenewRecord` | [MsgRenewRecord](#vulcanize.registry.v1beta1.MsgRenewRecord) | [MsgRenewRecordResponse](#vulcanize.registry.v1beta1.MsgRenewRecordResponse) | Renew Record will renew the expire record | |
| `AssociateBond` | [MsgAssociateBond](#vulcanize.nameservice.v1beta1.MsgAssociateBond) | [MsgAssociateBondResponse](#vulcanize.nameservice.v1beta1.MsgAssociateBondResponse) | AssociateBond | | | `AssociateBond` | [MsgAssociateBond](#vulcanize.registry.v1beta1.MsgAssociateBond) | [MsgAssociateBondResponse](#vulcanize.registry.v1beta1.MsgAssociateBondResponse) | AssociateBond | |
| `DissociateBond` | [MsgDissociateBond](#vulcanize.nameservice.v1beta1.MsgDissociateBond) | [MsgDissociateBondResponse](#vulcanize.nameservice.v1beta1.MsgDissociateBondResponse) | DissociateBond | | | `DissociateBond` | [MsgDissociateBond](#vulcanize.registry.v1beta1.MsgDissociateBond) | [MsgDissociateBondResponse](#vulcanize.registry.v1beta1.MsgDissociateBondResponse) | DissociateBond | |
| `DissociateRecords` | [MsgDissociateRecords](#vulcanize.nameservice.v1beta1.MsgDissociateRecords) | [MsgDissociateRecordsResponse](#vulcanize.nameservice.v1beta1.MsgDissociateRecordsResponse) | DissociateRecords | | | `DissociateRecords` | [MsgDissociateRecords](#vulcanize.registry.v1beta1.MsgDissociateRecords) | [MsgDissociateRecordsResponse](#vulcanize.registry.v1beta1.MsgDissociateRecordsResponse) | DissociateRecords | |
| `ReAssociateRecords` | [MsgReAssociateRecords](#vulcanize.nameservice.v1beta1.MsgReAssociateRecords) | [MsgReAssociateRecordsResponse](#vulcanize.nameservice.v1beta1.MsgReAssociateRecordsResponse) | ReAssociateRecords | | | `ReAssociateRecords` | [MsgReAssociateRecords](#vulcanize.registry.v1beta1.MsgReAssociateRecords) | [MsgReAssociateRecordsResponse](#vulcanize.registry.v1beta1.MsgReAssociateRecordsResponse) | ReAssociateRecords | |
| `SetName` | [MsgSetName](#vulcanize.nameservice.v1beta1.MsgSetName) | [MsgSetNameResponse](#vulcanize.nameservice.v1beta1.MsgSetNameResponse) | SetName will store the name with given crn and name | | | `SetName` | [MsgSetName](#vulcanize.registry.v1beta1.MsgSetName) | [MsgSetNameResponse](#vulcanize.registry.v1beta1.MsgSetNameResponse) | SetName will store the name with given crn and name | |
| `ReserveName` | [MsgReserveAuthority](#vulcanize.nameservice.v1beta1.MsgReserveAuthority) | [MsgReserveAuthorityResponse](#vulcanize.nameservice.v1beta1.MsgReserveAuthorityResponse) | Reserve name | | | `ReserveName` | [MsgReserveAuthority](#vulcanize.registry.v1beta1.MsgReserveAuthority) | [MsgReserveAuthorityResponse](#vulcanize.registry.v1beta1.MsgReserveAuthorityResponse) | Reserve name | |
| `DeleteName` | [MsgDeleteNameAuthority](#vulcanize.nameservice.v1beta1.MsgDeleteNameAuthority) | [MsgDeleteNameAuthorityResponse](#vulcanize.nameservice.v1beta1.MsgDeleteNameAuthorityResponse) | Delete Name method will remove authority name | | | `DeleteName` | [MsgDeleteNameAuthority](#vulcanize.registry.v1beta1.MsgDeleteNameAuthority) | [MsgDeleteNameAuthorityResponse](#vulcanize.registry.v1beta1.MsgDeleteNameAuthorityResponse) | Delete Name method will remove authority name | |
| `SetAuthorityBond` | [MsgSetAuthorityBond](#vulcanize.nameservice.v1beta1.MsgSetAuthorityBond) | [MsgSetAuthorityBondResponse](#vulcanize.nameservice.v1beta1.MsgSetAuthorityBondResponse) | SetAuthorityBond | | | `SetAuthorityBond` | [MsgSetAuthorityBond](#vulcanize.registry.v1beta1.MsgSetAuthorityBond) | [MsgSetAuthorityBondResponse](#vulcanize.registry.v1beta1.MsgSetAuthorityBondResponse) | SetAuthorityBond | |
<!-- end services --> <!-- end services -->

4
go.mod
View File

@ -44,7 +44,7 @@ require (
github.com/vektah/gqlparser/v2 v2.5.1 github.com/vektah/gqlparser/v2 v2.5.1
golang.org/x/net v0.2.0 golang.org/x/net v0.2.0
golang.org/x/text v0.4.0 golang.org/x/text v0.4.0
google.golang.org/genproto v0.0.0-20221109142239-94d6d90a7d66 google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6
google.golang.org/grpc v1.50.1 google.golang.org/grpc v1.50.1
google.golang.org/protobuf v1.28.1 google.golang.org/protobuf v1.28.1
gopkg.in/yaml.v3 v3.0.1 gopkg.in/yaml.v3 v3.0.1
@ -194,7 +194,7 @@ require (
github.com/zondax/hid v0.9.1-0.20220302062450-5552068d2266 // indirect github.com/zondax/hid v0.9.1-0.20220302062450-5552068d2266 // indirect
go.etcd.io/bbolt v1.3.6 // indirect go.etcd.io/bbolt v1.3.6 // indirect
go.opencensus.io v0.23.0 // indirect go.opencensus.io v0.23.0 // indirect
golang.org/x/crypto v0.2.0 // indirect golang.org/x/crypto v0.3.0 // indirect
golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect
golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783 // indirect golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783 // indirect
golang.org/x/sync v0.1.0 // indirect golang.org/x/sync v0.1.0 // indirect

8
go.sum
View File

@ -1159,8 +1159,8 @@ golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm
golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.2.0 h1:BRXPfhNivWL5Yq0BGQ39a2sW6t44aODpfxkWjYdzewE= golang.org/x/crypto v0.3.0 h1:a06MkbcxBrEFc0w0QIZWXrH/9cCX6KJyWbBOIwAn+7A=
golang.org/x/crypto v0.2.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4=
golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
@ -1551,8 +1551,8 @@ google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6D
google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/genproto v0.0.0-20210126160654-44e461bb6506/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210126160654-44e461bb6506/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/genproto v0.0.0-20221109142239-94d6d90a7d66 h1:wx7sJ5GRBQLRcslTNcrTklsHhHevQvxgztW18txbbZM= google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6 h1:a2S6M0+660BgMNl++4JPlcAO/CjkqYItDEZwkoDQK7c=
google.golang.org/genproto v0.0.0-20221109142239-94d6d90a7d66/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg=
google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.19.1/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.19.1/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=

View File

@ -7,7 +7,7 @@ import (
auctiontypes "github.com/cerc-io/laconicd/x/auction/types" auctiontypes "github.com/cerc-io/laconicd/x/auction/types"
bondtypes "github.com/cerc-io/laconicd/x/bond/types" bondtypes "github.com/cerc-io/laconicd/x/bond/types"
nstypes "github.com/cerc-io/laconicd/x/nameservice/types" registrytypes "github.com/cerc-io/laconicd/x/registry/types"
"github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
@ -32,12 +32,12 @@ func (r *Resolver) Query() QueryResolver {
type queryResolver struct{ *Resolver } type queryResolver struct{ *Resolver }
func (q queryResolver) LookupAuthorities(ctx context.Context, names []string) ([]*AuthorityRecord, error) { func (q queryResolver) LookupAuthorities(ctx context.Context, names []string) ([]*AuthorityRecord, error) {
nsQueryClient := nstypes.NewQueryClient(q.ctx) nsQueryClient := registrytypes.NewQueryClient(q.ctx)
auctionQueryClient := auctiontypes.NewQueryClient(q.ctx) auctionQueryClient := auctiontypes.NewQueryClient(q.ctx)
gqlResponse := []*AuthorityRecord{} gqlResponse := []*AuthorityRecord{}
for _, name := range names { for _, name := range names {
res, err := nsQueryClient.Whois(context.Background(), &nstypes.QueryWhoisRequest{Name: name}) res, err := nsQueryClient.Whois(context.Background(), &registrytypes.QueryWhoisRequest{Name: name})
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -73,10 +73,10 @@ func (q queryResolver) LookupAuthorities(ctx context.Context, names []string) ([
} }
func (q queryResolver) ResolveNames(ctx context.Context, names []string) ([]*Record, error) { func (q queryResolver) ResolveNames(ctx context.Context, names []string) ([]*Record, error) {
nsQueryClient := nstypes.NewQueryClient(q.ctx) nsQueryClient := registrytypes.NewQueryClient(q.ctx)
var gqlResponse []*Record var gqlResponse []*Record
for _, name := range names { for _, name := range names {
res, err := nsQueryClient.ResolveCrn(context.Background(), &nstypes.QueryResolveCrn{Crn: name}) res, err := nsQueryClient.ResolveCrn(context.Background(), &registrytypes.QueryResolveCrn{Crn: name})
if err != nil { if err != nil {
// Return nil for record not found. // Return nil for record not found.
gqlResponse = append(gqlResponse, nil) gqlResponse = append(gqlResponse, nil)
@ -94,11 +94,11 @@ func (q queryResolver) ResolveNames(ctx context.Context, names []string) ([]*Rec
} }
func (q queryResolver) LookupNames(ctx context.Context, names []string) ([]*NameRecord, error) { func (q queryResolver) LookupNames(ctx context.Context, names []string) ([]*NameRecord, error) {
nsQueryClient := nstypes.NewQueryClient(q.ctx) nsQueryClient := registrytypes.NewQueryClient(q.ctx)
var gqlResponse []*NameRecord var gqlResponse []*NameRecord
for _, name := range names { for _, name := range names {
res, err := nsQueryClient.LookupCrn(context.Background(), &nstypes.QueryLookupCrn{Crn: name}) res, err := nsQueryClient.LookupCrn(context.Background(), &registrytypes.QueryLookupCrn{Crn: name})
if err != nil { if err != nil {
// Return nil for name not found. // Return nil for name not found.
gqlResponse = append(gqlResponse, nil) gqlResponse = append(gqlResponse, nil)
@ -116,11 +116,11 @@ func (q queryResolver) LookupNames(ctx context.Context, names []string) ([]*Name
} }
func (q queryResolver) QueryRecords(ctx context.Context, attributes []*KeyValueInput, all *bool) ([]*Record, error) { func (q queryResolver) QueryRecords(ctx context.Context, attributes []*KeyValueInput, all *bool) ([]*Record, error) {
nsQueryClient := nstypes.NewQueryClient(q.ctx) nsQueryClient := registrytypes.NewQueryClient(q.ctx)
res, err := nsQueryClient.ListRecords( res, err := nsQueryClient.ListRecords(
context.Background(), context.Background(),
&nstypes.QueryListRecordsRequest{ &registrytypes.QueryListRecordsRequest{
Attributes: parseRequestAttributes(attributes), Attributes: parseRequestAttributes(attributes),
All: (all != nil && *all), All: (all != nil && *all),
}, },
@ -144,11 +144,11 @@ func (q queryResolver) QueryRecords(ctx context.Context, attributes []*KeyValueI
} }
func (q queryResolver) GetRecordsByIds(ctx context.Context, ids []string) ([]*Record, error) { func (q queryResolver) GetRecordsByIds(ctx context.Context, ids []string) ([]*Record, error) {
nsQueryClient := nstypes.NewQueryClient(q.ctx) nsQueryClient := registrytypes.NewQueryClient(q.ctx)
gqlResponse := make([]*Record, len(ids)) gqlResponse := make([]*Record, len(ids))
for i, id := range ids { for i, id := range ids {
res, err := nsQueryClient.GetRecord(context.Background(), &nstypes.QueryRecordByIDRequest{Id: id}) res, err := nsQueryClient.GetRecord(context.Background(), &registrytypes.QueryRecordByIDRequest{Id: id})
if err != nil { if err != nil {
// Return nil for record not found. // Return nil for record not found.
gqlResponse[i] = nil gqlResponse[i] = nil
@ -186,7 +186,7 @@ func (q queryResolver) GetStatus(ctx context.Context) (*Status, error) {
} }
return &Status{ return &Status{
Version: NameServiceVersion, Version: RegistryVersion,
Node: nodeInfo, Node: nodeInfo,
Sync: syncInfo, Sync: syncInfo,
Validator: validatorInfo, Validator: validatorInfo,

View File

@ -9,7 +9,7 @@ import (
auctiontypes "github.com/cerc-io/laconicd/x/auction/types" auctiontypes "github.com/cerc-io/laconicd/x/auction/types"
bondtypes "github.com/cerc-io/laconicd/x/bond/types" bondtypes "github.com/cerc-io/laconicd/x/bond/types"
nstypes "github.com/cerc-io/laconicd/x/nameservice/types" registrytypes "github.com/cerc-io/laconicd/x/registry/types"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
) )
@ -40,7 +40,7 @@ func getGQLCoins(coins sdk.Coins) []*Coin {
return gqlCoins return gqlCoins
} }
func GetGQLNameAuthorityRecord(record *nstypes.NameAuthority) (*AuthorityRecord, error) { func GetGQLNameAuthorityRecord(record *registrytypes.NameAuthority) (*AuthorityRecord, error) {
if record == nil { if record == nil {
return nil, nil return nil, nil
} }
@ -55,7 +55,7 @@ func GetGQLNameAuthorityRecord(record *nstypes.NameAuthority) (*AuthorityRecord,
}, nil }, nil
} }
func getGQLRecord(ctx context.Context, resolver QueryResolver, record nstypes.Record) (*Record, error) { func getGQLRecord(ctx context.Context, resolver QueryResolver, record registrytypes.Record) (*Record, error) {
// Nil record. // Nil record.
if record.Deleted { if record.Deleted {
return nil, nil return nil, nil
@ -84,7 +84,7 @@ func getGQLRecord(ctx context.Context, resolver QueryResolver, record nstypes.Re
}, nil }, nil
} }
func getGQLNameRecord(record *nstypes.NameRecord) (*NameRecord, error) { func getGQLNameRecord(record *registrytypes.NameRecord) (*NameRecord, error) {
if record == nil { if record == nil {
return nil, fmt.Errorf("got nil record") return nil, fmt.Errorf("got nil record")
} }
@ -100,7 +100,7 @@ func getGQLNameRecord(record *nstypes.NameRecord) (*NameRecord, error) {
}, nil }, nil
} }
func getNameRecordEntry(record *nstypes.NameRecordEntry) *NameRecordEntry { func getNameRecordEntry(record *registrytypes.NameRecordEntry) *NameRecordEntry {
return &NameRecordEntry{ return &NameRecordEntry{
ID: record.Id, ID: record.Id,
Height: strconv.FormatUint(record.Height, 10), Height: strconv.FormatUint(record.Height, 10),
@ -163,7 +163,7 @@ func GetGQLAuction(auction *auctiontypes.Auction, bids []*auctiontypes.Bid) (*Au
return &gqlAuction, nil return &gqlAuction, nil
} }
func getReferences(ctx context.Context, resolver QueryResolver, r *nstypes.RecordType) ([]*Record, error) { func getReferences(ctx context.Context, resolver QueryResolver, r *registrytypes.RecordType) ([]*Record, error) {
var ids []string var ids []string
// #nosec G705 // #nosec G705
@ -184,7 +184,7 @@ func getReferences(ctx context.Context, resolver QueryResolver, r *nstypes.Recor
return resolver.GetRecordsByIds(ctx, ids) return resolver.GetRecordsByIds(ctx, ids)
} }
func getAttributes(r *nstypes.RecordType) ([]*KeyValue, error) { func getAttributes(r *registrytypes.RecordType) ([]*KeyValue, error) {
return mapToKeyValuePairs(r.Attributes) return mapToKeyValuePairs(r.Attributes)
} }
@ -253,13 +253,13 @@ func mapToKeyValuePairs(attrs map[string]interface{}) ([]*KeyValue, error) {
return kvPairs, nil return kvPairs, nil
} }
func parseRequestAttributes(attrs []*KeyValueInput) []*nstypes.QueryListRecordsRequest_KeyValueInput { func parseRequestAttributes(attrs []*KeyValueInput) []*registrytypes.QueryListRecordsRequest_KeyValueInput {
kvPairs := []*nstypes.QueryListRecordsRequest_KeyValueInput{} kvPairs := []*registrytypes.QueryListRecordsRequest_KeyValueInput{}
for _, value := range attrs { for _, value := range attrs {
kvPair := &nstypes.QueryListRecordsRequest_KeyValueInput{ kvPair := &registrytypes.QueryListRecordsRequest_KeyValueInput{
Key: value.Key, Key: value.Key,
Value: &nstypes.QueryListRecordsRequest_ValueInput{}, Value: &registrytypes.QueryListRecordsRequest_ValueInput{},
} }
if value.Value.String != nil { if value.Value.String != nil {
@ -283,7 +283,7 @@ func parseRequestAttributes(attrs []*KeyValueInput) []*nstypes.QueryListRecordsR
} }
if value.Value.Reference != nil { if value.Value.Reference != nil {
reference := &nstypes.QueryListRecordsRequest_ReferenceInput{ reference := &registrytypes.QueryListRecordsRequest_ReferenceInput{
Id: value.Value.Reference.ID, Id: value.Value.Reference.ID,
} }

View File

@ -1,4 +1,4 @@
package gql package gql
// NameServiceVersion is the registry API version. // RegistryVersion is the registry API version.
const NameServiceVersion = "0.3.0" const RegistryVersion = "0.3.0"

28
init.sh
View File

@ -33,28 +33,28 @@ cat $HOME/.laconicd/config/genesis.json | jq '.app_state["crisis"]["constant_fee
cat $HOME/.laconicd/config/genesis.json | jq '.app_state["gov"]["deposit_params"]["min_deposit"][0]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json cat $HOME/.laconicd/config/genesis.json | jq '.app_state["gov"]["deposit_params"]["min_deposit"][0]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json
cat $HOME/.laconicd/config/genesis.json | jq '.app_state["mint"]["params"]["mint_denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json cat $HOME/.laconicd/config/genesis.json | jq '.app_state["mint"]["params"]["mint_denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json
# Custom modules # Custom modules
cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["record_rent"]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["record_rent"]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json
cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_rent"]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_rent"]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json
cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_auction_commit_fee"]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_auction_commit_fee"]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json
cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_auction_reveal_fee"]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_auction_reveal_fee"]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json
cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_auction_minimum_bid"]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_auction_minimum_bid"]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json
if [[ "$TEST_NAMESERVICE_EXPIRY" == "true" ]]; then if [[ "$TEST_REGISTRY_EXPIRY" == "true" ]]; then
echo "Setting timers for expiry tests." echo "Setting timers for expiry tests."
cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["record_rent_duration"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["record_rent_duration"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json
cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_grace_period"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_grace_period"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json
cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_rent_duration"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_rent_duration"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json
fi fi
if [[ "$TEST_AUCTION_ENABLED" == "true" ]]; then if [[ "$TEST_AUCTION_ENABLED" == "true" ]]; then
echo "Enabling auction and setting timers." echo "Enabling auction and setting timers."
cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_auction_enabled"]=true' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_auction_enabled"]=true' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json
cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_rent_duration"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_rent_duration"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json
cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_grace_period"]="300s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_grace_period"]="300s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json
cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_auction_commits_duration"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_auction_commits_duration"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json
cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_auction_reveals_duration"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_auction_reveals_duration"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json
fi fi
# increase block time (?) # increase block time (?)

View File

@ -1,9 +1,9 @@
syntax = "proto3"; syntax = "proto3";
package vulcanize.nameservice.v1beta1; package vulcanize.registry.v1beta1;
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
option go_package = "github.com/cerc-io/laconicd/x/nameservice/types"; option go_package = "github.com/cerc-io/laconicd/x/registry/types";
message ServiceProviderRegistration { message ServiceProviderRegistration {
string bond_id = 1 [(gogoproto.moretags) = "json:\"bondId\" yaml:\"bondId\""]; string bond_id = 1 [(gogoproto.moretags) = "json:\"bondId\" yaml:\"bondId\""];

View File

@ -1,14 +1,14 @@
syntax = "proto3"; syntax = "proto3";
package vulcanize.nameservice.v1beta1; package vulcanize.registry.v1beta1;
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "vulcanize/nameservice/v1beta1/nameservice.proto"; import "vulcanize/registry/v1beta1/registry.proto";
option go_package = "github.com/cerc-io/laconicd/x/nameservice/types"; option go_package = "github.com/cerc-io/laconicd/x/registry/types";
// GenesisState defines the nameservice module's genesis state. // GenesisState defines the registry module's genesis state.
message GenesisState { message GenesisState {
// params defines all the params of nameservice module. // params defines all the params of registry module.
Params params = 1 [(gogoproto.nullable) = false]; Params params = 1 [(gogoproto.nullable) = false];
// records // records
repeated Record records = 2 repeated Record records = 2

View File

@ -1,71 +1,71 @@
syntax = "proto3"; syntax = "proto3";
package vulcanize.nameservice.v1beta1; package vulcanize.registry.v1beta1;
import "vulcanize/nameservice/v1beta1/nameservice.proto"; import "vulcanize/registry/v1beta1/registry.proto";
import "google/api/annotations.proto"; import "google/api/annotations.proto";
import "cosmos/base/query/v1beta1/pagination.proto"; import "cosmos/base/query/v1beta1/pagination.proto";
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "cosmos/base/v1beta1/coin.proto"; import "cosmos/base/v1beta1/coin.proto";
option go_package = "github.com/cerc-io/laconicd/x/nameservice/types"; option go_package = "github.com/cerc-io/laconicd/x/registry/types";
// Query defines the gRPC querier service for nameservice module // Query defines the gRPC querier service for registry module
service Query { service Query {
// Params queries the nameservice module params. // Params queries the registry module params.
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
option (google.api.http).get = "/vulcanize/nameservice/v1beta1/params"; option (google.api.http).get = "/vulcanize/registry/v1beta1/params";
} }
// List records // List records
rpc ListRecords(QueryListRecordsRequest) returns (QueryListRecordsResponse) { rpc ListRecords(QueryListRecordsRequest) returns (QueryListRecordsResponse) {
option (google.api.http).get = "/vulcanize/nameservice/v1beta1/records"; option (google.api.http).get = "/vulcanize/registry/v1beta1/records";
} }
// Get record by id // Get record by id
rpc GetRecord(QueryRecordByIDRequest) returns (QueryRecordByIDResponse) { rpc GetRecord(QueryRecordByIDRequest) returns (QueryRecordByIDResponse) {
option (google.api.http).get = "/vulcanize/nameservice/v1beta1/records/{id}"; option (google.api.http).get = "/vulcanize/registry/v1beta1/records/{id}";
} }
// Get records by bond id // Get records by bond id
rpc GetRecordByBondID(QueryRecordByBondIDRequest) returns (QueryRecordByBondIDResponse) { rpc GetRecordByBondID(QueryRecordByBondIDRequest) returns (QueryRecordByBondIDResponse) {
option (google.api.http).get = "/vulcanize/nameservice/v1beta1/records-by-bond-id/{id}"; option (google.api.http).get = "/vulcanize/registry/v1beta1/records-by-bond-id/{id}";
} }
// Get nameservice module balance // Get registry module balance
rpc GetNameServiceModuleBalance(GetNameServiceModuleBalanceRequest) returns (GetNameServiceModuleBalanceResponse) { rpc GetRegistryModuleBalance(GetRegistryModuleBalanceRequest) returns (GetRegistryModuleBalanceResponse) {
option (google.api.http).get = "/vulcanize/nameservice/v1beta1/balance"; option (google.api.http).get = "/vulcanize/registry/v1beta1/balance";
} }
// List name records // List name records
rpc ListNameRecords(QueryListNameRecordsRequest) returns (QueryListNameRecordsResponse) { rpc ListNameRecords(QueryListNameRecordsRequest) returns (QueryListNameRecordsResponse) {
option (google.api.http).get = "/vulcanize/nameservice/v1beta1/names"; option (google.api.http).get = "/vulcanize/registry/v1beta1/names";
} }
// Whois method retrieve the name authority info // Whois method retrieve the name authority info
rpc Whois(QueryWhoisRequest) returns (QueryWhoisResponse) { rpc Whois(QueryWhoisRequest) returns (QueryWhoisResponse) {
option (google.api.http).get = "/vulcanize/nameservice/v1beta1/whois/{name}"; option (google.api.http).get = "/vulcanize/registry/v1beta1/whois/{name}";
} }
// LookupCrn // LookupCrn
rpc LookupCrn(QueryLookupCrn) returns (QueryLookupCrnResponse) { rpc LookupCrn(QueryLookupCrn) returns (QueryLookupCrnResponse) {
option (google.api.http).get = "/vulcanize/nameservice/v1beta1/lookup"; option (google.api.http).get = "/vulcanize/registry/v1beta1/lookup";
} }
// ResolveCrn // ResolveCrn
rpc ResolveCrn(QueryResolveCrn) returns (QueryResolveCrnResponse) { rpc ResolveCrn(QueryResolveCrn) returns (QueryResolveCrnResponse) {
option (google.api.http).get = "/vulcanize/nameservice/v1beta1/resolve"; option (google.api.http).get = "/vulcanize/registry/v1beta1/resolve";
} }
// GetRecordExpiryQueue // GetRecordExpiryQueue
rpc GetRecordExpiryQueue(QueryGetRecordExpiryQueue) returns (QueryGetRecordExpiryQueueResponse) { rpc GetRecordExpiryQueue(QueryGetRecordExpiryQueue) returns (QueryGetRecordExpiryQueueResponse) {
option (google.api.http).get = "/vulcanize/nameservice/v1beta1/record-expiry"; option (google.api.http).get = "/vulcanize/registry/v1beta1/record-expiry";
} }
// GetAuthorityExpiryQueue // GetAuthorityExpiryQueue
rpc GetAuthorityExpiryQueue(QueryGetAuthorityExpiryQueue) returns (QueryGetAuthorityExpiryQueueResponse) { rpc GetAuthorityExpiryQueue(QueryGetAuthorityExpiryQueue) returns (QueryGetAuthorityExpiryQueueResponse) {
option (google.api.http).get = "/vulcanize/nameservice/v1beta1/authority-expiry"; option (google.api.http).get = "/vulcanize/registry/v1beta1/authority-expiry";
} }
} }
// QueryParamsRequest is request type for nameservice params // QueryParamsRequest is request type for registry params
message QueryParamsRequest {} message QueryParamsRequest {}
// QueryParamsResponse is response type for nameservice params // QueryParamsResponse is response type for registry params
message QueryParamsResponse { message QueryParamsResponse {
Params params = 1; Params params = 1;
} }
// QueryListRecordsRequest is request type for nameservice records list // QueryListRecordsRequest is request type for registry records list
message QueryListRecordsRequest { message QueryListRecordsRequest {
message ReferenceInput { message ReferenceInput {
string id = 1; string id = 1;
@ -91,19 +91,19 @@ message QueryListRecordsRequest {
cosmos.base.query.v1beta1.PageRequest pagination = 3; cosmos.base.query.v1beta1.PageRequest pagination = 3;
} }
// QueryListRecordsResponse is response type for nameservice records list // QueryListRecordsResponse is response type for registry records list
message QueryListRecordsResponse { message QueryListRecordsResponse {
repeated Record records = 1 [(gogoproto.nullable) = false]; repeated Record records = 1 [(gogoproto.nullable) = false];
// pagination defines the pagination in the response. // pagination defines the pagination in the response.
cosmos.base.query.v1beta1.PageResponse pagination = 2; cosmos.base.query.v1beta1.PageResponse pagination = 2;
} }
// QueryRecordByIDRequest is request type for nameservice records by id // QueryRecordByIDRequest is request type for registry records by id
message QueryRecordByIDRequest { message QueryRecordByIDRequest {
string id = 1; string id = 1;
} }
// QueryRecordByIDResponse is response type for nameservice records by id // QueryRecordByIDResponse is response type for registry records by id
message QueryRecordByIDResponse { message QueryRecordByIDResponse {
Record record = 1 [(gogoproto.nullable) = false]; Record record = 1 [(gogoproto.nullable) = false];
} }
@ -122,15 +122,15 @@ message QueryRecordByBondIDResponse {
cosmos.base.query.v1beta1.PageResponse pagination = 2; cosmos.base.query.v1beta1.PageResponse pagination = 2;
} }
// GetNameServiceModuleBalanceRequest is request type for nameservice module accounts balance // GetRegistryModuleBalanceRequest is request type for registry module accounts balance
message GetNameServiceModuleBalanceRequest {} message GetRegistryModuleBalanceRequest {}
// GetNameServiceModuleBalanceResponse is response type for nameservice module accounts balance // GetRegistryModuleBalanceResponse is response type for registry module accounts balance
message GetNameServiceModuleBalanceResponse { message GetRegistryModuleBalanceResponse {
repeated AccountBalance balances = 1; repeated AccountBalance balances = 1;
} }
// AccountBalance is nameservice module account balance // AccountBalance is registry module account balance
message AccountBalance { message AccountBalance {
string account_name = 1 [(gogoproto.moretags) = "json:\"accountName\" yaml:\"accountName\""]; string account_name = 1 [(gogoproto.moretags) = "json:\"accountName\" yaml:\"accountName\""];
repeated cosmos.base.v1beta1.Coin balance = 3 [ repeated cosmos.base.v1beta1.Coin balance = 3 [
@ -140,13 +140,13 @@ message AccountBalance {
]; ];
} }
// QueryListNameRecordsRequest is request type for nameservice names records // QueryListNameRecordsRequest is request type for registry names records
message QueryListNameRecordsRequest { message QueryListNameRecordsRequest {
// pagination defines an optional pagination for the request. // pagination defines an optional pagination for the request.
cosmos.base.query.v1beta1.PageRequest pagination = 1; cosmos.base.query.v1beta1.PageRequest pagination = 1;
} }
// QueryListNameRecordsResponse is response type for nameservice names records // QueryListNameRecordsResponse is response type for registry names records
message QueryListNameRecordsResponse { message QueryListNameRecordsResponse {
repeated NameEntry names = 1 [(gogoproto.nullable) = false]; repeated NameEntry names = 1 [(gogoproto.nullable) = false];
// pagination defines the pagination in the response. // pagination defines the pagination in the response.

View File

@ -1,5 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package vulcanize.nameservice.v1beta1; package vulcanize.registry.v1beta1;
import "google/protobuf/duration.proto"; import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto"; import "google/protobuf/timestamp.proto";
@ -7,9 +7,9 @@ import "gogoproto/gogo.proto";
import "cosmos/base/v1beta1/coin.proto"; import "cosmos/base/v1beta1/coin.proto";
import "google/protobuf/any.proto"; import "google/protobuf/any.proto";
option go_package = "github.com/cerc-io/laconicd/x/nameservice/types"; option go_package = "github.com/cerc-io/laconicd/x/registry/types";
// Params defines the nameservice module parameters // Params defines the registry module parameters
message Params { message Params {
cosmos.base.v1beta1.Coin record_rent = 1 cosmos.base.v1beta1.Coin record_rent = 1
[(gogoproto.nullable) = false, (gogoproto.moretags) = "json:\"record_rent\" yaml:\"record_rent\""]; [(gogoproto.nullable) = false, (gogoproto.moretags) = "json:\"record_rent\" yaml:\"record_rent\""];
@ -56,7 +56,7 @@ message Params {
]; ];
} }
// Params defines the nameservice module records // Params defines the registry module records
message Record { message Record {
string id = 1 [(gogoproto.moretags) = "json:\"id\" yaml:\"id\""]; string id = 1 [(gogoproto.moretags) = "json:\"id\" yaml:\"id\""];
string bond_id = 2 [(gogoproto.moretags) = "json:\"bondId\" yaml:\"bondId\""]; string bond_id = 2 [(gogoproto.moretags) = "json:\"bondId\" yaml:\"bondId\""];
@ -69,7 +69,7 @@ message Record {
string type = 9 [(gogoproto.moretags) = "json:\"types\" yaml:\"types\""]; string type = 9 [(gogoproto.moretags) = "json:\"types\" yaml:\"types\""];
} }
// AuthorityEntry defines the nameservice module AuthorityEntries // AuthorityEntry defines the registry module AuthorityEntries
message AuthorityEntry { message AuthorityEntry {
string name = 1; string name = 1;
NameAuthority entry = 2; NameAuthority entry = 2;

View File

@ -1,10 +1,10 @@
syntax = "proto3"; syntax = "proto3";
package vulcanize.nameservice.v1beta1; package vulcanize.registry.v1beta1;
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "vulcanize/nameservice/v1beta1/nameservice.proto"; import "vulcanize/registry/v1beta1/registry.proto";
option go_package = "github.com/cerc-io/laconicd/x/nameservice/types"; option go_package = "github.com/cerc-io/laconicd/x/registry/types";
// Msg // Msg
service Msg { service Msg {

View File

@ -19,7 +19,7 @@ $ make build
## Get Params ## Get Params
```bash ```bash
$ ./build/laconicd q nameservice params -o json | jq . $ ./build/laconicd q registry params -o json | jq .
{ {
"params": { "params": {
"record_rent": { "record_rent": {
@ -58,7 +58,7 @@ $ ./build/laconicd q nameservice params -o json | jq .
> First you have to Create bond > First you have to Create bond
```bash ```bash
$ ./build/laconicd tx nameservice set ~/Desktop/examples/records/service_provider_example.yml 95f68b1b862bfd1609b0c9aaf7300287b92fec90ac64027092c3e723af36e83d --from root --chain-id ethermint_9000-1 --yes -o json $ ./build/laconicd tx registry set ~/Desktop/examples/records/service_provider_example.yml 95f68b1b862bfd1609b0c9aaf7300287b92fec90ac64027092c3e723af36e83d --from root --chain-id ethermint_9000-1 --yes -o json
{ {
"height": "0", "height": "0",
"txhash": "BA44ABE1194724694E7CB290F9F3121DB4E63E1A030D95CB84813EEA132CF95F", "txhash": "BA44ABE1194724694E7CB290F9F3121DB4E63E1A030D95CB84813EEA132CF95F",
@ -78,7 +78,7 @@ $ ./build/laconicd tx nameservice set ~/Desktop/examples/records/service_provide
## Get records list ## Get records list
```bash ```bash
$ ./build/laconicd q nameservice list -o json | jq $ ./build/laconicd q registry list -o json | jq
[ [
{ {
"id": "bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae", "id": "bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae",
@ -104,7 +104,7 @@ $ ./build/laconicd q nameservice list -o json | jq
## Get record by id ## Get record by id
```bash ```bash
$ ./build/laconicd q nameservice get bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae -o json | jq . $ ./build/laconicd q registry get bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae -o json | jq .
{ {
"record": { "record": {
"id": "bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae", "id": "bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae",
@ -121,7 +121,7 @@ $ ./build/laconicd q nameservice get bafyreih7un2ntk235wshncebus5emlozdhdixrrv67
## Reserve name ## Reserve name
```bash ```bash
./build/laconicd tx nameservice reserve-name hello --from root --chain-id ethermint_9000-1 --owner $(./build/laconicd key ./build/laconicd tx registry reserve-name hello --from root --chain-id ethermint_9000-1 --owner $(./build/laconicd key
s show root -a) -y -o json | jq . s show root -a) -y -o json | jq .
{ {
"height": "0", "height": "0",
@ -143,7 +143,7 @@ s show root -a) -y -o json | jq .
## Query Whois for name authority ## Query Whois for name authority
```bash ```bash
./build/laconicd q nameservice whois hello -o json | jq . ./build/laconicd q registry whois hello -o json | jq .
{ {
"name_authority": { "name_authority": {
"owner_public_key": "Au3hH1tzL1KgZfXfA71jGYSe5RV9Wg95kwhBWs8V+N+h", "owner_public_key": "Au3hH1tzL1KgZfXfA71jGYSe5RV9Wg95kwhBWs8V+N+h",
@ -158,10 +158,10 @@ s show root -a) -y -o json | jq .
``` ```
## Query the nameservice module balance ## Query the registry module balance
```bash ```bash
$ ./build/laconicd q nameservice balance -o json | jq . $ ./build/laconicd q registry balance -o json | jq .
{ {
"balances": [ "balances": [
{ {
@ -181,14 +181,14 @@ $ ./build/laconicd q nameservice balance -o json | jq .
## add bond to the authority ## add bond to the authority
```bash ```bash
$ ./build/laconicd tx nameservice authority-bond [Authority Name] [Bond ID ] --from root --chain-id ethermint_9000-1 -y -o json | jq . $ ./build/laconicd tx registry authority-bond [Authority Name] [Bond ID ] --from root --chain-id ethermint_9000-1 -y -o json | jq .
$ ./build/laconicd tx nameservice authority-bond hello 95f68b1b862bfd1609b0c9aaf7300287b92fec90ac64027092c3e723af36e83d --from root --chain-id ethermint_9000-1 -y -o json | jq . $ ./build/laconicd tx registry authority-bond hello 95f68b1b862bfd1609b0c9aaf7300287b92fec90ac64027092c3e723af36e83d --from root --chain-id ethermint_9000-1 -y -o json | jq .
``` ```
## Query the records by associate bond id ## Query the records by associate bond id
```bash ```bash
$ ./build/laconicd q nameservice query-by-bond 95f68b1b862bfd1609b0c9aaf7300287b92fec90ac64027092c3e723af36e83d -o json | jq . $ ./build/laconicd q registry query-by-bond 95f68b1b862bfd1609b0c9aaf7300287b92fec90ac64027092c3e723af36e83d -o json | jq .
{ {
"records": [ "records": [
{ {
@ -209,8 +209,8 @@ $ ./build/laconicd q nameservice query-by-bond 95f68b1b862bfd1609b0c9aaf7300287b
## dissociate bond from record ## dissociate bond from record
```bash ```bash
$ ./build/laconicd tx nameservice dissociate-bond bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae --from root --chain-id ethermint_9000-1 $ ./build/laconicd tx registry dissociate-bond bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae --from root --chain-id ethermint_9000-1
{"body":{"messages":[{"@type":"/vulcanize.nameservice.v1beta1.MsgDissociateBond","record_id":"bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae","signer":"ethm1mfdjngh5jvjs9lqtt9a7y2hlgw8v3syh3hsqzk"}],"memo":"","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":[]} {"body":{"messages":[{"@type":"/vulcanize.registry.v1beta1.MsgDissociateBond","record_id":"bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae","signer":"ethm1mfdjngh5jvjs9lqtt9a7y2hlgw8v3syh3hsqzk"}],"memo":"","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":[]}
confirm transaction before signing and broadcasting [y/N]: y confirm transaction before signing and broadcasting [y/N]: y
code: 0 code: 0
@ -231,7 +231,7 @@ txhash: 7AFEF524CB0D92D6576FC08601A787786E802449888FD8DDAA7635698CC85060
## Associate bond with record ## Associate bond with record
```bash ```bash
./build/laconicd tx nameservice associate-bond bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae c3f7a78c5042d2003880962ba31ff3b01fcf5942960e0bc3ca331f816346a440 --from root --chain-id ethermint_9000-1 -y -o json | jq . ./build/laconicd tx registry associate-bond bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae c3f7a78c5042d2003880962ba31ff3b01fcf5942960e0bc3ca331f816346a440 --from root --chain-id ethermint_9000-1 -y -o json | jq .
{ {
"height": "0", "height": "0",
"txhash": "F75C2BF2FE73668AE1332E1237F924AC549E31E822A56394DE5AC17200B199F9", "txhash": "F75C2BF2FE73668AE1332E1237F924AC549E31E822A56394DE5AC17200B199F9",
@ -252,7 +252,7 @@ txhash: 7AFEF524CB0D92D6576FC08601A787786E802449888FD8DDAA7635698CC85060
## dissociate-records => remove all record from bond ## dissociate-records => remove all record from bond
```bash ```bash
$./build/laconicd tx nameservice dissociate-records c3f7a78c5042d2003880962ba31ff3b01fcf5942960e0bc3ca331f816346a440 --from root --chain-id ethermint_9000-1 -y -o json | jq . $./build/laconicd tx registry dissociate-records c3f7a78c5042d2003880962ba31ff3b01fcf5942960e0bc3ca331f816346a440 --from root --chain-id ethermint_9000-1 -y -o json | jq .
{ {
"height": "0", "height": "0",
"txhash": "0316F503E5DEA47CB108AE6C7C7FFAF3F71CC56BC22F63CB97322E1BE48B33B9", "txhash": "0316F503E5DEA47CB108AE6C7C7FFAF3F71CC56BC22F63CB97322E1BE48B33B9",
@ -274,14 +274,14 @@ $./build/laconicd tx nameservice dissociate-records c3f7a78c5042d2003880962ba31f
> When a record is expires , needs to renew record > When a record is expires , needs to renew record
```bash ```bash
$ ./build/laconicd tx nameservice renew-record bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae --from root --chain-id ethermint_9000-1 $ ./build/laconicd tx registry renew-record bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae --from root --chain-id ethermint_9000-1
``` ```
## Set the authority name ## Set the authority name
```bash ```bash
$ ./build/laconicd tx nameservice set-name crn://hello/test test_hello_cid --from root --chain-id ethermint_9000-1 -y -o json | jq . $ ./build/laconicd tx registry set-name crn://hello/test test_hello_cid --from root --chain-id ethermint_9000-1 -y -o json | jq .
{ {
"height": "0", "height": "0",
"txhash": "66A63C73B076EEE9A2F7605354448EDEB161F0115D4D03AF68C01BA28DB97486", "txhash": "66A63C73B076EEE9A2F7605354448EDEB161F0115D4D03AF68C01BA28DB97486",
@ -301,7 +301,7 @@ $ ./build/laconicd tx nameservice set-name crn://hello/test test_hello_cid --fr
## Delete the name ## Delete the name
```bash ```bash
$./build/laconicd tx nameservice delete-name crn://hello/test --from root --chain-id ethermint_9000-1 -y $./build/laconicd tx registry delete-name crn://hello/test --from root --chain-id ethermint_9000-1 -y
code: 0 code: 0
codespace: "" codespace: ""
data: "" data: ""
@ -320,7 +320,7 @@ txhash: A3FF4C46BAC7BD6E54BBB743A49830AE8C6F6FE59282384789CBA323C1FE540C
## List of Authorities Expire Queue ## List of Authorities Expire Queue
```bash ```bash
$ ./build/laconicd q nameservice authority-expiry -o json | jq . $ ./build/laconicd q registry authority-expiry -o json | jq .
{ {
"authorities": [], "authorities": [],
"pagination": null "pagination": null
@ -331,7 +331,7 @@ $ ./build/laconicd q nameservice authority-expiry -o json | jq .
## List of Records Expire Queue ## List of Records Expire Queue
```bash ```bash
$ ./build/laconicd q nameservice record-expiry -o json | jq . $ ./build/laconicd q registry record-expiry -o json | jq .
{ {
"records": [], "records": [],
"pagination": null "pagination": null

View File

@ -1,7 +1,7 @@
package nameservice package registry
import ( import (
"github.com/cerc-io/laconicd/x/nameservice/keeper" "github.com/cerc-io/laconicd/x/registry/keeper"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
abci "github.com/tendermint/tendermint/abci/types" abci "github.com/tendermint/tendermint/abci/types"
) )

View File

@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"strings" "strings"
"github.com/cerc-io/laconicd/x/nameservice/types" "github.com/cerc-io/laconicd/x/registry/types"
"github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/version" "github.com/cosmos/cosmos-sdk/version"
@ -14,14 +14,14 @@ import (
// GetQueryCmd returns the cli query commands for this module // GetQueryCmd returns the cli query commands for this module
func GetQueryCmd() *cobra.Command { func GetQueryCmd() *cobra.Command {
nameserviceQueryCmd := &cobra.Command{ registryQueryCmd := &cobra.Command{
Use: types.ModuleName, Use: types.ModuleName,
Short: "Querying commands for the nameservice module", Short: "Querying commands for the registry module",
DisableFlagParsing: true, DisableFlagParsing: true,
SuggestionsMinimumDistance: 2, SuggestionsMinimumDistance: 2,
RunE: client.ValidateCmd, RunE: client.ValidateCmd,
} }
nameserviceQueryCmd.AddCommand( registryQueryCmd.AddCommand(
GetCmdWhoIs(), GetCmdWhoIs(),
GetCmdResolve(), GetCmdResolve(),
GetCmdLookupCRN(), GetCmdLookupCRN(),
@ -34,7 +34,7 @@ func GetQueryCmd() *cobra.Command {
GetCmdBalance(), GetCmdBalance(),
GetCmdNames(), GetCmdNames(),
) )
return nameserviceQueryCmd return registryQueryCmd
} }
// GetCmdWhoIs queries a whois info for a name. // GetCmdWhoIs queries a whois info for a name.
@ -292,7 +292,7 @@ $ %s query %s balance
return err return err
} }
queryClient := types.NewQueryClient(clientCtx) queryClient := types.NewQueryClient(clientCtx)
res, err := queryClient.GetNameServiceModuleBalance(cmd.Context(), &types.GetNameServiceModuleBalanceRequest{}) res, err := queryClient.GetRegistryModuleBalance(cmd.Context(), &types.GetRegistryModuleBalanceRequest{})
if err != nil { if err != nil {
return err return err
} }

View File

@ -6,7 +6,7 @@ import (
"strings" "strings"
"github.com/cerc-io/laconicd/server/flags" "github.com/cerc-io/laconicd/server/flags"
"github.com/cerc-io/laconicd/x/nameservice/types" "github.com/cerc-io/laconicd/x/registry/types"
"github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/tx" "github.com/cosmos/cosmos-sdk/client/tx"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
@ -17,15 +17,15 @@ import (
// NewTxCmd returns a root CLI command handler for all x/bond transaction commands. // NewTxCmd returns a root CLI command handler for all x/bond transaction commands.
func NewTxCmd() *cobra.Command { func NewTxCmd() *cobra.Command {
nameserviceTxCmd := &cobra.Command{ registryTxCmd := &cobra.Command{
Use: types.ModuleName, Use: types.ModuleName,
Short: "nameservice transaction subcommands", Short: "registry transaction subcommands",
DisableFlagParsing: true, DisableFlagParsing: true,
SuggestionsMinimumDistance: 2, SuggestionsMinimumDistance: 2,
RunE: client.ValidateCmd, RunE: client.ValidateCmd,
} }
nameserviceTxCmd.AddCommand( registryTxCmd.AddCommand(
GetCmdSetRecord(), GetCmdSetRecord(),
GetCmdRenewRecord(), GetCmdRenewRecord(),
GetCmdAssociateBond(), GetCmdAssociateBond(),
@ -38,7 +38,7 @@ func NewTxCmd() *cobra.Command {
GetCmdDeleteName(), GetCmdDeleteName(),
) )
return nameserviceTxCmd return registryTxCmd
} }
// GetCmdSetRecord is the CLI command for creating/updating a record. // GetCmdSetRecord is the CLI command for creating/updating a record.

View File

@ -6,8 +6,8 @@ import (
"os" "os"
"time" "time"
"github.com/cerc-io/laconicd/x/nameservice/client/cli" "github.com/cerc-io/laconicd/x/registry/client/cli"
nstypes "github.com/cerc-io/laconicd/x/nameservice/types" nstypes "github.com/cerc-io/laconicd/x/registry/types"
"github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/flags"
clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli"
"github.com/cosmos/cosmos-sdk/testutil/rest" "github.com/cosmos/cosmos-sdk/testutil/rest"
@ -18,7 +18,7 @@ import (
func (s *IntegrationTestSuite) TestGRPCQueryParams() { func (s *IntegrationTestSuite) TestGRPCQueryParams() {
val := s.network.Validators[0] val := s.network.Validators[0]
sr := s.Require() sr := s.Require()
reqURL := val.APIAddress + "/vulcanize/nameservice/v1beta1/params" reqURL := val.APIAddress + "/vulcanize/registry/v1beta1/params"
testCases := []struct { testCases := []struct {
name string name string
@ -64,7 +64,7 @@ func (s *IntegrationTestSuite) TestGRPCQueryParams() {
func (s *IntegrationTestSuite) TestGRPCQueryWhoIs() { func (s *IntegrationTestSuite) TestGRPCQueryWhoIs() {
val := s.network.Validators[0] val := s.network.Validators[0]
sr := s.Require() sr := s.Require()
reqUrl := val.APIAddress + "/vulcanize/nameservice/v1beta1/whois/%s" reqUrl := val.APIAddress + "/vulcanize/registry/v1beta1/whois/%s"
authorityName := "QueryWhoIS" authorityName := "QueryWhoIS"
testCases := []struct { testCases := []struct {
name string name string
@ -131,7 +131,7 @@ func (s *IntegrationTestSuite) TestGRPCQueryWhoIs() {
func (s *IntegrationTestSuite) TestGRPCQueryLookup() { func (s *IntegrationTestSuite) TestGRPCQueryLookup() {
val := s.network.Validators[0] val := s.network.Validators[0]
sr := s.Require() sr := s.Require()
reqURL := val.APIAddress + "/vulcanize/nameservice/v1beta1/lookup?crn=%s" reqURL := val.APIAddress + "/vulcanize/registry/v1beta1/lookup?crn=%s"
authorityName := "QueryLookUp" authorityName := "QueryLookUp"
testCases := []struct { testCases := []struct {
@ -184,7 +184,7 @@ func (s *IntegrationTestSuite) TestGRPCQueryLookup() {
func (s *IntegrationTestSuite) TestGRPCQueryRecordExpiryQueue() { func (s *IntegrationTestSuite) TestGRPCQueryRecordExpiryQueue() {
val := s.network.Validators[0] val := s.network.Validators[0]
sr := s.Require() sr := s.Require()
reqUrl := val.APIAddress + "/vulcanize/nameservice/v1beta1/record-expiry" reqUrl := val.APIAddress + "/vulcanize/registry/v1beta1/record-expiry"
testCases := []struct { testCases := []struct {
name string name string
@ -256,7 +256,7 @@ func (s *IntegrationTestSuite) TestGRPCQueryRecordExpiryQueue() {
func (s *IntegrationTestSuite) TestGRPCQueryAuthorityExpiryQueue() { func (s *IntegrationTestSuite) TestGRPCQueryAuthorityExpiryQueue() {
val := s.network.Validators[0] val := s.network.Validators[0]
sr := s.Require() sr := s.Require()
reqUrl := val.APIAddress + "/vulcanize/nameservice/v1beta1/authority-expiry" reqUrl := val.APIAddress + "/vulcanize/registry/v1beta1/authority-expiry"
testCases := []struct { testCases := []struct {
name string name string
@ -328,7 +328,7 @@ func (s *IntegrationTestSuite) TestGRPCQueryAuthorityExpiryQueue() {
func (s *IntegrationTestSuite) TestGRPCQueryListRecords() { func (s *IntegrationTestSuite) TestGRPCQueryListRecords() {
val := s.network.Validators[0] val := s.network.Validators[0]
sr := s.Require() sr := s.Require()
reqUrl := val.APIAddress + "/vulcanize/nameservice/v1beta1/records" reqUrl := val.APIAddress + "/vulcanize/registry/v1beta1/records"
testCases := []struct { testCases := []struct {
name string name string
@ -398,7 +398,7 @@ func (s *IntegrationTestSuite) TestGRPCQueryListRecords() {
func (s *IntegrationTestSuite) TestGRPCQueryGetRecordByID() { func (s *IntegrationTestSuite) TestGRPCQueryGetRecordByID() {
val := s.network.Validators[0] val := s.network.Validators[0]
sr := s.Require() sr := s.Require()
reqURL := val.APIAddress + "/vulcanize/nameservice/v1beta1/records/%s" reqURL := val.APIAddress + "/vulcanize/registry/v1beta1/records/%s"
testCases := []struct { testCases := []struct {
name string name string
@ -467,7 +467,7 @@ func (s *IntegrationTestSuite) TestGRPCQueryGetRecordByID() {
func (s *IntegrationTestSuite) TestGRPCQueryGetRecordByBondID() { func (s *IntegrationTestSuite) TestGRPCQueryGetRecordByBondID() {
val := s.network.Validators[0] val := s.network.Validators[0]
sr := s.Require() sr := s.Require()
reqURL := val.APIAddress + "/vulcanize/nameservice/v1beta1/records-by-bond-id/%s" reqURL := val.APIAddress + "/vulcanize/registry/v1beta1/records-by-bond-id/%s"
testCases := []struct { testCases := []struct {
name string name string
@ -518,10 +518,10 @@ func (s *IntegrationTestSuite) TestGRPCQueryGetRecordByBondID() {
} }
} }
func (s *IntegrationTestSuite) TestGRPCQueryGetNameServiceModuleBalance() { func (s *IntegrationTestSuite) TestGRPCQueryGetRegistryModuleBalance() {
val := s.network.Validators[0] val := s.network.Validators[0]
sr := s.Require() sr := s.Require()
reqURL := val.APIAddress + "/vulcanize/nameservice/v1beta1/balance" reqURL := val.APIAddress + "/vulcanize/registry/v1beta1/balance"
testCases := []struct { testCases := []struct {
name string name string
@ -560,7 +560,7 @@ func (s *IntegrationTestSuite) TestGRPCQueryGetNameServiceModuleBalance() {
if tc.expectErr { if tc.expectErr {
require.Contains(string(resp), tc.errorMsg) require.Contains(string(resp), tc.errorMsg)
} else { } else {
var response nstypes.GetNameServiceModuleBalanceResponse var response nstypes.GetRegistryModuleBalanceResponse
err := val.ClientCtx.Codec.UnmarshalJSON(resp, &response) err := val.ClientCtx.Codec.UnmarshalJSON(resp, &response)
sr.NoError(err) sr.NoError(err)
sr.NotZero(len(response.GetBalances())) sr.NotZero(len(response.GetBalances()))
@ -572,7 +572,7 @@ func (s *IntegrationTestSuite) TestGRPCQueryGetNameServiceModuleBalance() {
func (s *IntegrationTestSuite) TestGRPCQueryNamesList() { func (s *IntegrationTestSuite) TestGRPCQueryNamesList() {
val := s.network.Validators[0] val := s.network.Validators[0]
sr := s.Require() sr := s.Require()
reqURL := val.APIAddress + "/vulcanize/nameservice/v1beta1/names" reqURL := val.APIAddress + "/vulcanize/registry/v1beta1/names"
testCases := []struct { testCases := []struct {
name string name string

View File

@ -6,8 +6,8 @@ import (
"os" "os"
"time" "time"
"github.com/cerc-io/laconicd/x/nameservice/client/cli" "github.com/cerc-io/laconicd/x/registry/client/cli"
"github.com/cerc-io/laconicd/x/nameservice/types" "github.com/cerc-io/laconicd/x/registry/types"
"github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/flags"
clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
@ -195,22 +195,22 @@ func (s *IntegrationTestSuite) TestGetCmdQueryForRecords() {
}) })
} }
s.T().Log("Test Cases for getting nameservice module account balance") s.T().Log("Test Cases for getting registry module account balance")
testCasesForNameServiceModuleBalance := []struct { testCasesForRegistryModuleBalance := []struct {
name string name string
args []string args []string
expErr bool expErr bool
noOfRecords int noOfRecords int
}{ }{
{ {
"get nameservice module accounts balance", "get registry module accounts balance",
[]string{fmt.Sprintf("--%s=json", tmcli.OutputFlag)}, []string{fmt.Sprintf("--%s=json", tmcli.OutputFlag)},
false, false,
1, 1,
}, },
} }
for _, tc := range testCasesForNameServiceModuleBalance { for _, tc := range testCasesForRegistryModuleBalance {
s.Run(tc.name, func() { s.Run(tc.name, func() {
cmd := cli.GetCmdBalance() cmd := cli.GetCmdBalance()
clientCtx := val.ClientCtx clientCtx := val.ClientCtx
@ -220,7 +220,7 @@ func (s *IntegrationTestSuite) TestGetCmdQueryForRecords() {
sr.Error(err) sr.Error(err)
} else { } else {
sr.NoError(err) sr.NoError(err)
var response types.GetNameServiceModuleBalanceResponse var response types.GetRegistryModuleBalanceResponse
err = clientCtx.Codec.UnmarshalJSON(out.Bytes(), &response) err = clientCtx.Codec.UnmarshalJSON(out.Bytes(), &response)
sr.NoError(err) sr.NoError(err)
sr.Equal(tc.noOfRecords, len(response.GetBalances())) sr.Equal(tc.noOfRecords, len(response.GetBalances()))

View File

@ -9,8 +9,8 @@ import (
"github.com/cerc-io/laconicd/testutil/network" "github.com/cerc-io/laconicd/testutil/network"
bondcli "github.com/cerc-io/laconicd/x/bond/client/cli" bondcli "github.com/cerc-io/laconicd/x/bond/client/cli"
"github.com/cerc-io/laconicd/x/bond/types" "github.com/cerc-io/laconicd/x/bond/types"
"github.com/cerc-io/laconicd/x/nameservice/client/cli" "github.com/cerc-io/laconicd/x/registry/client/cli"
nstypes "github.com/cerc-io/laconicd/x/nameservice/types" nstypes "github.com/cerc-io/laconicd/x/registry/types"
"github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/crypto/hd" "github.com/cosmos/cosmos-sdk/crypto/hd"
"github.com/cosmos/cosmos-sdk/crypto/keyring" "github.com/cosmos/cosmos-sdk/crypto/keyring"

View File

@ -1,10 +1,10 @@
package nameservice package registry
import ( import (
"time" "time"
"github.com/cerc-io/laconicd/x/nameservice/keeper" "github.com/cerc-io/laconicd/x/registry/keeper"
"github.com/cerc-io/laconicd/x/nameservice/types" "github.com/cerc-io/laconicd/x/registry/types"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
abci "github.com/tendermint/tendermint/abci/types" abci "github.com/tendermint/tendermint/abci/types"
) )

View File

@ -3,7 +3,7 @@ package keeper
import ( import (
"context" "context"
"github.com/cerc-io/laconicd/x/nameservice/types" "github.com/cerc-io/laconicd/x/registry/types"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
) )
@ -60,10 +60,10 @@ func (q Querier) GetRecordByBondID(c context.Context, req *types.QueryRecordByBo
return &types.QueryRecordByBondIDResponse{Records: records}, nil return &types.QueryRecordByBondIDResponse{Records: records}, nil
} }
func (q Querier) GetNameServiceModuleBalance(c context.Context, _ *types.GetNameServiceModuleBalanceRequest) (*types.GetNameServiceModuleBalanceResponse, error) { func (q Querier) GetRegistryModuleBalance(c context.Context, _ *types.GetRegistryModuleBalanceRequest) (*types.GetRegistryModuleBalanceResponse, error) {
ctx := sdk.UnwrapSDKContext(c) ctx := sdk.UnwrapSDKContext(c)
balances := q.Keeper.GetModuleBalances(ctx) balances := q.Keeper.GetModuleBalances(ctx)
return &types.GetNameServiceModuleBalanceResponse{ return &types.GetRegistryModuleBalanceResponse{
Balances: balances, Balances: balances,
}, nil }, nil
} }

View File

@ -5,10 +5,10 @@ import (
"fmt" "fmt"
"os" "os"
"github.com/cerc-io/laconicd/x/nameservice/client/cli" "github.com/cerc-io/laconicd/x/registry/client/cli"
"github.com/cerc-io/laconicd/x/nameservice/helpers" "github.com/cerc-io/laconicd/x/registry/helpers"
"github.com/cerc-io/laconicd/x/nameservice/keeper" "github.com/cerc-io/laconicd/x/registry/keeper"
nameservicetypes "github.com/cerc-io/laconicd/x/nameservice/types" registrytypes "github.com/cerc-io/laconicd/x/registry/types"
) )
func (suite *KeeperTestSuite) TestGrpcQueryParams() { func (suite *KeeperTestSuite) TestGrpcQueryParams() {
@ -16,17 +16,17 @@ func (suite *KeeperTestSuite) TestGrpcQueryParams() {
testCases := []struct { testCases := []struct {
msg string msg string
req *nameservicetypes.QueryParamsRequest req *registrytypes.QueryParamsRequest
}{ }{
{ {
"Get Params", "Get Params",
&nameservicetypes.QueryParamsRequest{}, &registrytypes.QueryParamsRequest{},
}, },
} }
for _, test := range testCases { for _, test := range testCases {
suite.Run(fmt.Sprintf("Case %s ", test.msg), func() { suite.Run(fmt.Sprintf("Case %s ", test.msg), func() {
resp, _ := grpcClient.Params(context.Background(), test.req) resp, _ := grpcClient.Params(context.Background(), test.req)
defaultParams := nameservicetypes.DefaultParams() defaultParams := registrytypes.DefaultParams()
suite.Require().Equal(defaultParams.String(), resp.GetParams().String()) suite.Require().Equal(defaultParams.String(), resp.GetParams().String())
}) })
} }
@ -42,32 +42,32 @@ func (suite *KeeperTestSuite) TestGrpcGetRecordLists() {
} }
testCases := []struct { testCases := []struct {
msg string msg string
req *nameservicetypes.QueryListRecordsRequest req *registrytypes.QueryListRecordsRequest
createRecords bool createRecords bool
expErr bool expErr bool
noOfRecords int noOfRecords int
}{ }{
{ {
"Empty Records", "Empty Records",
&nameservicetypes.QueryListRecordsRequest{}, &registrytypes.QueryListRecordsRequest{},
false, false,
false, false,
0, 0,
}, },
{ {
"List Records", "List Records",
&nameservicetypes.QueryListRecordsRequest{}, &registrytypes.QueryListRecordsRequest{},
true, true,
false, false,
2, 2,
}, },
{ {
"Filter with type", "Filter with type",
&nameservicetypes.QueryListRecordsRequest{ &registrytypes.QueryListRecordsRequest{
Attributes: []*nameservicetypes.QueryListRecordsRequest_KeyValueInput{ Attributes: []*registrytypes.QueryListRecordsRequest_KeyValueInput{
{ {
Key: "type", Key: "type",
Value: &nameservicetypes.QueryListRecordsRequest_ValueInput{ Value: &registrytypes.QueryListRecordsRequest_ValueInput{
Type: "string", Type: "string",
String_: "WebsiteRegistrationRecord", String_: "WebsiteRegistrationRecord",
}, },
@ -81,11 +81,11 @@ func (suite *KeeperTestSuite) TestGrpcGetRecordLists() {
}, },
{ {
"Filter with attributes ServiceProviderRegistration", "Filter with attributes ServiceProviderRegistration",
&nameservicetypes.QueryListRecordsRequest{ &registrytypes.QueryListRecordsRequest{
Attributes: []*nameservicetypes.QueryListRecordsRequest_KeyValueInput{ Attributes: []*registrytypes.QueryListRecordsRequest_KeyValueInput{
{ {
Key: "x500state_name", Key: "x500state_name",
Value: &nameservicetypes.QueryListRecordsRequest_ValueInput{ Value: &registrytypes.QueryListRecordsRequest_ValueInput{
Type: "string", Type: "string",
String_: "california", String_: "california",
}, },
@ -108,7 +108,7 @@ func (suite *KeeperTestSuite) TestGrpcGetRecordLists() {
sr.NoError(err) sr.NoError(err)
payload, err := payloadType.ToPayload() payload, err := payloadType.ToPayload()
sr.NoError(err) sr.NoError(err)
record, err := suite.app.NameServiceKeeper.ProcessSetRecord(ctx, nameservicetypes.MsgSetRecord{ record, err := suite.app.RegistryKeeper.ProcessSetRecord(ctx, registrytypes.MsgSetRecord{
BondId: suite.bond.GetId(), BondId: suite.bond.GetId(),
Signer: suite.accounts[0].String(), Signer: suite.accounts[0].String(),
Payload: payload, Payload: payload,
@ -129,7 +129,7 @@ func (suite *KeeperTestSuite) TestGrpcGetRecordLists() {
sr.Equal(resp.GetRecords()[0].GetBondId(), suite.bond.GetId()) sr.Equal(resp.GetRecords()[0].GetBondId(), suite.bond.GetId())
for _, record := range resp.GetRecords() { for _, record := range resp.GetRecords() {
bz, err := nameservicetypes.GetJSONBytesFromAny(*record.Attributes) bz, err := registrytypes.GetJSONBytesFromAny(*record.Attributes)
sr.NoError(err) sr.NoError(err)
recAttr := helpers.UnMarshalMapFromJSONBytes(bz) recAttr := helpers.UnMarshalMapFromJSONBytes(bz)
for _, attr := range test.req.GetAttributes() { for _, attr := range test.req.GetAttributes() {
@ -148,21 +148,21 @@ func (suite *KeeperTestSuite) TestGrpcGetRecordLists() {
// Get the records by record id // Get the records by record id
testCases1 := []struct { testCases1 := []struct {
msg string msg string
req *nameservicetypes.QueryRecordByIDRequest req *registrytypes.QueryRecordByIDRequest
createRecord bool createRecord bool
expErr bool expErr bool
noOfRecords int noOfRecords int
}{ }{
{ {
"Invalid Request without record id", "Invalid Request without record id",
&nameservicetypes.QueryRecordByIDRequest{}, &registrytypes.QueryRecordByIDRequest{},
false, false,
true, true,
0, 0,
}, },
{ {
"With Record ID", "With Record ID",
&nameservicetypes.QueryRecordByIDRequest{ &registrytypes.QueryRecordByIDRequest{
Id: recordId, Id: recordId,
}, },
true, true,
@ -189,21 +189,21 @@ func (suite *KeeperTestSuite) TestGrpcGetRecordLists() {
// Get the records by record id // Get the records by record id
testCasesByBondID := []struct { testCasesByBondID := []struct {
msg string msg string
req *nameservicetypes.QueryRecordByBondIDRequest req *registrytypes.QueryRecordByBondIDRequest
createRecord bool createRecord bool
expErr bool expErr bool
noOfRecords int noOfRecords int
}{ }{
{ {
"Invalid Request without bond id", "Invalid Request without bond id",
&nameservicetypes.QueryRecordByBondIDRequest{}, &registrytypes.QueryRecordByBondIDRequest{},
false, false,
true, true,
0, 0,
}, },
{ {
"With Bond ID", "With Bond ID",
&nameservicetypes.QueryRecordByBondIDRequest{ &registrytypes.QueryRecordByBondIDRequest{
Id: suite.bond.GetId(), Id: suite.bond.GetId(),
}, },
true, true,
@ -228,7 +228,7 @@ func (suite *KeeperTestSuite) TestGrpcGetRecordLists() {
} }
} }
func (suite *KeeperTestSuite) TestGrpcQueryNameserviceModuleBalance() { func (suite *KeeperTestSuite) TestGrpcQueryRegistryModuleBalance() {
grpcClient, ctx := suite.queryClient, suite.ctx grpcClient, ctx := suite.queryClient, suite.ctx
sr := suite.Require() sr := suite.Require()
examples := []string{ examples := []string{
@ -237,14 +237,14 @@ func (suite *KeeperTestSuite) TestGrpcQueryNameserviceModuleBalance() {
} }
testCases := []struct { testCases := []struct {
msg string msg string
req *nameservicetypes.GetNameServiceModuleBalanceRequest req *registrytypes.GetRegistryModuleBalanceRequest
createRecords bool createRecords bool
expErr bool expErr bool
noOfRecords int noOfRecords int
}{ }{
{ {
"Get Module Balance", "Get Module Balance",
&nameservicetypes.GetNameServiceModuleBalanceRequest{}, &registrytypes.GetRegistryModuleBalanceRequest{},
true, true,
false, false,
1, 1,
@ -260,7 +260,7 @@ func (suite *KeeperTestSuite) TestGrpcQueryNameserviceModuleBalance() {
sr.NoError(err) sr.NoError(err)
payload, err := payloadType.ToPayload() payload, err := payloadType.ToPayload()
sr.NoError(err) sr.NoError(err)
record, err := suite.app.NameServiceKeeper.ProcessSetRecord(ctx, nameservicetypes.MsgSetRecord{ record, err := suite.app.RegistryKeeper.ProcessSetRecord(ctx, registrytypes.MsgSetRecord{
BondId: suite.bond.GetId(), BondId: suite.bond.GetId(),
Signer: suite.accounts[0].String(), Signer: suite.accounts[0].String(),
Payload: payload, Payload: payload,
@ -269,7 +269,7 @@ func (suite *KeeperTestSuite) TestGrpcQueryNameserviceModuleBalance() {
sr.NotNil(record.ID) sr.NotNil(record.ID)
} }
} }
resp, err := grpcClient.GetNameServiceModuleBalance(context.Background(), test.req) resp, err := grpcClient.GetRegistryModuleBalance(context.Background(), test.req)
if test.expErr { if test.expErr {
suite.Error(err) suite.Error(err)
} else { } else {
@ -277,7 +277,7 @@ func (suite *KeeperTestSuite) TestGrpcQueryNameserviceModuleBalance() {
sr.Equal(test.noOfRecords, len(resp.GetBalances())) sr.Equal(test.noOfRecords, len(resp.GetBalances()))
if test.createRecords { if test.createRecords {
balance := resp.GetBalances()[0] balance := resp.GetBalances()[0]
sr.Equal(balance.AccountName, nameservicetypes.RecordRentModuleAccountName) sr.Equal(balance.AccountName, registrytypes.RecordRentModuleAccountName)
} }
} }
}) })
@ -291,21 +291,21 @@ func (suite *KeeperTestSuite) TestGrpcQueryWhoIS() {
testCases := []struct { testCases := []struct {
msg string msg string
req *nameservicetypes.QueryWhoisRequest req *registrytypes.QueryWhoisRequest
createName bool createName bool
expErr bool expErr bool
noOfRecords int noOfRecords int
}{ }{
{ {
"Invalid Request without name", "Invalid Request without name",
&nameservicetypes.QueryWhoisRequest{}, &registrytypes.QueryWhoisRequest{},
false, false,
true, true,
1, 1,
}, },
{ {
"Success", "Success",
&nameservicetypes.QueryWhoisRequest{}, &registrytypes.QueryWhoisRequest{},
true, true,
false, false,
1, 1,
@ -314,13 +314,13 @@ func (suite *KeeperTestSuite) TestGrpcQueryWhoIS() {
for _, test := range testCases { for _, test := range testCases {
suite.Run(fmt.Sprintf("Case %s ", test.msg), func() { suite.Run(fmt.Sprintf("Case %s ", test.msg), func() {
if test.createName { if test.createName {
err := suite.app.NameServiceKeeper.ProcessReserveAuthority(ctx, nameservicetypes.MsgReserveAuthority{ err := suite.app.RegistryKeeper.ProcessReserveAuthority(ctx, registrytypes.MsgReserveAuthority{
Name: authorityName, Name: authorityName,
Signer: suite.accounts[0].String(), Signer: suite.accounts[0].String(),
Owner: suite.accounts[0].String(), Owner: suite.accounts[0].String(),
}) })
sr.NoError(err) sr.NoError(err)
test.req = &nameservicetypes.QueryWhoisRequest{Name: authorityName} test.req = &registrytypes.QueryWhoisRequest{Name: authorityName}
} }
resp, err := grpcClient.Whois(context.Background(), test.req) resp, err := grpcClient.Whois(context.Background(), test.req)
if test.expErr { if test.expErr {
@ -331,7 +331,7 @@ func (suite *KeeperTestSuite) TestGrpcQueryWhoIS() {
nameAuth := resp.NameAuthority nameAuth := resp.NameAuthority
sr.NotNil(nameAuth) sr.NotNil(nameAuth)
sr.Equal(nameAuth.OwnerAddress, suite.accounts[0].String()) sr.Equal(nameAuth.OwnerAddress, suite.accounts[0].String())
sr.Equal(nameservicetypes.AuthorityActive, nameAuth.Status) sr.Equal(registrytypes.AuthorityActive, nameAuth.Status)
} }
} }
}) })

View File

@ -1,11 +1,11 @@
package keeper package keeper
import ( import (
"github.com/cerc-io/laconicd/x/nameservice/types" "github.com/cerc-io/laconicd/x/registry/types"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
) )
// RegisterInvariants registers all nameservice module invariants. // RegisterInvariants registers all registry module invariants.
func RegisterInvariants(ir sdk.InvariantRegistry, k Keeper) { func RegisterInvariants(ir sdk.InvariantRegistry, k Keeper) {
ir.RegisterRoute(types.ModuleName, "record", RecordInvariants(k)) ir.RegisterRoute(types.ModuleName, "record", RecordInvariants(k))
} }

View File

@ -9,8 +9,8 @@ import (
auctionkeeper "github.com/cerc-io/laconicd/x/auction/keeper" auctionkeeper "github.com/cerc-io/laconicd/x/auction/keeper"
bondkeeper "github.com/cerc-io/laconicd/x/bond/keeper" bondkeeper "github.com/cerc-io/laconicd/x/bond/keeper"
"github.com/cerc-io/laconicd/x/nameservice/helpers" "github.com/cerc-io/laconicd/x/registry/helpers"
"github.com/cerc-io/laconicd/x/nameservice/types" "github.com/cerc-io/laconicd/x/registry/types"
"github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/codec/legacy" "github.com/cosmos/cosmos-sdk/codec/legacy"
storetypes "github.com/cosmos/cosmos-sdk/store/types" storetypes "github.com/cosmos/cosmos-sdk/store/types"
@ -46,7 +46,7 @@ var (
// PrefixBondIDToAuthoritiesIndex is the prefix for the Bond ID -> [Authority] index. // PrefixBondIDToAuthoritiesIndex is the prefix for the Bond ID -> [Authority] index.
PrefixBondIDToAuthoritiesIndex = []byte{0x06} PrefixBondIDToAuthoritiesIndex = []byte{0x06}
// PrefixAttributesIndex is the prefix for the nameservice Record.Attribute -> []Record.ID index // PrefixAttributesIndex is the prefix for the registry Record.Attribute -> []Record.ID index
PrefixAttributesIndex = []byte{0x07} PrefixAttributesIndex = []byte{0x07}
// PrefixExpiryTimeToRecordsIndex is the prefix for the Expiry Time -> [Record] index. // PrefixExpiryTimeToRecordsIndex is the prefix for the Expiry Time -> [Record] index.
@ -75,7 +75,7 @@ type Keeper struct {
paramSubspace paramtypes.Subspace paramSubspace paramtypes.Subspace
} }
// NewKeeper creates new instances of the nameservice Keeper // NewKeeper creates new instances of the registry Keeper
func NewKeeper(cdc codec.BinaryCodec, accountKeeper auth.AccountKeeper, bankKeeper bank.Keeper, recordKeeper RecordKeeper, func NewKeeper(cdc codec.BinaryCodec, accountKeeper auth.AccountKeeper, bankKeeper bank.Keeper, recordKeeper RecordKeeper,
bondKeeper bondkeeper.Keeper, auctionKeeper auctionkeeper.Keeper, storeKey storetypes.StoreKey, ps paramtypes.Subspace, bondKeeper bondkeeper.Keeper, auctionKeeper auctionkeeper.Keeper, storeKey storetypes.StoreKey, ps paramtypes.Subspace,
) Keeper { ) Keeper {
@ -549,7 +549,7 @@ func (k Keeper) TryTakeRecordRent(ctx sdk.Context, record types.Record) {
k.AddBondToRecordIndexEntry(ctx, record.BondId, record.Id) k.AddBondToRecordIndexEntry(ctx, record.BondId, record.Id)
} }
// GetModuleBalances gets the nameservice module account(s) balances. // GetModuleBalances gets the registry module account(s) balances.
func (k Keeper) GetModuleBalances(ctx sdk.Context) []*types.AccountBalance { func (k Keeper) GetModuleBalances(ctx sdk.Context) []*types.AccountBalance {
var balances []*types.AccountBalance var balances []*types.AccountBalance
accountNames := []string{types.RecordRentModuleAccountName, types.AuthorityRentModuleAccountName} accountNames := []string{types.RecordRentModuleAccountName, types.AuthorityRentModuleAccountName}

View File

@ -6,8 +6,8 @@ import (
"github.com/cerc-io/laconicd/app" "github.com/cerc-io/laconicd/app"
bondtypes "github.com/cerc-io/laconicd/x/bond/types" bondtypes "github.com/cerc-io/laconicd/x/bond/types"
nameservicekeeper "github.com/cerc-io/laconicd/x/nameservice/keeper" registrykeeper "github.com/cerc-io/laconicd/x/registry/keeper"
"github.com/cerc-io/laconicd/x/nameservice/types" "github.com/cerc-io/laconicd/x/registry/types"
"github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/simapp" "github.com/cosmos/cosmos-sdk/simapp"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
@ -34,7 +34,7 @@ func (suite *KeeperTestSuite) SetupTest() {
}) })
ctx := testApp.BaseApp.NewContext(false, tmproto.Header{}) ctx := testApp.BaseApp.NewContext(false, tmproto.Header{})
querier := nameservicekeeper.Querier{Keeper: testApp.NameServiceKeeper} querier := registrykeeper.Querier{Keeper: testApp.RegistryKeeper}
queryHelper := baseapp.NewQueryServerTestHelper(ctx, testApp.InterfaceRegistry()) queryHelper := baseapp.NewQueryServerTestHelper(ctx, testApp.InterfaceRegistry())
types.RegisterQueryServer(queryHelper, querier) types.RegisterQueryServer(queryHelper, querier)
@ -64,7 +64,7 @@ func TestParams(t *testing.T) {
ctx := testApp.BaseApp.NewContext(false, tmproto.Header{}) ctx := testApp.BaseApp.NewContext(false, tmproto.Header{})
expParams := types.DefaultParams() expParams := types.DefaultParams()
params := testApp.NameServiceKeeper.GetParams(ctx) params := testApp.RegistryKeeper.GetParams(ctx)
require.True(t, params.Equal(expParams)) require.True(t, params.Equal(expParams))
} }

View File

@ -3,7 +3,7 @@ package keeper
import ( import (
"context" "context"
"github.com/cerc-io/laconicd/x/nameservice/types" "github.com/cerc-io/laconicd/x/registry/types"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
) )

View File

@ -8,8 +8,8 @@ import (
"time" "time"
auctiontypes "github.com/cerc-io/laconicd/x/auction/types" auctiontypes "github.com/cerc-io/laconicd/x/auction/types"
"github.com/cerc-io/laconicd/x/nameservice/helpers" "github.com/cerc-io/laconicd/x/registry/helpers"
"github.com/cerc-io/laconicd/x/nameservice/types" "github.com/cerc-io/laconicd/x/registry/types"
"github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/codec"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"

View File

@ -1,7 +1,7 @@
package keeper package keeper
import ( import (
"github.com/cerc-io/laconicd/x/nameservice/types" "github.com/cerc-io/laconicd/x/registry/types"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
) )

View File

@ -7,7 +7,7 @@ import (
auctionkeeper "github.com/cerc-io/laconicd/x/auction/keeper" auctionkeeper "github.com/cerc-io/laconicd/x/auction/keeper"
auctiontypes "github.com/cerc-io/laconicd/x/auction/types" auctiontypes "github.com/cerc-io/laconicd/x/auction/types"
bondtypes "github.com/cerc-io/laconicd/x/bond/types" bondtypes "github.com/cerc-io/laconicd/x/bond/types"
"github.com/cerc-io/laconicd/x/nameservice/types" "github.com/cerc-io/laconicd/x/registry/types"
"github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/codec"
storetypes "github.com/cosmos/cosmos-sdk/store/types" storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
@ -125,7 +125,7 @@ func (k Keeper) RemoveBondToRecordIndexEntry(ctx sdk.Context, bondID string, id
store.Delete(getBondIDToRecordsIndexKey(bondID, id)) store.Delete(getBondIDToRecordsIndexKey(bondID, id))
} }
// NewRecordKeeper creates new instances of the nameservice RecordKeeper // NewRecordKeeper creates new instances of the registry RecordKeeper
func NewRecordKeeper(auctionKeeper auctionkeeper.Keeper, storeKey storetypes.StoreKey, cdc codec.BinaryCodec) RecordKeeper { func NewRecordKeeper(auctionKeeper auctionkeeper.Keeper, storeKey storetypes.StoreKey, cdc codec.BinaryCodec) RecordKeeper {
return RecordKeeper{ return RecordKeeper{
auctionKeeper: auctionKeeper, auctionKeeper: auctionKeeper,

View File

@ -1,8 +1,8 @@
package keeper package keeper
import ( import (
"github.com/cerc-io/laconicd/x/nameservice/helpers" "github.com/cerc-io/laconicd/x/registry/helpers"
"github.com/cerc-io/laconicd/x/nameservice/types" "github.com/cerc-io/laconicd/x/registry/types"
"github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/codec"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
) )

View File

@ -1,4 +1,4 @@
package nameservice package registry
import ( import (
"context" "context"
@ -6,10 +6,10 @@ import (
"fmt" "fmt"
"math/rand" // #nosec G702 "math/rand" // #nosec G702
"github.com/cerc-io/laconicd/x/nameservice/client/cli" "github.com/cerc-io/laconicd/x/registry/client/cli"
"github.com/cerc-io/laconicd/x/nameservice/keeper" "github.com/cerc-io/laconicd/x/registry/keeper"
"github.com/cerc-io/laconicd/x/nameservice/simulation" "github.com/cerc-io/laconicd/x/registry/simulation"
"github.com/cerc-io/laconicd/x/nameservice/types" "github.com/cerc-io/laconicd/x/registry/types"
"github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/codec"
codectypes "github.com/cosmos/cosmos-sdk/codec/types" codectypes "github.com/cosmos/cosmos-sdk/codec/types"

View File

@ -7,13 +7,13 @@ import (
"github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/types/module"
"github.com/cerc-io/laconicd/x/nameservice/types" "github.com/cerc-io/laconicd/x/registry/types"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
) )
// RandomizedGenState generates a random GenesisState // RandomizedGenState generates a random GenesisState
func RandomizedGenState(simState *module.SimulationState) { func RandomizedGenState(simState *module.SimulationState) {
nameserviceParams := types.NewParams(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(int64(simState.Rand.Intn(10000000000)))), registryParams := types.NewParams(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(int64(simState.Rand.Intn(10000000000)))),
time.Duration(simState.Rand.Intn(1000))*time.Second, time.Duration(simState.Rand.Intn(1000))*time.Second,
sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(int64(simState.Rand.Intn(10000000000)))), sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(int64(simState.Rand.Intn(10000000000)))),
time.Duration(simState.Rand.Intn(1000))*time.Second, time.Duration(simState.Rand.Intn(1000))*time.Second,
@ -26,13 +26,13 @@ func RandomizedGenState(simState *module.SimulationState) {
sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(int64(simState.Rand.Intn(10000000000)))), sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(int64(simState.Rand.Intn(10000000000)))),
) )
nameserviceGenesis := types.NewGenesisState(nameserviceParams, []types.Record{}, []types.AuthorityEntry{}, []types.NameEntry{}) registryGenesis := types.NewGenesisState(registryParams, []types.Record{}, []types.AuthorityEntry{}, []types.NameEntry{})
bz, err := json.MarshalIndent(nameserviceGenesis, "", " ") bz, err := json.MarshalIndent(registryGenesis, "", " ")
if err != nil { if err != nil {
panic(err) panic(err)
} }
fmt.Printf("Selected randomly generated %s parameters:\n%s\n", types.ModuleName, bz) fmt.Printf("Selected randomly generated %s parameters:\n%s\n", types.ModuleName, bz)
simState.GenState[types.ModuleName] = simState.Cdc.MustMarshalJSON(&nameserviceGenesis) simState.GenState[types.ModuleName] = simState.Cdc.MustMarshalJSON(&registryGenesis)
} }

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: vulcanize/nameservice/v1beta1/attributes.proto // source: vulcanize/registry/v1beta1/attributes.proto
package types package types
@ -34,7 +34,7 @@ func (m *ServiceProviderRegistration) Reset() { *m = ServiceProviderRegi
func (m *ServiceProviderRegistration) String() string { return proto.CompactTextString(m) } func (m *ServiceProviderRegistration) String() string { return proto.CompactTextString(m) }
func (*ServiceProviderRegistration) ProtoMessage() {} func (*ServiceProviderRegistration) ProtoMessage() {}
func (*ServiceProviderRegistration) Descriptor() ([]byte, []int) { func (*ServiceProviderRegistration) Descriptor() ([]byte, []int) {
return fileDescriptor_7f2d1895d048a86a, []int{0} return fileDescriptor_f305abc771332c96, []int{0}
} }
func (m *ServiceProviderRegistration) XXX_Unmarshal(b []byte) error { func (m *ServiceProviderRegistration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -104,7 +104,7 @@ func (m *X500) Reset() { *m = X500{} }
func (m *X500) String() string { return proto.CompactTextString(m) } func (m *X500) String() string { return proto.CompactTextString(m) }
func (*X500) ProtoMessage() {} func (*X500) ProtoMessage() {}
func (*X500) Descriptor() ([]byte, []int) { func (*X500) Descriptor() ([]byte, []int) {
return fileDescriptor_7f2d1895d048a86a, []int{1} return fileDescriptor_f305abc771332c96, []int{1}
} }
func (m *X500) XXX_Unmarshal(b []byte) error { func (m *X500) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -187,7 +187,7 @@ func (m *WebsiteRegistrationRecord) Reset() { *m = WebsiteRegistrationRe
func (m *WebsiteRegistrationRecord) String() string { return proto.CompactTextString(m) } func (m *WebsiteRegistrationRecord) String() string { return proto.CompactTextString(m) }
func (*WebsiteRegistrationRecord) ProtoMessage() {} func (*WebsiteRegistrationRecord) ProtoMessage() {}
func (*WebsiteRegistrationRecord) Descriptor() ([]byte, []int) { func (*WebsiteRegistrationRecord) Descriptor() ([]byte, []int) {
return fileDescriptor_7f2d1895d048a86a, []int{2} return fileDescriptor_f305abc771332c96, []int{2}
} }
func (m *WebsiteRegistrationRecord) XXX_Unmarshal(b []byte) error { func (m *WebsiteRegistrationRecord) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -252,58 +252,58 @@ func (m *WebsiteRegistrationRecord) GetType() string {
} }
func init() { func init() {
proto.RegisterType((*ServiceProviderRegistration)(nil), "vulcanize.nameservice.v1beta1.ServiceProviderRegistration") proto.RegisterType((*ServiceProviderRegistration)(nil), "vulcanize.registry.v1beta1.ServiceProviderRegistration")
proto.RegisterType((*X500)(nil), "vulcanize.nameservice.v1beta1.X500") proto.RegisterType((*X500)(nil), "vulcanize.registry.v1beta1.X500")
proto.RegisterType((*WebsiteRegistrationRecord)(nil), "vulcanize.nameservice.v1beta1.WebsiteRegistrationRecord") proto.RegisterType((*WebsiteRegistrationRecord)(nil), "vulcanize.registry.v1beta1.WebsiteRegistrationRecord")
} }
func init() { func init() {
proto.RegisterFile("vulcanize/nameservice/v1beta1/attributes.proto", fileDescriptor_7f2d1895d048a86a) proto.RegisterFile("vulcanize/registry/v1beta1/attributes.proto", fileDescriptor_f305abc771332c96)
} }
var fileDescriptor_7f2d1895d048a86a = []byte{ var fileDescriptor_f305abc771332c96 = []byte{
// 645 bytes of a gzipped FileDescriptorProto // 645 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x4d, 0x4f, 0x14, 0x31, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x4d, 0x4f, 0x14, 0x31,
0x18, 0xc7, 0x59, 0x76, 0x81, 0x50, 0x30, 0xc1, 0x46, 0xe3, 0x22, 0xb2, 0x03, 0x4b, 0x0c, 0x24, 0x18, 0xc7, 0x19, 0x76, 0x81, 0x50, 0x30, 0xc1, 0x46, 0xe3, 0x02, 0xba, 0xb3, 0xac, 0x31, 0x90,
0xc4, 0x99, 0x45, 0x42, 0x62, 0xf4, 0xc4, 0x8b, 0x89, 0x9b, 0x18, 0x43, 0x0a, 0x46, 0xe3, 0x65, 0xa0, 0x3b, 0x8b, 0x84, 0xc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0xad, 0xa9, 0xdf, 0x57, 0xad, 0xa9, 0x0f, 0x5e, 0x8f, 0xc9, 0xcf, 0x69, 0xe0, 0x12, 0xbb, 0x68, 0x4e, 0xfd, 0xba, 0x68, 0x4e, 0xbd, 0xbf, 0xdf, 0x63, 0xf2, 0x53, 0x1a, 0x74, 0x08,
0xde, 0xf7, 0x08, 0x15, 0xe4, 0x09, 0xe3, 0x5e, 0xf1, 0xbb, 0x84, 0xde, 0xf9, 0xd8, 0xc7, 0xaa, 0xef, 0x7b, 0x84, 0x0a, 0xf2, 0x80, 0x71, 0xaf, 0xf8, 0x5a, 0x42, 0xef, 0x74, 0xf4, 0x9f, 0x2a,
0x48, 0x49, 0x30, 0xab, 0xff, 0xc5, 0xdd, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x80, 0xa1, 0x70, 0x4c, 0x12, 0xcc, 0xea, 0x1f, 0x71, 0xfb, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x77, 0x12, 0xbc,
0x3a, 0x7e, 0x05, 0x00, 0x00, 0x04, 0x72, 0x05, 0x00, 0x00,
} }
func (m *ServiceProviderRegistration) Marshal() (dAtA []byte, err error) { func (m *ServiceProviderRegistration) Marshal() (dAtA []byte, err error) {

View File

@ -11,17 +11,17 @@ import (
// RegisterLegacyAminoCodec registers the necessary x/bond interfaces and concrete types // RegisterLegacyAminoCodec registers the necessary x/bond interfaces and concrete types
// on the provided LegacyAmino codec. These types are used for Amino JSON serialization. // on the provided LegacyAmino codec. These types are used for Amino JSON serialization.
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {
cdc.RegisterConcrete(&MsgSetName{}, "nameservice/SetName", nil) cdc.RegisterConcrete(&MsgSetName{}, "registry/SetName", nil)
cdc.RegisterConcrete(&MsgReserveAuthority{}, "nameservice/ReserveAuthority", nil) cdc.RegisterConcrete(&MsgReserveAuthority{}, "registry/ReserveAuthority", nil)
cdc.RegisterConcrete(&MsgDeleteNameAuthority{}, "nameservice/DeleteAuthority", nil) cdc.RegisterConcrete(&MsgDeleteNameAuthority{}, "registry/DeleteAuthority", nil)
cdc.RegisterConcrete(&MsgSetAuthorityBond{}, "nameservice/SetAuthorityBond", nil) cdc.RegisterConcrete(&MsgSetAuthorityBond{}, "registry/SetAuthorityBond", nil)
cdc.RegisterConcrete(&MsgSetRecord{}, "nameservice/SetRecord", nil) cdc.RegisterConcrete(&MsgSetRecord{}, "registry/SetRecord", nil)
cdc.RegisterConcrete(&MsgRenewRecord{}, "nameservice/RenewRecord", nil) cdc.RegisterConcrete(&MsgRenewRecord{}, "registry/RenewRecord", nil)
cdc.RegisterConcrete(&MsgAssociateBond{}, "nameservice/AssociateBond", nil) cdc.RegisterConcrete(&MsgAssociateBond{}, "registry/AssociateBond", nil)
cdc.RegisterConcrete(&MsgDissociateBond{}, "nameservice/DissociateBond", nil) cdc.RegisterConcrete(&MsgDissociateBond{}, "registry/DissociateBond", nil)
cdc.RegisterConcrete(&MsgDissociateRecords{}, "nameservice/DissociateRecords", nil) cdc.RegisterConcrete(&MsgDissociateRecords{}, "registry/DissociateRecords", nil)
cdc.RegisterConcrete(&MsgReAssociateRecords{}, "nameservice/ReassociateRecords", nil) cdc.RegisterConcrete(&MsgReAssociateRecords{}, "registry/ReassociateRecords", nil)
} }
func RegisterInterfaces(registry types.InterfaceRegistry) { func RegisterInterfaces(registry types.InterfaceRegistry) {
@ -40,13 +40,13 @@ func RegisterInterfaces(registry types.InterfaceRegistry) {
) )
registry.RegisterInterface( registry.RegisterInterface(
"vulcanize.nameservice.v1beta1.ServiceProvideRegistration", "vulcanize.registry.v1beta1.ServiceProvideRegistration",
(*Attributes)(nil), (*Attributes)(nil),
&ServiceProviderRegistration{}, &ServiceProviderRegistration{},
) )
registry.RegisterInterface( registry.RegisterInterface(
"vulcanize.nameservice.v1beta1.WebsiteRegistrationRecord", "vulcanize.registry.v1beta1.WebsiteRegistrationRecord",
(*Attributes)(nil), (*Attributes)(nil),
&WebsiteRegistrationRecord{}, &WebsiteRegistrationRecord{},
) )

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: vulcanize/nameservice/v1beta1/genesis.proto // source: vulcanize/registry/v1beta1/genesis.proto
package types package types
@ -23,9 +23,9 @@ var _ = math.Inf
// proto package needs to be updated. // proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
// GenesisState defines the nameservice module's genesis state. // GenesisState defines the registry module's genesis state.
type GenesisState struct { type GenesisState struct {
// params defines all the params of nameservice module. // params defines all the params of registry module.
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
// records // records
Records []Record `protobuf:"bytes,2,rep,name=records,proto3" json:"records" json:"records" yaml:"records"` Records []Record `protobuf:"bytes,2,rep,name=records,proto3" json:"records" json:"records" yaml:"records"`
@ -39,7 +39,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} }
func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (m *GenesisState) String() string { return proto.CompactTextString(m) }
func (*GenesisState) ProtoMessage() {} func (*GenesisState) ProtoMessage() {}
func (*GenesisState) Descriptor() ([]byte, []int) { func (*GenesisState) Descriptor() ([]byte, []int) {
return fileDescriptor_fe7037a2b22e67ef, []int{0} return fileDescriptor_8e599869d3a2e5ff, []int{0}
} }
func (m *GenesisState) XXX_Unmarshal(b []byte) error { func (m *GenesisState) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -97,37 +97,37 @@ func (m *GenesisState) GetNames() []NameEntry {
} }
func init() { func init() {
proto.RegisterType((*GenesisState)(nil), "vulcanize.nameservice.v1beta1.GenesisState") proto.RegisterType((*GenesisState)(nil), "vulcanize.registry.v1beta1.GenesisState")
} }
func init() { func init() {
proto.RegisterFile("vulcanize/nameservice/v1beta1/genesis.proto", fileDescriptor_fe7037a2b22e67ef) proto.RegisterFile("vulcanize/registry/v1beta1/genesis.proto", fileDescriptor_8e599869d3a2e5ff)
} }
var fileDescriptor_fe7037a2b22e67ef = []byte{ var fileDescriptor_8e599869d3a2e5ff = []byte{
// 345 bytes of a gzipped FileDescriptorProto // 340 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0xd1, 0xc1, 0x4e, 0xfa, 0x30, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xb1, 0x4e, 0xc2, 0x40,
0x1c, 0x07, 0xf0, 0xed, 0x0f, 0x7f, 0x4c, 0x86, 0xa7, 0xc5, 0xc3, 0x24, 0x61, 0x20, 0x09, 0x09, 0x18, 0x80, 0x5b, 0x41, 0x4c, 0x8a, 0x53, 0xe3, 0x50, 0x49, 0x2c, 0xd8, 0x84, 0x04, 0x8d, 0xf4,
0x89, 0x61, 0x0d, 0x7a, 0xf3, 0xe6, 0x8c, 0x31, 0x5e, 0x8c, 0x99, 0x37, 0x6f, 0xa5, 0xfc, 0x1c, 0x82, 0x6e, 0x4e, 0xda, 0x44, 0xdd, 0x8c, 0xa9, 0x9b, 0x83, 0xc9, 0x71, 0xfc, 0x29, 0x67, 0x68,
0x35, 0xac, 0x25, 0x6d, 0x21, 0xce, 0x83, 0xcf, 0xe0, 0x13, 0xf8, 0x3c, 0x1c, 0x39, 0x7a, 0x22, 0x8f, 0xdc, 0x1d, 0xc4, 0xea, 0x4b, 0x18, 0x9f, 0x8a, 0x91, 0xd1, 0x89, 0x18, 0x78, 0x03, 0x9f,
0x06, 0xde, 0xc0, 0x27, 0x30, 0xb4, 0x45, 0xe7, 0x05, 0xbc, 0xad, 0xcb, 0xf7, 0xfb, 0xfd, 0x34, 0xc0, 0x70, 0x77, 0x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x06, 0x67, 0x60, 0xd0, 0x23, 0x8b, 0x1e, 0x1a, 0x54, 0x87, 0x37, 0x7b, 0x9c, 0x82, 0x2e, 0x1e, 0x9b, 0xe2, 0xa1, 0x2e, 0x2a, 0x43, 0xd1, 0xd2, 0x43, 0xac, 0xb5,
0x9c, 0x39, 0x24, 0x66, 0x39, 0xbe, 0x9e, 0x2d, 0x43, 0x77, 0xbe, 0x0c, 0xdd, 0x8f, 0x65, 0xe8, 0xd1, 0xed, 0x64, 0xee, 0xdb, 0xd3, 0xb9, 0x6f, 0x7f, 0xcf, 0x7d, 0xfb, 0x63, 0xe1, 0x5b, 0xd3,
0xbe, 0xae, 0x42, 0x67, 0xbe, 0x0a, 0x9d, 0xf7, 0x55, 0xe8, 0xdc, 0xa3, 0x94, 0xaa, 0xe1, 0xa4, 0x85, 0x6f, 0x7d, 0x2d, 0x7c, 0xeb, 0xe9, 0x2c, 0xa1, 0xb2, 0x3f, 0xea, 0x86, 0x84, 0xa5, 0x88,
0x1f, 0x11, 0x9e, 0x21, 0x02, 0x82, 0x74, 0x29, 0x47, 0x23, 0x4c, 0x38, 0xa3, 0x64, 0x80, 0x9e, 0x00, 0x27, 0x6d, 0xca, 0xd0, 0x00, 0x13, 0x96, 0x51, 0xd2, 0x43, 0xaf, 0xeb, 0x6b, 0xcb, 0x7c,
0x7e, 0xbd, 0xbf, 0xca, 0xc7, 0x20, 0xfb, 0x15, 0xfd, 0xe4, 0xa7, 0x5f, 0x01, 0x00, 0x00, 0xff, 0x08, 0xa2, 0x5b, 0x51, 0x37, 0xbe, 0xf8, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xba, 0xb2, 0x8e, 0x8c,
0xff, 0x38, 0x14, 0xaf, 0x6f, 0x87, 0x02, 0x00, 0x00, 0x6c, 0x02, 0x00, 0x00,
} }
func (m *GenesisState) Marshal() (dAtA []byte, err error) { func (m *GenesisState) Marshal() (dAtA []byte, err error) {

View File

@ -2,7 +2,7 @@ package types
const ( const (
// ModuleName is the name of the staking module // ModuleName is the name of the staking module
ModuleName = "nameservice" ModuleName = "registry"
// RecordRentModuleAccountName is the name of the module account that keeps track of record rents paid. // RecordRentModuleAccountName is the name of the module account that keeps track of record rents paid.
RecordRentModuleAccountName = "record_rent" RecordRentModuleAccountName = "record_rent"

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT.
// source: vulcanize/nameservice/v1beta1/query.proto // source: vulcanize/registry/v1beta1/query.proto
/* /*
Package types is a reverse proxy. Package types is a reverse proxy.
@ -211,20 +211,20 @@ func local_request_Query_GetRecordByBondID_0(ctx context.Context, marshaler runt
} }
func request_Query_GetNameServiceModuleBalance_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { func request_Query_GetRegistryModuleBalance_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var protoReq GetNameServiceModuleBalanceRequest var protoReq GetRegistryModuleBalanceRequest
var metadata runtime.ServerMetadata var metadata runtime.ServerMetadata
msg, err := client.GetNameServiceModuleBalance(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) msg, err := client.GetRegistryModuleBalance(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
return msg, metadata, err return msg, metadata, err
} }
func local_request_Query_GetNameServiceModuleBalance_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { func local_request_Query_GetRegistryModuleBalance_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var protoReq GetNameServiceModuleBalanceRequest var protoReq GetRegistryModuleBalanceRequest
var metadata runtime.ServerMetadata var metadata runtime.ServerMetadata
msg, err := server.GetNameServiceModuleBalance(ctx, &protoReq) msg, err := server.GetRegistryModuleBalance(ctx, &protoReq)
return msg, metadata, err return msg, metadata, err
} }
@ -549,7 +549,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv
}) })
mux.Handle("GET", pattern_Query_GetNameServiceModuleBalance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { mux.Handle("GET", pattern_Query_GetRegistryModuleBalance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context()) ctx, cancel := context.WithCancel(req.Context())
defer cancel() defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
@ -558,14 +558,14 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return return
} }
resp, md, err := local_request_Query_GetNameServiceModuleBalance_0(rctx, inboundMarshaler, server, req, pathParams) resp, md, err := local_request_Query_GetRegistryModuleBalance_0(rctx, inboundMarshaler, server, req, pathParams)
ctx = runtime.NewServerMetadataContext(ctx, md) ctx = runtime.NewServerMetadataContext(ctx, md)
if err != nil { if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return return
} }
forward_Query_GetNameServiceModuleBalance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) forward_Query_GetRegistryModuleBalance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
}) })
@ -810,7 +810,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie
}) })
mux.Handle("GET", pattern_Query_GetNameServiceModuleBalance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { mux.Handle("GET", pattern_Query_GetRegistryModuleBalance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context()) ctx, cancel := context.WithCancel(req.Context())
defer cancel() defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
@ -819,14 +819,14 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return return
} }
resp, md, err := request_Query_GetNameServiceModuleBalance_0(rctx, inboundMarshaler, client, req, pathParams) resp, md, err := request_Query_GetRegistryModuleBalance_0(rctx, inboundMarshaler, client, req, pathParams)
ctx = runtime.NewServerMetadataContext(ctx, md) ctx = runtime.NewServerMetadataContext(ctx, md)
if err != nil { if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return return
} }
forward_Query_GetNameServiceModuleBalance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) forward_Query_GetRegistryModuleBalance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
}) })
@ -954,27 +954,27 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie
} }
var ( var (
pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "nameservice", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(true))) pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "registry", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_ListRecords_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "nameservice", "v1beta1", "records"}, "", runtime.AssumeColonVerbOpt(true))) pattern_Query_ListRecords_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "registry", "v1beta1", "records"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_GetRecord_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"vulcanize", "nameservice", "v1beta1", "records", "id"}, "", runtime.AssumeColonVerbOpt(true))) pattern_Query_GetRecord_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"vulcanize", "registry", "v1beta1", "records", "id"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_GetRecordByBondID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"vulcanize", "nameservice", "v1beta1", "records-by-bond-id", "id"}, "", runtime.AssumeColonVerbOpt(true))) pattern_Query_GetRecordByBondID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"vulcanize", "registry", "v1beta1", "records-by-bond-id", "id"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_GetNameServiceModuleBalance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "nameservice", "v1beta1", "balance"}, "", runtime.AssumeColonVerbOpt(true))) pattern_Query_GetRegistryModuleBalance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "registry", "v1beta1", "balance"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_ListNameRecords_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "nameservice", "v1beta1", "names"}, "", runtime.AssumeColonVerbOpt(true))) pattern_Query_ListNameRecords_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "registry", "v1beta1", "names"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_Whois_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"vulcanize", "nameservice", "v1beta1", "whois", "name"}, "", runtime.AssumeColonVerbOpt(true))) pattern_Query_Whois_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"vulcanize", "registry", "v1beta1", "whois", "name"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_LookupCrn_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "nameservice", "v1beta1", "lookup"}, "", runtime.AssumeColonVerbOpt(true))) pattern_Query_LookupCrn_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "registry", "v1beta1", "lookup"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_ResolveCrn_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "nameservice", "v1beta1", "resolve"}, "", runtime.AssumeColonVerbOpt(true))) pattern_Query_ResolveCrn_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "registry", "v1beta1", "resolve"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_GetRecordExpiryQueue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "nameservice", "v1beta1", "record-expiry"}, "", runtime.AssumeColonVerbOpt(true))) pattern_Query_GetRecordExpiryQueue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "registry", "v1beta1", "record-expiry"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_GetAuthorityExpiryQueue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "nameservice", "v1beta1", "authority-expiry"}, "", runtime.AssumeColonVerbOpt(true))) pattern_Query_GetAuthorityExpiryQueue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "registry", "v1beta1", "authority-expiry"}, "", runtime.AssumeColonVerbOpt(true)))
) )
var ( var (
@ -986,7 +986,7 @@ var (
forward_Query_GetRecordByBondID_0 = runtime.ForwardResponseMessage forward_Query_GetRecordByBondID_0 = runtime.ForwardResponseMessage
forward_Query_GetNameServiceModuleBalance_0 = runtime.ForwardResponseMessage forward_Query_GetRegistryModuleBalance_0 = runtime.ForwardResponseMessage
forward_Query_ListNameRecords_0 = runtime.ForwardResponseMessage forward_Query_ListNameRecords_0 = runtime.ForwardResponseMessage

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: vulcanize/nameservice/v1beta1/tx.proto // source: vulcanize/registry/v1beta1/tx.proto
package types package types
@ -39,7 +39,7 @@ func (m *MsgSetRecord) Reset() { *m = MsgSetRecord{} }
func (m *MsgSetRecord) String() string { return proto.CompactTextString(m) } func (m *MsgSetRecord) String() string { return proto.CompactTextString(m) }
func (*MsgSetRecord) ProtoMessage() {} func (*MsgSetRecord) ProtoMessage() {}
func (*MsgSetRecord) Descriptor() ([]byte, []int) { func (*MsgSetRecord) Descriptor() ([]byte, []int) {
return fileDescriptor_b66a805dda801ce9, []int{0} return fileDescriptor_4db93ede4fa65546, []int{0}
} }
func (m *MsgSetRecord) XXX_Unmarshal(b []byte) error { func (m *MsgSetRecord) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -98,7 +98,7 @@ func (m *MsgSetRecordResponse) Reset() { *m = MsgSetRecordResponse{} }
func (m *MsgSetRecordResponse) String() string { return proto.CompactTextString(m) } func (m *MsgSetRecordResponse) String() string { return proto.CompactTextString(m) }
func (*MsgSetRecordResponse) ProtoMessage() {} func (*MsgSetRecordResponse) ProtoMessage() {}
func (*MsgSetRecordResponse) Descriptor() ([]byte, []int) { func (*MsgSetRecordResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_b66a805dda801ce9, []int{1} return fileDescriptor_4db93ede4fa65546, []int{1}
} }
func (m *MsgSetRecordResponse) XXX_Unmarshal(b []byte) error { func (m *MsgSetRecordResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -144,7 +144,7 @@ func (m *Payload) Reset() { *m = Payload{} }
func (m *Payload) String() string { return proto.CompactTextString(m) } func (m *Payload) String() string { return proto.CompactTextString(m) }
func (*Payload) ProtoMessage() {} func (*Payload) ProtoMessage() {}
func (*Payload) Descriptor() ([]byte, []int) { func (*Payload) Descriptor() ([]byte, []int) {
return fileDescriptor_b66a805dda801ce9, []int{2} return fileDescriptor_4db93ede4fa65546, []int{2}
} }
func (m *Payload) XXX_Unmarshal(b []byte) error { func (m *Payload) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -198,7 +198,7 @@ func (m *MsgSetName) Reset() { *m = MsgSetName{} }
func (m *MsgSetName) String() string { return proto.CompactTextString(m) } func (m *MsgSetName) String() string { return proto.CompactTextString(m) }
func (*MsgSetName) ProtoMessage() {} func (*MsgSetName) ProtoMessage() {}
func (*MsgSetName) Descriptor() ([]byte, []int) { func (*MsgSetName) Descriptor() ([]byte, []int) {
return fileDescriptor_b66a805dda801ce9, []int{3} return fileDescriptor_4db93ede4fa65546, []int{3}
} }
func (m *MsgSetName) XXX_Unmarshal(b []byte) error { func (m *MsgSetName) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -256,7 +256,7 @@ func (m *MsgSetNameResponse) Reset() { *m = MsgSetNameResponse{} }
func (m *MsgSetNameResponse) String() string { return proto.CompactTextString(m) } func (m *MsgSetNameResponse) String() string { return proto.CompactTextString(m) }
func (*MsgSetNameResponse) ProtoMessage() {} func (*MsgSetNameResponse) ProtoMessage() {}
func (*MsgSetNameResponse) Descriptor() ([]byte, []int) { func (*MsgSetNameResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_b66a805dda801ce9, []int{4} return fileDescriptor_4db93ede4fa65546, []int{4}
} }
func (m *MsgSetNameResponse) XXX_Unmarshal(b []byte) error { func (m *MsgSetNameResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -297,7 +297,7 @@ func (m *MsgReserveAuthority) Reset() { *m = MsgReserveAuthority{} }
func (m *MsgReserveAuthority) String() string { return proto.CompactTextString(m) } func (m *MsgReserveAuthority) String() string { return proto.CompactTextString(m) }
func (*MsgReserveAuthority) ProtoMessage() {} func (*MsgReserveAuthority) ProtoMessage() {}
func (*MsgReserveAuthority) Descriptor() ([]byte, []int) { func (*MsgReserveAuthority) Descriptor() ([]byte, []int) {
return fileDescriptor_b66a805dda801ce9, []int{5} return fileDescriptor_4db93ede4fa65546, []int{5}
} }
func (m *MsgReserveAuthority) XXX_Unmarshal(b []byte) error { func (m *MsgReserveAuthority) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -355,7 +355,7 @@ func (m *MsgReserveAuthorityResponse) Reset() { *m = MsgReserveAuthority
func (m *MsgReserveAuthorityResponse) String() string { return proto.CompactTextString(m) } func (m *MsgReserveAuthorityResponse) String() string { return proto.CompactTextString(m) }
func (*MsgReserveAuthorityResponse) ProtoMessage() {} func (*MsgReserveAuthorityResponse) ProtoMessage() {}
func (*MsgReserveAuthorityResponse) Descriptor() ([]byte, []int) { func (*MsgReserveAuthorityResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_b66a805dda801ce9, []int{6} return fileDescriptor_4db93ede4fa65546, []int{6}
} }
func (m *MsgReserveAuthorityResponse) XXX_Unmarshal(b []byte) error { func (m *MsgReserveAuthorityResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -395,7 +395,7 @@ func (m *MsgSetAuthorityBond) Reset() { *m = MsgSetAuthorityBond{} }
func (m *MsgSetAuthorityBond) String() string { return proto.CompactTextString(m) } func (m *MsgSetAuthorityBond) String() string { return proto.CompactTextString(m) }
func (*MsgSetAuthorityBond) ProtoMessage() {} func (*MsgSetAuthorityBond) ProtoMessage() {}
func (*MsgSetAuthorityBond) Descriptor() ([]byte, []int) { func (*MsgSetAuthorityBond) Descriptor() ([]byte, []int) {
return fileDescriptor_b66a805dda801ce9, []int{7} return fileDescriptor_4db93ede4fa65546, []int{7}
} }
func (m *MsgSetAuthorityBond) XXX_Unmarshal(b []byte) error { func (m *MsgSetAuthorityBond) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -453,7 +453,7 @@ func (m *MsgSetAuthorityBondResponse) Reset() { *m = MsgSetAuthorityBond
func (m *MsgSetAuthorityBondResponse) String() string { return proto.CompactTextString(m) } func (m *MsgSetAuthorityBondResponse) String() string { return proto.CompactTextString(m) }
func (*MsgSetAuthorityBondResponse) ProtoMessage() {} func (*MsgSetAuthorityBondResponse) ProtoMessage() {}
func (*MsgSetAuthorityBondResponse) Descriptor() ([]byte, []int) { func (*MsgSetAuthorityBondResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_b66a805dda801ce9, []int{8} return fileDescriptor_4db93ede4fa65546, []int{8}
} }
func (m *MsgSetAuthorityBondResponse) XXX_Unmarshal(b []byte) error { func (m *MsgSetAuthorityBondResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -492,7 +492,7 @@ func (m *MsgDeleteNameAuthority) Reset() { *m = MsgDeleteNameAuthority{}
func (m *MsgDeleteNameAuthority) String() string { return proto.CompactTextString(m) } func (m *MsgDeleteNameAuthority) String() string { return proto.CompactTextString(m) }
func (*MsgDeleteNameAuthority) ProtoMessage() {} func (*MsgDeleteNameAuthority) ProtoMessage() {}
func (*MsgDeleteNameAuthority) Descriptor() ([]byte, []int) { func (*MsgDeleteNameAuthority) Descriptor() ([]byte, []int) {
return fileDescriptor_b66a805dda801ce9, []int{9} return fileDescriptor_4db93ede4fa65546, []int{9}
} }
func (m *MsgDeleteNameAuthority) XXX_Unmarshal(b []byte) error { func (m *MsgDeleteNameAuthority) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -543,7 +543,7 @@ func (m *MsgDeleteNameAuthorityResponse) Reset() { *m = MsgDeleteNameAut
func (m *MsgDeleteNameAuthorityResponse) String() string { return proto.CompactTextString(m) } func (m *MsgDeleteNameAuthorityResponse) String() string { return proto.CompactTextString(m) }
func (*MsgDeleteNameAuthorityResponse) ProtoMessage() {} func (*MsgDeleteNameAuthorityResponse) ProtoMessage() {}
func (*MsgDeleteNameAuthorityResponse) Descriptor() ([]byte, []int) { func (*MsgDeleteNameAuthorityResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_b66a805dda801ce9, []int{10} return fileDescriptor_4db93ede4fa65546, []int{10}
} }
func (m *MsgDeleteNameAuthorityResponse) XXX_Unmarshal(b []byte) error { func (m *MsgDeleteNameAuthorityResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -582,7 +582,7 @@ func (m *MsgRenewRecord) Reset() { *m = MsgRenewRecord{} }
func (m *MsgRenewRecord) String() string { return proto.CompactTextString(m) } func (m *MsgRenewRecord) String() string { return proto.CompactTextString(m) }
func (*MsgRenewRecord) ProtoMessage() {} func (*MsgRenewRecord) ProtoMessage() {}
func (*MsgRenewRecord) Descriptor() ([]byte, []int) { func (*MsgRenewRecord) Descriptor() ([]byte, []int) {
return fileDescriptor_b66a805dda801ce9, []int{11} return fileDescriptor_4db93ede4fa65546, []int{11}
} }
func (m *MsgRenewRecord) XXX_Unmarshal(b []byte) error { func (m *MsgRenewRecord) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -633,7 +633,7 @@ func (m *MsgRenewRecordResponse) Reset() { *m = MsgRenewRecordResponse{}
func (m *MsgRenewRecordResponse) String() string { return proto.CompactTextString(m) } func (m *MsgRenewRecordResponse) String() string { return proto.CompactTextString(m) }
func (*MsgRenewRecordResponse) ProtoMessage() {} func (*MsgRenewRecordResponse) ProtoMessage() {}
func (*MsgRenewRecordResponse) Descriptor() ([]byte, []int) { func (*MsgRenewRecordResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_b66a805dda801ce9, []int{12} return fileDescriptor_4db93ede4fa65546, []int{12}
} }
func (m *MsgRenewRecordResponse) XXX_Unmarshal(b []byte) error { func (m *MsgRenewRecordResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -673,7 +673,7 @@ func (m *MsgAssociateBond) Reset() { *m = MsgAssociateBond{} }
func (m *MsgAssociateBond) String() string { return proto.CompactTextString(m) } func (m *MsgAssociateBond) String() string { return proto.CompactTextString(m) }
func (*MsgAssociateBond) ProtoMessage() {} func (*MsgAssociateBond) ProtoMessage() {}
func (*MsgAssociateBond) Descriptor() ([]byte, []int) { func (*MsgAssociateBond) Descriptor() ([]byte, []int) {
return fileDescriptor_b66a805dda801ce9, []int{13} return fileDescriptor_4db93ede4fa65546, []int{13}
} }
func (m *MsgAssociateBond) XXX_Unmarshal(b []byte) error { func (m *MsgAssociateBond) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -731,7 +731,7 @@ func (m *MsgAssociateBondResponse) Reset() { *m = MsgAssociateBondRespon
func (m *MsgAssociateBondResponse) String() string { return proto.CompactTextString(m) } func (m *MsgAssociateBondResponse) String() string { return proto.CompactTextString(m) }
func (*MsgAssociateBondResponse) ProtoMessage() {} func (*MsgAssociateBondResponse) ProtoMessage() {}
func (*MsgAssociateBondResponse) Descriptor() ([]byte, []int) { func (*MsgAssociateBondResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_b66a805dda801ce9, []int{14} return fileDescriptor_4db93ede4fa65546, []int{14}
} }
func (m *MsgAssociateBondResponse) XXX_Unmarshal(b []byte) error { func (m *MsgAssociateBondResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -770,7 +770,7 @@ func (m *MsgDissociateBond) Reset() { *m = MsgDissociateBond{} }
func (m *MsgDissociateBond) String() string { return proto.CompactTextString(m) } func (m *MsgDissociateBond) String() string { return proto.CompactTextString(m) }
func (*MsgDissociateBond) ProtoMessage() {} func (*MsgDissociateBond) ProtoMessage() {}
func (*MsgDissociateBond) Descriptor() ([]byte, []int) { func (*MsgDissociateBond) Descriptor() ([]byte, []int) {
return fileDescriptor_b66a805dda801ce9, []int{15} return fileDescriptor_4db93ede4fa65546, []int{15}
} }
func (m *MsgDissociateBond) XXX_Unmarshal(b []byte) error { func (m *MsgDissociateBond) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -821,7 +821,7 @@ func (m *MsgDissociateBondResponse) Reset() { *m = MsgDissociateBondResp
func (m *MsgDissociateBondResponse) String() string { return proto.CompactTextString(m) } func (m *MsgDissociateBondResponse) String() string { return proto.CompactTextString(m) }
func (*MsgDissociateBondResponse) ProtoMessage() {} func (*MsgDissociateBondResponse) ProtoMessage() {}
func (*MsgDissociateBondResponse) Descriptor() ([]byte, []int) { func (*MsgDissociateBondResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_b66a805dda801ce9, []int{16} return fileDescriptor_4db93ede4fa65546, []int{16}
} }
func (m *MsgDissociateBondResponse) XXX_Unmarshal(b []byte) error { func (m *MsgDissociateBondResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -860,7 +860,7 @@ func (m *MsgDissociateRecords) Reset() { *m = MsgDissociateRecords{} }
func (m *MsgDissociateRecords) String() string { return proto.CompactTextString(m) } func (m *MsgDissociateRecords) String() string { return proto.CompactTextString(m) }
func (*MsgDissociateRecords) ProtoMessage() {} func (*MsgDissociateRecords) ProtoMessage() {}
func (*MsgDissociateRecords) Descriptor() ([]byte, []int) { func (*MsgDissociateRecords) Descriptor() ([]byte, []int) {
return fileDescriptor_b66a805dda801ce9, []int{17} return fileDescriptor_4db93ede4fa65546, []int{17}
} }
func (m *MsgDissociateRecords) XXX_Unmarshal(b []byte) error { func (m *MsgDissociateRecords) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -911,7 +911,7 @@ func (m *MsgDissociateRecordsResponse) Reset() { *m = MsgDissociateRecor
func (m *MsgDissociateRecordsResponse) String() string { return proto.CompactTextString(m) } func (m *MsgDissociateRecordsResponse) String() string { return proto.CompactTextString(m) }
func (*MsgDissociateRecordsResponse) ProtoMessage() {} func (*MsgDissociateRecordsResponse) ProtoMessage() {}
func (*MsgDissociateRecordsResponse) Descriptor() ([]byte, []int) { func (*MsgDissociateRecordsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_b66a805dda801ce9, []int{18} return fileDescriptor_4db93ede4fa65546, []int{18}
} }
func (m *MsgDissociateRecordsResponse) XXX_Unmarshal(b []byte) error { func (m *MsgDissociateRecordsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -951,7 +951,7 @@ func (m *MsgReAssociateRecords) Reset() { *m = MsgReAssociateRecords{} }
func (m *MsgReAssociateRecords) String() string { return proto.CompactTextString(m) } func (m *MsgReAssociateRecords) String() string { return proto.CompactTextString(m) }
func (*MsgReAssociateRecords) ProtoMessage() {} func (*MsgReAssociateRecords) ProtoMessage() {}
func (*MsgReAssociateRecords) Descriptor() ([]byte, []int) { func (*MsgReAssociateRecords) Descriptor() ([]byte, []int) {
return fileDescriptor_b66a805dda801ce9, []int{19} return fileDescriptor_4db93ede4fa65546, []int{19}
} }
func (m *MsgReAssociateRecords) XXX_Unmarshal(b []byte) error { func (m *MsgReAssociateRecords) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -1009,7 +1009,7 @@ func (m *MsgReAssociateRecordsResponse) Reset() { *m = MsgReAssociateRec
func (m *MsgReAssociateRecordsResponse) String() string { return proto.CompactTextString(m) } func (m *MsgReAssociateRecordsResponse) String() string { return proto.CompactTextString(m) }
func (*MsgReAssociateRecordsResponse) ProtoMessage() {} func (*MsgReAssociateRecordsResponse) ProtoMessage() {}
func (*MsgReAssociateRecordsResponse) Descriptor() ([]byte, []int) { func (*MsgReAssociateRecordsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_b66a805dda801ce9, []int{20} return fileDescriptor_4db93ede4fa65546, []int{20}
} }
func (m *MsgReAssociateRecordsResponse) XXX_Unmarshal(b []byte) error { func (m *MsgReAssociateRecordsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -1039,90 +1039,90 @@ func (m *MsgReAssociateRecordsResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_MsgReAssociateRecordsResponse proto.InternalMessageInfo var xxx_messageInfo_MsgReAssociateRecordsResponse proto.InternalMessageInfo
func init() { func init() {
proto.RegisterType((*MsgSetRecord)(nil), "vulcanize.nameservice.v1beta1.MsgSetRecord") proto.RegisterType((*MsgSetRecord)(nil), "vulcanize.registry.v1beta1.MsgSetRecord")
proto.RegisterType((*MsgSetRecordResponse)(nil), "vulcanize.nameservice.v1beta1.MsgSetRecordResponse") proto.RegisterType((*MsgSetRecordResponse)(nil), "vulcanize.registry.v1beta1.MsgSetRecordResponse")
proto.RegisterType((*Payload)(nil), "vulcanize.nameservice.v1beta1.Payload") proto.RegisterType((*Payload)(nil), "vulcanize.registry.v1beta1.Payload")
proto.RegisterType((*MsgSetName)(nil), "vulcanize.nameservice.v1beta1.MsgSetName") proto.RegisterType((*MsgSetName)(nil), "vulcanize.registry.v1beta1.MsgSetName")
proto.RegisterType((*MsgSetNameResponse)(nil), "vulcanize.nameservice.v1beta1.MsgSetNameResponse") proto.RegisterType((*MsgSetNameResponse)(nil), "vulcanize.registry.v1beta1.MsgSetNameResponse")
proto.RegisterType((*MsgReserveAuthority)(nil), "vulcanize.nameservice.v1beta1.MsgReserveAuthority") proto.RegisterType((*MsgReserveAuthority)(nil), "vulcanize.registry.v1beta1.MsgReserveAuthority")
proto.RegisterType((*MsgReserveAuthorityResponse)(nil), "vulcanize.nameservice.v1beta1.MsgReserveAuthorityResponse") proto.RegisterType((*MsgReserveAuthorityResponse)(nil), "vulcanize.registry.v1beta1.MsgReserveAuthorityResponse")
proto.RegisterType((*MsgSetAuthorityBond)(nil), "vulcanize.nameservice.v1beta1.MsgSetAuthorityBond") proto.RegisterType((*MsgSetAuthorityBond)(nil), "vulcanize.registry.v1beta1.MsgSetAuthorityBond")
proto.RegisterType((*MsgSetAuthorityBondResponse)(nil), "vulcanize.nameservice.v1beta1.MsgSetAuthorityBondResponse") proto.RegisterType((*MsgSetAuthorityBondResponse)(nil), "vulcanize.registry.v1beta1.MsgSetAuthorityBondResponse")
proto.RegisterType((*MsgDeleteNameAuthority)(nil), "vulcanize.nameservice.v1beta1.MsgDeleteNameAuthority") proto.RegisterType((*MsgDeleteNameAuthority)(nil), "vulcanize.registry.v1beta1.MsgDeleteNameAuthority")
proto.RegisterType((*MsgDeleteNameAuthorityResponse)(nil), "vulcanize.nameservice.v1beta1.MsgDeleteNameAuthorityResponse") proto.RegisterType((*MsgDeleteNameAuthorityResponse)(nil), "vulcanize.registry.v1beta1.MsgDeleteNameAuthorityResponse")
proto.RegisterType((*MsgRenewRecord)(nil), "vulcanize.nameservice.v1beta1.MsgRenewRecord") proto.RegisterType((*MsgRenewRecord)(nil), "vulcanize.registry.v1beta1.MsgRenewRecord")
proto.RegisterType((*MsgRenewRecordResponse)(nil), "vulcanize.nameservice.v1beta1.MsgRenewRecordResponse") proto.RegisterType((*MsgRenewRecordResponse)(nil), "vulcanize.registry.v1beta1.MsgRenewRecordResponse")
proto.RegisterType((*MsgAssociateBond)(nil), "vulcanize.nameservice.v1beta1.MsgAssociateBond") proto.RegisterType((*MsgAssociateBond)(nil), "vulcanize.registry.v1beta1.MsgAssociateBond")
proto.RegisterType((*MsgAssociateBondResponse)(nil), "vulcanize.nameservice.v1beta1.MsgAssociateBondResponse") proto.RegisterType((*MsgAssociateBondResponse)(nil), "vulcanize.registry.v1beta1.MsgAssociateBondResponse")
proto.RegisterType((*MsgDissociateBond)(nil), "vulcanize.nameservice.v1beta1.MsgDissociateBond") proto.RegisterType((*MsgDissociateBond)(nil), "vulcanize.registry.v1beta1.MsgDissociateBond")
proto.RegisterType((*MsgDissociateBondResponse)(nil), "vulcanize.nameservice.v1beta1.MsgDissociateBondResponse") proto.RegisterType((*MsgDissociateBondResponse)(nil), "vulcanize.registry.v1beta1.MsgDissociateBondResponse")
proto.RegisterType((*MsgDissociateRecords)(nil), "vulcanize.nameservice.v1beta1.MsgDissociateRecords") proto.RegisterType((*MsgDissociateRecords)(nil), "vulcanize.registry.v1beta1.MsgDissociateRecords")
proto.RegisterType((*MsgDissociateRecordsResponse)(nil), "vulcanize.nameservice.v1beta1.MsgDissociateRecordsResponse") proto.RegisterType((*MsgDissociateRecordsResponse)(nil), "vulcanize.registry.v1beta1.MsgDissociateRecordsResponse")
proto.RegisterType((*MsgReAssociateRecords)(nil), "vulcanize.nameservice.v1beta1.MsgReAssociateRecords") proto.RegisterType((*MsgReAssociateRecords)(nil), "vulcanize.registry.v1beta1.MsgReAssociateRecords")
proto.RegisterType((*MsgReAssociateRecordsResponse)(nil), "vulcanize.nameservice.v1beta1.MsgReAssociateRecordsResponse") proto.RegisterType((*MsgReAssociateRecordsResponse)(nil), "vulcanize.registry.v1beta1.MsgReAssociateRecordsResponse")
} }
func init() { func init() {
proto.RegisterFile("vulcanize/nameservice/v1beta1/tx.proto", fileDescriptor_b66a805dda801ce9) proto.RegisterFile("vulcanize/registry/v1beta1/tx.proto", fileDescriptor_4db93ede4fa65546)
} }
var fileDescriptor_b66a805dda801ce9 = []byte{ var fileDescriptor_4db93ede4fa65546 = []byte{
// 877 bytes of a gzipped FileDescriptorProto // 869 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcb, 0x6e, 0xdb, 0x46, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x6e, 0xdb, 0x46,
0x14, 0x15, 0x25, 0x57, 0xaa, 0xae, 0x5a, 0xc3, 0x66, 0x55, 0x43, 0xa5, 0x6b, 0x52, 0xa5, 0x61, 0x10, 0x16, 0x25, 0x57, 0xaa, 0x46, 0xad, 0x61, 0xb3, 0xaa, 0xa1, 0xd2, 0x35, 0xa9, 0x52, 0xb0,
0x43, 0x85, 0x61, 0xb1, 0x96, 0x5b, 0xd4, 0x70, 0x6b, 0xa0, 0x16, 0x9a, 0x20, 0x5e, 0x28, 0x08, 0xa1, 0xb6, 0xb6, 0x68, 0xab, 0x2d, 0xea, 0xfa, 0x54, 0xab, 0x4d, 0x90, 0x1c, 0x14, 0x04, 0xf4,
0xe8, 0x45, 0x80, 0x6c, 0x0c, 0x8a, 0x1c, 0xd0, 0x34, 0x24, 0x8e, 0x40, 0x52, 0x96, 0x15, 0x03, 0x21, 0x40, 0x2e, 0x06, 0x45, 0x2e, 0x68, 0x1a, 0x12, 0x57, 0xe0, 0x52, 0x96, 0x95, 0x00, 0x01,
0xc9, 0x26, 0x40, 0x80, 0xac, 0xf2, 0x15, 0x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xcc, 0xe7, 0x1b, 0x9e, 0x79, 0xcd, 0x2d, 0xcf, 0x7c, 0xba, 0xe5, 0x99, 0xb7, 0x77, 0x7c, 0xea, 0xe6, 0x8e, 0x4f, 0x7d, 0xbc,
0x7b, 0xcb, 0x27, 0xae, 0x6f, 0xf9, 0xc4, 0xa7, 0x5b, 0x3e, 0xf1, 0x4c, 0xd2, 0x0d, 0xe7, 0xb4, 0xe3, 0x53, 0xcf, 0x77, 0x75, 0xc3, 0x3e, 0xeb, 0xb5, 0x6a, 0x2a, 0xee, 0x48, 0x2a, 0xb2, 0xd4,
0x5d, 0x2f, 0xab, 0xb8, 0x29, 0xa9, 0xc8, 0x52, 0xb7, 0x0d, 0x2c, 0x35, 0x14, 0x15, 0x9b, 0x86, 0x3d, 0x03, 0x4b, 0x6d, 0x45, 0xc5, 0xa6, 0xa1, 0x6a, 0xd2, 0x65, 0xf4, 0x03, 0x6f, 0x0f, 0xba,
0xaa, 0x49, 0x17, 0xb1, 0xbf, 0x01, 0xa7, 0xdb, 0x42, 0x76, 0x3d, 0x4d, 0x7e, 0x00, 0x76, 0xbf, 0x88, 0xb4, 0xb2, 0xee, 0x6f, 0xfb, 0x1f, 0x9f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x38, 0xa4, 0xc4,
0x06, 0x00, 0x00, 0xff, 0xff, 0xdb, 0x60, 0x57, 0xb3, 0x90, 0x0c, 0x00, 0x00, 0xcc, 0x3a, 0x0c, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
@ -1169,7 +1169,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient {
func (c *msgClient) SetRecord(ctx context.Context, in *MsgSetRecord, opts ...grpc.CallOption) (*MsgSetRecordResponse, error) { func (c *msgClient) SetRecord(ctx context.Context, in *MsgSetRecord, opts ...grpc.CallOption) (*MsgSetRecordResponse, error) {
out := new(MsgSetRecordResponse) out := new(MsgSetRecordResponse)
err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Msg/SetRecord", in, out, opts...) err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Msg/SetRecord", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -1178,7 +1178,7 @@ func (c *msgClient) SetRecord(ctx context.Context, in *MsgSetRecord, opts ...grp
func (c *msgClient) RenewRecord(ctx context.Context, in *MsgRenewRecord, opts ...grpc.CallOption) (*MsgRenewRecordResponse, error) { func (c *msgClient) RenewRecord(ctx context.Context, in *MsgRenewRecord, opts ...grpc.CallOption) (*MsgRenewRecordResponse, error) {
out := new(MsgRenewRecordResponse) out := new(MsgRenewRecordResponse)
err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Msg/RenewRecord", in, out, opts...) err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Msg/RenewRecord", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -1187,7 +1187,7 @@ func (c *msgClient) RenewRecord(ctx context.Context, in *MsgRenewRecord, opts ..
func (c *msgClient) AssociateBond(ctx context.Context, in *MsgAssociateBond, opts ...grpc.CallOption) (*MsgAssociateBondResponse, error) { func (c *msgClient) AssociateBond(ctx context.Context, in *MsgAssociateBond, opts ...grpc.CallOption) (*MsgAssociateBondResponse, error) {
out := new(MsgAssociateBondResponse) out := new(MsgAssociateBondResponse)
err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Msg/AssociateBond", in, out, opts...) err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Msg/AssociateBond", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -1196,7 +1196,7 @@ func (c *msgClient) AssociateBond(ctx context.Context, in *MsgAssociateBond, opt
func (c *msgClient) DissociateBond(ctx context.Context, in *MsgDissociateBond, opts ...grpc.CallOption) (*MsgDissociateBondResponse, error) { func (c *msgClient) DissociateBond(ctx context.Context, in *MsgDissociateBond, opts ...grpc.CallOption) (*MsgDissociateBondResponse, error) {
out := new(MsgDissociateBondResponse) out := new(MsgDissociateBondResponse)
err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Msg/DissociateBond", in, out, opts...) err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Msg/DissociateBond", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -1205,7 +1205,7 @@ func (c *msgClient) DissociateBond(ctx context.Context, in *MsgDissociateBond, o
func (c *msgClient) DissociateRecords(ctx context.Context, in *MsgDissociateRecords, opts ...grpc.CallOption) (*MsgDissociateRecordsResponse, error) { func (c *msgClient) DissociateRecords(ctx context.Context, in *MsgDissociateRecords, opts ...grpc.CallOption) (*MsgDissociateRecordsResponse, error) {
out := new(MsgDissociateRecordsResponse) out := new(MsgDissociateRecordsResponse)
err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Msg/DissociateRecords", in, out, opts...) err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Msg/DissociateRecords", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -1214,7 +1214,7 @@ func (c *msgClient) DissociateRecords(ctx context.Context, in *MsgDissociateReco
func (c *msgClient) ReAssociateRecords(ctx context.Context, in *MsgReAssociateRecords, opts ...grpc.CallOption) (*MsgReAssociateRecordsResponse, error) { func (c *msgClient) ReAssociateRecords(ctx context.Context, in *MsgReAssociateRecords, opts ...grpc.CallOption) (*MsgReAssociateRecordsResponse, error) {
out := new(MsgReAssociateRecordsResponse) out := new(MsgReAssociateRecordsResponse)
err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Msg/ReAssociateRecords", in, out, opts...) err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Msg/ReAssociateRecords", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -1223,7 +1223,7 @@ func (c *msgClient) ReAssociateRecords(ctx context.Context, in *MsgReAssociateRe
func (c *msgClient) SetName(ctx context.Context, in *MsgSetName, opts ...grpc.CallOption) (*MsgSetNameResponse, error) { func (c *msgClient) SetName(ctx context.Context, in *MsgSetName, opts ...grpc.CallOption) (*MsgSetNameResponse, error) {
out := new(MsgSetNameResponse) out := new(MsgSetNameResponse)
err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Msg/SetName", in, out, opts...) err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Msg/SetName", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -1232,7 +1232,7 @@ func (c *msgClient) SetName(ctx context.Context, in *MsgSetName, opts ...grpc.Ca
func (c *msgClient) ReserveName(ctx context.Context, in *MsgReserveAuthority, opts ...grpc.CallOption) (*MsgReserveAuthorityResponse, error) { func (c *msgClient) ReserveName(ctx context.Context, in *MsgReserveAuthority, opts ...grpc.CallOption) (*MsgReserveAuthorityResponse, error) {
out := new(MsgReserveAuthorityResponse) out := new(MsgReserveAuthorityResponse)
err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Msg/ReserveName", in, out, opts...) err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Msg/ReserveName", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -1241,7 +1241,7 @@ func (c *msgClient) ReserveName(ctx context.Context, in *MsgReserveAuthority, op
func (c *msgClient) DeleteName(ctx context.Context, in *MsgDeleteNameAuthority, opts ...grpc.CallOption) (*MsgDeleteNameAuthorityResponse, error) { func (c *msgClient) DeleteName(ctx context.Context, in *MsgDeleteNameAuthority, opts ...grpc.CallOption) (*MsgDeleteNameAuthorityResponse, error) {
out := new(MsgDeleteNameAuthorityResponse) out := new(MsgDeleteNameAuthorityResponse)
err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Msg/DeleteName", in, out, opts...) err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Msg/DeleteName", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -1250,7 +1250,7 @@ func (c *msgClient) DeleteName(ctx context.Context, in *MsgDeleteNameAuthority,
func (c *msgClient) SetAuthorityBond(ctx context.Context, in *MsgSetAuthorityBond, opts ...grpc.CallOption) (*MsgSetAuthorityBondResponse, error) { func (c *msgClient) SetAuthorityBond(ctx context.Context, in *MsgSetAuthorityBond, opts ...grpc.CallOption) (*MsgSetAuthorityBondResponse, error) {
out := new(MsgSetAuthorityBondResponse) out := new(MsgSetAuthorityBondResponse)
err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Msg/SetAuthorityBond", in, out, opts...) err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Msg/SetAuthorityBond", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -1330,7 +1330,7 @@ func _Msg_SetRecord_Handler(srv interface{}, ctx context.Context, dec func(inter
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/vulcanize.nameservice.v1beta1.Msg/SetRecord", FullMethod: "/vulcanize.registry.v1beta1.Msg/SetRecord",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).SetRecord(ctx, req.(*MsgSetRecord)) return srv.(MsgServer).SetRecord(ctx, req.(*MsgSetRecord))
@ -1348,7 +1348,7 @@ func _Msg_RenewRecord_Handler(srv interface{}, ctx context.Context, dec func(int
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/vulcanize.nameservice.v1beta1.Msg/RenewRecord", FullMethod: "/vulcanize.registry.v1beta1.Msg/RenewRecord",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).RenewRecord(ctx, req.(*MsgRenewRecord)) return srv.(MsgServer).RenewRecord(ctx, req.(*MsgRenewRecord))
@ -1366,7 +1366,7 @@ func _Msg_AssociateBond_Handler(srv interface{}, ctx context.Context, dec func(i
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/vulcanize.nameservice.v1beta1.Msg/AssociateBond", FullMethod: "/vulcanize.registry.v1beta1.Msg/AssociateBond",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).AssociateBond(ctx, req.(*MsgAssociateBond)) return srv.(MsgServer).AssociateBond(ctx, req.(*MsgAssociateBond))
@ -1384,7 +1384,7 @@ func _Msg_DissociateBond_Handler(srv interface{}, ctx context.Context, dec func(
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/vulcanize.nameservice.v1beta1.Msg/DissociateBond", FullMethod: "/vulcanize.registry.v1beta1.Msg/DissociateBond",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).DissociateBond(ctx, req.(*MsgDissociateBond)) return srv.(MsgServer).DissociateBond(ctx, req.(*MsgDissociateBond))
@ -1402,7 +1402,7 @@ func _Msg_DissociateRecords_Handler(srv interface{}, ctx context.Context, dec fu
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/vulcanize.nameservice.v1beta1.Msg/DissociateRecords", FullMethod: "/vulcanize.registry.v1beta1.Msg/DissociateRecords",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).DissociateRecords(ctx, req.(*MsgDissociateRecords)) return srv.(MsgServer).DissociateRecords(ctx, req.(*MsgDissociateRecords))
@ -1420,7 +1420,7 @@ func _Msg_ReAssociateRecords_Handler(srv interface{}, ctx context.Context, dec f
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/vulcanize.nameservice.v1beta1.Msg/ReAssociateRecords", FullMethod: "/vulcanize.registry.v1beta1.Msg/ReAssociateRecords",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).ReAssociateRecords(ctx, req.(*MsgReAssociateRecords)) return srv.(MsgServer).ReAssociateRecords(ctx, req.(*MsgReAssociateRecords))
@ -1438,7 +1438,7 @@ func _Msg_SetName_Handler(srv interface{}, ctx context.Context, dec func(interfa
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/vulcanize.nameservice.v1beta1.Msg/SetName", FullMethod: "/vulcanize.registry.v1beta1.Msg/SetName",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).SetName(ctx, req.(*MsgSetName)) return srv.(MsgServer).SetName(ctx, req.(*MsgSetName))
@ -1456,7 +1456,7 @@ func _Msg_ReserveName_Handler(srv interface{}, ctx context.Context, dec func(int
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/vulcanize.nameservice.v1beta1.Msg/ReserveName", FullMethod: "/vulcanize.registry.v1beta1.Msg/ReserveName",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).ReserveName(ctx, req.(*MsgReserveAuthority)) return srv.(MsgServer).ReserveName(ctx, req.(*MsgReserveAuthority))
@ -1474,7 +1474,7 @@ func _Msg_DeleteName_Handler(srv interface{}, ctx context.Context, dec func(inte
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/vulcanize.nameservice.v1beta1.Msg/DeleteName", FullMethod: "/vulcanize.registry.v1beta1.Msg/DeleteName",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).DeleteName(ctx, req.(*MsgDeleteNameAuthority)) return srv.(MsgServer).DeleteName(ctx, req.(*MsgDeleteNameAuthority))
@ -1492,7 +1492,7 @@ func _Msg_SetAuthorityBond_Handler(srv interface{}, ctx context.Context, dec fun
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/vulcanize.nameservice.v1beta1.Msg/SetAuthorityBond", FullMethod: "/vulcanize.registry.v1beta1.Msg/SetAuthorityBond",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).SetAuthorityBond(ctx, req.(*MsgSetAuthorityBond)) return srv.(MsgServer).SetAuthorityBond(ctx, req.(*MsgSetAuthorityBond))
@ -1501,7 +1501,7 @@ func _Msg_SetAuthorityBond_Handler(srv interface{}, ctx context.Context, dec fun
} }
var _Msg_serviceDesc = grpc.ServiceDesc{ var _Msg_serviceDesc = grpc.ServiceDesc{
ServiceName: "vulcanize.nameservice.v1beta1.Msg", ServiceName: "vulcanize.registry.v1beta1.Msg",
HandlerType: (*MsgServer)(nil), HandlerType: (*MsgServer)(nil),
Methods: []grpc.MethodDesc{ Methods: []grpc.MethodDesc{
{ {
@ -1546,7 +1546,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{
}, },
}, },
Streams: []grpc.StreamDesc{}, Streams: []grpc.StreamDesc{},
Metadata: "vulcanize/nameservice/v1beta1/tx.proto", Metadata: "vulcanize/registry/v1beta1/tx.proto",
} }
func (m *MsgSetRecord) Marshal() (dAtA []byte, err error) { func (m *MsgSetRecord) Marshal() (dAtA []byte, err error) {

View File

@ -6,7 +6,7 @@ import (
"fmt" "fmt"
"strings" "strings"
"github.com/cerc-io/laconicd/x/nameservice/helpers" "github.com/cerc-io/laconicd/x/registry/helpers"
codectypes "github.com/cosmos/cosmos-sdk/codec/types" codectypes "github.com/cosmos/cosmos-sdk/codec/types"
canonicalJson "github.com/gibson042/canonicaljson-go" canonicalJson "github.com/gibson042/canonicaljson-go"
"github.com/gogo/protobuf/proto" "github.com/gogo/protobuf/proto"