types

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	AttributeValueCategory = ModuleName

	AttributeKeyRecipient             = "recipient"
	AttributeKeySender                = "sender"
	AttributeKeyAmount                = "amount"
	AttributeKeyReceiver              = "receiver"
	AttributeKeyEthereumTokenContract = "ethereum_token_contract"

	// events
	EventTypeConvertVouchers             = "convert_vouchers"
	EventTypeTransferTokens              = "transfer_tokens"
	EventTypeEthereumSendToCosmosHandled = "ethereum_send_to_cosmos_handled"
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "hazlor"

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

	// RouterKey is the message route for slashing
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_hazlor"
)
View Source
const (
	TypeMsgConvertVouchers    = "ConvertVouchers"
	TypeMsgTransferTokens     = "TransferTokens"
	TypeMsgUpdateTokenMapping = "UpdateTokenMapping"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const EVMModuleName = "hazlor-evm"
View Source
const IbcCroDenomDefaultValue = "ibc/6B5A664BF0AF4F71B2F0BAA33141E2F1321242FBD5D19762F541EC971ACB0865"
View Source
const IbcTimeoutDefaultValue = uint64(86400000000000) // 1 day
View Source
const (
	// ProposalTypeTokenMappingChange defines the type for a TokenMappingChangeProposal
	ProposalTypeTokenMappingChange = "TokenMappingChange"
)

Variables

View Source
var (
	ErrIbcCroDenomEmpty   = sdkerrors.Register(ModuleName, codeErrIbcCroDenomEmpty, "ibc tscas denom is not set")
	ErrIbcCroDenomInvalid = sdkerrors.Register(ModuleName, codeErrIbcCroDenomInvalid, "ibc tscas denom is invalid")
)

x/hazlor module sentinel errors

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthHazlor        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowHazlor          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupHazlor = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	KeyPrefixDenomToExternalContract = []byte{prefixDenomToExternalContract}
	KeyPrefixDenomToAutoContract     = []byte{prefixDenomToAutoContract}
	KeyPrefixContractToDenom         = []byte{prefixContractToDenom}
)

KVStore key prefixes

View Source
var (
	// KeyIbcCroDenom is store's key for the IBC Cro denomination
	KeyIbcCroDenom = []byte("IbcCroDenom")
	// KeyIbcTimeout is store's key for the IBC Timeout
	KeyIbcTimeout = []byte("IbcTimeout")
	// KeyHazlorAdmin is store's key for the admin address
	KeyHazlorAdmin = []byte("HazlorAdmin")
	// KeyEnableAutoDeployment is store's key for the EnableAutoDeployment
	KeyEnableAutoDeployment = []byte("EnableAutoDeployment")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	Ten       = big.NewInt(10)
	TenPowTen = Ten.Exp(Ten, Ten, nil)
)

Functions

func ContractToDenomKey

func ContractToDenomKey(contract []byte) []byte

ContractToDenomKey defines the store key for contract to denom reverse index

func DenomToAutoContractKey

func DenomToAutoContractKey(denom string) []byte

DenomToAutoContractKey defines the store key for denom to auto contract mapping

func DenomToExternalContractKey

func DenomToExternalContractKey(denom string) []byte

DenomToExternalContractKey defines the store key for denom to contract mapping

func IsValidDenomToWrap

func IsValidDenomToWrap(denom string) bool

IsValidDenomToWrap returns if it's ok to wrap the native denom in erc20 Currently only supports ibc and gravity denom

func IsValidGravityDenom

func IsValidGravityDenom(denom string) bool

IsValidGravityDenom returns if denom is a valid gravity denom

func IsValidIBCDenom

func IsValidIBCDenom(denom string) bool

IsValidIBCDenom returns if denom is a valid ibc denom

func NewConvertVouchersEvent

func NewConvertVouchersEvent(sender string, amount fmt.Stringer) sdk.Event

NewConvertVouchersEvent constructs a new voucher convert sdk.Event nolint: interfacer

func NewTransferTokensEvent

