Versions in this module Expand all Collapse all v8 v8.0.1 May 29, 2022 Changes in this version + const TypeMsgCreateBalancerPool + var ErrIntOverflowBalancerPool = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthBalancerPool = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupBalancerPool = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var ModuleCdc = codec.NewAminoCodec(amino) + func RegisterInterfaces(registry codectypes.InterfaceRegistry) + func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + func ValidateFutureGovernor(governor string) error + type MsgClient interface + CreateBalancerPool func(ctx context.Context, in *MsgCreateBalancerPool, opts ...grpc.CallOption) (*MsgCreateBalancerPoolResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgCreateBalancerPool struct + FuturePoolGovernor string + PoolAssets []types.PoolAsset + PoolParams *PoolParams + Sender string + func (*MsgCreateBalancerPool) Descriptor() ([]byte, []int) + func (*MsgCreateBalancerPool) ProtoMessage() + func (m *MsgCreateBalancerPool) GetFuturePoolGovernor() string + func (m *MsgCreateBalancerPool) GetPoolAssets() []types.PoolAsset + func (m *MsgCreateBalancerPool) GetPoolParams() *PoolParams + func (m *MsgCreateBalancerPool) GetSender() string + func (m *MsgCreateBalancerPool) Marshal() (dAtA []byte, err error) + func (m *MsgCreateBalancerPool) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateBalancerPool) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateBalancerPool) Reset() + func (m *MsgCreateBalancerPool) Size() (n int) + func (m *MsgCreateBalancerPool) String() string + func (m *MsgCreateBalancerPool) Unmarshal(dAtA []byte) error + func (m *MsgCreateBalancerPool) XXX_DiscardUnknown() + func (m *MsgCreateBalancerPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateBalancerPool) XXX_Merge(src proto.Message) + func (m *MsgCreateBalancerPool) XXX_Size() int + func (m *MsgCreateBalancerPool) XXX_Unmarshal(b []byte) error + func (msg MsgCreateBalancerPool) GetSignBytes() []byte + func (msg MsgCreateBalancerPool) GetSigners() []sdk.AccAddress + func (msg MsgCreateBalancerPool) Route() string + func (msg MsgCreateBalancerPool) Type() string + func (msg MsgCreateBalancerPool) ValidateBasic() error + type MsgCreateBalancerPoolResponse struct + func (*MsgCreateBalancerPoolResponse) Descriptor() ([]byte, []int) + func (*MsgCreateBalancerPoolResponse) ProtoMessage() + func (m *MsgCreateBalancerPoolResponse) Marshal() (dAtA []byte, err error) + func (m *MsgCreateBalancerPoolResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateBalancerPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateBalancerPoolResponse) Reset() + func (m *MsgCreateBalancerPoolResponse) Size() (n int) + func (m *MsgCreateBalancerPoolResponse) String() string + func (m *MsgCreateBalancerPoolResponse) Unmarshal(dAtA []byte) error + func (m *MsgCreateBalancerPoolResponse) XXX_DiscardUnknown() + func (m *MsgCreateBalancerPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateBalancerPoolResponse) XXX_Merge(src proto.Message) + func (m *MsgCreateBalancerPoolResponse) XXX_Size() int + func (m *MsgCreateBalancerPoolResponse) XXX_Unmarshal(b []byte) error + type MsgServer interface + CreateBalancerPool func(context.Context, *MsgCreateBalancerPool) (*MsgCreateBalancerPoolResponse, error) + type Pool struct + Address string + FuturePoolGovernor string + Id uint64 + PoolAssets []types.PoolAsset + PoolParams PoolParams + TotalShares types1.Coin + TotalWeight github_com_cosmos_cosmos_sdk_types.Int + func NewBalancerPool(poolId uint64, balancerPoolParams PoolParams, assets []types.PoolAsset, ...) (Pool, error) + func (*Pool) Descriptor() ([]byte, []int) + func (*Pool) ProtoMessage() + func (m *Pool) Marshal() (dAtA []byte, err error) + func (m *Pool) MarshalTo(dAtA []byte) (int, error) + func (m *Pool) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Pool) Reset() + func (m *Pool) Size() (n int) + func (m *Pool) Unmarshal(dAtA []byte) error + func (m *Pool) XXX_DiscardUnknown() + func (m *Pool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Pool) XXX_Merge(src proto.Message) + func (m *Pool) XXX_Size() int + func (m *Pool) XXX_Unmarshal(b []byte) error + func (pa *Pool) AddTotalShares(amt sdk.Int) + func (pa *Pool) PokeTokenWeights(blockTime time.Time) + func (pa *Pool) SubTotalShares(amt sdk.Int) + func (pa *Pool) UnmarshalJSON(bz []byte) error + func (pa *Pool) UpdatePoolAssetBalance(coin sdk.Coin) error + func (pa *Pool) UpdatePoolAssetBalances(coins sdk.Coins) error + func (pa Pool) GetAddress() sdk.AccAddress + func (pa Pool) GetAllPoolAssets() []types.PoolAsset + func (pa Pool) GetId() uint64 + func (pa Pool) GetPoolAsset(denom string) (types.PoolAsset, error) + func (pa Pool) GetPoolAssets(denoms ...string) ([]types.PoolAsset, error) + func (pa Pool) GetPoolExitFee() sdk.Dec + func (pa Pool) GetPoolParams() PoolParams + func (pa Pool) GetPoolSwapFee() sdk.Dec + func (pa Pool) GetTokenBalance(denom string) (sdk.Int, error) + func (pa Pool) GetTokenWeight(denom string) (sdk.Int, error) + func (pa Pool) GetTotalShares() sdk.Coin + func (pa Pool) GetTotalWeight() sdk.Int + func (pa Pool) IsActive(curBlockTime time.Time) bool + func (pa Pool) MarshalJSON() ([]byte, error) + func (pa Pool) NumAssets() int + func (pa Pool) String() string + type PoolParams struct + ExitFee github_com_cosmos_cosmos_sdk_types.Dec + SmoothWeightChangeParams *SmoothWeightChangeParams + SwapFee github_com_cosmos_cosmos_sdk_types.Dec + func (*PoolParams) Descriptor() ([]byte, []int) + func (*PoolParams) ProtoMessage() + func (m *PoolParams) GetSmoothWeightChangeParams() *SmoothWeightChangeParams + func (m *PoolParams) Marshal() (dAtA []byte, err error) + func (m *PoolParams) MarshalTo(dAtA []byte) (int, error) + func (m *PoolParams) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PoolParams) Reset() + func (m *PoolParams) Size() (n int) + func (m *PoolParams) String() string + func (m *PoolParams) Unmarshal(dAtA []byte) error + func (m *PoolParams) XXX_DiscardUnknown() + func (m *PoolParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PoolParams) XXX_Merge(src proto.Message) + func (m *PoolParams) XXX_Size() int + func (m *PoolParams) XXX_Unmarshal(b []byte) error + func (params PoolParams) GetPoolExitFee() sdk.Dec + func (params PoolParams) GetPoolSwapFee() sdk.Dec + func (params PoolParams) Validate(poolWeights []types.PoolAsset) error + type SmoothWeightChangeParams struct + Duration time.Duration + InitialPoolWeights []types.PoolAsset + StartTime time.Time + TargetPoolWeights []types.PoolAsset + func (*SmoothWeightChangeParams) Descriptor() ([]byte, []int) + func (*SmoothWeightChangeParams) ProtoMessage() + func (m *SmoothWeightChangeParams) GetDuration() time.Duration + func (m *SmoothWeightChangeParams) GetInitialPoolWeights() []types.PoolAsset + func (m *SmoothWeightChangeParams) GetStartTime() time.Time + func (m *SmoothWeightChangeParams) GetTargetPoolWeights() []types.PoolAsset + func (m *SmoothWeightChangeParams) Marshal() (dAtA []byte, err error) + func (m *SmoothWeightChangeParams) MarshalTo(dAtA []byte) (int, error) + func (m *SmoothWeightChangeParams) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SmoothWeightChangeParams) Reset() + func (m *SmoothWeightChangeParams) Size() (n int) + func (m *SmoothWeightChangeParams) String() string + func (m *SmoothWeightChangeParams) Unmarshal(dAtA []byte) error + func (m *SmoothWeightChangeParams) XXX_DiscardUnknown() + func (m *SmoothWeightChangeParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SmoothWeightChangeParams) XXX_Merge(src proto.Message) + func (m *SmoothWeightChangeParams) XXX_Size() int + func (m *SmoothWeightChangeParams) XXX_Unmarshal(b []byte) error + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) CreateBalancerPool(ctx context.Context, req *MsgCreateBalancerPool) (*MsgCreateBalancerPoolResponse, error) Other modules containing this package github.com/osmosis-labs/osmosis/v10 github.com/osmosis-labs/osmosis/v11 github.com/osmosis-labs/osmosis/v12 github.com/osmosis-labs/osmosis/v13 github.com/osmosis-labs/osmosis/v14 github.com/osmosis-labs/osmosis/v15 github.com/osmosis-labs/osmosis/v16 github.com/osmosis-labs/osmosis/v17 github.com/osmosis-labs/osmosis/v19 github.com/osmosis-labs/osmosis/v20 github.com/osmosis-labs/osmosis/v21 github.com/osmosis-labs/osmosis/v22 github.com/osmosis-labs/osmosis/v23 github.com/osmosis-labs/osmosis/v24 github.com/osmosis-labs/osmosis/v25 github.com/osmosis-labs/osmosis/v26 github.com/osmosis-labs/osmosis/v27 github.com/osmosis-labs/osmosis/v28 github.com/osmosis-labs/osmosis/v7 github.com/osmosis-labs/osmosis/v9