uregistryv1

package
v0.0.41 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

View Source
const (
	Query_Params_FullMethodName              = "/uregistry.v1.Query/Params"
	Query_ChainConfig_FullMethodName         = "/uregistry.v1.Query/ChainConfig"
	Query_AllChainConfigs_FullMethodName     = "/uregistry.v1.Query/AllChainConfigs"
	Query_TokenConfig_FullMethodName         = "/uregistry.v1.Query/TokenConfig"
	Query_AllTokenConfigs_FullMethodName     = "/uregistry.v1.Query/AllTokenConfigs"
	Query_TokenConfigsByChain_FullMethodName = "/uregistry.v1.Query/TokenConfigsByChain"
)
View Source
const (
	Msg_UpdateParams_FullMethodName      = "/uregistry.v1.Msg/UpdateParams"
	Msg_AddChainConfig_FullMethodName    = "/uregistry.v1.Msg/AddChainConfig"
	Msg_UpdateChainConfig_FullMethodName = "/uregistry.v1.Msg/UpdateChainConfig"
	Msg_AddTokenConfig_FullMethodName    = "/uregistry.v1.Msg/AddTokenConfig"
	Msg_UpdateTokenConfig_FullMethodName = "/uregistry.v1.Msg/UpdateTokenConfig"
	Msg_RemoveTokenConfig_FullMethodName = "/uregistry.v1.Msg/RemoveTokenConfig"
)

Variables

View Source
var (
	VmType_name = map[int32]string{
		0: "UNKNOWN_VM",
		1: "EVM",
		2: "SVM",
		3: "MOVE_VM",
		4: "WASM_VM",
		5: "CAIRO_VM",
		6: "TRON_VM",
		7: "STELLAR_VM",
		8: "BITCOIN_SCRIPT",
		9: "OTHER_VM",
	}
	VmType_value = map[string]int32{
		"UNKNOWN_VM":     0,
		"EVM":            1,
		"SVM":            2,
		"MOVE_VM":        3,
		"WASM_VM":        4,
		"CAIRO_VM":       5,
		"TRON_VM":        6,
		"STELLAR_VM":     7,
		"BITCOIN_SCRIPT": 8,
		"OTHER_VM":       9,
	}
)

Enum value maps for VmType.

View Source
var (
	TokenType_name = map[int32]string{
		0: "UNKNOWN_TOKEN",
		1: "ERC20",
		2: "ERC721",
		3: "ERC1155",
		4: "SPL",
	}
	TokenType_value = map[string]int32{
		"UNKNOWN_TOKEN": 0,
		"ERC20":         1,
		"ERC721":        2,
		"ERC1155":       3,
		"SPL":           4,
	}
)

Enum value maps for TokenType.

View Source
var (
	ConfirmationType_name = map[int32]string{
		0: "CONFIRMATION_UNKNOWN",
		1: "CONFIRMATION_TYPE_STANDARD",
		2: "CONFIRMATION_TYPE_FAST",
	}
	ConfirmationType_value = map[string]int32{
		"CONFIRMATION_UNKNOWN":       0,
		"CONFIRMATION_TYPE_STANDARD": 1,
		"CONFIRMATION_TYPE_FAST":     2,
	}
)

Enum value maps for ConfirmationType.