func NewTransferTokensEvent(sender string, recipient string, amount fmt.Stringer) sdk.Event

NewTransferTokensEvent constructs a new transfer sdk.Event

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable returns the parameter key table.

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

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

func RegisterQueryHandlerClient

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

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

func RegisterQueryHandlerFromEndpoint

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

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

func RegisterQueryHandlerServer

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

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

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountKeeper

type AccountKeeper interface {
	GetModuleAccount(ctx sdk.Context, moduleName string) authtypes.ModuleAccountI
}

AccountKeeper defines the expected account keeper interface

type BankKeeper

type BankKeeper interface {
	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
	BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
	SendCoins(ctx sdk.Context, senderAddr sdk.AccAddress, recipientAddr sdk.AccAddress, amt sdk.Coins) error
}

BankKeeper defines the expected interface needed to retrieve account balances.

type ByteString

type ByteString []byte

ByteString is a byte array that serializes to hex

func (ByteString) MarshalJSON

func (s ByteString) MarshalJSON() ([]byte, error)

MarshalJSON serializes ByteArray to hex

func (*ByteString) UnmarshalJSON

func (s *ByteString) UnmarshalJSON(data []byte) error

UnmarshalJSON deserializes ByteArray to hex

type CompiledContract

type CompiledContract struct {
	ABI abi.ABI
	Bin ByteString
}

CompiledContract contains compiled bytecode and abi

var (

	// ModuleCRC20Contract is the compiled hazlor erc20 contract
	ModuleCRC20Contract CompiledContract

	// EVMModuleAddress is the native module address for EVM
	EVMModuleAddress common.Address
)

type ContractByDenomRequest

type ContractByDenomRequest struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}

ContractByDenomRequest is the request type of ContractByDenom call

func (*ContractByDenomRequest) Descriptor

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

func (*ContractByDenomRequest) GetDenom

func (m *ContractByDenomRequest) GetDenom() string

func (*ContractByDenomRequest) Marshal

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

func (*ContractByDenomRequest) MarshalTo

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

func (*ContractByDenomRequest) MarshalToSizedBuffer

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

func (*ContractByDenomRequest) ProtoMessage

func (*ContractByDenomRequest) ProtoMessage()

func (*ContractByDenomRequest) Reset

func (m *ContractByDenomRequest) Reset()

func (*ContractByDenomRequest) Size

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

func (*ContractByDenomRequest) String

func (m *ContractByDenomRequest) String() string

func (*ContractByDenomRequest) Unmarshal

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

func (*ContractByDenomRequest) XXX_DiscardUnknown

func (m *ContractByDenomRequest) XXX_DiscardUnknown()

func (*ContractByDenomRequest) XXX_Marshal

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

func (*ContractByDenomRequest) XXX_Merge

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

func (*ContractByDenomRequest) XXX_Size

func (m *ContractByDenomRequest) XXX_Size() int

func (*ContractByDenomRequest) XXX_Unmarshal

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

type ContractByDenomResponse

type ContractByDenomResponse struct {
	Contract     string `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
	AutoContract string `protobuf:"bytes,2,opt,name=auto_contract,json=autoContract,proto3" json:"auto_contract,omitempty"`
}

ContractByDenomRequest is the response type of ContractByDenom call

func (*ContractByDenomResponse) Descriptor

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

func (*ContractByDenomResponse) GetAutoContract

func (m *ContractByDenomResponse) GetAutoContract() string

func (*ContractByDenomResponse) GetContract

func (m *ContractByDenomResponse) GetContract() string

func (*ContractByDenomResponse) Marshal

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

func (*ContractByDenomResponse) MarshalTo

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

func (*ContractByDenomResponse) MarshalToSizedBuffer

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

func (*ContractByDenomResponse) ProtoMessage

func (*ContractByDenomResponse) ProtoMessage()

func (*ContractByDenomResponse) Reset

func (m *ContractByDenomResponse) Reset()

func (*ContractByDenomResponse) Size

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

func (*ContractByDenomResponse) String

func (m *ContractByDenomResponse) String() string

func (*ContractByDenomResponse) Unmarshal

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

func (*ContractByDenomResponse) XXX_DiscardUnknown

func (m *ContractByDenomResponse) XXX_DiscardUnknown()

func (*ContractByDenomResponse) XXX_Marshal

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

func (*ContractByDenomResponse) XXX_Merge

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

func (*ContractByDenomResponse) XXX_Size

func (m *ContractByDenomResponse) XXX_Size() int

func (*ContractByDenomResponse) XXX_Unmarshal

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

type DenomByContractRequest

type DenomByContractRequest struct {
	Contract string `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
}

