package
22.0.5
Repository: https://github.com/osmosis-labs/osmosis.git
Documentation: pkg.go.dev

# Functions

NewPool returns a weighted CPMM pool with the provided parameters, and initial assets.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RegisterLegacyAminoCodec registers the necessary x/gamm interfaces and concrete types on the provided LegacyAmino codec.
No description provided by the author
ValidateUserSpecifiedWeight ensures that a weight that is provided from user-input anywhere for creating a pool obeys the expected guarantees.

# Constants

No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Scaling factor for every weight.
Pool creators can specify a weight in [1, MaxUserSpecifiedWeight) for every token in the balancer pool.
ModuleCdc references the global x/bank module codec.
No description provided by the author

# Structs

===================== MsgCreatePool.
Returns the poolID.
No description provided by the author
Pool asset is an internal struct that combines the amount of the token in the pool, and its balancer weight.
PoolParams defined the parameters that will be managed by the pool governance in the future.
Parameters for changing the weights in a balancer pool smoothly from a start weight and end weight over a period of time.
UnimplementedMsgServer can be embedded to have forward compatible implementations.

# Interfaces

MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.