Versions in this module Expand all Collapse all v0 v0.16.15 Jul 20, 2023 v0.0.1 Jul 20, 2023 Changes in this version + const TypeMsgCreateCosmWasmPool + var ErrIntOverflowPool = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthPool = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupPool = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var ModuleCdc = codec.NewAminoCodec(amino) + func RegisterCodec(cdc *codec.LegacyAmino) + func RegisterInterfaces(registry cdctypes.InterfaceRegistry) + func RegisterMsgCreatorServer(s grpc1.Server, srv MsgCreatorServer) + type CosmWasmPool struct + CodeId uint64 + ContractAddress string + InstantiateMsg []byte + PoolId uint64 + func (*CosmWasmPool) Descriptor() ([]byte, []int) + func (*CosmWasmPool) ProtoMessage() + func (m *CosmWasmPool) Marshal() (dAtA []byte, err error) + func (m *CosmWasmPool) MarshalTo(dAtA []byte) (int, error) + func (m *CosmWasmPool) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CosmWasmPool) Reset() + func (m *CosmWasmPool) Size() (n int) + func (m *CosmWasmPool) Unmarshal(dAtA []byte) error + func (m *CosmWasmPool) XXX_DiscardUnknown() + func (m *CosmWasmPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CosmWasmPool) XXX_Merge(src proto.Message) + func (m *CosmWasmPool) XXX_Size() int + func (m *CosmWasmPool) XXX_Unmarshal(b []byte) error + func (p *CosmWasmPool) AsSerializablePool() poolmanagertypes.PoolI + func (p *CosmWasmPool) SetContractAddress(contractAddress string) + func (p CosmWasmPool) GetAddress() sdk.AccAddress + func (p CosmWasmPool) GetCodeId() uint64 + func (p CosmWasmPool) GetContractAddress() string + func (p CosmWasmPool) GetExitFee(ctx sdk.Context) sdk.Dec + func (p CosmWasmPool) GetId() uint64 + func (p CosmWasmPool) GetInstantiateMsg() []byte + func (p CosmWasmPool) GetSpreadFactor(ctx sdk.Context) sdk.Dec + func (p CosmWasmPool) GetStoreModel() poolmanagertypes.PoolI + func (p CosmWasmPool) GetTotalPoolLiquidity(ctx sdk.Context) sdk.Coins + func (p CosmWasmPool) GetType() poolmanagertypes.PoolType + func (p CosmWasmPool) IsActive(ctx sdk.Context) bool + func (p CosmWasmPool) SetWasmKeeper(wasmKeeper types.WasmKeeper) + func (p CosmWasmPool) SpotPrice(ctx sdk.Context, baseAssetDenom string, quoteAssetDenom string) (sdk.Dec, error) + func (p CosmWasmPool) String() string + type MsgCreateCosmWasmPool struct + CodeId uint64 + InstantiateMsg []byte + Sender string + func NewMsgCreateCosmWasmPool(codeId uint64, sender sdk.AccAddress, instantiateMsg []byte) MsgCreateCosmWasmPool + func (*MsgCreateCosmWasmPool) Descriptor() ([]byte, []int) + func (*MsgCreateCosmWasmPool) ProtoMessage() + func (m *MsgCreateCosmWasmPool) GetCodeId() uint64 + func (m *MsgCreateCosmWasmPool) GetInstantiateMsg() []byte + func (m *MsgCreateCosmWasmPool) GetSender() string + func (m *MsgCreateCosmWasmPool) Marshal() (dAtA []byte, err error) + func (m *MsgCreateCosmWasmPool) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateCosmWasmPool) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateCosmWasmPool) Reset() + func (m *MsgCreateCosmWasmPool) Size() (n int) + func (m *MsgCreateCosmWasmPool) String() string + func (m *MsgCreateCosmWasmPool) Unmarshal(dAtA []byte) error + func (m *MsgCreateCosmWasmPool) XXX_DiscardUnknown() + func (m *MsgCreateCosmWasmPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateCosmWasmPool) XXX_Merge(src proto.Message) + func (m *MsgCreateCosmWasmPool) XXX_Size() int + func (m *MsgCreateCosmWasmPool) XXX_Unmarshal(b []byte) error + func (msg MsgCreateCosmWasmPool) CreatePool(ctx sdk.Context, poolID uint64) (poolmanagertypes.PoolI, error) + func (msg MsgCreateCosmWasmPool) GetPoolType() poolmanagertypes.PoolType + func (msg MsgCreateCosmWasmPool) GetSignBytes() []byte + func (msg MsgCreateCosmWasmPool) GetSigners() []sdk.AccAddress + func (msg MsgCreateCosmWasmPool) InitialLiquidity() sdk.Coins + func (msg MsgCreateCosmWasmPool) PoolCreator() sdk.AccAddress + func (msg MsgCreateCosmWasmPool) Route() string + func (msg MsgCreateCosmWasmPool) Type() string + func (msg MsgCreateCosmWasmPool) Validate(ctx sdk.Context) error + func (msg MsgCreateCosmWasmPool) ValidateBasic() error + type MsgCreateCosmWasmPoolResponse struct + PoolID uint64 + func (*MsgCreateCosmWasmPoolResponse) Descriptor() ([]byte, []int) + func (*MsgCreateCosmWasmPoolResponse) ProtoMessage() + func (m *MsgCreateCosmWasmPoolResponse) GetPoolID() uint64 + func (m *MsgCreateCosmWasmPoolResponse) Marshal() (dAtA []byte, err error) + func (m *MsgCreateCosmWasmPoolResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateCosmWasmPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateCosmWasmPoolResponse) Reset() + func (m *MsgCreateCosmWasmPoolResponse) Size() (n int) + func (m *MsgCreateCosmWasmPoolResponse) String() string + func (m *MsgCreateCosmWasmPoolResponse) Unmarshal(dAtA []byte) error + func (m *MsgCreateCosmWasmPoolResponse) XXX_DiscardUnknown() + func (m *MsgCreateCosmWasmPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateCosmWasmPoolResponse) XXX_Merge(src proto.Message) + func (m *MsgCreateCosmWasmPoolResponse) XXX_Size() int + func (m *MsgCreateCosmWasmPoolResponse) XXX_Unmarshal(b []byte) error + type MsgCreatorClient interface + CreateCosmWasmPool func(ctx context.Context, in *MsgCreateCosmWasmPool, opts ...grpc.CallOption) (*MsgCreateCosmWasmPoolResponse, error) + func NewMsgCreatorClient(cc grpc1.ClientConn) MsgCreatorClient + type MsgCreatorServer interface + CreateCosmWasmPool func(context.Context, *MsgCreateCosmWasmPool) (*MsgCreateCosmWasmPoolResponse, error) + type Pool struct + WasmKeeper types.WasmKeeper + func NewCosmWasmPool(poolId uint64, codeId uint64, instantiateMsg []byte) *Pool + func (p *Pool) SetContractAddress(contractAddress string) + func (p *Pool) SetWasmKeeper(wasmKeeper types.WasmKeeper) + func (p Pool) AsSerializablePool() poolmanagertypes.PoolI + func (p Pool) GetAddress() sdk.AccAddress + func (p Pool) GetCodeId() uint64 + func (p Pool) GetContractAddress() string + func (p Pool) GetId() uint64 + func (p Pool) GetInstantiateMsg() []byte + func (p Pool) GetSpreadFactor(ctx sdk.Context) sdk.Dec + func (p Pool) GetStoreModel() poolmanagertypes.PoolI + func (p Pool) GetTotalPoolLiquidity(ctx sdk.Context) sdk.Coins + func (p Pool) GetType() poolmanagertypes.PoolType + func (p Pool) IsActive(ctx sdk.Context) bool + func (p Pool) SpotPrice(ctx sdk.Context, baseAssetDenom string, quoteAssetDenom string) (sdk.Dec, error) + func (p Pool) String() string + type UnimplementedMsgCreatorServer struct + func (*UnimplementedMsgCreatorServer) CreateCosmWasmPool(ctx context.Context, req *MsgCreateCosmWasmPool) (*MsgCreateCosmWasmPoolResponse, error)