DenomByContractRequest is the request type of DenomByContract call

func (*DenomByContractRequest) Descriptor

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

func (*DenomByContractRequest) GetContract

func (m *DenomByContractRequest) GetContract() string

func (*DenomByContractRequest) Marshal

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

func (*DenomByContractRequest) MarshalTo

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

func (*DenomByContractRequest) MarshalToSizedBuffer

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

func (*DenomByContractRequest) ProtoMessage

func (*DenomByContractRequest) ProtoMessage()

func (*DenomByContractRequest) Reset

func (m *DenomByContractRequest) Reset()

func (*DenomByContractRequest) Size

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

func (*DenomByContractRequest) String

func (m *DenomByContractRequest) String() string

func (*DenomByContractRequest) Unmarshal

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

func (*DenomByContractRequest) XXX_DiscardUnknown

func (m *DenomByContractRequest) XXX_DiscardUnknown()

func (*DenomByContractRequest) XXX_Marshal

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

func (*DenomByContractRequest) XXX_Merge

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

func (*DenomByContractRequest) XXX_Size

func (m *DenomByContractRequest) XXX_Size() int

func (*DenomByContractRequest) XXX_Unmarshal

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

type DenomByContractResponse

type DenomByContractResponse struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}

DenomByContractResponse is the response type of DenomByContract call

func (*DenomByContractResponse) Descriptor

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

func (*DenomByContractResponse) GetDenom

func (m *DenomByContractResponse) GetDenom() string

func (*DenomByContractResponse) Marshal

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

func (*DenomByContractResponse) MarshalTo

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

func (*DenomByContractResponse) MarshalToSizedBuffer

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

func (*DenomByContractResponse) ProtoMessage

func (*DenomByContractResponse) ProtoMessage()

func (*DenomByContractResponse) Reset

func (m *DenomByContractResponse) Reset()

func (*DenomByContractResponse) Size

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

func (*DenomByContractResponse) String

func (m *DenomByContractResponse) String() string

func (*DenomByContractResponse) Unmarshal

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

func (*DenomByContractResponse) XXX_DiscardUnknown

func (m *DenomByContractResponse) XXX_DiscardUnknown()

func (*DenomByContractResponse) XXX_Marshal

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

func (*DenomByContractResponse) XXX_Merge

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

func (*DenomByContractResponse) XXX_Size

func (m *DenomByContractResponse) XXX_Size() int

func (*DenomByContractResponse) XXX_Unmarshal

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

type DummyTracer

type DummyTracer struct{}

func NewDummyTracer

func NewDummyTracer() *DummyTracer

func (DummyTracer) CaptureEnd

func (dt DummyTracer) CaptureEnd(output []byte, gasUsed uint64, t time.Duration, err error)

func (DummyTracer) CaptureFault

func (dt DummyTracer) CaptureFault(env *vm.EVM, pc uint64, op vm.OpCode, gas, cost uint64, scope *vm.ScopeContext, depth int, err error)

func (DummyTracer) CaptureStart

func (dt DummyTracer) CaptureStart(env *vm.EVM, from common.Address, to common.Address, create bool, input []byte, gas uint64, value *big.Int)

func (DummyTracer) CaptureState

func (dt DummyTracer) CaptureState(env *vm.EVM, pc uint64, op vm.OpCode, gas, cost uint64, scope *vm.ScopeContext, rData []byte, depth int, err error)

type EvmLogHandler

