{"version":3,"file":"strike_exposure_config.mjs","names":[],"sources":["../../../src/contracts/deepbook_predict/strike_exposure_config.ts"],"sourcesContent":["/**************************************************************\n * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *\n **************************************************************/\n\n/**\n * Stored strike-exposure policy config.\n *\n * ProtocolConfig owns the current global template. Each StrikeExposure stores a\n * snapshot initialized from that template, so later admin updates do not reprice\n * active markets. Fee policy lives here because fees consume prices but are not\n * themselves contract probability.\n */\n\nimport { MoveStruct } from '../utils/index.js';\nimport { U64 } from '../../bcs/integers.js';\nconst $moduleName = '@local-pkg/deepbook_predict::strike_exposure_config';\nexport const StrikeExposureConfig = new MoveStruct({\n\tname: `${$moduleName}::StrikeExposureConfig`,\n\tfields: {\n\t\t/**\n\t\t * Fraction of the disjoint-book backing gap reserved for early exits. A value of\n\t\t * 1.0 reserves the full gap.\n\t\t */\n\t\tbacking_buffer_lambda: U64,\n\t\t/**\n\t\t * Base fee multiplier for Bernoulli scaling. Effective base fee = base_fee *\n\t\t * sqrt(price * (1 - price)).\n\t\t */\n\t\tbase_fee: U64,\n\t\t/** Minimum per-unit fee floor; live trade fees never go below this value. */\n\t\tmin_fee: U64,\n\t\t/** Minimum raw entry probability allowed for mint admission. */\n\t\tmin_entry_probability: U64,\n\t\t/** Maximum raw entry probability allowed for mint admission. */\n\t\tmax_entry_probability: U64,\n\t\t/** Window before expiry over which trade fees ramp up. */\n\t\texpiry_fee_window_ms: U64,\n\t\t/** Fee multiplier reached at expiry, in FLOAT_SCALING; 1x disables the ramp. */\n\t\texpiry_fee_max_multiplier: U64,\n\t\t/**\n\t\t * Maximum marginal rate of the path-independent inventory-impact curve, in\n\t\t * FLOAT_SCALING. `0` disables both charges and rebates.\n\t\t */\n\t\tinventory_impact_max_rate: U64,\n\t},\n});\n"],"mappings":";;;;;;;;;;;;;;;AAeA,MAAM,cAAc;AACpB,MAAa,uBAAuB,IAAI,WAAW;CAClD,MAAM,GAAG,YAAY;CACrB,QAAQ;EAKP,uBAAuB;EAKvB,UAAU;EAEV,SAAS;EAET,uBAAuB;EAEvB,uBAAuB;EAEvB,sBAAsB;EAEtB,2BAA2B;EAK3B,2BAA2B;EAC3B;CACD,CAAC"}