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

# Packages

No description provided by the author

# Functions

DefaultGenesis creates a default GenesisState object.
default gamm module parameters.
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
No description provided by the author
No description provided by the author
No description provided by the author
Creates hooks for the Gamm Module.
No description provided by the author
No description provided by the author
NewReplacePoolIncentivesProposal returns a new instance of a replace migration record's proposal struct.
NewSetScalingFactorControllerProposal returns a new instance of a replace migration record's proposal struct.
NewReplacePoolIncentivesProposal returns a new instance of a replace migration record's proposal struct.
ParamTable for gamm module.
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
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author
No description provided by the author

# Constants

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
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
No description provided by the author
No description provided by the author
No description provided by the author
pools can be created with min and max number of assets defined with this constants.
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
No description provided by the author
No description provided by the author
No description provided by the author
We keep this multiplier at 1, but can increase if needed in the unlikely scenario where default scaling factors of 1 cannot accommodate enough assets.
Raise 10 to the power of SigFigsExponent to determine number of significant figures.
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
constants.
constants.
constants.
constants.
constants.
constants.
constants.
constants.

# Variables

x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
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
No description provided by the author
No description provided by the author
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
x/gamm module sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
x/gamm module sentinel errors.
InitPoolSharesSupply is the amount of new shares to initialize a pool with.
KeyNextGlobalPoolId defines key to store the next Pool ID to be used.
Parameter store keys.
No description provided by the author
No description provided by the author
KeyPrefixPools defines prefix to store pools.
KeyTotalLiquidity defines key to store total liquidity.
MaxSpotPrice is the maximum supported spot price.
No description provided by the author
MinSpotPrice is the minimum supported spot price.
ModuleCdc references the global x/bank module codec.
0.5.
OneShare represents the amount of subshares in a single pool share.
SpotPriceSigFigs is the amount of significant figures used in return value of calculate SpotPrice.
Maximum amount per asset after the application of scaling factors should be 10e34.

# Structs

No description provided by the author
No description provided by the author
CreateConcentratedLiquidityPoolsAndLinktoCFMMProposal is a gov Content type for creating concentrated liquidity pools and linking it to a CFMM pool.
GenesisState defines the gamm module's genesis state.
No description provided by the author
===================== MsgExitPool.
No description provided by the author
===================== MsgExitSwapExternAmountOut.
No description provided by the author
===================== MsgExitSwapShareAmountIn.
No description provided by the author
===================== MsgJoinPool This is really MsgJoinPoolNoSwap.
No description provided by the author
===================== MsgJoinSwapExternAmountIn TODO: Rename to MsgJoinSwapExactAmountIn.
No description provided by the author
===================== MsgJoinSwapShareAmountOut.
No description provided by the author
===================== MsgSwapExactAmountIn.
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
Params holds parameters for the incentives module.
No description provided by the author
No description provided by the author
=============================== CalcExitPoolCoinsFromShares.
No description provided by the author
=============================== CalcJoinPoolNoSwapShares.
No description provided by the author
=============================== CalcJoinPoolShares.
No description provided by the author
=============================== QueryCFMMConcentratedPoolLinks.
No description provided by the author
=============================== QueryConcentratedPoolIdLinkFromCFMM.
No description provided by the author
=============================== NumPools Deprecated: Do not use.
Deprecated: Do not use.
=============================== PoolParams.
No description provided by the author
=============================== Pool Deprecated: please use the alternative in x/poolmanager Deprecated: Do not use.
Deprecated: please use the alternative in x/poolmanager Deprecated: Do not use.
=============================== Pools.
No description provided by the author
No description provided by the author
No description provided by the author
=============================== PoolType.
No description provided by the author
QuerySpotPriceRequest defines the gRPC request structure for a SpotPrice query.
QuerySpotPriceResponse defines the gRPC response structure for a SpotPrice query.
=============================== EstimateSwapExactAmountIn Deprecated: Do not use.
Deprecated: Do not use.
=============================== EstimateSwapExactAmountOut Deprecated: Do not use.
Deprecated: Do not use.
No description provided by the author
No description provided by the author
=============================== PoolLiquidity Deprecated: please use the alternative in x/poolmanager Deprecated: Do not use.
Deprecated: please use the alternative in x/poolmanager Deprecated: Do not use.
=============================== TotalShares.
No description provided by the author
ReplaceMigrationRecordsProposal is a gov Content type for updating the migration records.
SetScalingFactorControllerProposal is a gov Content type for updating the scaling factor controller address of a stableswap pool.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.
No description provided by the author
For example: if the existing DistrRecords were: [(Balancer 1, CL 5), (Balancer 2, CL 6), (Balancer 3, CL 7)] And an UpdateMigrationRecordsProposal includes [(Balancer 2, CL 0), (Balancer 3, CL 4), (Balancer 4, CL 10)] This would leave Balancer 1 record, delete Balancer 2 record, Edit Balancer 3 record, and Add Balancer 4 record The result MigrationRecords in state would be: [(Balancer 1, CL 5), (Balancer 3, CL 4), (Balancer 4, CL 10)].

# Interfaces

AccountKeeper defines the account contract that must be fulfilled when creating a x/gamm keeper.
BankKeeper defines the banking contract that must be fulfilled when creating a x/gamm keeper.
CFMMPoolI defines an interface for pools representing constant function AMM.
CommunityPoolKeeper defines the contract needed to be fulfilled for distribution keeper.
ConcentratedLiquidityKeeper defines the contract needed to be fulfilled for the concentrated liquidity keeper.
No description provided by the author
No description provided by the author
LiquidityChangeMsg defines a simple interface for determining if an LP msg is removing or adding liquidity.
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
No description provided by the author
PoolAmountOutExtension is an extension of the PoolI interface definiting an abstraction for pools that hold tokens.
No description provided by the author
PoolManager defines the interface needed to be fulfilled for the pool manager.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.
WeightedPoolExtension is an extension of the PoolI interface That defines an additional API for handling the pool's weights.

# Type aliases

No description provided by the author
combine multiple gamm hooks, all hook functions are run in array sequence.
No description provided by the author
No description provided by the author
SwapMsg defines a simple interface for getting the token denoms on a swap message route.