type EvmLogHandler interface {
	// Return the id of the log signature it handles
	EventID() common.Hash
	// Process the log
	Handle(ctx sdk.Context, contract common.Address, data []byte) error
}

EvmLogHandler defines the interface for evm log handler

type GenesisState

type GenesisState struct {
	// params defines all the paramaters of the module.
	Params            Params         `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	ExternalContracts []TokenMapping `protobuf:"bytes,2,rep,name=external_contracts,json=externalContracts,proto3" json:"external_contracts"`
	AutoContracts     []TokenMapping `protobuf:"bytes,3,rep,name=auto_contracts,json=autoContracts,proto3" json:"auto_contracts"`
}

GenesisState defines the hazlor module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetAutoContracts

func (m *GenesisState) GetAutoContracts() []TokenMapping

func (*GenesisState) GetExternalContracts

func (m *GenesisState) GetExternalContracts() []TokenMapping

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (gs GenesisState) Validate() error

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

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	// ConvertVouchers defines a method for converting ibc voucher to hazlor evm coins.
	ConvertVouchers(ctx context.Context, in *MsgConvertVouchers, opts ...grpc.CallOption) (*MsgConvertVouchersResponse, error)
	// TransferTokens defines a method to transfer hazlor evm coins to another chain through IBC
	TransferTokens(ctx context.Context, in *MsgTransferTokens, opts ...grpc.CallOption) (*MsgTransferTokensResponse, error)
	// UpdateTokenMapping defines a method to update token mapping
	UpdateTokenMapping(ctx context.Context, in *MsgUpdateTokenMapping, opts ...grpc.CallOption) (*MsgUpdateTokenMappingResponse, error)
}

MsgClient is the client API for Msg service.

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

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgConvertVouchers

type MsgConvertVouchers struct {
	Address string                                   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Coins   github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"`
}

MsgConvertVouchers represents a message to convert ibc voucher coins to hazlor evm coins.

func NewMsgConvertVouchers

func NewMsgConvertVouchers(address string, coins sdk.Coins) *MsgConvertVouchers

func (*MsgConvertVouchers) Descriptor

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

func (*MsgConvertVouchers) GetAddress

func (m *MsgConvertVouchers) GetAddress() string

func (*MsgConvertVouchers) GetCoins

func (*MsgConvertVouchers) GetSignBytes

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

GetSignBytes ...

func (*MsgConvertVouchers) GetSigners

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

GetSigners ...

func (*MsgConvertVouchers) Marshal

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

func (*MsgConvertVouchers) MarshalTo

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

func (*MsgConvertVouchers) MarshalToSizedBuffer

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

func (*MsgConvertVouchers) ProtoMessage

func (*MsgConvertVouchers) ProtoMessage()

func (*MsgConvertVouchers) Reset

func (m *MsgConvertVouchers) Reset()

func (MsgConvertVouchers) Route

func (msg MsgConvertVouchers) Route() string

Route ...

func (*MsgConvertVouchers) Size

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

func (*MsgConvertVouchers) String

func (m *MsgConvertVouchers) String() string

func (MsgConvertVouchers) Type

func (msg MsgConvertVouchers) Type() string

Type ...

func (*MsgConvertVouchers) Unmarshal

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

func (*MsgConvertVouchers) ValidateBasic

func (msg *MsgConvertVouchers) ValidateBasic() error

ValidateBasic ...

func (*MsgConvertVouchers) XXX_DiscardUnknown

func (m *MsgConvertVouchers) XXX_DiscardUnknown()

func (*MsgConvertVouchers) XXX_Marshal

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

func (*MsgConvertVouchers) XXX_Merge

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

func (*MsgConvertVouchers) XXX_Size

func (m *MsgConvertVouchers) XXX_Size() int

func (*MsgConvertVouchers) XXX_Unmarshal

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

type MsgConvertVouchersResponse

type MsgConvertVouchersResponse struct {
}

MsgConvertVouchersResponse defines the ConvertVouchers response type.

func (*MsgConvertVouchersResponse) Descriptor

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

func (*MsgConvertVouchersResponse) Marshal

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

