Proposals

Proposal/SpotMarketParamUpdate

SpotMarketParamUpdateProposal defines an SDK message to propose an update of spot market params.

type SpotMarketParamUpdateProposal struct {
	Title                string
	Description          string
	MarketId             string
	MakerFeeRate         *math.LegacyDec
	TakerFeeRate         *math.LegacyDec
	RelayerFeeShareRate  *math.LegacyDec
	MinPriceTickSize     *math.LegacyDec
	MinQuantityTickSize  *math.LegacyDec
    MinNotional          *math.LegacyDec
	Status               MarketStatus
}

Fields description

  • Title describes the title of the proposal.

  • Description describes the description of the proposal.

  • MarketId describes the id of the market to change params.

  • MakerFeeRate describes the target fee rate for makers.

  • TakerFeeRate describes the target fee rate for takers.

  • RelayerFeeShareRate describes the relayer fee share rate.

  • MinPriceTickSize defines the minimum tick size of the order's price.

  • MinQuantityTickSize defines the minimum tick size of the order's quantity.

  • Status describes the target status of the market.

Proposal/ExchangeEnable

ExchangeEnableProposal defines a message to propose enable of specific exchange type.

Fields description

  • Title describes the title of the proposal.

  • Description describes the description of the proposal.

  • ExchangeType describes the type of exchange, spot or derivatives.

Proposal/BatchExchangeModification

BatchExchangeModificationProposal defines a message to batch multiple proposals in the exchange module.

Fields description

  • Title describes the title of the proposal.

  • Description describes the description of the proposal.

  • SpotMarketParamUpdateProposal describes the SpotMarketParamUpdateProposal.

  • DerivativeMarketParamUpdateProposal describes the DerivativeMarketParamUpdateProposal.

  • SpotMarketLaunchProposal describes the SpotMarketLaunchProposal.

  • PerpetualMarketLaunchProposal describes the PerpetualMarketLaunchProposal.

  • ExpiryFuturesMarketLaunchProposal describes the ExpiryFuturesMarketLaunchProposal.

  • TradingRewardCampaignUpdateProposal describes the TradingRewardCampaignUpdateProposal.

Proposal/SpotMarketLaunch

SpotMarketLaunchProposal defines an SDK message for proposing a new spot market through governance.

Fields description

  • Title describes the title of the proposal.

  • Description describes the description of the proposal.

  • Ticker describes the ticker for the spot market.

  • BaseDenom specifies the type of coin to use as the base currency.

  • QuoteDenom specifies the type of coin to use as the quote currency.

  • MinPriceTickSize defines the minimum tick size of the order's price.

  • MinQuantityTickSize defines the minimum tick size of the order's quantity.

  • MakerFeeRate field describes the trade fee rate for makers on the derivative market.

  • TakerFeeRate field describes the trade fee rate for takers on the derivative market.

Proposal/PerpetualMarketLaunch

PerpetualMarketLaunchProposal defines an SDK message for proposing a new perpetual futures market through governance.

Fields description

  • Title describes the title of the proposal.

  • Description describes the description of the proposal.

  • Ticker field describes the ticker for the derivative market.

  • QuoteDenom field describes the type of coin to use as the base currency.

  • OracleBase field describes the oracle base currency.

  • OracleQuote field describes the oracle quote currency.

  • OracleScaleFactor field describes the scale factor for oracle prices.

  • OracleType field describes the oracle type.

  • MakerFeeRate field describes the trade fee rate for makers on the derivative market.

  • TakerFeeRate field describes the trade fee rate for takers on the derivative market.

  • InitialMarginRatio field describes the initial margin ratio for the derivative market.

  • MaintenanceMarginRatio field describes the maintenance margin ratio for the derivative market.

  • MinPriceTickSize field describes the minimum tick size of the order's price and margin.

  • MinQuantityTickSize field describes the minimum tick size of the order's quantity.

Expiry futures market launch proposal

Fields description

  • Title describes the title of the proposal.

  • Description describes the description of the proposal.

  • Ticker field describes the ticker for the derivative market.

  • QuoteDenom field describes the type of coin to use as the quote currency.

  • OracleBase field describes the oracle base currency.

  • OracleQuote field describes the oracle quote currency.

  • OracleScaleFactor field describes the scale factor for oracle prices.

  • OracleType field describes the oracle type.

  • Expiry field describes the expiration time of the market.

  • MakerFeeRate field describes the trade fee rate for makers on the derivative market.

  • TakerFeeRate field describes the trade fee rate for takers on the derivative market.

  • InitialMarginRatio field describes the initial margin ratio for the derivative market.

  • MaintenanceMarginRatio field describes the maintenance margin ratio for the derivative market.

  • MinPriceTickSize field describes the minimum tick size of the order's price and margin.

  • MinQuantityTickSize field describes the minimum tick size of the order's quantity.

Binary options market launch proposal

Binary options market param update

Proposal/DerivativeMarketParamUpdate

Fields description

  • Title describes the title of the proposal.

  • Description describes the description of the proposal.

  • MarketId describes the id of the market to change params.

  • InitialMarginRatio describes the target initial margin ratio.

  • MaintenanceMarginRatio describes the target maintenance margin ratio.

  • MakerFeeRate describes the target fee rate for makers.

  • TakerFeeRate describes the target fee rate for takers.

  • RelayerFeeShareRate describes the relayer fee share rate.

  • MinPriceTickSize defines the minimum tick size of the order's price.

  • MinQuantityTickSize defines the minimum tick size of the order's quantity.

  • Status describes the target status of the market.

  • OracleParams describes the new oracle parameters.

Proposal/TradingRewardCampaignLaunch

TradingRewardCampaignLaunchProposal defines an SDK message for proposing to launch a new trading reward campaign.

Fields description

  • Title describes the title of the proposal.

  • Description describes the description of the proposal.

  • CampaignInfo describes the CampaignInfo.

  • CampaignRewardPools describes the CampaignRewardPools.

Proposal/TradingRewardCampaignUpdate

TradingRewardCampaignUpdateProposal defines an SDK message for proposing to update an existing trading reward campaign.

  • Title describes the title of the proposal.

  • Description describes the description of the proposal.

  • CampaignRewardPoolsAdditions describes the CampaignRewardPoolsAdditions.

  • CampaignRewardPoolsUpdates describes the CampaignRewardPoolsUpdates.

Proposal/FeeDiscount

FeeDiscountProposal defines an SDK message for proposing to launch or update a fee discount schedule.

  • Title describes the title of the proposal.

  • Description describes the description of the proposal.

  • Schedule describes the Fee discount schedule.

Proposal/TradingRewardPendingPointsUpdate

TradingRewardPendingPointsUpdateProposal defines an SDK message to update reward points for certain addresses during the vesting period.

Fields description

  • Title describes the title of the proposal.

  • Description describes the description of the proposal.

  • PendingPoolTimestamp describes timestamp of the pending pool.

  • RewardPointUpdates describes the RewardPointUpdate.

Last updated