View Source
var File_uregistry_v1_genesis_proto protoreflect.FileDescriptor
View Source
var File_uregistry_v1_query_proto protoreflect.FileDescriptor
View Source
var File_uregistry_v1_tx_proto protoreflect.FileDescriptor
View Source
var File_uregistry_v1_types_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "uregistry.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
		{
			MethodName: "AddChainConfig",
			Handler:    _Msg_AddChainConfig_Handler,
		},
		{
			MethodName: "UpdateChainConfig",
			Handler:    _Msg_UpdateChainConfig_Handler,
		},
		{
			MethodName: "AddTokenConfig",
			Handler:    _Msg_AddTokenConfig_Handler,
		},
		{
			MethodName: "UpdateTokenConfig",
			Handler:    _Msg_UpdateTokenConfig_Handler,
		},
		{
			MethodName: "RemoveTokenConfig",
			Handler:    _Msg_RemoveTokenConfig_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "uregistry/v1/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "uregistry.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
		{
			MethodName: "ChainConfig",
			Handler:    _Query_ChainConfig_Handler,
		},
		{
			MethodName: "AllChainConfigs",
			Handler:    _Query_AllChainConfigs_Handler,
		},
		{
			MethodName: "TokenConfig",
			Handler:    _Query_TokenConfig_Handler,
		},
		{
			MethodName: "AllTokenConfigs",
			Handler:    _Query_AllTokenConfigs_Handler,
		},
		{
			MethodName: "TokenConfigsByChain",
			Handler:    _Query_TokenConfigsByChain_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "uregistry/v1/query.proto",
}

Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type BlockConfirmation

type BlockConfirmation struct {
	FastInbound     uint32 `protobuf:"varint,1,opt,name=fast_inbound,json=fastInbound,proto3" json:"fast_inbound,omitempty"`             // fast number of confirmations, for faster executions in inbound
	StandardInbound uint32 `protobuf:"varint,2,opt,name=standard_inbound,json=standardInbound,proto3" json:"standard_inbound,omitempty"` // standard confirmations, for secure executions
	// contains filtered or unexported fields
}

BlockConfirmation defines the number of blocks to wait for confirmation on the external chain

func (*BlockConfirmation) Descriptor deprecated

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

Deprecated: Use BlockConfirmation.ProtoReflect.Descriptor instead.

func (*BlockConfirmation) GetFastInbound

func (x *BlockConfirmation) GetFastInbound() uint32

func (*BlockConfirmation) GetStandardInbound

func (x *BlockConfirmation) GetStandardInbound() uint32

func (*BlockConfirmation) ProtoMessage

func (*BlockConfirmation) ProtoMessage()

func (*BlockConfirmation) ProtoReflect

func (x *BlockConfirmation) ProtoReflect() protoreflect.Message

func (*BlockConfirmation) Reset

func (x *BlockConfirmation) Reset()

func (*BlockConfirmation) String

func (x *BlockConfirmation) String() string

type ChainConfig

type ChainConfig struct {
	Chain                  string               `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`                                                  // chain is the caip2 identifier of the chain where the owner is located - (e.g. "eip155:1" for Ethereum mainnet)
	VmType                 VmType               `protobuf:"varint,2,opt,name=vm_type,json=vmType,proto3,enum=uregistry.v1.VmType" json:"vm_type,omitempty"`        // vm_type is the type of the virtual machine used by the chain
	PublicRpcUrl           string               `protobuf:"bytes,3,opt,name=public_rpc_url,json=publicRpcUrl,proto3" json:"public_rpc_url,omitempty"`              // RPC URL for the chain
	GatewayAddress         string               `protobuf:"bytes,4,opt,name=gateway_address,json=gatewayAddress,proto3" json:"gateway_address,omitempty"`          // gateway_address is the address of the fee gateway contract on the external chain
	BlockConfirmation      *BlockConfirmation   `protobuf:"bytes,5,opt,name=block_confirmation,json=blockConfirmation,proto3" json:"block_confirmation,omitempty"` // block_confirmation is the number of blocks to wait for confirmation on the external chain
	GatewayMethods         []*GatewayMethods    `protobuf:"bytes,6,rep,name=gateway_methods,json=gatewayMethods,proto3" json:"gateway_methods,omitempty"`          // List of methods that can be used for universal operations
	Enabled                *ChainEnabled        `protobuf:"bytes,7,opt,name=enabled,proto3" json:"enabled,omitempty"`                                              // Whether this chain is currently enabled or not
	GasOracleFetchInterval *durationpb.Duration ``                                                                                                                 // how often relayers should fetch gas prices
	/* 131-byte string literal not displayed */
	VaultMethods       []*VaultMethods      `protobuf:"bytes,9,rep,name=vault_methods,json=vaultMethods,proto3" json:"vault_methods,omitempty"`                      // List of methods exposed by the vault contract (optional)
	TssSigningDeadline *durationpb.Duration `protobuf:"bytes,10,opt,name=tss_signing_deadline,json=tssSigningDeadline,proto3" json:"tss_signing_deadline,omitempty"` // duration added to block time to compute the signature expiry deadline on the destination chain (zero = no expiry)
	// contains filtered or unexported fields
}

ChainConfig defines the configuration for a supported source or destination chain

func (*ChainConfig) Descriptor deprecated

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

Deprecated: Use ChainConfig.ProtoReflect.Descriptor instead.

func (*ChainConfig) GetBlockConfirmation

func (x *ChainConfig) GetBlockConfirmation() *BlockConfirmation

func (*ChainConfig) GetChain

func (x *ChainConfig) GetChain() string

func (*ChainConfig) GetEnabled

func (x *ChainConfig) GetEnabled() *ChainEnabled

func (*ChainConfig) GetGasOracleFetchInterval

func (x *ChainConfig) GetGasOracleFetchInterval() *durationpb.Duration

func (*ChainConfig) GetGatewayAddress

func (x *ChainConfig) GetGatewayAddress() string

func (*ChainConfig) GetGatewayMethods

func (x *ChainConfig) GetGatewayMethods() []*GatewayMethods

func (*ChainConfig) GetPublicRpcUrl

func (x *ChainConfig) GetPublicRpcUrl() string

func (*ChainConfig) GetTssSigningDeadline added in v0.0.36

func (x *ChainConfig) GetTssSigningDeadline() *durationpb.Duration

func (*ChainConfig) GetVaultMethods added in v0.0.18

func (x *ChainConfig) GetVaultMethods() []*VaultMethods

func (*ChainConfig) GetVmType

func (x *ChainConfig) GetVmType() VmType

func (*ChainConfig) ProtoMessage

func (*ChainConfig) ProtoMessage()

func (*ChainConfig) ProtoReflect

func (x *ChainConfig) ProtoReflect() protoreflect.Message

func (*ChainConfig) Reset

func (x *ChainConfig) Reset()

func (*ChainConfig) String

func (x *ChainConfig) String() string

type ChainConfigEntry added in v0.0.23

type ChainConfigEntry struct {
	Key   string       `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value *ChainConfig `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

ChainConfigEntry is a key-value pair for exporting ChainConfigs map state.

func (*ChainConfigEntry) Descriptor deprecated added in v0.0.23

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

Deprecated: Use ChainConfigEntry.ProtoReflect.Descriptor instead.

func (*ChainConfigEntry) GetKey added in v0.0.23

func (x *ChainConfigEntry) GetKey() string

func (*ChainConfigEntry) GetValue added in v0.0.23

func (x *ChainConfigEntry) GetValue() *ChainConfig

func (*ChainConfigEntry) ProtoMessage added in v0.0.23

func (*ChainConfigEntry) ProtoMessage()

func (*ChainConfigEntry) ProtoReflect added in v0.0.23

func (x *ChainConfigEntry) ProtoReflect() protoreflect.Message

func (*ChainConfigEntry) Reset added in v0.0.23

func (x *ChainConfigEntry) Reset()

func (*ChainConfigEntry) String added in v0.0.23

func (x *ChainConfigEntry) String() string

type ChainEnabled

type ChainEnabled struct {
	IsInboundEnabled  bool `protobuf:"varint,1,opt,name=isInboundEnabled,proto3" json:"isInboundEnabled,omitempty"`
	IsOutboundEnabled bool `protobuf:"varint,2,opt,name=isOutboundEnabled,proto3" json:"isOutboundEnabled,omitempty"`
	// contains filtered or unexported fields
}

ChainEnabled defines if chain is enabled for inbound as well as outbound

func (*ChainEnabled) Descriptor deprecated

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

Deprecated: Use ChainEnabled.ProtoReflect.Descriptor instead.

func (*ChainEnabled) GetIsInboundEnabled

func (x *ChainEnabled) GetIsInboundEnabled() bool

func (*ChainEnabled) GetIsOutboundEnabled

func (x *ChainEnabled) GetIsOutboundEnabled() bool

func (*ChainEnabled) ProtoMessage

func (*ChainEnabled) ProtoMessage()

func (*ChainEnabled) ProtoReflect

func (x *ChainEnabled) ProtoReflect() protoreflect.Message

func (*ChainEnabled) Reset

func (x *ChainEnabled) Reset()

func (*ChainEnabled) String

func (x *ChainEnabled) String() string

type ConfirmationType

type ConfirmationType int32

ConfirmationType defines which type of block confirmation to use

const (
	ConfirmationType_CONFIRMATION_UNKNOWN       ConfirmationType = 0
	ConfirmationType_CONFIRMATION_TYPE_STANDARD ConfirmationType = 1 // default standard confirmation
	ConfirmationType_CONFIRMATION_TYPE_FAST     ConfirmationType = 2 // fast confirmation
)

func (ConfirmationType) Descriptor

func (ConfirmationType) Enum

func (ConfirmationType) EnumDescriptor deprecated

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

Deprecated: Use ConfirmationType.Descriptor instead.

func (ConfirmationType) Number

func (ConfirmationType) String

func (x ConfirmationType) String() string

func (ConfirmationType) Type

type GatewayMethods

type GatewayMethods struct {
	Name             string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                                              // Human-readable method name (e.g. "add_funds")
	Identifier       string           `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`                                  // Hex-encoded selector or discriminator for the method
	EventIdentifier  string           `protobuf:"bytes,3,opt,name=event_identifier,json=eventIdentifier,proto3" json:"event_identifier,omitempty"` // Hex-encoded topic or identifier for emitted event
	ConfirmationType ConfirmationType ``                                                                                                           // Which block confirmation to use for this method
	/* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

GatewayMethods defines the configuration for a method that can be used for universal operations

func (*GatewayMethods) Descriptor deprecated

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

Deprecated: Use GatewayMethods.ProtoReflect.Descriptor instead.

func (*GatewayMethods) GetConfirmationType

func (x *GatewayMethods) GetConfirmationType() ConfirmationType

func (*GatewayMethods) GetEventIdentifier

func (x *GatewayMethods) GetEventIdentifier() string

func (*GatewayMethods) GetIdentifier

func (x *GatewayMethods) GetIdentifier() string

func (*GatewayMethods) GetName

func (x *GatewayMethods) GetName() string

func (*GatewayMethods) ProtoMessage

func (*GatewayMethods) ProtoMessage()

func (*GatewayMethods) ProtoReflect

func (x *GatewayMethods) ProtoReflect() protoreflect.Message

func (*GatewayMethods) Reset

func (x *GatewayMethods) Reset()

func (*GatewayMethods) String

func (x *GatewayMethods) String() string

type GenesisState

type GenesisState struct {

	// Params defines all the parameters of the module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// chain_configs are key-value pairs from the ChainConfigs Map.
	ChainConfigs []*ChainConfigEntry `protobuf:"bytes,2,rep,name=chain_configs,json=chainConfigs,proto3" json:"chain_configs,omitempty"`
	// token_configs are key-value pairs from the TokenConfigs Map.
	TokenConfigs []*TokenConfigEntry `protobuf:"bytes,3,rep,name=token_configs,json=tokenConfigs,proto3" json:"token_configs,omitempty"`
	// exported indicates whether this genesis state was produced by an export (true)
	// or is a fresh genesis (false). When true, contract deployments are skipped.
	Exported bool `protobuf:"varint,4,opt,name=exported,proto3" json:"exported,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the module genesis state

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetChainConfigs added in v0.0.23

func (x *GenesisState) GetChainConfigs() []*ChainConfigEntry

func (*GenesisState) GetExported added in v0.0.23

func (x *GenesisState) GetExported() bool

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

func (*GenesisState) GetTokenConfigs added in v0.0.23

func (x *GenesisState) GetTokenConfigs() []*TokenConfigEntry

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

func (x *GenesisState) ProtoReflect() protoreflect.Message

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type MsgAddChainConfig

type MsgAddChainConfig struct {

	// signer is the address authorized to add a chain config
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	// The new ChainConfig to add
	ChainConfig *ChainConfig `protobuf:"bytes,2,opt,name=chain_config,json=chainConfig,proto3" json:"chain_config,omitempty"`
	// contains filtered or unexported fields
}

MsgAddChainConfig defines a message to add a new ChainConfig.

func (*MsgAddChainConfig) Descriptor deprecated

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

Deprecated: Use MsgAddChainConfig.ProtoReflect.Descriptor instead.

func (*MsgAddChainConfig) GetChainConfig

func (x *MsgAddChainConfig) GetChainConfig() *ChainConfig

func (*MsgAddChainConfig) GetSigner

func (x *MsgAddChainConfig) GetSigner() string

func (*MsgAddChainConfig) ProtoMessage

func (*MsgAddChainConfig) ProtoMessage()

func (*MsgAddChainConfig) ProtoReflect

func (x *MsgAddChainConfig) ProtoReflect() protoreflect.Message

func (*MsgAddChainConfig) Reset

func (x *MsgAddChainConfig) Reset()

func (*MsgAddChainConfig) String

func (x *MsgAddChainConfig) String() string

type MsgAddChainConfigResponse

type MsgAddChainConfigResponse struct {
	// contains filtered or unexported fields
}

MsgAddChainConfigResponse defines the response for MsgAddChainConfig.

func (*MsgAddChainConfigResponse) Descriptor deprecated

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

Deprecated: Use MsgAddChainConfigResponse.ProtoReflect.Descriptor instead.

func (*MsgAddChainConfigResponse) ProtoMessage

func (*MsgAddChainConfigResponse) ProtoMessage()

func (*MsgAddChainConfigResponse) ProtoReflect

func (*MsgAddChainConfigResponse) Reset

func (x *MsgAddChainConfigResponse) Reset()

func (*MsgAddChainConfigResponse) String

func (x *MsgAddChainConfigResponse) String() string

type MsgAddTokenConfig

type MsgAddTokenConfig struct {

	// signer is the address authorized to whitelist token configs
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	// The token configuration to whitelist
	TokenConfig *TokenConfig `protobuf:"bytes,2,opt,name=token_config,json=tokenConfig,proto3" json:"token_config,omitempty"`
	// contains filtered or unexported fields
}

MsgAddTokenConfig defines a message to add a new whitelisted TokenConfig.

func (*MsgAddTokenConfig) Descriptor deprecated

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

Deprecated: Use MsgAddTokenConfig.ProtoReflect.Descriptor instead.

func (*MsgAddTokenConfig) GetSigner

func (x *MsgAddTokenConfig) GetSigner() string

func (*MsgAddTokenConfig) GetTokenConfig

func (x *MsgAddTokenConfig) GetTokenConfig() *TokenConfig

func (*MsgAddTokenConfig) ProtoMessage

func (*MsgAddTokenConfig) ProtoMessage()

func (*MsgAddTokenConfig) ProtoReflect

func (x *MsgAddTokenConfig) ProtoReflect() protoreflect.Message

func (*MsgAddTokenConfig) Reset

func (x *MsgAddTokenConfig) Reset()

func (*MsgAddTokenConfig) String

func (x *MsgAddTokenConfig) String() string

type MsgAddTokenConfigResponse

type MsgAddTokenConfigResponse struct {
	// contains filtered or unexported fields
}

MsgAddTokenConfigResponse defines the response for MsgAddTokenConfig.

func (*MsgAddTokenConfigResponse) Descriptor deprecated

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

Deprecated: Use MsgAddTokenConfigResponse.ProtoReflect.Descriptor instead.

func (*MsgAddTokenConfigResponse) ProtoMessage

func (*MsgAddTokenConfigResponse) ProtoMessage()

func (*MsgAddTokenConfigResponse) ProtoReflect

func (*MsgAddTokenConfigResponse) Reset

func (x *MsgAddTokenConfigResponse) Reset()

func (*MsgAddTokenConfigResponse) String

func (x *MsgAddTokenConfigResponse) String() string

type MsgClient

type MsgClient interface {
	// UpdateParams defines a governance operation for updating the parameters.
	//
	// Since: cosmos-sdk 0.47
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
	// AddChainConfig adds a new ChainConfig entry
	AddChainConfig(ctx context.Context, in *MsgAddChainConfig, opts ...grpc.CallOption) (*MsgAddChainConfigResponse, error)
	// UpdateChainConfig updates an existing ChainConfig entry
	UpdateChainConfig(ctx context.Context, in *MsgUpdateChainConfig, opts ...grpc.CallOption) (*MsgUpdateChainConfigResponse, error)
	// AddTokenConfig adds a new TokenConfig entry
	AddTokenConfig(ctx context.Context, in *MsgAddTokenConfig, opts ...grpc.CallOption) (*MsgAddTokenConfigResponse, error)
	// UpdateTokenConfig updates an existing TokenConfig entry
	UpdateTokenConfig(ctx context.Context, in *MsgUpdateTokenConfig, opts ...grpc.CallOption) (*MsgUpdateTokenConfigResponse, error)
	// RemoveTokenConfig removes an existing TokenConfig entry
	RemoveTokenConfig(ctx context.Context, in *MsgRemoveTokenConfig, opts ...grpc.CallOption) (*MsgRemoveTokenConfigResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgRemoveTokenConfig

type MsgRemoveTokenConfig struct {

	// signer is the address authorized to add a chain config
	Signer       string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	Chain        string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`                                   // chain on which original token is present
	TokenAddress string `protobuf:"bytes,3,opt,name=token_address,json=tokenAddress,proto3" json:"token_address,omitempty"` // token address
	// contains filtered or unexported fields
}

MsgRemoveTokenConfig defines a message to remove a existing TokenConfig.

func (*MsgRemoveTokenConfig) Descriptor deprecated

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

Deprecated: Use MsgRemoveTokenConfig.ProtoReflect.Descriptor instead.

func (*MsgRemoveTokenConfig) GetChain

func (x *MsgRemoveTokenConfig) GetChain() string

func (*MsgRemoveTokenConfig) GetSigner

func (x *MsgRemoveTokenConfig) GetSigner() string

func (*MsgRemoveTokenConfig) GetTokenAddress

func (x *MsgRemoveTokenConfig) GetTokenAddress() string

func (*MsgRemoveTokenConfig) ProtoMessage

func (*MsgRemoveTokenConfig) ProtoMessage()

func (*MsgRemoveTokenConfig) ProtoReflect

func (x *MsgRemoveTokenConfig) ProtoReflect() protoreflect.Message

func (*MsgRemoveTokenConfig) Reset

func (x *MsgRemoveTokenConfig) Reset()

func (*MsgRemoveTokenConfig) String

func (x *MsgRemoveTokenConfig) String() string

type MsgRemoveTokenConfigResponse

type MsgRemoveTokenConfigResponse struct {
	// contains filtered or unexported fields
}

MsgRemoveTokenConfigResponse defines the response for MsgRemoveTokenConfig.

func (*MsgRemoveTokenConfigResponse) Descriptor deprecated

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

Deprecated: Use MsgRemoveTokenConfigResponse.ProtoReflect.Descriptor instead.

func (*MsgRemoveTokenConfigResponse) ProtoMessage

func (*MsgRemoveTokenConfigResponse) ProtoMessage()

func (*MsgRemoveTokenConfigResponse) ProtoReflect

func (*MsgRemoveTokenConfigResponse) Reset

func (x *MsgRemoveTokenConfigResponse) Reset()

func (*MsgRemoveTokenConfigResponse) String

type MsgServer

type MsgServer interface {
	// UpdateParams defines a governance operation for updating the parameters.
	//
	// Since: cosmos-sdk 0.47
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// AddChainConfig adds a new ChainConfig entry
	AddChainConfig(context.Context, *MsgAddChainConfig) (*MsgAddChainConfigResponse, error)
	// UpdateChainConfig updates an existing ChainConfig entry
	UpdateChainConfig(context.Context, *MsgUpdateChainConfig) (*MsgUpdateChainConfigResponse, error)
	// AddTokenConfig adds a new TokenConfig entry
	AddTokenConfig(context.Context, *MsgAddTokenConfig) (*MsgAddTokenConfigResponse, error)
	// UpdateTokenConfig updates an existing TokenConfig entry
	UpdateTokenConfig(context.Context, *MsgUpdateTokenConfig) (*MsgUpdateTokenConfigResponse, error)
	// RemoveTokenConfig removes an existing TokenConfig entry
	RemoveTokenConfig(context.Context, *MsgRemoveTokenConfig) (*MsgRemoveTokenConfigResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

type MsgUpdateChainConfig

type MsgUpdateChainConfig struct {

	// signer is the address authorized to add a chain config
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	// The new ChainConfig to add
	ChainConfig *ChainConfig `protobuf:"bytes,2,opt,name=chain_config,json=chainConfig,proto3" json:"chain_config,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateChainConfig defines a message to update a existing ChainConfig.

func (*MsgUpdateChainConfig) Descriptor deprecated

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

Deprecated: Use MsgUpdateChainConfig.ProtoReflect.Descriptor instead.

func (*MsgUpdateChainConfig) GetChainConfig

func (x *MsgUpdateChainConfig) GetChainConfig() *ChainConfig

func (*MsgUpdateChainConfig) GetSigner

func (x *MsgUpdateChainConfig) GetSigner() string

func (*MsgUpdateChainConfig) ProtoMessage

func (*MsgUpdateChainConfig) ProtoMessage()

func (*MsgUpdateChainConfig) ProtoReflect

func (x *MsgUpdateChainConfig) ProtoReflect() protoreflect.Message

func (*MsgUpdateChainConfig) Reset

func (x *MsgUpdateChainConfig) Reset()

func (*MsgUpdateChainConfig) String

func (x *MsgUpdateChainConfig) String() string

type MsgUpdateChainConfigResponse

type MsgUpdateChainConfigResponse struct {
	// contains filtered or unexported fields
}

MsgUpdateChainConfigResponse defines the response for MsgUpdateChainConfig.

func (*MsgUpdateChainConfigResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateChainConfigResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateChainConfigResponse) ProtoMessage

func (*MsgUpdateChainConfigResponse) ProtoMessage()

func (*MsgUpdateChainConfigResponse) ProtoReflect

func (*MsgUpdateChainConfigResponse) Reset

func (x *MsgUpdateChainConfigResponse) Reset()

func (*MsgUpdateChainConfigResponse) String

type MsgUpdateParams

type MsgUpdateParams struct {

	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params defines the parameters to update.
	//
	// NOTE: All parameters must be supplied.
	Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateParams is the Msg/UpdateParams request type.

Since: cosmos-sdk 0.47

func (*MsgUpdateParams) Descriptor deprecated

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

Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateParams) GetAuthority

func (x *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (x *MsgUpdateParams) GetParams() *Params

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) ProtoReflect

func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message

func (*MsgUpdateParams) Reset

func (x *MsgUpdateParams) Reset()

func (*MsgUpdateParams) String

func (x *MsgUpdateParams) String() string

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
	// contains filtered or unexported fields
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

Since: cosmos-sdk 0.47

func (*MsgUpdateParamsResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) ProtoReflect

func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message

func (*MsgUpdateParamsResponse) Reset

func (x *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) String

func (x *MsgUpdateParamsResponse) String() string

type MsgUpdateTokenConfig

type MsgUpdateTokenConfig struct {
	Signer      string       `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	TokenConfig *TokenConfig `protobuf:"bytes,2,opt,name=token_config,json=tokenConfig,proto3" json:"token_config,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateTokenConfig defines a message to update an existing TokenConfig.

func (*MsgUpdateTokenConfig) Descriptor deprecated

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

Deprecated: Use MsgUpdateTokenConfig.ProtoReflect.Descriptor instead.

func (*MsgUpdateTokenConfig) GetSigner

func (x *MsgUpdateTokenConfig) GetSigner() string

func (*MsgUpdateTokenConfig) GetTokenConfig

func (x *MsgUpdateTokenConfig) GetTokenConfig() *TokenConfig

func (*MsgUpdateTokenConfig) ProtoMessage

func (*MsgUpdateTokenConfig) ProtoMessage()

func (*MsgUpdateTokenConfig) ProtoReflect

func (x *MsgUpdateTokenConfig) ProtoReflect() protoreflect.Message

func (*MsgUpdateTokenConfig) Reset

func (x *MsgUpdateTokenConfig) Reset()

func (*MsgUpdateTokenConfig) String

func (x *MsgUpdateTokenConfig) String() string

type MsgUpdateTokenConfigResponse

type MsgUpdateTokenConfigResponse struct {
	// contains filtered or unexported fields
}

MsgUpdateTokenConfigResponse defines the response for MsgUpdateTokenConfig.

func (*MsgUpdateTokenConfigResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateTokenConfigResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateTokenConfigResponse) ProtoMessage

func (*MsgUpdateTokenConfigResponse) ProtoMessage()

func (*MsgUpdateTokenConfigResponse) ProtoReflect

func (*MsgUpdateTokenConfigResponse) Reset

func (x *MsgUpdateTokenConfigResponse) Reset()

func (*MsgUpdateTokenConfigResponse) String

type NativeRepresentation

type NativeRepresentation struct {
	Denom           string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`                                            // e.g., Cosmos native token if deployed
	ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // Contract address if a wrapper exists
	// contains filtered or unexported fields
}

func (*NativeRepresentation) Descriptor deprecated

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

Deprecated: Use NativeRepresentation.ProtoReflect.Descriptor instead.

func (*NativeRepresentation) GetContractAddress

func (x *NativeRepresentation) GetContractAddress() string

func (*NativeRepresentation) GetDenom

func (x *NativeRepresentation) GetDenom() string

func (*NativeRepresentation) ProtoMessage

func (*NativeRepresentation) ProtoMessage()

func (*NativeRepresentation) ProtoReflect

func (x *NativeRepresentation) ProtoReflect() protoreflect.Message

func (*NativeRepresentation) Reset

func (x *NativeRepresentation) Reset()

func (*NativeRepresentation) String

func (x *NativeRepresentation) String() string

type Params

type Params struct {

	// The admin account of the uregistry module.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// contains filtered or unexported fields
}

Params defines the set of module parameters.

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetAdmin

func (x *Params) GetAdmin() string

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

func (x *Params) ProtoReflect() protoreflect.Message

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type QueryAllChainConfigsRequest

type QueryAllChainConfigsRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryAllChainConfigsRequest is the request type for the Query/AllChainConfigs RPC method.

func (*QueryAllChainConfigsRequest) Descriptor deprecated

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

Deprecated: Use QueryAllChainConfigsRequest.ProtoReflect.Descriptor instead.

func (*QueryAllChainConfigsRequest) GetPagination added in v0.0.40

func (x *QueryAllChainConfigsRequest) GetPagination() *v1beta1.PageRequest

func (*QueryAllChainConfigsRequest) ProtoMessage

func (*QueryAllChainConfigsRequest) ProtoMessage()

func (*QueryAllChainConfigsRequest) ProtoReflect

func (*QueryAllChainConfigsRequest) Reset

func (x *QueryAllChainConfigsRequest) Reset()

func (*QueryAllChainConfigsRequest) String

func (x *QueryAllChainConfigsRequest) String() string

type QueryAllChainConfigsResponse

type QueryAllChainConfigsResponse struct {
	Configs    []*ChainConfig        `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryAllChainConfigsResponse is the response type for the Query/AllChainConfigs RPC method.

func (*QueryAllChainConfigsResponse) Descriptor deprecated

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

Deprecated: Use QueryAllChainConfigsResponse.ProtoReflect.Descriptor instead.

func (*QueryAllChainConfigsResponse) GetConfigs

func (x *QueryAllChainConfigsResponse) GetConfigs() []*ChainConfig

func (*QueryAllChainConfigsResponse) GetPagination added in v0.0.40

func (*QueryAllChainConfigsResponse) ProtoMessage

func (*QueryAllChainConfigsResponse) ProtoMessage()

func (*QueryAllChainConfigsResponse) ProtoReflect

func (*QueryAllChainConfigsResponse) Reset

func (x *QueryAllChainConfigsResponse) Reset()

func (*QueryAllChainConfigsResponse) String

type QueryAllTokenConfigsRequest

type QueryAllTokenConfigsRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryAllTokenConfigsRequest is the request type for the Query/AllTokenConfigs RPC method.

func (*QueryAllTokenConfigsRequest) Descriptor deprecated

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

Deprecated: Use QueryAllTokenConfigsRequest.ProtoReflect.Descriptor instead.

func (*QueryAllTokenConfigsRequest) GetPagination added in v0.0.40

func (x *QueryAllTokenConfigsRequest) GetPagination() *v1beta1.PageRequest

func (*QueryAllTokenConfigsRequest) ProtoMessage

func (*QueryAllTokenConfigsRequest) ProtoMessage()

func (*QueryAllTokenConfigsRequest) ProtoReflect

func (*QueryAllTokenConfigsRequest) Reset

func (x *QueryAllTokenConfigsRequest) Reset()

func (*QueryAllTokenConfigsRequest) String

func (x *QueryAllTokenConfigsRequest) String() string

type QueryAllTokenConfigsResponse

type QueryAllTokenConfigsResponse struct {
	Configs    []*TokenConfig        `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryAllTokenConfigsResponse is the response type for the Query/AllTokenConfigs RPC method.

func (*QueryAllTokenConfigsResponse) Descriptor deprecated

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

Deprecated: Use QueryAllTokenConfigsResponse.ProtoReflect.Descriptor instead.

func (*QueryAllTokenConfigsResponse) GetConfigs

func (x *QueryAllTokenConfigsResponse) GetConfigs() []*TokenConfig

func (*QueryAllTokenConfigsResponse) GetPagination added in v0.0.40

func (*QueryAllTokenConfigsResponse) ProtoMessage

func (*QueryAllTokenConfigsResponse) ProtoMessage()

func (*QueryAllTokenConfigsResponse) ProtoReflect

func (*QueryAllTokenConfigsResponse) Reset

func (x *QueryAllTokenConfigsResponse) Reset()

func (*QueryAllTokenConfigsResponse) String

type QueryChainConfigRequest

type QueryChainConfigRequest struct {
	Chain string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	// contains filtered or unexported fields
}

ChainConfig QueryChainConfigRequest is the request type for the Query/ChainConfig RPC method.

func (*QueryChainConfigRequest) Descriptor deprecated

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

Deprecated: Use QueryChainConfigRequest.ProtoReflect.Descriptor instead.

func (*QueryChainConfigRequest) GetChain

func (x *QueryChainConfigRequest) GetChain() string

func (*QueryChainConfigRequest) ProtoMessage

func (*QueryChainConfigRequest) ProtoMessage()

func (*QueryChainConfigRequest) ProtoReflect

func (x *QueryChainConfigRequest) ProtoReflect() protoreflect.Message

func (*QueryChainConfigRequest) Reset

func (x *QueryChainConfigRequest) Reset()

func (*QueryChainConfigRequest) String

func (x *QueryChainConfigRequest) String() string

type QueryChainConfigResponse

type QueryChainConfigResponse struct {
	Config *ChainConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

QueryChainConfigResponse is the response type for the Query/ChainConfig RPC method.

func (*QueryChainConfigResponse) Descriptor deprecated

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

Deprecated: Use QueryChainConfigResponse.ProtoReflect.Descriptor instead.

func (*QueryChainConfigResponse) GetConfig

func (x *QueryChainConfigResponse) GetConfig() *ChainConfig

func (*QueryChainConfigResponse) ProtoMessage

func (*QueryChainConfigResponse) ProtoMessage()

func (*QueryChainConfigResponse) ProtoReflect

func (x *QueryChainConfigResponse) ProtoReflect() protoreflect.Message

func (*QueryChainConfigResponse) Reset

func (x *QueryChainConfigResponse) Reset()

func (*QueryChainConfigResponse) String

func (x *QueryChainConfigResponse) String() string

type QueryClient

type QueryClient interface {
	// Params queries all parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// ChainConfig queries a ChainConfig by chain.
	ChainConfig(ctx context.Context, in *QueryChainConfigRequest, opts ...grpc.CallOption) (*QueryChainConfigResponse, error)
	// AllChainConfigs returns all registered chain configs.
	AllChainConfigs(ctx context.Context, in *QueryAllChainConfigsRequest, opts ...grpc.CallOption) (*QueryAllChainConfigsResponse, error)
	// TokenConfig queries a token config by chain and address.
	TokenConfig(ctx context.Context, in *QueryTokenConfigRequest, opts ...grpc.CallOption) (*QueryTokenConfigResponse, error)
	// AllTokenConfigs queries all token configs across all chains.
	AllTokenConfigs(ctx context.Context, in *QueryAllTokenConfigsRequest, opts ...grpc.CallOption) (*QueryAllTokenConfigsResponse, error)
	// TokenConfigsByChain queries all token configs for a given chain.
	TokenConfigsByChain(ctx context.Context, in *QueryTokenConfigsByChainRequest, opts ...grpc.CallOption) (*QueryTokenConfigsByChainResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryParamsRequest

type QueryParamsRequest struct {
	// contains filtered or unexported fields
}

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

func (*QueryParamsRequest) Descriptor deprecated

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

Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) ProtoReflect

func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message

func (*QueryParamsRequest) Reset

func (x *QueryParamsRequest) Reset()

func (*QueryParamsRequest) String

func (x *QueryParamsRequest) String() string

type QueryParamsResponse

type QueryParamsResponse struct {
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

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

func (*QueryParamsResponse) Descriptor deprecated

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

Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryParamsResponse) GetParams

func (x *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) ProtoReflect

func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message

func (*QueryParamsResponse) Reset

func (x *QueryParamsResponse) Reset()

func (*QueryParamsResponse) String

func (x *QueryParamsResponse) String() string

type QueryServer

type QueryServer interface {
	// Params queries all parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// ChainConfig queries a ChainConfig by chain.
	ChainConfig(context.Context, *QueryChainConfigRequest) (*QueryChainConfigResponse, error)
	// AllChainConfigs returns all registered chain configs.
	AllChainConfigs(context.Context, *QueryAllChainConfigsRequest) (*QueryAllChainConfigsResponse, error)
	// TokenConfig queries a token config by chain and address.
	TokenConfig(context.Context, *QueryTokenConfigRequest) (*QueryTokenConfigResponse, error)
	// AllTokenConfigs queries all token configs across all chains.
	AllTokenConfigs(context.Context, *QueryAllTokenConfigsRequest) (*QueryAllTokenConfigsResponse, error)
	// TokenConfigsByChain queries all token configs for a given chain.
	TokenConfigsByChain(context.Context, *QueryTokenConfigsByChainRequest) (*QueryTokenConfigsByChainResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility

type QueryTokenConfigRequest

type QueryTokenConfigRequest struct {
	Chain   string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

TokenConfig QueryTokenConfigRequest is the request type for the Query/TokenConfig RPC method.

func (*QueryTokenConfigRequest) Descriptor deprecated

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

Deprecated: Use QueryTokenConfigRequest.ProtoReflect.Descriptor instead.

func (*QueryTokenConfigRequest) GetAddress

func (x *QueryTokenConfigRequest) GetAddress() string

func (*QueryTokenConfigRequest) GetChain

func (x *QueryTokenConfigRequest) GetChain() string

func (*QueryTokenConfigRequest) ProtoMessage

func (*QueryTokenConfigRequest) ProtoMessage()

func (*QueryTokenConfigRequest) ProtoReflect

func (x *QueryTokenConfigRequest) ProtoReflect() protoreflect.Message

func (*QueryTokenConfigRequest) Reset

func (x *QueryTokenConfigRequest) Reset()

func (*QueryTokenConfigRequest) String

func (x *QueryTokenConfigRequest) String() string

type QueryTokenConfigResponse

type QueryTokenConfigResponse struct {
	Config *TokenConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

QueryTokenConfigResponse is the response type for the Query/TokenConfig RPC method.

func (*QueryTokenConfigResponse) Descriptor deprecated

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

Deprecated: Use QueryTokenConfigResponse.ProtoReflect.Descriptor instead.

func (*QueryTokenConfigResponse) GetConfig

func (x *QueryTokenConfigResponse) GetConfig() *TokenConfig

func (*QueryTokenConfigResponse) ProtoMessage

func (*QueryTokenConfigResponse) ProtoMessage()

func (*QueryTokenConfigResponse) ProtoReflect

func (x *QueryTokenConfigResponse) ProtoReflect() protoreflect.Message

func (*QueryTokenConfigResponse) Reset

func (x *QueryTokenConfigResponse) Reset()

func (*QueryTokenConfigResponse) String

func (x *QueryTokenConfigResponse) String() string

type QueryTokenConfigsByChainRequest

type QueryTokenConfigsByChainRequest struct {
	Chain      string               `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryTokenConfigsByChainRequest is the request type for the Query/TokenConfigsByChain RPC method.

func (*QueryTokenConfigsByChainRequest) Descriptor deprecated

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

Deprecated: Use QueryTokenConfigsByChainRequest.ProtoReflect.Descriptor instead.

func (*QueryTokenConfigsByChainRequest) GetChain

func (*QueryTokenConfigsByChainRequest) GetPagination added in v0.0.40

func (*QueryTokenConfigsByChainRequest) ProtoMessage

func (*QueryTokenConfigsByChainRequest) ProtoMessage()

func (*QueryTokenConfigsByChainRequest) ProtoReflect

func (*QueryTokenConfigsByChainRequest) Reset

func (*QueryTokenConfigsByChainRequest) String

type QueryTokenConfigsByChainResponse

type QueryTokenConfigsByChainResponse struct {
	Configs    []*TokenConfig        `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryTokenConfigsByChainResponse is the response type for the Query/TokenConfigsByChain RPC method.

func (*QueryTokenConfigsByChainResponse) Descriptor deprecated

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

Deprecated: Use QueryTokenConfigsByChainResponse.ProtoReflect.Descriptor instead.

func (*QueryTokenConfigsByChainResponse) GetConfigs

func (x *QueryTokenConfigsByChainResponse) GetConfigs() []*TokenConfig

func (*QueryTokenConfigsByChainResponse) GetPagination added in v0.0.40

func (*QueryTokenConfigsByChainResponse) ProtoMessage

func (*QueryTokenConfigsByChainResponse) ProtoMessage()

func (*QueryTokenConfigsByChainResponse) ProtoReflect

func (*QueryTokenConfigsByChainResponse) Reset

func (*QueryTokenConfigsByChainResponse) String

type TokenConfig

type TokenConfig struct {
	Chain                string                `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`                                                           // Chain ID in CAIP-2 format (e.g., eip155:1
	Address              string                `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`                                                       // Token address on external chain
	Name                 string                `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`                                                             // Full token name (e.g., USD Coin)
	Symbol               string                `protobuf:"bytes,4,opt,name=symbol,proto3" json:"symbol,omitempty"`                                                         // Ticker (e.g., USDC)
	Decimals             uint32                `protobuf:"varint,5,opt,name=decimals,proto3" json:"decimals,omitempty"`                                                    // Number of decimals (e.g., 6 or 18)
	Enabled              bool                  `protobuf:"varint,6,opt,name=enabled,proto3" json:"enabled,omitempty"`                                                      // Whether this token is enabled for minting/bridging
	LiquidityCap         string                `protobuf:"bytes,7,opt,name=liquidity_cap,json=liquidityCap,proto3" json:"liquidity_cap,omitempty"`                         // max supply cap for this token (string big.Int format)
	TokenType            TokenType             `protobuf:"varint,8,opt,name=token_type,json=tokenType,proto3,enum=uregistry.v1.TokenType" json:"token_type,omitempty"`     // Type of the token (e.g., ERC20, ERC721, ERC1155)
	NativeRepresentation *NativeRepresentation `protobuf:"bytes,9,opt,name=native_representation,json=nativeRepresentation,proto3" json:"native_representation,omitempty"` // Native representation on the chain
	// contains filtered or unexported fields
}

func (*TokenConfig) Descriptor deprecated

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

Deprecated: Use TokenConfig.ProtoReflect.Descriptor instead.

func (*TokenConfig) GetAddress

func (x *TokenConfig) GetAddress() string

func (*TokenConfig) GetChain

func (x *TokenConfig) GetChain() string

func (*TokenConfig) GetDecimals

func (x *TokenConfig) GetDecimals() uint32

func (*TokenConfig) GetEnabled

func (x *TokenConfig) GetEnabled() bool

func (*TokenConfig) GetLiquidityCap

func (x *TokenConfig) GetLiquidityCap() string

func (*TokenConfig) GetName

func (x *TokenConfig) GetName() string

func (*TokenConfig) GetNativeRepresentation

func (x *TokenConfig) GetNativeRepresentation() *NativeRepresentation

func (*TokenConfig) GetSymbol

func (x *TokenConfig) GetSymbol() string

func (*TokenConfig) GetTokenType

func (x *TokenConfig) GetTokenType() TokenType

func (*TokenConfig) ProtoMessage

func (*TokenConfig) ProtoMessage()

func (*TokenConfig) ProtoReflect

func (x *TokenConfig) ProtoReflect() protoreflect.Message

func (*TokenConfig) Reset

func (x *TokenConfig) Reset()

func (*TokenConfig) String

func (x *TokenConfig) String() string

type TokenConfigEntry added in v0.0.23

type TokenConfigEntry struct {
	Key   string       `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value *TokenConfig `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

TokenConfigEntry is a key-value pair for exporting TokenConfigs map state.

func (*TokenConfigEntry) Descriptor deprecated added in v0.0.23

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

Deprecated: Use TokenConfigEntry.ProtoReflect.Descriptor instead.

func (*TokenConfigEntry) GetKey added in v0.0.23

func (x *TokenConfigEntry) GetKey() string

func (*TokenConfigEntry) GetValue added in v0.0.23

func (x *TokenConfigEntry) GetValue() *TokenConfig

func (*TokenConfigEntry) ProtoMessage added in v0.0.23

func (*TokenConfigEntry) ProtoMessage()

func (*TokenConfigEntry) ProtoReflect added in v0.0.23

func (x *TokenConfigEntry) ProtoReflect() protoreflect.Message

func (*TokenConfigEntry) Reset added in v0.0.23

func (x *TokenConfigEntry) Reset()

func (*TokenConfigEntry) String added in v0.0.23

func (x *TokenConfigEntry) String() string

type TokenType

type TokenType int32
const (
	TokenType_UNKNOWN_TOKEN TokenType = 0 // Default value for unknown token types
	// EVM
	TokenType_ERC20   TokenType = 1
	TokenType_ERC721  TokenType = 2
	TokenType_ERC1155 TokenType = 3
	// Solana
	TokenType_SPL TokenType = 4
)

func (TokenType) Descriptor

func (TokenType) Descriptor() protoreflect.EnumDescriptor

func (TokenType) Enum

func (x TokenType) Enum() *TokenType

func (TokenType) EnumDescriptor deprecated

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

Deprecated: Use TokenType.Descriptor instead.

func (TokenType) Number

func (x TokenType) Number() protoreflect.EnumNumber

func (TokenType) String

func (x TokenType) String() string

func (TokenType) Type

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) AddChainConfig

func (UnimplementedMsgServer) AddTokenConfig

func (UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Params

type UnsafeMsgServer

type UnsafeMsgServer interface {
	// contains filtered or unexported methods
}

UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.

type UnsafeQueryServer

type UnsafeQueryServer interface {
	// contains filtered or unexported methods
}

UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.

type VaultMethods added in v0.0.18

type VaultMethods struct {
	Name             string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                                              // Human-readable method name (e.g. "deposit")
	Identifier       string           `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`                                  // Hex-encoded selector or discriminator for the method
	EventIdentifier  string           `protobuf:"bytes,3,opt,name=event_identifier,json=eventIdentifier,proto3" json:"event_identifier,omitempty"` // Hex-encoded topic or identifier for emitted event
	ConfirmationType ConfirmationType ``                                                                                                           // Which block confirmation to use for this method
	/* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

VaultMethods defines the configuration for a method exposed by the vault contract

func (*VaultMethods) Descriptor deprecated added in v0.0.18

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

Deprecated: Use VaultMethods.ProtoReflect.Descriptor instead.

func (*VaultMethods) GetConfirmationType added in v0.0.18

func (x *VaultMethods) GetConfirmationType() ConfirmationType

func (*VaultMethods) GetEventIdentifier added in v0.0.18

func (x *VaultMethods) GetEventIdentifier() string

func (*VaultMethods) GetIdentifier added in v0.0.18

func (x *VaultMethods) GetIdentifier() string

func (*VaultMethods) GetName added in v0.0.18

func (x *VaultMethods) GetName() string

func (*VaultMethods) ProtoMessage added in v0.0.18

func (*VaultMethods) ProtoMessage()

func (*VaultMethods) ProtoReflect added in v0.0.18

func (x *VaultMethods) ProtoReflect() protoreflect.Message

func (*VaultMethods) Reset added in v0.0.18

func (x *VaultMethods) Reset()

func (*VaultMethods) String added in v0.0.18

func (x *VaultMethods) String() string

type VmType

type VmType int32

VmType is the type of the vm of the network

const (
	VmType_UNKNOWN_VM     VmType = 0 // Default value for unknown VM types
	VmType_EVM            VmType = 1 // Ethereum, BSC, Polygon, etc.
	VmType_SVM            VmType = 2 // Solana
	VmType_MOVE_VM        VmType = 3 // Aptos, Sui
	VmType_WASM_VM        VmType = 4 // CosmWasm, Near, Polkadot
	VmType_CAIRO_VM       VmType = 5 // Starknet
	VmType_TRON_VM        VmType = 6 // TRON
	VmType_STELLAR_VM     VmType = 7 // Stellar
	VmType_BITCOIN_SCRIPT VmType = 8 // Bitcoin, Litecoin, etc.
	VmType_OTHER_VM       VmType = 9 // Fallback
)

func (VmType) Descriptor

func (VmType) Descriptor() protoreflect.EnumDescriptor

func (VmType) Enum

func (x VmType) Enum() *VmType

func (VmType) EnumDescriptor deprecated

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

Deprecated: Use VmType.Descriptor instead.

func (VmType) Number

func (x VmType) Number() protoreflect.EnumNumber

func (VmType) String

func (x VmType) String() string

func (VmType) Type

func (VmType) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

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