func (*MsgConvertVouchersResponse) MarshalTo

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

func (*MsgConvertVouchersResponse) MarshalToSizedBuffer

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

func (*MsgConvertVouchersResponse) ProtoMessage

func (*MsgConvertVouchersResponse) ProtoMessage()

func (*MsgConvertVouchersResponse) Reset

func (m *MsgConvertVouchersResponse) Reset()

func (*MsgConvertVouchersResponse) Size

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

func (*MsgConvertVouchersResponse) String

func (m *MsgConvertVouchersResponse) String() string

func (*MsgConvertVouchersResponse) Unmarshal

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

func (*MsgConvertVouchersResponse) XXX_DiscardUnknown

func (m *MsgConvertVouchersResponse) XXX_DiscardUnknown()

func (*MsgConvertVouchersResponse) XXX_Marshal

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

func (*MsgConvertVouchersResponse) XXX_Merge

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

func (*MsgConvertVouchersResponse) XXX_Size

func (m *MsgConvertVouchersResponse) XXX_Size() int

func (*MsgConvertVouchersResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// ConvertVouchers defines a method for converting ibc voucher to hazlor evm coins.
	ConvertVouchers(context.Context, *MsgConvertVouchers) (*MsgConvertVouchersResponse, error)
	// TransferTokens defines a method to transfer hazlor evm coins to another chain through IBC
	TransferTokens(context.Context, *MsgTransferTokens) (*MsgTransferTokensResponse, error)
	// UpdateTokenMapping defines a method to update token mapping
	UpdateTokenMapping(context.Context, *MsgUpdateTokenMapping) (*MsgUpdateTokenMappingResponse, error)
}

MsgServer is the server API for Msg service.

type MsgTransferTokens

type MsgTransferTokens struct {
	From  string                                   `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To    string                                   `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"`
}

MsgTransferTokens represents a message to transfer hazlor evm coins through ibc.

func NewMsgTransferTokens

func NewMsgTransferTokens(from string, to string, coins sdk.Coins) *MsgTransferTokens

func (*MsgTransferTokens) Descriptor

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

func (*MsgTransferTokens) GetCoins

func (*MsgTransferTokens) GetFrom

func (m *MsgTransferTokens) GetFrom() string

func (*MsgTransferTokens) GetSignBytes

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

GetSignBytes ...

func (*MsgTransferTokens) GetSigners

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

GetSigners ...

func (*MsgTransferTokens) GetTo

func (m *MsgTransferTokens) GetTo() string

func (*MsgTransferTokens) Marshal

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

func (*MsgTransferTokens) MarshalTo

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

func (*MsgTransferTokens) MarshalToSizedBuffer

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

func (*MsgTransferTokens) ProtoMessage

func (*MsgTransferTokens) ProtoMessage()

func (*MsgTransferTokens) Reset

func (m *MsgTransferTokens) Reset()

func (MsgTransferTokens) Route

func (msg MsgTransferTokens) Route() string

Route ...

func (*MsgTransferTokens) Size

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

func (*MsgTransferTokens) String

func (m *MsgTransferTokens) String() string

func (MsgTransferTokens) Type

func (msg MsgTransferTokens) Type() string

Type ...

func (*MsgTransferTokens) Unmarshal

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

func (*MsgTransferTokens) ValidateBasic

func (msg *MsgTransferTokens) ValidateBasic() error

ValidateBasic ...

func (*MsgTransferTokens) XXX_DiscardUnknown

func (m *MsgTransferTokens) XXX_DiscardUnknown()

func (*MsgTransferTokens) XXX_Marshal

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

func (*MsgTransferTokens) XXX_Merge

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

func (*MsgTransferTokens) XXX_Size

func (m *MsgTransferTokens) XXX_Size() int

func (*MsgTransferTokens) XXX_Unmarshal

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

type MsgTransferTokensResponse

type MsgTransferTokensResponse struct {
}

MsgTransferTokensResponse defines the TransferTokens response type.

func (*MsgTransferTokensResponse) Descriptor

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

