Versions in this module Expand all Collapse all v7 v7.0.1 Dec 19, 2023 v7.0.0 Aug 8, 2023 Changes in this version + const DefaultIndex + const MaxDescriptionLength + const MaxTitleLength + const MemStoreKey + const ModuleName + const ProposalTypeLendingMarket + const ProposalTypeTreasury + const QuerierRoute + const RouterKey + const StoreKey + var ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowGovshuttle = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthGovshuttle = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupGovshuttle = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var Errgovshuttle = sdkerrors.Register(ModuleName, 1100, "govshuttle error") + var ModuleAddress common.Address + var ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry()) + var PortKey = []byte("Port") + func KeyPrefix(p string) []byte + func NewLendingMarketProposal(title, description string, m *LendingMarketMetadata) govtypes.Content + func NewTreasuryProposal(title, description string, tm *TreasuryProposalMetadata) govtypes.Content + func ParamKeyTable() paramtypes.KeyTable + func RegisterCodec(cdc *codec.LegacyAmino) + func RegisterInterfaces(registry codectypes.InterfaceRegistry) + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error + func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + type AccountKeeper interface + GetModuleAddress func(moduleName string) sdk.AccAddress + GetSequence func(sdk.Context, sdk.AccAddress) (uint64, error) + type ERC20Keeper interface + CallEVM func(ctx sdk.Context, abi abi.ABI, from, contract common.Address, commit bool, ...) (*evmtypes.MsgEthereumTxResponse, error) + CallEVMWithData func(ctx sdk.Context, from common.Address, contract *common.Address, data []byte, ...) (*evmtypes.MsgEthereumTxResponse, error) + type GenesisState struct + Params Params + func DefaultGenesis() *GenesisState + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (gs GenesisState) Validate() error + func (m *GenesisState) GetParams() Params + func (m *GenesisState) Marshal() (dAtA []byte, err error) + func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) + func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GenesisState) Reset() + func (m *GenesisState) Size() (n int) + func (m *GenesisState) String() string + func (m *GenesisState) Unmarshal(dAtA []byte) error + func (m *GenesisState) XXX_DiscardUnknown() + func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GenesisState) XXX_Merge(src proto.Message) + func (m *GenesisState) XXX_Size() int + func (m *GenesisState) XXX_Unmarshal(b []byte) error + type GovKeeper interface + GetProposalID func(ctx sdk.Context) (uint64, error) + type LendingMarketMetadata struct + Account []string + Calldatas []string + PropId uint64 + Signatures []string + Values []uint64 + func (*LendingMarketMetadata) Descriptor() ([]byte, []int) + func (*LendingMarketMetadata) ProtoMessage() + func (m *LendingMarketMetadata) GetAccount() []string + func (m *LendingMarketMetadata) GetCalldatas() []string + func (m *LendingMarketMetadata) GetPropId() uint64 + func (m *LendingMarketMetadata) GetSignatures() []string + func (m *LendingMarketMetadata) GetValues() []uint64 + func (m *LendingMarketMetadata) Marshal() (dAtA []byte, err error) + func (m *LendingMarketMetadata) MarshalTo(dAtA []byte) (int, error) + func (m *LendingMarketMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *LendingMarketMetadata) Reset() + func (m *LendingMarketMetadata) Size() (n int) + func (m *LendingMarketMetadata) String() string + func (m *LendingMarketMetadata) Unmarshal(dAtA []byte) error + func (m *LendingMarketMetadata) XXX_DiscardUnknown() + func (m *LendingMarketMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LendingMarketMetadata) XXX_Merge(src proto.Message) + func (m *LendingMarketMetadata) XXX_Size() int + func (m *LendingMarketMetadata) XXX_Unmarshal(b []byte) error + type LendingMarketProposal struct + Description string + Metadata *LendingMarketMetadata + Title string + func (*LendingMarketProposal) Descriptor() ([]byte, []int) + func (*LendingMarketProposal) ProposalRoute() string + func (*LendingMarketProposal) ProposalType() string + func (*LendingMarketProposal) ProtoMessage() + func (lm *LendingMarketProposal) ValidateBasic() error + func (m *LendingMarketProposal) GetDescription() string + func (m *LendingMarketProposal) GetMetadata() *LendingMarketMetadata + func (m *LendingMarketProposal) GetTitle() string + func (m *LendingMarketProposal) Marshal() (dAtA []byte, err error) + func (m *LendingMarketProposal) MarshalTo(dAtA []byte) (int, error) + func (m *LendingMarketProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *LendingMarketProposal) Reset() + func (m *LendingMarketProposal) Size() (n int) + func (m *LendingMarketProposal) String() string + func (m *LendingMarketProposal) Unmarshal(dAtA []byte) error + func (m *LendingMarketProposal) XXX_DiscardUnknown() + func (m *LendingMarketProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LendingMarketProposal) XXX_Merge(src proto.Message) + func (m *LendingMarketProposal) XXX_Size() int + func (m *LendingMarketProposal) XXX_Unmarshal(b []byte) error + type MsgClient interface + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgServer interface + type Params struct + func DefaultParams() Params + func NewParams() Params + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + func (m *Params) Marshal() (dAtA []byte, err error) + func (m *Params) MarshalTo(dAtA []byte) (int, error) + func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Params) Reset() + func (m *Params) Size() (n int) + func (m *Params) Unmarshal(dAtA []byte) error + func (m *Params) XXX_DiscardUnknown() + func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Params) XXX_Merge(src proto.Message) + func (m *Params) XXX_Size() int + func (m *Params) XXX_Unmarshal(b []byte) error + func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs + func (p Params) String() string + func (p Params) Validate() error + type QueryClient interface + Params func(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryParamsRequest struct + func (*QueryParamsRequest) Descriptor() ([]byte, []int) + func (*QueryParamsRequest) ProtoMessage() + func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryParamsRequest) Reset() + func (m *QueryParamsRequest) Size() (n int) + func (m *QueryParamsRequest) String() string + func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error + func (m *QueryParamsRequest) XXX_DiscardUnknown() + func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryParamsRequest) XXX_Merge(src proto.Message) + func (m *QueryParamsRequest) XXX_Size() int + func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error + type QueryParamsResponse struct + Params Params + func (*QueryParamsResponse) Descriptor() ([]byte, []int) + func (*QueryParamsResponse) ProtoMessage() + func (m *QueryParamsResponse) GetParams() Params + func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryParamsResponse) Reset() + func (m *QueryParamsResponse) Size() (n int) + func (m *QueryParamsResponse) String() string + func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error + func (m *QueryParamsResponse) XXX_DiscardUnknown() + func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryParamsResponse) XXX_Merge(src proto.Message) + func (m *QueryParamsResponse) XXX_Size() int + func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error + type QueryServer interface + Params func(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) + type TreasuryProposal struct + Description string + Metadata *TreasuryProposalMetadata + Title string + func (*TreasuryProposal) Descriptor() ([]byte, []int) + func (*TreasuryProposal) ProposalRoute() string + func (*TreasuryProposal) ProposalType() string + func (*TreasuryProposal) ProtoMessage() + func (m *TreasuryProposal) GetDescription() string + func (m *TreasuryProposal) GetMetadata() *TreasuryProposalMetadata + func (m *TreasuryProposal) GetTitle() string + func (m *TreasuryProposal) Marshal() (dAtA []byte, err error) + func (m *TreasuryProposal) MarshalTo(dAtA []byte) (int, error) + func (m *TreasuryProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *TreasuryProposal) Reset() + func (m *TreasuryProposal) Size() (n int) + func (m *TreasuryProposal) String() string + func (m *TreasuryProposal) Unmarshal(dAtA []byte) error + func (m *TreasuryProposal) XXX_DiscardUnknown() + func (m *TreasuryProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TreasuryProposal) XXX_Merge(src proto.Message) + func (m *TreasuryProposal) XXX_Size() int + func (m *TreasuryProposal) XXX_Unmarshal(b []byte) error + func (tp *TreasuryProposal) FromTreasuryToLendingMarket() *LendingMarketProposal + func (tp *TreasuryProposal) ValidateBasic() error + type TreasuryProposalMetadata struct + Amount uint64 + Denom string + PropID uint64 + Recipient string + func (*TreasuryProposalMetadata) Descriptor() ([]byte, []int) + func (*TreasuryProposalMetadata) ProtoMessage() + func (m *TreasuryProposalMetadata) GetAmount() uint64 + func (m *TreasuryProposalMetadata) GetDenom() string + func (m *TreasuryProposalMetadata) GetPropID() uint64 + func (m *TreasuryProposalMetadata) GetRecipient() string + func (m *TreasuryProposalMetadata) Marshal() (dAtA []byte, err error) + func (m *TreasuryProposalMetadata) MarshalTo(dAtA []byte) (int, error) + func (m *TreasuryProposalMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *TreasuryProposalMetadata) Reset() + func (m *TreasuryProposalMetadata) Size() (n int) + func (m *TreasuryProposalMetadata) String() string + func (m *TreasuryProposalMetadata) Unmarshal(dAtA []byte) error + func (m *TreasuryProposalMetadata) XXX_DiscardUnknown() + func (m *TreasuryProposalMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TreasuryProposalMetadata) XXX_Merge(src proto.Message) + func (m *TreasuryProposalMetadata) XXX_Size() int + func (m *TreasuryProposalMetadata) XXX_Unmarshal(b []byte) error + type UnimplementedMsgServer struct + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) Other modules containing this package github.com/Canto-Network/Canto/v2 github.com/Canto-Network/Canto/v6