Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace ParamChanges

Example object:

const changes: ParamChanges = {
   distribution: {
      communitytax: new Dec(0),
      baseproposerreward: new Dec(32),
      bonusproposerreward: new Dec(22),
      withdrawaddrenabled: true,
   },
   staking: {
     UnbondingTime: 33,
     MaxValidators: 9999,
     KeyMaxEntries: 2323,
     BondDenom: 'uluna',
   },
  slashing: {
     MaxEvidenceAge: 234234,
     SignedBlocksWindow: 1,
     MinSignedPerWindow: new Dec(1),
     DowntimeJailDuration: 1,
     SlashFractionDoubleSign: new Dec(100),
     SlashFractionDowntime: new Dec(213.123),
   },
   treasury: {
     taxpolicy: new PolicyConstraints(0, 100, new Coin('unused', 0), 3),
     rewardpolicy: new PolicyConstraints(
       0,
       1023423340,
       new Coin('unused', 0),
       3
     ),
     seigniorageburdentarget: new Dec('2342.234234'),
     miningincrement: new Dec(23423423423.234234234234982),
     windowshort: 50,
     windowlong: 2,
     windowprobation: 30,
   },
   oracle: {
     voteperiod: 345345,
     votethreshold: new Dec('2342.234333'),
     rewardband: new Dec('234343'),
     rewarddistributionwindow: 345345,
     whitelist: ['abc', 'bdc', 'ttt'],
     slashfraction: new Dec(23423.232343),
     slashwindow: 343311,
     minvalidperwindow: new Dec(2342.234234),
   },
   market: {
     poolrecoveryperiod: 234234234,
     basepool: new Dec(232323232),
     minspread: new Dec(343434),
     illiquidtobintaxlist: [{ denom: 'item', tax_rate: new Dec('12301') }],
   },
   gov: {
     depositparams: {
       min_deposit: new Coins({ ukrw: 5, uluna: 2 }),
       max_deposit_period: 30434,
     },
     votingparams: {
       voting_period: 434243234,
     },
     tallyparams: {
       quorum: new Dec(234234.2334),
       threshold: new Dec(23423.2323),
       veto: new Dec(1232.234),
     },
   },
   mint: {
     MintDenom: 'uluna',
     InflationRateChange: "0.000000000000000000",
     InflationMax: "0.200000000000000000",
     InflationMin: "0.070000000000000000",
     GoalBonded: "0.670000000000000000",
     BlocksPerYear: 6311520
   }
 }

Index

Functions

Object literals

Functions

fromData

toData

Object literals

Const ConversionTable

ConversionTable: object