func (*MsgTransferTokensResponse) Marshal

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

func (*MsgTransferTokensResponse) MarshalTo

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

func (*MsgTransferTokensResponse) MarshalToSizedBuffer

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

func (*MsgTransferTokensResponse) ProtoMessage

func (*MsgTransferTokensResponse) ProtoMessage()

func (*MsgTransferTokensResponse) Reset

func (m *MsgTransferTokensResponse) Reset()

func (*MsgTransferTokensResponse) Size

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

func (*MsgTransferTokensResponse) String

func (m *MsgTransferTokensResponse) String() string

func (*MsgTransferTokensResponse) Unmarshal

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

func (*MsgTransferTokensResponse) XXX_DiscardUnknown

func (m *MsgTransferTokensResponse) XXX_DiscardUnknown()

func (*MsgTransferTokensResponse) XXX_Marshal

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

func (*MsgTransferTokensResponse) XXX_Merge

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

func (*MsgTransferTokensResponse) XXX_Size

func (m *MsgTransferTokensResponse) XXX_Size() int

func (*MsgTransferTokensResponse) XXX_Unmarshal

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

type MsgUpdateTokenMapping

type MsgUpdateTokenMapping struct {
	Sender   string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Denom    string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	Contract string `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty"`
}

MsgUpdateTokenMapping defines the request type

func NewMsgUpdateTokenMapping

func NewMsgUpdateTokenMapping(admin string, denom string, contract string) *MsgUpdateTokenMapping

NewMsgUpdateTokenMapping ...

func (*MsgUpdateTokenMapping) Descriptor

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

func (*MsgUpdateTokenMapping) GetContract

func (m *MsgUpdateTokenMapping) GetContract() string

func (*MsgUpdateTokenMapping) GetDenom

func (m *MsgUpdateTokenMapping) GetDenom() string

func (*MsgUpdateTokenMapping) GetSender

func (m *MsgUpdateTokenMapping) GetSender() string

func (*MsgUpdateTokenMapping) GetSignBytes

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

GetSignBytes ...

func (*MsgUpdateTokenMapping) GetSigners

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

GetSigners ...

func (*MsgUpdateTokenMapping) Marshal

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

func (*MsgUpdateTokenMapping) MarshalTo

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

func (*MsgUpdateTokenMapping) MarshalToSizedBuffer

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

func (*MsgUpdateTokenMapping) ProtoMessage

func (*MsgUpdateTokenMapping) ProtoMessage()

func (*MsgUpdateTokenMapping) Reset

func (m *MsgUpdateTokenMapping) Reset()

func (MsgUpdateTokenMapping) Route

func (msg MsgUpdateTokenMapping) Route() string

Route ...

func (*MsgUpdateTokenMapping) Size

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

func (*MsgUpdateTokenMapping) String

func (m *MsgUpdateTokenMapping) String() string

func (MsgUpdateTokenMapping) Type

func (msg MsgUpdateTokenMapping) Type() string

Type ...

func (*MsgUpdateTokenMapping) Unmarshal

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

func (*MsgUpdateTokenMapping) ValidateBasic

func (msg *MsgUpdateTokenMapping) ValidateBasic() error

ValidateBasic ...

func (*MsgUpdateTokenMapping) XXX_DiscardUnknown

func (m *MsgUpdateTokenMapping) XXX_DiscardUnknown()

func (*MsgUpdateTokenMapping) XXX_Marshal

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

func (*MsgUpdateTokenMapping) XXX_Merge

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

func (*MsgUpdateTokenMapping) XXX_Size

func (m *MsgUpdateTokenMapping) XXX_Size() int

func (*MsgUpdateTokenMapping) XXX_Unmarshal

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

type MsgUpdateTokenMappingResponse

type MsgUpdateTokenMappingResponse struct {
}

MsgUpdateTokenMappingResponse defines the response type

func (*MsgUpdateTokenMappingResponse) Descriptor

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

func (*MsgUpdateTokenMappingResponse) Marshal

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

func (*MsgUpdateTokenMappingResponse) MarshalTo

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

