{"version":3,"file":"ewma_config.mjs","names":[],"sources":["../../../src/contracts/deepbook_predict/ewma_config.ts"],"sourcesContent":["/**************************************************************\n * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *\n **************************************************************/\n\n/**\n * Stored parameters for the gas-price EWMA trade penalty.\n *\n * `ExpiryMarket` holds the evolving `EwmaState`; this config holds the\n * admin-tunable knobs shared by every market. The penalty is disabled by default.\n */\n\nimport { MoveStruct } from '../utils/index.js';\nimport { U64 } from '../../bcs/integers.js';\nimport { bcs } from '@mysten/sui/bcs';\nconst $moduleName = '@local-pkg/deepbook_predict::ewma_config';\nexport const EwmaConfig = new MoveStruct({\n\tname: `${$moduleName}::EwmaConfig`,\n\tfields: {\n\t\t/** Smoothing factor for the gas-price mean and variance; higher reacts faster. */\n\t\talpha: U64,\n\t\t/** Standard deviations above the smoothed mean required before a penalty applies. */\n\t\tz_score_threshold: U64,\n\t\t/** Per-unit fee added to a penalized trade's trading fee. */\n\t\tpenalty_rate: U64,\n\t\t/** Master switch; no penalty applies while false. */\n\t\tenabled: bcs.bool(),\n\t},\n});\n"],"mappings":";;;;;;;;;;;;;;AAcA,MAAM,cAAc;AACpB,MAAa,aAAa,IAAI,WAAW;CACxC,MAAM,GAAG,YAAY;CACrB,QAAQ;EAEP,OAAO;EAEP,mBAAmB;EAEnB,cAAc;EAEd,SAAS,IAAI,MAAM;EACnB;CACD,CAAC"}