Versions in this module Expand all Collapse all v0 v0.0.2 Mar 8, 2023 Changes in this version + const ModuleName + const ProposalTypeActivateContract + const ProposalTypeDeactivateContract + const RouterKey + const StoreKey + var EnableAllProposals = append([]wasmtypes.ProposalType{ ... }, wasmtypes.EnableAllProposals) + var ErrInactiveContract = sdkErrors.Register(wasmtypes.DefaultCodespace, 101, "inactive contract") + var ErrIntOverflowEvent = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowProposal = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthProposal = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupProposal = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var InactiveContractPrefix = []byte + var ModuleCdc = codec.NewAminoCodec(amino) + func GetInactiveContractKey(contractAddress sdk.AccAddress) []byte + func RegisterInterfaces(registry types.InterfaceRegistry) + func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + 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) + func ValidateGenesis(data GenesisState) error + type ActivateContractProposal struct + Contract string + Description string + Title string + func (*ActivateContractProposal) Descriptor() ([]byte, []int) + func (*ActivateContractProposal) ProtoMessage() + func (m *ActivateContractProposal) Marshal() (dAtA []byte, err error) + func (m *ActivateContractProposal) MarshalTo(dAtA []byte) (int, error) + func (m *ActivateContractProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ActivateContractProposal) Reset() + func (m *ActivateContractProposal) Size() (n int) + func (m *ActivateContractProposal) Unmarshal(dAtA []byte) error + func (m *ActivateContractProposal) XXX_DiscardUnknown() + func (m *ActivateContractProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ActivateContractProposal) XXX_Merge(src proto.Message) + func (m *ActivateContractProposal) XXX_Size() int + func (m *ActivateContractProposal) XXX_Unmarshal(b []byte) error + func (p ActivateContractProposal) GetDescription() string + func (p ActivateContractProposal) GetTitle() string + func (p ActivateContractProposal) ProposalRoute() string + func (p ActivateContractProposal) ProposalType() string + func (p ActivateContractProposal) String() string + func (p ActivateContractProposal) ValidateBasic() error + func (this *ActivateContractProposal) Equal(that interface{}) bool + type ContractOpsKeeper interface + ActivateContract func(ctx sdk.Context, contractAddress sdk.AccAddress) error + DeactivateContract func(ctx sdk.Context, contractAddress sdk.AccAddress) error + type DeactivateContractProposal struct + Contract string + Description string + Title string + func (*DeactivateContractProposal) Descriptor() ([]byte, []int) + func (*DeactivateContractProposal) ProtoMessage() + func (m *DeactivateContractProposal) Marshal() (dAtA []byte, err error) + func (m *DeactivateContractProposal) MarshalTo(dAtA []byte) (int, error) + func (m *DeactivateContractProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *DeactivateContractProposal) Reset() + func (m *DeactivateContractProposal) Size() (n int) + func (m *DeactivateContractProposal) Unmarshal(dAtA []byte) error + func (m *DeactivateContractProposal) XXX_DiscardUnknown() + func (m *DeactivateContractProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DeactivateContractProposal) XXX_Merge(src proto.Message) + func (m *DeactivateContractProposal) XXX_Size() int + func (m *DeactivateContractProposal) XXX_Unmarshal(b []byte) error + func (p DeactivateContractProposal) GetDescription() string + func (p DeactivateContractProposal) GetTitle() string + func (p DeactivateContractProposal) ProposalRoute() string + func (p DeactivateContractProposal) ProposalType() string + func (p DeactivateContractProposal) String() string + func (p DeactivateContractProposal) ValidateBasic() error + func (this *DeactivateContractProposal) Equal(that interface{}) bool + type EventActivateContractProposal struct + Contract string + func (*EventActivateContractProposal) Descriptor() ([]byte, []int) + func (*EventActivateContractProposal) ProtoMessage() + func (m *EventActivateContractProposal) GetContract() string + func (m *EventActivateContractProposal) Marshal() (dAtA []byte, err error) + func (m *EventActivateContractProposal) MarshalTo(dAtA []byte) (int, error) + func (m *EventActivateContractProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *EventActivateContractProposal) Reset() + func (m *EventActivateContractProposal) Size() (n int) + func (m *EventActivateContractProposal) String() string + func (m *EventActivateContractProposal) Unmarshal(dAtA []byte) error + func (m *EventActivateContractProposal) XXX_DiscardUnknown() + func (m *EventActivateContractProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EventActivateContractProposal) XXX_Merge(src proto.Message) + func (m *EventActivateContractProposal) XXX_Size() int + func (m *EventActivateContractProposal) XXX_Unmarshal(b []byte) error + type EventDeactivateContractProposal struct + Contract string + func (*EventDeactivateContractProposal) Descriptor() ([]byte, []int) + func (*EventDeactivateContractProposal) ProtoMessage() + func (m *EventDeactivateContractProposal) GetContract() string + func (m *EventDeactivateContractProposal) Marshal() (dAtA []byte, err error) + func (m *EventDeactivateContractProposal) MarshalTo(dAtA []byte) (int, error) + func (m *EventDeactivateContractProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *EventDeactivateContractProposal) Reset() + func (m *EventDeactivateContractProposal) Size() (n int) + func (m *EventDeactivateContractProposal) String() string + func (m *EventDeactivateContractProposal) Unmarshal(dAtA []byte) error + func (m *EventDeactivateContractProposal) XXX_DiscardUnknown() + func (m *EventDeactivateContractProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EventDeactivateContractProposal) XXX_Merge(src proto.Message) + func (m *EventDeactivateContractProposal) XXX_Size() int + func (m *EventDeactivateContractProposal) XXX_Unmarshal(b []byte) error + type GenesisState struct + Codes []types.Code + Contracts []types.Contract + GenMsgs []types.GenesisState_GenMsgs + InactiveContractAddresses []string + Params types.Params + Sequences []types.Sequence + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (gs GenesisState) RawWasmState() wasmtypes.GenesisState + func (gs GenesisState) ValidateBasic() error + func (m *GenesisState) GetCodes() []types.Code + func (m *GenesisState) GetContracts() []types.Contract + func (m *GenesisState) GetGenMsgs() []types.GenesisState_GenMsgs + func (m *GenesisState) GetInactiveContractAddresses() []string + func (m *GenesisState) GetParams() types.Params + func (m *GenesisState) GetSequences() []types.Sequence + 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 MsgClient interface + StoreCodeAndInstantiateContract func(ctx context.Context, in *MsgStoreCodeAndInstantiateContract, ...) (*MsgStoreCodeAndInstantiateContractResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgServer interface + StoreCodeAndInstantiateContract func(context.Context, *MsgStoreCodeAndInstantiateContract) (*MsgStoreCodeAndInstantiateContractResponse, error) + type MsgStoreCodeAndInstantiateContract struct + Admin string + Funds github_com_line_lbm_sdk_types.Coins + InstantiatePermission *types.AccessConfig + Label string + Msg github_com_line_wasmd_x_wasm_types.RawContractMessage + Sender string + WASMByteCode []byte + func (*MsgStoreCodeAndInstantiateContract) Descriptor() ([]byte, []int) + func (*MsgStoreCodeAndInstantiateContract) ProtoMessage() + func (m *MsgStoreCodeAndInstantiateContract) Marshal() (dAtA []byte, err error) + func (m *MsgStoreCodeAndInstantiateContract) MarshalTo(dAtA []byte) (int, error) + func (m *MsgStoreCodeAndInstantiateContract) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgStoreCodeAndInstantiateContract) Reset() + func (m *MsgStoreCodeAndInstantiateContract) Size() (n int) + func (m *MsgStoreCodeAndInstantiateContract) String() string + func (m *MsgStoreCodeAndInstantiateContract) Unmarshal(dAtA []byte) error + func (m *MsgStoreCodeAndInstantiateContract) XXX_DiscardUnknown() + func (m *MsgStoreCodeAndInstantiateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgStoreCodeAndInstantiateContract) XXX_Merge(src proto.Message) + func (m *MsgStoreCodeAndInstantiateContract) XXX_Size() int + func (m *MsgStoreCodeAndInstantiateContract) XXX_Unmarshal(b []byte) error + func (msg MsgStoreCodeAndInstantiateContract) GetSignBytes() []byte + func (msg MsgStoreCodeAndInstantiateContract) GetSigners() []sdk.AccAddress + func (msg MsgStoreCodeAndInstantiateContract) Route() string + func (msg MsgStoreCodeAndInstantiateContract) Type() string + func (msg MsgStoreCodeAndInstantiateContract) ValidateBasic() error + type MsgStoreCodeAndInstantiateContractResponse struct + Address string + CodeID uint64 + Data []byte + func (*MsgStoreCodeAndInstantiateContractResponse) Descriptor() ([]byte, []int) + func (*MsgStoreCodeAndInstantiateContractResponse) ProtoMessage() + func (m *MsgStoreCodeAndInstantiateContractResponse) Marshal() (dAtA []byte, err error) + func (m *MsgStoreCodeAndInstantiateContractResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgStoreCodeAndInstantiateContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgStoreCodeAndInstantiateContractResponse) Reset() + func (m *MsgStoreCodeAndInstantiateContractResponse) Size() (n int) + func (m *MsgStoreCodeAndInstantiateContractResponse) String() string + func (m *MsgStoreCodeAndInstantiateContractResponse) Unmarshal(dAtA []byte) error + func (m *MsgStoreCodeAndInstantiateContractResponse) XXX_DiscardUnknown() + func (m *MsgStoreCodeAndInstantiateContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgStoreCodeAndInstantiateContractResponse) XXX_Merge(src proto.Message) + func (m *MsgStoreCodeAndInstantiateContractResponse) XXX_Size() int + func (m *MsgStoreCodeAndInstantiateContractResponse) XXX_Unmarshal(b []byte) error + type QueryClient interface + InactiveContract func(ctx context.Context, in *QueryInactiveContractRequest, opts ...grpc.CallOption) (*QueryInactiveContractResponse, error) + InactiveContracts func(ctx context.Context, in *QueryInactiveContractsRequest, ...) (*QueryInactiveContractsResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryInactiveContractRequest struct + Address string + func (*QueryInactiveContractRequest) Descriptor() ([]byte, []int) + func (*QueryInactiveContractRequest) ProtoMessage() + func (m *QueryInactiveContractRequest) Marshal() (dAtA []byte, err error) + func (m *QueryInactiveContractRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryInactiveContractRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryInactiveContractRequest) Reset() + func (m *QueryInactiveContractRequest) Size() (n int) + func (m *QueryInactiveContractRequest) String() string + func (m *QueryInactiveContractRequest) Unmarshal(dAtA []byte) error + func (m *QueryInactiveContractRequest) XXX_DiscardUnknown() + func (m *QueryInactiveContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryInactiveContractRequest) XXX_Merge(src proto.Message) + func (m *QueryInactiveContractRequest) XXX_Size() int + func (m *QueryInactiveContractRequest) XXX_Unmarshal(b []byte) error + type QueryInactiveContractResponse struct + Inactivated bool + func (*QueryInactiveContractResponse) Descriptor() ([]byte, []int) + func (*QueryInactiveContractResponse) ProtoMessage() + func (m *QueryInactiveContractResponse) Marshal() (dAtA []byte, err error) + func (m *QueryInactiveContractResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryInactiveContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryInactiveContractResponse) Reset() + func (m *QueryInactiveContractResponse) Size() (n int) + func (m *QueryInactiveContractResponse) String() string + func (m *QueryInactiveContractResponse) Unmarshal(dAtA []byte) error + func (m *QueryInactiveContractResponse) XXX_DiscardUnknown() + func (m *QueryInactiveContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryInactiveContractResponse) XXX_Merge(src proto.Message) + func (m *QueryInactiveContractResponse) XXX_Size() int + func (m *QueryInactiveContractResponse) XXX_Unmarshal(b []byte) error + type QueryInactiveContractsRequest struct + Pagination *query.PageRequest + func (*QueryInactiveContractsRequest) Descriptor() ([]byte, []int) + func (*QueryInactiveContractsRequest) ProtoMessage() + func (m *QueryInactiveContractsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryInactiveContractsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryInactiveContractsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryInactiveContractsRequest) Reset() + func (m *QueryInactiveContractsRequest) Size() (n int) + func (m *QueryInactiveContractsRequest) String() string + func (m *QueryInactiveContractsRequest) Unmarshal(dAtA []byte) error + func (m *QueryInactiveContractsRequest) XXX_DiscardUnknown() + func (m *QueryInactiveContractsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryInactiveContractsRequest) XXX_Merge(src proto.Message) + func (m *QueryInactiveContractsRequest) XXX_Size() int + func (m *QueryInactiveContractsRequest) XXX_Unmarshal(b []byte) error + type QueryInactiveContractsResponse struct + Addresses []string + Pagination *query.PageResponse + func (*QueryInactiveContractsResponse) Descriptor() ([]byte, []int) + func (*QueryInactiveContractsResponse) ProtoMessage() + func (m *QueryInactiveContractsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryInactiveContractsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryInactiveContractsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryInactiveContractsResponse) Reset() + func (m *QueryInactiveContractsResponse) Size() (n int) + func (m *QueryInactiveContractsResponse) String() string + func (m *QueryInactiveContractsResponse) Unmarshal(dAtA []byte) error + func (m *QueryInactiveContractsResponse) XXX_DiscardUnknown() + func (m *QueryInactiveContractsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryInactiveContractsResponse) XXX_Merge(src proto.Message) + func (m *QueryInactiveContractsResponse) XXX_Size() int + func (m *QueryInactiveContractsResponse) XXX_Unmarshal(b []byte) error + type QueryServer interface + InactiveContract func(context.Context, *QueryInactiveContractRequest) (*QueryInactiveContractResponse, error) + InactiveContracts func(context.Context, *QueryInactiveContractsRequest) (*QueryInactiveContractsResponse, error) + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) StoreCodeAndInstantiateContract(ctx context.Context, req *MsgStoreCodeAndInstantiateContract) (*MsgStoreCodeAndInstantiateContractResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) InactiveContract(ctx context.Context, req *QueryInactiveContractRequest) (*QueryInactiveContractResponse, error) + func (*UnimplementedQueryServer) InactiveContracts(ctx context.Context, req *QueryInactiveContractsRequest) (*QueryInactiveContractsResponse, error) + type ViewKeeper interface + IsInactiveContract func(ctx sdk.Context, contractAddress sdk.AccAddress) bool + IterateInactiveContracts func(ctx sdk.Context, fn func(contractAddress sdk.AccAddress) bool)