func (*MsgUpdateTokenMappingResponse) MarshalToSizedBuffer

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

func (*MsgUpdateTokenMappingResponse) ProtoMessage

func (*MsgUpdateTokenMappingResponse) ProtoMessage()

func (*MsgUpdateTokenMappingResponse) Reset

func (m *MsgUpdateTokenMappingResponse) Reset()

func (*MsgUpdateTokenMappingResponse) Size

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

func (*MsgUpdateTokenMappingResponse) String

func (*MsgUpdateTokenMappingResponse) Unmarshal

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

func (*MsgUpdateTokenMappingResponse) XXX_DiscardUnknown

func (m *MsgUpdateTokenMappingResponse) XXX_DiscardUnknown()

func (*MsgUpdateTokenMappingResponse) XXX_Marshal

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

func (*MsgUpdateTokenMappingResponse) XXX_Merge

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

func (*MsgUpdateTokenMappingResponse) XXX_Size

func (m *MsgUpdateTokenMappingResponse) XXX_Size() int

func (*MsgUpdateTokenMappingResponse) XXX_Unmarshal

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

type Params

type Params struct {
	IbcCroDenom string `` /* 127-byte string literal not displayed */
	IbcTimeout  uint64 `protobuf:"varint,2,opt,name=ibc_timeout,json=ibcTimeout,proto3" json:"ibc_timeout,omitempty"`
	// the admin address who can update token mapping
	HazlorAdmin          string `protobuf:"bytes,3,opt,name=hazlor_admin,json=hazlorAdmin,proto3" json:"hazlor_admin,omitempty"`
	EnableAutoDeployment bool   `protobuf:"varint,4,opt,name=enable_auto_deployment,json=enableAutoDeployment,proto3" json:"enable_auto_deployment,omitempty"`
}

Params defines the parameters for the hazlor module.

func DefaultParams

func DefaultParams() Params

DefaultParams is the default parameter configuration for the hazlor module

func NewParams

func NewParams(ibcCroDenom string, ibcTimeout uint64, hazlorAdmin string, enableAutoDeployment bool) Params

NewParams creates a new parameter configuration for the hazlor module

func (*Params) Descriptor

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

func (*Params) GetEnableAutoDeployment

func (m *Params) GetEnableAutoDeployment() bool

func (*Params) GetHazlorAdmin

func (m *Params) GetHazlorAdmin() string

func (*Params) GetIbcCroDenom

func (m *Params) GetIbcCroDenom() string

func (*Params) GetIbcTimeout

func (m *Params) GetIbcTimeout() uint64

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

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

ParamSetPairs implements params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (Params) String

func (p Params) String() string

String implements the fmt.Stringer interface

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate all hazlor module parameters

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// ContractByDenom queries contract addresses by native denom
	ContractByDenom(ctx context.Context, in *ContractByDenomRequest, opts ...grpc.CallOption) (*ContractByDenomResponse, error)
	// DenomByContract queries native denom by contract address
	DenomByContract(ctx context.Context, in *DenomByContractRequest, opts ...grpc.CallOption) (*DenomByContractResponse, error)
}

QueryClient is the client API for Query service.

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

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryServer

type QueryServer interface {
	// ContractByDenom queries contract addresses by native denom
	ContractByDenom(context.Context, *ContractByDenomRequest) (*ContractByDenomResponse, error)
	// DenomByContract queries native denom by contract address
	DenomByContract(context.Context, *DenomByContractRequest) (*DenomByContractResponse, error)
}

QueryServer is the server API for Query service.

type TokenMapping

type TokenMapping struct {
	Denom    string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Contract string `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"`
}

TokenMapping defines a mapping between native denom and contract

func (*TokenMapping) Descriptor

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

func (*TokenMapping) GetContract

func (m *TokenMapping) GetContract() string

func (*TokenMapping) GetDenom

func (m *TokenMapping) GetDenom() string

func (*TokenMapping) Marshal

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

func (*TokenMapping) MarshalTo

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

func (*TokenMapping) MarshalToSizedBuffer

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

