Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DAI/FURY pool ID // https://app.furya.zone/pool/674 // Note, new concentrated liquidity pool // spread factor is initialized to be the same as the balancers pool spread factor of 0.2%. DaiOsmoPoolId = uint64(674) // Denom0 translates to a base asset while denom1 to a quote asset // We want quote asset to be DAI so that when the limit orders on ticks // are implemented, we have tick spacing in terms of DAI as the quote. DesiredDenom0 = "ufury" TickSpacing = 100 // isPermissionlessPoolCreationEnabledCL is a boolean that determines if // concentrated liquidity pools can be created via message. At launch, // we consider allowing only governance to create pools, and then later // allowing permissionless pool creation by switching this flag to true // with a governance proposal. IsPermissionlessPoolCreationEnabledCL = false )
View Source
const NewDenomCreationGasConsume uint64 = 40_000_000
new token factory parameters
at the current gas price of 0.0025ufury, this corresponds to 0.1 FURY per denom creation.
View Source
const UpgradeName = "v16"
UpgradeName defines the on-chain upgrade name for the Furya v16 upgrade.
Variables ¶
View Source
var ( ErrMustHaveTwoDenoms = errors.New("can only have 2 denoms in CL pool") ErrNoGaugeToRedirect = errors.New("could not find gauge to redirect") )
View Source
var ( ATOMIBCDenom = "ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2" DAIIBCDenom = "ibc/0CD3A0285E1341859B5E86B6AB7682F023D03E97607CCC1DC95706411D866DF7" USDCIBCDenom = "ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858" SpreadFactor = osmomath.MustNewDecFromStr("0.002") )
View Source
var Upgrade = upgrades.Upgrade{ UpgradeName: UpgradeName, CreateUpgradeHandler: CreateUpgradeHandler, StoreUpgrades: store.StoreUpgrades{ Added: []string{cltypes.StoreKey, cosmwasmpooltypes.StoreKey}, Deleted: []string{}, }, }
Functions ¶
func CreateUpgradeHandler ¶
func CreateUpgradeHandler( mm *module.Manager, configurator module.Configurator, bpm upgrades.BaseAppParamManager, keepers *keepers.AppKeepers, ) upgradetypes.UpgradeHandler
Types ¶
type NoDesiredDenomInPoolError ¶
type NoDesiredDenomInPoolError struct {
DesiredDenom string
}
func (NoDesiredDenomInPoolError) Error ¶
func (e NoDesiredDenomInPoolError) Error() string
Click to show internal directories.
Click to hide internal directories.