Params

Params module allows you to query the system parameters which can be governed (except the gov params) by the gov module.

iris query params subspace [subspace] [key] [flags]

Subspace currently supports the following:auth, bank, staking, mint, distribution, slashing, gov, crisis, token, record, htlc, coinswap, service.

Among them, the parameters available for query for each subspace are as follows:

auth

keydescriptiondefault
MaxMemoCharactersMaximum number of characters in the memo field in a transaction256
TxSigLimitMaximum number of signatures per transaction7
TxSizeCostPerByteThe amount of gas consumed per byte of the transaction10
SigVerifyCostED25519Gas spent on edd2519 algorithm signature verification590
SigVerifyCostSecp256k1Gas spent on secp256k1 algorithm signature verification1000

bank

keydescriptiondefault
SendEnabledTokens that support transfer{}
DefaultSendEnabledWhether to enable the transfer function by defaulttrue

staking

keydescriptiondefault
UnbondingTimeMortgage redemption time3w(weeks)
MaxValidatorsMaximum number of validators100
MaxEntriesThe maximum number of unbinding/redelegation orders in progress7
BondDenomBond denomuiris
HistoricalEntriesThe number of historical entries100

mint

keydescriptiondefault
InflationToken issuance frequency0.04
MintDenomDenom of the token mintableuiris

distribution

keydescriptiondefault
communitytaxFees charged for withdrawal0.02
baseproposerrewardThe base reward rate of the block proposer0.01
bonusproposerrewardReward rate for block proposers0.04
withdrawaddrenabledWhether to support setting the withdrawal addresstrue

slashing

keydescriptiondefault
SignedBlocksWindowSliding window for downtime slashing100
MinSignedPerWindowMinimum signature rate in each window0.5
DowntimeJailDurationMaximum downtime (continuous)10m
SlashFractionDoubleSignPenalty coefficient for double sign1/20
SlashFractionDowntimePenalty coefficient for downtime1/100

gov

keydescriptiondefault
depositparamsRelated parameters of the deposit mortgage phasemin_deposit: 10000000uiris; max_deposit_period: 2d(days)
votingparamsRelated parameters of the voting mortgage phasevoting_period: 2d(days)
tallyparamsRelated parameters of the voting tally phasequorum: 0.334; threshold: 0.5; veto_threshold: 0.334

crisis

keydescriptiondefault
ConstantFeeConstant Fee1000uiris

token

keydescriptiondefault
TokenTaxRateBase rate for issuing/mint tokens0.4
IssueTokenBaseFeeBase token for issuing tokens60000 * 10^6 uiris
MintTokenFeeRatioRate for mint tokens0.1

coinswap

keydescriptiondefault
StandardDenomThe name of the token chargeduiris

htlc

keydescriptiondefault
AssetParamsArray of supported assets,[]AssetParamNone

AssetParam参数如下:

keydescriptionExample
AssetParam.DenomThe name of asset"htltbcbnb"
AssetParam.SupplyLimitThe supply limit of asset100000
AssetParam.ActiveAsset state: live or pausedtrue
AssetParam.DeputyAddressDeputy's IRISHub address“iaa18n3x722r4jpwmshlxnw3ehlpfzywupzefthcz5”
AssetParam.FixedFeeDeputy's fixed fee on other chain1000
AssetParam.MinSwapAmountMinimum swap amount1
AssetParam.MaxSwapAmountMaximum swap amount10000
AssetParam.MinBlockLockMinimum swap expire height50
AssetParam.MaxBlockLockMaximum swap expire height25480

service

keydescriptiondefault
MaxRequestTimeoutMaximum service request timeout100(block)
MinDepositMultipleMinimum deposit multiple200
MinDepositMinimum deposit amount6000uiris
ServiceFeeTaxService rate0.1
SlashFractionSlash fraction0.001
ComplaintRetrospectComplaint retrospect15d
ArbitrationTimeLimitArbitration period5d
TxSizeLimitThe maximum number of bytes per service transaction4000
BaseDenomTokens supported by service feesuiris
RestrictedServiceFeeDenomRestricted service fee denomfalse