func (*TokenMapping) ProtoMessage

func (*TokenMapping) ProtoMessage()

func (*TokenMapping) Reset

func (m *TokenMapping) Reset()

func (*TokenMapping) Size

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

func (*TokenMapping) String

func (m *TokenMapping) String() string

func (*TokenMapping) Unmarshal

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

func (*TokenMapping) XXX_DiscardUnknown

func (m *TokenMapping) XXX_DiscardUnknown()

func (*TokenMapping) XXX_Marshal

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

func (*TokenMapping) XXX_Merge

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

func (*TokenMapping) XXX_Size

func (m *TokenMapping) XXX_Size() int

func (*TokenMapping) XXX_Unmarshal

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

type TokenMappingChangeProposal

type TokenMappingChangeProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Denom       string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	Contract    string `protobuf:"bytes,4,opt,name=contract,proto3" json:"contract,omitempty"`
}

TokenMappingChangeProposal defines a proposal to change one token mapping.

func NewTokenMappingChangeProposal

func NewTokenMappingChangeProposal(title, description, denom string, contractAddr *common.Address) *TokenMappingChangeProposal

func (*TokenMappingChangeProposal) Descriptor

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

func (*TokenMappingChangeProposal) GetDescription

func (tcp *TokenMappingChangeProposal) GetDescription() string

GetDescription returns the description of a parameter change proposal.

func (*TokenMappingChangeProposal) GetTitle

func (tcp *TokenMappingChangeProposal) GetTitle() string

GetTitle returns the title of a parameter change proposal.

func (*TokenMappingChangeProposal) Marshal

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

func (*TokenMappingChangeProposal) MarshalTo

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

func (*TokenMappingChangeProposal) MarshalToSizedBuffer

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

func (*TokenMappingChangeProposal) ProposalRoute

func (tcp *TokenMappingChangeProposal) ProposalRoute() string

ProposalRoute returns the routing key of a parameter change proposal.

func (*TokenMappingChangeProposal) ProposalType

func (tcp *TokenMappingChangeProposal) ProposalType() string

ProposalType returns the type of a parameter change proposal.

func (*TokenMappingChangeProposal) ProtoMessage

func (*TokenMappingChangeProposal) ProtoMessage()

func (*TokenMappingChangeProposal) Reset

func (m *TokenMappingChangeProposal) Reset()

func (*TokenMappingChangeProposal) Size

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

func (TokenMappingChangeProposal) String

func (tcp TokenMappingChangeProposal) String() string

String implements the Stringer interface.

func (*TokenMappingChangeProposal) Unmarshal

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

func (*TokenMappingChangeProposal) ValidateBasic

func (tcp *TokenMappingChangeProposal) ValidateBasic() error

ValidateBasic validates the parameter change proposal

func (*TokenMappingChangeProposal) XXX_DiscardUnknown

func (m *TokenMappingChangeProposal) XXX_DiscardUnknown()

func (*TokenMappingChangeProposal) XXX_Marshal

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

func (*TokenMappingChangeProposal) XXX_Merge

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

func (*TokenMappingChangeProposal) XXX_Size

func (m *TokenMappingChangeProposal) XXX_Size() int

func (*TokenMappingChangeProposal) XXX_Unmarshal

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

type TransferKeeper

type TransferKeeper interface {
	SendTransfer(
		ctx sdk.Context,
		sourcePort,
		sourceChannel string,
		token sdk.Coin,
		sender sdk.AccAddress,
		receiver string,
		timeoutHeight clienttypes.Height,
		timeoutTimestamp uint64,
	) error
	GetDenomTrace(ctx sdk.Context, denomTraceHash tmbytes.HexBytes) (types.DenomTrace, bool)
}

TransferKeeper defines the expected interface needed to transfer coin through IBC.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) ConvertVouchers

func (*UnimplementedMsgServer) TransferTokens

func (*UnimplementedMsgServer) UpdateTokenMapping

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) ContractByDenom

func (*UnimplementedQueryServer) DenomByContract

Jump to

Keyboard shortcuts

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