New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

augur-ui-react-components

Package Overview
Dependencies
Maintainers
2
Versions
221
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

augur-ui-react-components - npm Package Compare versions

Comparing version 3.0.4 to 3.0.5

2

.c9/metadata/workspace/src/modules/common/components/value-denomination.jsx

@@ -1,1 +0,1 @@

{"filter":false,"title":"value-denomination.jsx","tooltip":"/src/modules/common/components/value-denomination.jsx","undoManager":{"mark":0,"position":0,"stack":[[{"start":{"row":6,"column":0},"end":{"row":7,"column":0},"action":"remove","lines":["\t\ttitle={`${p.title}: ${p.value} ${p.denomination}`}",""],"id":2}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":13,"column":8},"end":{"row":13,"column":8},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":0,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1466637794769,"hash":"5b910f883eff608dc49a059d188ba53729644875"}
{"filter":false,"title":"value-denomination.jsx","tooltip":"/src/modules/common/components/value-denomination.jsx","undoManager":{"mark":0,"position":0,"stack":[[{"start":{"row":6,"column":0},"end":{"row":7,"column":0},"action":"remove","lines":["\t\ttitle={`${p.title}: ${p.value} ${p.denomination}`}",""],"id":2}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":13,"column":8},"end":{"row":13,"column":8},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":34,"mode":"ace/mode/javascript"}},"timestamp":1466637794769,"hash":"5b910f883eff608dc49a059d188ba53729644875"}

@@ -1,1 +0,1 @@

{"filter":false,"title":"selectors.js","tooltip":"/src/selectors.js","undoManager":{"mark":283,"position":283,"stack":[[{"start":{"row":26,"column":0},"end":{"row":31,"column":0},"action":"remove","lines":["selectors.keywords = {","\tvalue: '',","\tonChangeKeywords: () => {}","};","",""],"id":2,"ignore":true},{"start":{"row":53,"column":0},"end":{"row":54,"column":0},"action":"insert","lines":["selectors.keywordsChangeHandler = () => {};",""]},{"start":{"row":155,"column":0},"end":{"row":158,"column":0},"action":"remove","lines":["\t\tlet dayMillis = 24 * 60 * 60 * 1000;","\t\tlet nowMillis = new Date().getTime();","",""]},{"start":{"row":163,"column":0},"end":{"row":183,"column":0},"action":"remove","lines":["\t\t\t\tpriceTimeSeries: [{","\t\t\t\t\tname: \"outcome 1\",","\t\t\t\t\tdata: [","\t\t\t\t\t\t[nowMillis - 50 * dayMillis, 0.3],","\t\t\t\t\t\t[nowMillis - 40 * dayMillis, 0.1],","\t\t\t\t\t\t[nowMillis - 30 * dayMillis, 0.65],","\t\t\t\t\t\t[nowMillis - 20 * dayMillis, 0.93]","\t\t\t\t\t],","\t\t\t\t\tcolor: \"#f00\"","\t\t\t\t},","\t\t\t\t\t{","\t\t\t\t\t\tname: \"outcome 2\",","\t\t\t\t\t\tdata: [","\t\t\t\t\t\t\t[nowMillis - 55 * dayMillis, 0.8],","\t\t\t\t\t\t\t[nowMillis - 45 * dayMillis, 0.7],","\t\t\t\t\t\t\t[nowMillis - 35 * dayMillis, 0.6],","\t\t\t\t\t\t\t[nowMillis - 25 * dayMillis, 0.4]","\t\t\t\t\t\t],","\t\t\t\t\t\tcolor: \"#0f0\"","\t\t\t\t\t}],",""]}],[{"start":{"row":4,"column":17},"end":{"row":5,"column":0},"action":"insert","lines":["",""],"id":3},{"start":{"row":5,"column":0},"end":{"row":5,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":5,"column":0},"end":{"row":5,"column":1},"action":"remove","lines":["\t"],"id":4}],[{"start":{"row":5,"column":0},"end":{"row":6,"column":0},"action":"insert","lines":["",""],"id":5}],[{"start":{"row":0,"column":0},"end":{"row":1,"column":0},"action":"insert","lines":["",""],"id":6}],[{"start":{"row":1,"column":0},"end":{"row":2,"column":0},"action":"insert","lines":["",""],"id":7}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":1},"action":"insert","lines":["i"],"id":8}],[{"start":{"row":0,"column":1},"end":{"row":0,"column":2},"action":"insert","lines":["m"],"id":9}],[{"start":{"row":0,"column":2},"end":{"row":0,"column":3},"action":"insert","lines":["p"],"id":10}],[{"start":{"row":0,"column":3},"end":{"row":0,"column":4},"action":"insert","lines":["o"],"id":11}],[{"start":{"row":0,"column":4},"end":{"row":0,"column":5},"action":"insert","lines":["r"],"id":12}],[{"start":{"row":0,"column":5},"end":{"row":0,"column":6},"action":"insert","lines":["t"],"id":13}],[{"start":{"row":0,"column":6},"end":{"row":0,"column":7},"action":"insert","lines":[" "],"id":14}],[{"start":{"row":0,"column":7},"end":{"row":0,"column":8},"action":"insert","lines":["{"],"id":15}],[{"start":{"row":0,"column":8},"end":{"row":0,"column":9},"action":"insert","lines":[" "],"id":16}],[{"start":{"row":0,"column":9},"end":{"row":0,"column":10},"action":"insert","lines":["l"],"id":17}],[{"start":{"row":0,"column":10},"end":{"row":0,"column":11},"action":"insert","lines":["o"],"id":18}],[{"start":{"row":0,"column":11},"end":{"row":0,"column":12},"action":"insert","lines":["g"],"id":19}],[{"start":{"row":0,"column":12},"end":{"row":0,"column":13},"action":"insert","lines":["i"],"id":20}],[{"start":{"row":0,"column":13},"end":{"row":0,"column":14},"action":"insert","lines":["n"],"id":21}],[{"start":{"row":0,"column":14},"end":{"row":0,"column":15},"action":"insert","lines":["A"],"id":22}],[{"start":{"row":0,"column":15},"end":{"row":0,"column":16},"action":"insert","lines":["c"],"id":23}],[{"start":{"row":0,"column":16},"end":{"row":0,"column":17},"action":"insert","lines":["c"],"id":24}],[{"start":{"row":0,"column":17},"end":{"row":0,"column":18},"action":"insert","lines":["o"],"id":25}],[{"start":{"row":0,"column":18},"end":{"row":0,"column":19},"action":"insert","lines":["u"],"id":26}],[{"start":{"row":0,"column":19},"end":{"row":0,"column":20},"action":"insert","lines":["n"],"id":27}],[{"start":{"row":0,"column":20},"end":{"row":0,"column":21},"action":"insert","lines":["t"],"id":28}],[{"start":{"row":0,"column":21},"end":{"row":0,"column":22},"action":"insert","lines":[" "],"id":29}],[{"start":{"row":0,"column":22},"end":{"row":0,"column":23},"action":"insert","lines":["}"],"id":30}],[{"start":{"row":0,"column":23},"end":{"row":0,"column":24},"action":"insert","lines":[" "],"id":31}],[{"start":{"row":0,"column":24},"end":{"row":0,"column":25},"action":"insert","lines":["f"],"id":32}],[{"start":{"row":0,"column":25},"end":{"row":0,"column":26},"action":"insert","lines":["r"],"id":33}],[{"start":{"row":0,"column":26},"end":{"row":0,"column":27},"action":"insert","lines":["o"],"id":34}],[{"start":{"row":0,"column":27},"end":{"row":0,"column":28},"action":"insert","lines":["m"],"id":35}],[{"start":{"row":0,"column":28},"end":{"row":0,"column":29},"action":"insert","lines":[" "],"id":36}],[{"start":{"row":0,"column":29},"end":{"row":0,"column":62},"action":"insert","lines":["'./modules/site/constants/pages';"],"id":37}],[{"start":{"row":0,"column":32},"end":{"row":0,"column":39},"action":"remove","lines":["modules"],"id":38},{"start":{"row":0,"column":32},"end":{"row":0,"column":33},"action":"insert","lines":["s"]}],[{"start":{"row":0,"column":33},"end":{"row":0,"column":34},"action":"insert","lines":["e"],"id":39}],[{"start":{"row":0,"column":34},"end":{"row":0,"column":35},"action":"insert","lines":["l"],"id":40}],[{"start":{"row":0,"column":35},"end":{"row":0,"column":36},"action":"insert","lines":["e"],"id":41}],[{"start":{"row":0,"column":36},"end":{"row":0,"column":37},"action":"insert","lines":["c"],"id":42}],[{"start":{"row":0,"column":37},"end":{"row":0,"column":38},"action":"insert","lines":["t"],"id":43}],[{"start":{"row":0,"column":38},"end":{"row":0,"column":39},"action":"insert","lines":["o"],"id":44}],[{"start":{"row":0,"column":39},"end":{"row":0,"column":40},"action":"insert","lines":["r"],"id":45}],[{"start":{"row":0,"column":40},"end":{"row":0,"column":41},"action":"insert","lines":["s"],"id":46}],[{"start":{"row":0,"column":42},"end":{"row":0,"column":62},"action":"remove","lines":["site/constants/pages"],"id":47},{"start":{"row":0,"column":42},"end":{"row":0,"column":43},"action":"insert","lines":["l"]}],[{"start":{"row":0,"column":43},"end":{"row":0,"column":44},"action":"insert","lines":["o"],"id":48}],[{"start":{"row":0,"column":44},"end":{"row":0,"column":45},"action":"insert","lines":["g"],"id":49}],[{"start":{"row":0,"column":45},"end":{"row":0,"column":46},"action":"insert","lines":["i"],"id":50}],[{"start":{"row":0,"column":46},"end":{"row":0,"column":47},"action":"insert","lines":["n"],"id":51}],[{"start":{"row":0,"column":47},"end":{"row":0,"column":48},"action":"insert","lines":["-"],"id":52}],[{"start":{"row":0,"column":48},"end":{"row":0,"column":49},"action":"insert","lines":["a"],"id":53}],[{"start":{"row":0,"column":49},"end":{"row":0,"column":50},"action":"insert","lines":["c"],"id":54}],[{"start":{"row":0,"column":50},"end":{"row":0,"column":51},"action":"insert","lines":["c"],"id":55}],[{"start":{"row":0,"column":51},"end":{"row":0,"column":52},"action":"insert","lines":["o"],"id":56}],[{"start":{"row":0,"column":52},"end":{"row":0,"column":53},"action":"insert","lines":["u"],"id":57}],[{"start":{"row":0,"column":53},"end":{"row":0,"column":54},"action":"insert","lines":["n"],"id":58}],[{"start":{"row":0,"column":54},"end":{"row":0,"column":55},"action":"insert","lines":["t"],"id":59}],[{"start":{"row":135,"column":0},"end":{"row":145,"column":1},"action":"remove","lines":["function emptyNumber(denomination) {","\treturn {","\t\tvalue: 0,","\t\tformattedValue: 0,","\t\tformatted: '-',","\t\trounded: '-',","\t\tminimized: '-',","\t\tfull: '-',","\t\tdenomination: denomination || ''","\t};","}"],"id":60}],[{"start":{"row":134,"column":0},"end":{"row":135,"column":0},"action":"remove","lines":["",""],"id":61}],[{"start":{"row":133,"column":1},"end":{"row":134,"column":0},"action":"remove","lines":["",""],"id":62}],[{"start":{"row":7,"column":0},"end":{"row":7,"column":1},"action":"insert","lines":["\t"],"id":63}],[{"start":{"row":7,"column":1},"end":{"row":7,"column":13},"action":"insert","lines":["loginAccount"],"id":64}],[{"start":{"row":7,"column":13},"end":{"row":7,"column":14},"action":"insert","lines":[":"],"id":65}],[{"start":{"row":7,"column":14},"end":{"row":7,"column":15},"action":"insert","lines":[" "],"id":66}],[{"start":{"row":7,"column":14},"end":{"row":7,"column":15},"action":"remove","lines":[" "],"id":67}],[{"start":{"row":7,"column":13},"end":{"row":7,"column":14},"action":"remove","lines":[":"],"id":68}],[{"start":{"row":12,"column":0},"end":{"row":19,"column":0},"action":"remove","lines":["selectors.loginAccount = {","\tid: '123',","\thandle: 'Johnny',","\trep: emptyNumber('rep'),","\tether: emptyNumber('eth'),","\trealEther: emptyNumber('eth')","};",""],"id":69}],[{"start":{"row":12,"column":0},"end":{"row":13,"column":0},"action":"remove","lines":["",""],"id":70}],[{"start":{"row":9,"column":0},"end":{"row":9,"column":1},"action":"insert","lines":["c"],"id":71}],[{"start":{"row":9,"column":1},"end":{"row":9,"column":2},"action":"insert","lines":["o"],"id":72}],[{"start":{"row":9,"column":2},"end":{"row":9,"column":3},"action":"insert","lines":["n"],"id":73}],[{"start":{"row":9,"column":3},"end":{"row":9,"column":4},"action":"insert","lines":["s"],"id":74}],[{"start":{"row":9,"column":4},"end":{"row":9,"column":5},"action":"insert","lines":["o"],"id":75}],[{"start":{"row":9,"column":5},"end":{"row":9,"column":6},"action":"insert","lines":["l"],"id":76}],[{"start":{"row":9,"column":6},"end":{"row":9,"column":7},"action":"insert","lines":["e"],"id":77}],[{"start":{"row":9,"column":7},"end":{"row":9,"column":8},"action":"insert","lines":["."],"id":78}],[{"start":{"row":9,"column":8},"end":{"row":9,"column":9},"action":"insert","lines":["l"],"id":79}],[{"start":{"row":9,"column":9},"end":{"row":9,"column":10},"action":"insert","lines":["o"],"id":80}],[{"start":{"row":9,"column":10},"end":{"row":9,"column":11},"action":"insert","lines":["g"],"id":81}],[{"start":{"row":9,"column":11},"end":{"row":9,"column":12},"action":"insert","lines":["("],"id":82}],[{"start":{"row":9,"column":12},"end":{"row":9,"column":13},"action":"insert","lines":["'"],"id":83}],[{"start":{"row":9,"column":13},"end":{"row":9,"column":14},"action":"insert","lines":["*"],"id":84}],[{"start":{"row":9,"column":14},"end":{"row":9,"column":15},"action":"insert","lines":["*"],"id":85}],[{"start":{"row":9,"column":15},"end":{"row":9,"column":16},"action":"insert","lines":["*"],"id":86}],[{"start":{"row":9,"column":16},"end":{"row":9,"column":17},"action":"insert","lines":["'"],"id":87}],[{"start":{"row":9,"column":17},"end":{"row":9,"column":18},"action":"insert","lines":[","],"id":88}],[{"start":{"row":9,"column":18},"end":{"row":9,"column":19},"action":"insert","lines":[" "],"id":89}],[{"start":{"row":9,"column":19},"end":{"row":9,"column":28},"action":"insert","lines":["selectors"],"id":90}],[{"start":{"row":9,"column":28},"end":{"row":9,"column":29},"action":"insert","lines":[")"],"id":91}],[{"start":{"row":9,"column":29},"end":{"row":9,"column":30},"action":"insert","lines":[";"],"id":92}],[{"start":{"row":0,"column":22},"end":{"row":0,"column":23},"action":"remove","lines":["}"],"id":93}],[{"start":{"row":0,"column":21},"end":{"row":0,"column":22},"action":"remove","lines":[" "],"id":94}],[{"start":{"row":0,"column":8},"end":{"row":0,"column":9},"action":"remove","lines":[" "],"id":95}],[{"start":{"row":0,"column":7},"end":{"row":0,"column":8},"action":"remove","lines":["{"],"id":96}],[{"start":{"row":9,"column":0},"end":{"row":9,"column":30},"action":"remove","lines":["console.log('***', selectors);"],"id":97}],[{"start":{"row":37,"column":0},"end":{"row":37,"column":34},"action":"remove","lines":["selectors.markets = makeMarkets();"],"id":99}],[{"start":{"row":127,"column":0},"end":{"row":290,"column":1},"action":"remove","lines":["function makeMarkets(numMarkets = 20) {","\tvar markets = [],","\t\ttypes = ['binary', 'categorical', 'scalar'],","\t\ti;","","\tfor (i = 0; i < numMarkets; i++) {","\t\tmarkets.push(makeDummyMarket(i));","\t}","","\treturn markets;","","\tfunction makeDummyMarket(index) {","\t\tvar id = index.toString(),","\t\t\tm = {","\t\t\t\tid: id,","\t\t\t\ttype: types[randomInt(0, types.length - 1)],","\t\t\t\tdescription: 'Will the dwerps achieve a mwerp by the end of zwerp ' + (index + 1) + '?',","\t\t\t\tendDate: { formatted: '12/12/2017' },","\t\t\t\ttradingFeePercent: makeNumber(randomInt(1, 10), '%', true),","\t\t\t\tvolume: makeNumber(randomInt(0, 10000), 'Shares', true),","\t\t\t\tisOpen: Math.random() > 0.1,","\t\t\t\tisPendingReport: Math.random() < 0.5,","\t\t\t\tmarketLink: { text: 'Trade', className: 'trade', onClick: () => module.exports.update({ activePage: M, market: m }) },","\t\t\t};","","\t\tm.outcomes = [","\t\t\t{","\t\t\t\tid: '1',","\t\t\t\tname: 'YES',","\t\t\t\tlastPrice: makeNumber(Math.round(Math.random() * 100) / 100, 'eth'),","\t\t\t\tlastPricePercent: makeNumber(randomInt(50, 100), '%'),","\t\t\t\tposition: {","\t\t\t\t\tqtyShares: makeNumber(16898, 'Shares'),","\t\t\t\t\ttotalValue: makeNumber(14877, 'eth'),","\t\t\t\t\tgainPercent: makeNumber(14, '%'),","\t\t\t\t\tpurchasePrice: makeNumber(0.77, 'eth'),","\t\t\t\t\tshareChange: makeNumber(0.107, 'eth'),","\t\t\t\t\ttotalCost: makeNumber(12555, 'eth'),","\t\t\t\t\tnetChange: makeNumber(3344, 'eth')","\t\t\t\t},","\t\t\t\ttrade: {","\t\t\t\t\tnumShares: 0,","\t\t\t\t\tlimitPrice: 0,","\t\t\t\t\ttradeSummary: {","\t\t\t\t\t\ttotalEther: makeNumber(0)","\t\t\t\t\t},","\t\t\t\t\tonChangeTrade: (numShares, limitPrice) => {","\t\t\t\t\t\tlimitPrice = m.outcomes[0].lastPrice.value;","\t\t\t\t\t\tm.outcomes[0].trade.numShares = numShares;","\t\t\t\t\t\tm.outcomes[0].trade.limitPrice = limitPrice;","\t\t\t\t\t\tm.outcomes[0].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);","\t\t\t\t\t\tconsole.log(m.outcomes[0].trade);","\t\t\t\t\t\tselectors.render();","\t\t\t\t\t}","\t\t\t\t}","\t\t\t},","\t\t\t{","\t\t\t\tid: '2',","\t\t\t\tname: 'NO',","\t\t\t\tlastPrice: makeNumber(Math.round(Math.random() * 100) / 100, 'eth'),","\t\t\t\tlastPricePercent: makeNumber(randomInt(20, 50), '%'),","\t\t\t\tposition: {","\t\t\t\t\tqtyShares: makeNumber(455, 'Shares'),","\t\t\t\t\ttotalValue: makeNumber(776, 'eth'),","\t\t\t\t\tgainPercent: makeNumber(-6, '%'),","\t\t\t\t\tpurchasePrice: makeNumber(0.6, 'eth'),","\t\t\t\t\tshareChange: makeNumber(0.5, 'eth'),","\t\t\t\t\ttotalCost: makeNumber(980, 'eth'),","\t\t\t\t\tnetChange: makeNumber(230, 'eth')","\t\t\t\t},","\t\t\t\ttrade: {","\t\t\t\t\tnumShares: 0,","\t\t\t\t\tlimitPrice: 0,","\t\t\t\t\ttradeSummary: {","\t\t\t\t\t\ttotalEther: makeNumber(0)","\t\t\t\t\t},","\t\t\t\t\tonChangeTrade: (numShares, limitPrice) => {","\t\t\t\t\t\tlimitPrice = m.outcomes[0].lastPrice.value;","\t\t\t\t\t\tm.outcomes[1].trade.numShares = numShares;","\t\t\t\t\t\tm.outcomes[1].trade.limitPrice = limitPrice;","\t\t\t\t\t\tm.outcomes[1].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);","\t\t\t\t\t\tselectors.render();","\t\t\t\t\t}","\t\t\t\t}","\t\t\t},","\t\t\t{","\t\t\t\tid: '3',","\t\t\t\tname: 'MAYBE',","\t\t\t\tlastPrice: makeNumber(Math.round(Math.random() * 100) / 100, 'eth'),","\t\t\t\tlastPricePercent: makeNumber(randomInt(0, 30), '%'),","\t\t\t\ttrade: {","\t\t\t\t\tnumShares: 0,","\t\t\t\t\tlimitPrice: 0,","\t\t\t\t\ttradeSummary: {","\t\t\t\t\t\ttotalEther: makeNumber(0)","\t\t\t\t\t},","\t\t\t\t\tonChangeTrade: (numShares, limitPrice) => {","\t\t\t\t\t\tlimitPrice = m.outcomes[0].lastPrice.value;","\t\t\t\t\t\tm.outcomes[2].trade.numShares = numShares;","\t\t\t\t\t\tm.outcomes[2].trade.limitPrice = limitPrice;","\t\t\t\t\t\tm.outcomes[2].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);","\t\t\t\t\t\tselectors.render();","\t\t\t\t\t}","\t\t\t\t}","\t\t\t}","\t\t];","","\t\tm.reportableOutcomes = m.outcomes.slice();","\t\tm.reportableOutcomes.push({ id: '1.5', name: 'indeterminate' });","","\t\t// trade summary","\t\tObject.defineProperty(m, 'tradeSummary', {","\t\t\tget: () => {","\t\t\t\tvar tots = m.outcomes.reduce((p, outcome) => {","\t\t\t\t\t\tvar numShares,","\t\t\t\t\t\t\tlimitPrice,","\t\t\t\t\t\t\tcost;","","\t\t\t\t\t\tif (!outcome.trade || !outcome.trade.numShares) {","\t\t\t\t\t\t\treturn p;","\t\t\t\t\t\t}","","\t\t\t\t\t\tnumShares = outcome.trade.numShares;","\t\t\t\t\t\tlimitPrice = outcome.trade.limitPrice || 0;","\t\t\t\t\t\tcost = numShares * limitPrice;","","\t\t\t\t\t\tp.tradeOrders.push({ type: BUY_SHARES, shares: makeNumber(numShares), ether: makeNumber(cost), data: { outcomeName: 'MAYBE', marketDescription: m.description } });","\t\t\t\t\t\tp.totalShares += numShares;","\t\t\t\t\t\tp.totalEther += cost;","\t\t\t\t\t\treturn p;","\t\t\t\t\t}, { totalShares: 0, totalEther: 0, totalFees: 0, totalGas: 0, tradeOrders: [] });","","\t\t\t\ttots.totalShares = makeNumber(tots.totalShares);","\t\t\t\ttots.totalEther = makeNumber(tots.totalEther);","\t\t\t\ttots.totalFees = makeNumber(tots.totalFees);","\t\t\t\ttots.totalGas = makeNumber(tots.totalGas);","\t\t\t\ttots.onSubmitPlaceTrade = () => {};","","\t\t\t\treturn tots;","\t\t\t},","\t\t\tenumerable: true","\t\t});","","\t\t// positions summary","\t\tm.positionsSummary = {","\t\t\tnumPositions: makeNumber(3, 'Positions', true),","\t\t\ttotalValue: makeNumber(985, 'eth'),","\t\t\tgainPercent: makeNumber(15, '%')","\t\t};","","\t\t// report","\t\tm.report = {","\t\t\tisUnethical: true,","\t\t\tonSubmitReport: (reportedOutcomeID, isUnethical) => {}","\t\t};","","\t\treturn m;","\t}","}","","","function randomInt(min, max) {","\treturn Math.floor(Math.random() * (max - min + 1)) + min;","}"],"id":101}],[{"start":{"row":100,"column":0},"end":{"row":126,"column":0},"action":"remove","lines":["function makeNumber(num, denomination, omitSign) {","\tvar o = {","\t\tvalue: num,","","\t\tformattedValue: num,","\t\tformatted: num.toString(),","","\t\troundedValue: num,","\t\trounded: num.toString(),","","\t\tminimized: num.toString(),","\t\tdenomination: denomination || ''","\t};","","\tif (!omitSign) {"," if (o.value > 0) {"," o.formatted = '+' + o.formatted;"," o.rounded = '+' + o.rounded;"," o.minimized = '+' + o.minimized;"," }","\t}","","\to.full = o.formatted + o.denomination;","","\treturn o;","}",""],"id":102}],[{"start":{"row":1,"column":0},"end":{"row":2,"column":0},"action":"insert","lines":["",""],"id":103}],[{"start":{"row":2,"column":0},"end":{"row":2,"column":1},"action":"insert","lines":["i"],"id":104}],[{"start":{"row":2,"column":1},"end":{"row":2,"column":2},"action":"insert","lines":["m"],"id":105}],[{"start":{"row":2,"column":2},"end":{"row":2,"column":3},"action":"insert","lines":["p"],"id":106}],[{"start":{"row":2,"column":3},"end":{"row":2,"column":4},"action":"insert","lines":["o"],"id":107}],[{"start":{"row":2,"column":4},"end":{"row":2,"column":5},"action":"insert","lines":["r"],"id":108}],[{"start":{"row":2,"column":5},"end":{"row":2,"column":6},"action":"insert","lines":["t"],"id":109}],[{"start":{"row":2,"column":6},"end":{"row":2,"column":7},"action":"insert","lines":[" "],"id":110}],[{"start":{"row":2,"column":7},"end":{"row":2,"column":17},"action":"insert","lines":["makeNumber"],"id":111}],[{"start":{"row":2,"column":17},"end":{"row":2,"column":18},"action":"insert","lines":[" "],"id":112}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["f"],"id":113}],[{"start":{"row":2,"column":19},"end":{"row":2,"column":20},"action":"insert","lines":["r"],"id":114}],[{"start":{"row":2,"column":20},"end":{"row":2,"column":21},"action":"insert","lines":["o"],"id":115}],[{"start":{"row":2,"column":21},"end":{"row":2,"column":22},"action":"insert","lines":["m"],"id":116}],[{"start":{"row":2,"column":22},"end":{"row":2,"column":23},"action":"insert","lines":[" "],"id":117}],[{"start":{"row":2,"column":23},"end":{"row":2,"column":24},"action":"insert","lines":["'"],"id":118}],[{"start":{"row":2,"column":24},"end":{"row":2,"column":25},"action":"insert","lines":["'"],"id":119}],[{"start":{"row":2,"column":25},"end":{"row":2,"column":26},"action":"insert","lines":[";"],"id":120}],[{"start":{"row":2,"column":26},"end":{"row":3,"column":0},"action":"insert","lines":["",""],"id":121}],[{"start":{"row":2,"column":0},"end":{"row":2,"column":26},"action":"remove","lines":["import makeNumber from '';"],"id":122},{"start":{"row":2,"column":0},"end":{"row":2,"column":52},"action":"insert","lines":["import { emptyNumber } from '../utils/empty-number';"]}],[{"start":{"row":2,"column":9},"end":{"row":2,"column":20},"action":"remove","lines":["emptyNumber"],"id":123},{"start":{"row":2,"column":9},"end":{"row":2,"column":19},"action":"insert","lines":["makeNumber"]}],[{"start":{"row":2,"column":37},"end":{"row":2,"column":42},"action":"remove","lines":["empty"],"id":124},{"start":{"row":2,"column":37},"end":{"row":2,"column":38},"action":"insert","lines":["m"]}],[{"start":{"row":2,"column":38},"end":{"row":2,"column":39},"action":"insert","lines":["a"],"id":125}],[{"start":{"row":2,"column":39},"end":{"row":2,"column":40},"action":"insert","lines":["k"],"id":126}],[{"start":{"row":2,"column":40},"end":{"row":2,"column":41},"action":"insert","lines":["e"],"id":127}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":53},"action":"remove","lines":["import loginAccount from './selectors/login-account';"],"id":128},{"start":{"row":0,"column":0},"end":{"row":0,"column":53},"action":"insert","lines":["import loginAccount from './selectors/login-account';"]}],[{"start":{"row":0,"column":53},"end":{"row":1,"column":0},"action":"insert","lines":["",""],"id":129}],[{"start":{"row":1,"column":0},"end":{"row":1,"column":53},"action":"insert","lines":["import loginAccount from './selectors/login-account';"],"id":130}],[{"start":{"row":1,"column":7},"end":{"row":1,"column":19},"action":"remove","lines":["loginAccount"],"id":131},{"start":{"row":1,"column":7},"end":{"row":1,"column":8},"action":"insert","lines":["m"]}],[{"start":{"row":1,"column":8},"end":{"row":1,"column":9},"action":"insert","lines":["a"],"id":132}],[{"start":{"row":1,"column":9},"end":{"row":1,"column":10},"action":"insert","lines":["r"],"id":133}],[{"start":{"row":1,"column":10},"end":{"row":1,"column":11},"action":"insert","lines":["k"],"id":134}],[{"start":{"row":1,"column":11},"end":{"row":1,"column":12},"action":"insert","lines":["e"],"id":135}],[{"start":{"row":1,"column":12},"end":{"row":1,"column":13},"action":"insert","lines":["t"],"id":136}],[{"start":{"row":1,"column":13},"end":{"row":1,"column":14},"action":"insert","lines":["s"],"id":137}],[{"start":{"row":1,"column":33},"end":{"row":1,"column":46},"action":"remove","lines":["login-account"],"id":138},{"start":{"row":1,"column":33},"end":{"row":1,"column":40},"action":"insert","lines":["markets"]}],[{"start":{"row":10,"column":13},"end":{"row":10,"column":14},"action":"insert","lines":[","],"id":139}],[{"start":{"row":10,"column":14},"end":{"row":11,"column":0},"action":"insert","lines":["",""],"id":140},{"start":{"row":11,"column":0},"end":{"row":11,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":11,"column":1},"end":{"row":11,"column":8},"action":"insert","lines":["markets"],"id":141}],[{"start":{"row":96,"column":0},"end":{"row":100,"column":2},"action":"remove","lines":["selectors.update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","};"],"id":142}],[{"start":{"row":96,"column":0},"end":{"row":97,"column":0},"action":"remove","lines":["",""],"id":143}],[{"start":{"row":93,"column":0},"end":{"row":94,"column":0},"action":"remove","lines":["",""],"id":144}],[{"start":{"row":93,"column":0},"end":{"row":94,"column":0},"action":"remove","lines":["",""],"id":145}],[{"start":{"row":93,"column":0},"end":{"row":94,"column":0},"action":"remove","lines":["",""],"id":146}],[{"start":{"row":8,"column":0},"end":{"row":9,"column":0},"action":"insert","lines":["",""],"id":147}],[{"start":{"row":9,"column":0},"end":{"row":13,"column":2},"action":"insert","lines":["selectors.update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","};"],"id":148}],[{"start":{"row":13,"column":2},"end":{"row":14,"column":0},"action":"insert","lines":["",""],"id":149}],[{"start":{"row":15,"column":17},"end":{"row":16,"column":0},"action":"insert","lines":["",""],"id":150},{"start":{"row":16,"column":0},"end":{"row":16,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":16,"column":0},"end":{"row":20,"column":1},"action":"insert","lines":["update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","}"],"id":151}],[{"start":{"row":16,"column":0},"end":{"row":16,"column":1},"action":"insert","lines":["\t"],"id":152},{"start":{"row":17,"column":0},"end":{"row":17,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":18,"column":0},"end":{"row":18,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":19,"column":0},"end":{"row":19,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":20,"column":0},"end":{"row":20,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":20,"column":2},"end":{"row":20,"column":3},"action":"remove","lines":["\t"],"id":153}],[{"start":{"row":20,"column":2},"end":{"row":20,"column":3},"action":"insert","lines":[","],"id":154}],[{"start":{"row":16,"column":7},"end":{"row":16,"column":8},"action":"insert","lines":[":"],"id":155}],[{"start":{"row":16,"column":8},"end":{"row":16,"column":9},"action":"remove","lines":[" "],"id":156}],[{"start":{"row":16,"column":8},"end":{"row":16,"column":9},"action":"remove","lines":["="],"id":157}],[{"start":{"row":16,"column":9},"end":{"row":16,"column":17},"action":"remove","lines":["function"],"id":158}],[{"start":{"row":16,"column":20},"end":{"row":16,"column":21},"action":"insert","lines":["="],"id":159}],[{"start":{"row":16,"column":21},"end":{"row":16,"column":22},"action":"insert","lines":[">"],"id":160}],[{"start":{"row":16,"column":22},"end":{"row":16,"column":23},"action":"insert","lines":[" "],"id":161}],[{"start":{"row":16,"column":18},"end":{"row":16,"column":19},"action":"insert","lines":[" "],"id":162}],[{"start":{"row":16,"column":19},"end":{"row":16,"column":20},"action":"insert","lines":["="],"id":163}],[{"start":{"row":16,"column":20},"end":{"row":16,"column":21},"action":"insert","lines":[" "],"id":164}],[{"start":{"row":16,"column":21},"end":{"row":16,"column":22},"action":"insert","lines":["{"],"id":165}],[{"start":{"row":16,"column":22},"end":{"row":16,"column":23},"action":"insert","lines":["}"],"id":166}],[{"start":{"row":3,"column":28},"end":{"row":3,"column":29},"action":"remove","lines":["."],"id":167}],[{"start":{"row":9,"column":0},"end":{"row":13,"column":2},"action":"remove","lines":["selectors.update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","};"],"id":168}],[{"start":{"row":9,"column":0},"end":{"row":10,"column":0},"action":"remove","lines":["",""],"id":169}],[{"start":{"row":9,"column":0},"end":{"row":10,"column":0},"action":"remove","lines":["",""],"id":170}],[{"start":{"row":7,"column":0},"end":{"row":7,"column":135},"action":"remove","lines":["import { CREATE_MARKET, BUY_SHARES, SELL_SHARES, BID_SHARES, ASK_SHARES, SUBMIT_REPORT } from './modules/transactions/constants/types';"],"id":171}],[{"start":{"row":7,"column":0},"end":{"row":8,"column":0},"action":"remove","lines":["",""],"id":172}],[{"start":{"row":57,"column":18},"end":{"row":57,"column":19},"action":"insert","lines":[" "],"id":173}],[{"start":{"row":57,"column":19},"end":{"row":57,"column":20},"action":"insert","lines":["="],"id":174}],[{"start":{"row":57,"column":20},"end":{"row":57,"column":21},"action":"insert","lines":[" "],"id":175}],[{"start":{"row":57,"column":21},"end":{"row":57,"column":22},"action":"insert","lines":["{"],"id":176}],[{"start":{"row":57,"column":22},"end":{"row":58,"column":0},"action":"insert","lines":["",""],"id":177},{"start":{"row":58,"column":0},"end":{"row":58,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":58,"column":26},"end":{"row":59,"column":0},"action":"insert","lines":["",""],"id":178},{"start":{"row":59,"column":0},"end":{"row":59,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":59,"column":1},"end":{"row":59,"column":2},"action":"insert","lines":["}"],"id":179}],[{"start":{"row":59,"column":0},"end":{"row":59,"column":1},"action":"remove","lines":["\t"],"id":180}],[{"start":{"row":57,"column":22},"end":{"row":58,"column":0},"action":"insert","lines":["",""],"id":181},{"start":{"row":58,"column":0},"end":{"row":58,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":58,"column":1},"end":{"row":58,"column":2},"action":"insert","lines":["v"],"id":182}],[{"start":{"row":58,"column":2},"end":{"row":58,"column":3},"action":"insert","lines":["a"],"id":183}],[{"start":{"row":58,"column":3},"end":{"row":58,"column":4},"action":"insert","lines":["l"],"id":184}],[{"start":{"row":58,"column":4},"end":{"row":58,"column":5},"action":"insert","lines":["u"],"id":185}],[{"start":{"row":58,"column":5},"end":{"row":58,"column":6},"action":"insert","lines":["e"],"id":186}],[{"start":{"row":58,"column":6},"end":{"row":58,"column":7},"action":"insert","lines":[":"],"id":187}],[{"start":{"row":58,"column":7},"end":{"row":58,"column":8},"action":"insert","lines":[" "],"id":188}],[{"start":{"row":58,"column":8},"end":{"row":58,"column":9},"action":"insert","lines":["'"],"id":189}],[{"start":{"row":58,"column":9},"end":{"row":58,"column":10},"action":"insert","lines":["'"],"id":190}],[{"start":{"row":58,"column":10},"end":{"row":58,"column":11},"action":"insert","lines":[","],"id":191}],[{"start":{"row":59,"column":1},"end":{"row":59,"column":14},"action":"remove","lines":["ChangeHandler"],"id":192},{"start":{"row":59,"column":1},"end":{"row":59,"column":17},"action":"insert","lines":["onChangeKeywords"]}],[{"start":{"row":59,"column":20},"end":{"row":59,"column":21},"action":"remove","lines":[" "],"id":193}],[{"start":{"row":59,"column":19},"end":{"row":59,"column":20},"action":"remove","lines":[" "],"id":194}],[{"start":{"row":59,"column":18},"end":{"row":59,"column":19},"action":"remove","lines":["="],"id":195}],[{"start":{"row":59,"column":17},"end":{"row":59,"column":18},"action":"remove","lines":[" "],"id":196}],[{"start":{"row":59,"column":17},"end":{"row":59,"column":18},"action":"insert","lines":[":"],"id":197}],[{"start":{"row":59,"column":18},"end":{"row":59,"column":19},"action":"insert","lines":[" "],"id":198}],[{"start":{"row":30,"column":0},"end":{"row":35,"column":0},"action":"insert","lines":["selectors.keywords = {","\tvalue: '',","\tonChangeKeywords: () => {}","};","",""],"id":199,"ignore":true}],[{"start":{"row":1,"column":0},"end":{"row":1,"column":42},"action":"remove","lines":["import markets from './selectors/markets';"],"id":200},{"start":{"row":1,"column":0},"end":{"row":1,"column":42},"action":"insert","lines":["import markets from './selectors/markets';"]}],[{"start":{"row":1,"column":42},"end":{"row":2,"column":0},"action":"insert","lines":["",""],"id":201}],[{"start":{"row":2,"column":0},"end":{"row":2,"column":42},"action":"insert","lines":["import markets from './selectors/markets';"],"id":202}],[{"start":{"row":2,"column":7},"end":{"row":2,"column":14},"action":"remove","lines":["markets"],"id":203},{"start":{"row":2,"column":7},"end":{"row":2,"column":8},"action":"insert","lines":["t"]}],[{"start":{"row":2,"column":8},"end":{"row":2,"column":9},"action":"insert","lines":["a"],"id":204}],[{"start":{"row":2,"column":9},"end":{"row":2,"column":10},"action":"insert","lines":["g"],"id":205}],[{"start":{"row":2,"column":10},"end":{"row":2,"column":11},"action":"insert","lines":["s"],"id":206}],[{"start":{"row":2,"column":30},"end":{"row":2,"column":37},"action":"remove","lines":["markets"],"id":207},{"start":{"row":2,"column":30},"end":{"row":2,"column":31},"action":"insert","lines":["t"]}],[{"start":{"row":2,"column":31},"end":{"row":2,"column":32},"action":"insert","lines":["a"],"id":208}],[{"start":{"row":2,"column":32},"end":{"row":2,"column":33},"action":"insert","lines":["g"],"id":209}],[{"start":{"row":2,"column":33},"end":{"row":2,"column":34},"action":"insert","lines":["s"],"id":210}],[{"start":{"row":16,"column":8},"end":{"row":16,"column":9},"action":"insert","lines":[","],"id":211}],[{"start":{"row":16,"column":9},"end":{"row":17,"column":0},"action":"insert","lines":["",""],"id":212},{"start":{"row":17,"column":0},"end":{"row":17,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":17,"column":1},"end":{"row":17,"column":5},"action":"insert","lines":["tags"],"id":213}],[{"start":{"row":63,"column":0},"end":{"row":64,"column":0},"action":"remove","lines":["selectors.filtersProps = {};",""],"id":214}],[{"start":{"row":2,"column":7},"end":{"row":2,"column":11},"action":"remove","lines":["tags"],"id":215},{"start":{"row":2,"column":7},"end":{"row":2,"column":8},"action":"insert","lines":["f"]}],[{"start":{"row":2,"column":8},"end":{"row":2,"column":9},"action":"insert","lines":["i"],"id":216}],[{"start":{"row":2,"column":9},"end":{"row":2,"column":10},"action":"insert","lines":["l"],"id":217}],[{"start":{"row":2,"column":10},"end":{"row":2,"column":11},"action":"insert","lines":["t"],"id":218}],[{"start":{"row":2,"column":11},"end":{"row":2,"column":12},"action":"insert","lines":["e"],"id":219}],[{"start":{"row":2,"column":12},"end":{"row":2,"column":13},"action":"insert","lines":["r"],"id":220}],[{"start":{"row":2,"column":13},"end":{"row":2,"column":14},"action":"insert","lines":["s"],"id":221}],[{"start":{"row":2,"column":33},"end":{"row":2,"column":37},"action":"remove","lines":["tags"],"id":222},{"start":{"row":2,"column":33},"end":{"row":2,"column":40},"action":"insert","lines":["filters"]}],[{"start":{"row":17,"column":1},"end":{"row":17,"column":5},"action":"remove","lines":["tags"],"id":223},{"start":{"row":17,"column":1},"end":{"row":17,"column":8},"action":"insert","lines":["filters"]}],[{"start":{"row":9,"column":0},"end":{"row":17,"column":0},"action":"insert","lines":["import {","\tINITIAL_FAIR_PRICE_DEFAULT,","\tSHARES_PER_ORDER_DEFAULT,","\tSIZE_OF_BEST_DEFAULT,","\tPRICE_WIDTH_DEFAULT,","\tSEPARATION_DEFAULT","} from './modules/create-market/constants/market-values-constraints'","",""],"id":243,"ignore":true},{"start":{"row":113,"column":31},"end":{"row":134,"column":0},"action":"insert","lines":["","\tonValuesUpdated: (newValues) => module.exports.update({","\t\tcreateMarketForm: {","\t\t\t...selectors.createMarketForm,","\t\t\t...newValues","\t\t}","\t}),","","\tstep: 1,","\terrors: {},","","\tisValid: true,","","\t// Advanced Market Creation","\tdefaultFairPrice: INITIAL_FAIR_PRICE_DEFAULT,","","\tinitialFairPrice: [],","\tsharesPerOrder: SHARES_PER_ORDER_DEFAULT,","\tsizeOfBest: SIZE_OF_BEST_DEFAULT,","\tpriceWidth: PRICE_WIDTH_DEFAULT,","\tseparation: SEPARATION_DEFAULT",""]}],[{"start":{"row":9,"column":0},"end":{"row":17,"column":0},"action":"remove","lines":["import {","\tINITIAL_FAIR_PRICE_DEFAULT,","\tSHARES_PER_ORDER_DEFAULT,","\tSIZE_OF_BEST_DEFAULT,","\tPRICE_WIDTH_DEFAULT,","\tSEPARATION_DEFAULT","} from './modules/create-market/constants/market-values-constraints'","",""],"id":244,"ignore":true},{"start":{"row":105,"column":31},"end":{"row":126,"column":0},"action":"remove","lines":["","\tonValuesUpdated: (newValues) => module.exports.update({","\t\tcreateMarketForm: {","\t\t\t...selectors.createMarketForm,","\t\t\t...newValues","\t\t}","\t}),","","\tstep: 1,","\terrors: {},","","\tisValid: true,","","\t// Advanced Market Creation","\tdefaultFairPrice: INITIAL_FAIR_PRICE_DEFAULT,","","\tinitialFairPrice: [],","\tsharesPerOrder: SHARES_PER_ORDER_DEFAULT,","\tsizeOfBest: SIZE_OF_BEST_DEFAULT,","\tpriceWidth: PRICE_WIDTH_DEFAULT,","\tseparation: SEPARATION_DEFAULT",""]},{"start":{"row":108,"column":0},"end":{"row":110,"column":0},"action":"remove","lines":["","",""]}],[{"start":{"row":3,"column":0},"end":{"row":4,"column":0},"action":"remove","lines":["",""],"id":245,"ignore":true},{"start":{"row":3,"column":0},"end":{"row":5,"column":3},"action":"insert","lines":["import createMarketForm from './selectors/create-market-form';","","// "]},{"start":{"row":8,"column":9},"end":{"row":8,"column":32},"action":"remove","lines":["REGISTER, LOGIN, LOGOUT"]},{"start":{"row":8,"column":9},"end":{"row":8,"column":14},"action":"insert","lines":["LOGIN"]},{"start":{"row":10,"column":0},"end":{"row":10,"column":3},"action":"remove","lines":["var"]},{"start":{"row":10,"column":0},"end":{"row":18,"column":5},"action":"insert","lines":["// import {","// \tINITIAL_FAIR_PRICE_DEFAULT,","// \tSHARES_PER_ORDER_DEFAULT,","// \tSIZE_OF_BEST_DEFAULT,","// \tPRICE_WIDTH_DEFAULT,","// \tSEPARATION_DEFAULT","// } from './modules/create-market/constants/market-values-constraints';","","const"]},{"start":{"row":21,"column":53},"end":{"row":21,"column":69},"action":"remove","lines":[" = newState[key]"]},{"start":{"row":26,"column":8},"end":{"row":27,"column":17},"action":"insert","lines":[",","\tcreateMarketForm"]},{"start":{"row":47,"column":22},"end":{"row":47,"column":67},"action":"insert","lines":[" closeLink: { href: '/', onClick: () => {} } "]},{"start":{"row":49,"column":24},"end":{"row":49,"column":25},"action":"remove","lines":[" "]},{"start":{"row":50,"column":30},"end":{"row":50,"column":31},"action":"remove","lines":[" "]},{"start":{"row":53,"column":33},"end":{"row":53,"column":34},"action":"remove","lines":[" "]},{"start":{"row":61,"column":25},"end":{"row":61,"column":26},"action":"remove","lines":[" "]},{"start":{"row":63,"column":18},"end":{"row":63,"column":19},"action":"remove","lines":[" "]},{"start":{"row":64,"column":0},"end":{"row":76,"column":0},"action":"insert","lines":["selectors.sideOptions = [{ value: 'bid', label: 'Buy' }, { value: 'ask', label: 'Sell' }];","selectors.selectedOutcome = {","\tupdateSelectedOutcome: (selectedOutcomeID) => {","\t\tmodule.exports.update({","\t\t\tselectedOutcome: {","\t\t\t\t...selectors.selectedOutcome,","\t\t\t\tselectedOutcomeID: selectors.selectedOutcome.selectedOutcomeID !== selectedOutcomeID ? selectedOutcomeID : null","\t\t\t}","\t\t});","\t},","\tselectedOutcomeID: null","};",""]},{"start":{"row":77,"column":20},"end":{"row":78,"column":2},"action":"remove","lines":["","\t\t"]},{"start":{"row":77,"column":20},"end":{"row":77,"column":21},"action":"insert","lines":[" "]},{"start":{"row":77,"column":34},"end":{"row":81,"column":22},"action":"remove","lines":[" makeNumber(3, 'Positions', true),","\t\ttotalValue: makeNumber(985, 'eth'),","\t\tgainPercent: makeNumber(15, '%')","\t},","\tnumPendingReports: 19"]},{"start":{"row":77,"column":34},"end":{"row":154,"column":16},"action":"insert","lines":[""," { value: 100,"," formattedValue: 100,"," formatted: '100',"," roundedValue: 100,"," rounded: '100',"," minimized: '100',"," denomination: 'Positions',"," full: '100Positions' },"," qtyShares:"," { value: 500,"," formattedValue: 500,"," formatted: '500',"," roundedValue: 500,"," rounded: '500',"," minimized: '500',"," denomination: 'Shares',"," full: '500Shares' },"," purchasePrice:"," { value: 20,"," formattedValue: 20,"," formatted: '+20.00',"," roundedValue: 20,"," rounded: '+20.0',"," minimized: '+20',"," denomination: 'Eth',"," full: '+20.00Eth' },"," totalValue:"," { value: 1000,"," formattedValue: 1000,"," formatted: '+1,000.00',"," roundedValue: 1000,"," rounded: '+1,000.0',"," minimized: '+1,000',"," denomination: 'Eth',"," full: '+1,000.00Eth' },"," totalCost:"," { value: 10000,"," formattedValue: 10000,"," formatted: '+10,000.00',"," roundedValue: 10000,"," rounded: '+10,000.0',"," minimized: '+10,000',"," denomination: 'Eth',"," full: '+10,000.00Eth' },"," shareChange:"," { value: -18,"," formattedValue: -18,"," formatted: '-18.00',"," roundedValue: -18,"," rounded: '-18.0',"," minimized: '-18',"," denomination: 'Eth',"," full: '-18.00Eth' },"," gainPercent:"," { value: -90,"," formattedValue: -90,"," formatted: '-90.0',"," roundedValue: -90,"," rounded: '-90',"," minimized: '-90',"," denomination: '%',"," full: '-90.0%' },"," netChange:"," { value: -9000,"," formattedValue: -9000,"," formatted: '-9,000.00',"," roundedValue: -9000,"," rounded: '-9,000.0',"," minimized: '-9,000',"," denomination: 'Eth',"," full: '-9,000.00Eth' },","\tpositions: 50 },","\tnumAll: 6,","\tnumFavorites: 4,","\tnumPendingReports: 3,","\tnumUnpaginated: 7,","\tnumFiltered: 7,"]},{"start":{"row":162,"column":0},"end":{"row":163,"column":0},"action":"insert","lines":["\tlet isDescending = isDesc;",""]},{"start":{"row":164,"column":8},"end":{"row":164,"column":14},"action":"insert","lines":["ending"]},{"start":{"row":171,"column":10},"end":{"row":171,"column":24},"action":"insert","lines":[": isDescending"]},{"start":{"row":176,"column":0},"end":{"row":176,"column":59},"action":"insert","lines":["selectors.searchSort.onChangeSort = selectors.onChangeSort;"]},{"start":{"row":200,"column":0},"end":{"row":202,"column":0},"action":"remove","lines":["selectors.createMarketForm = {};","",""]}],[{"start":{"row":4,"column":0},"end":{"row":7,"column":0},"action":"remove","lines":["","// import { makeNumber } from './utils/make-number';","",""],"id":246,"ignore":true},{"start":{"row":7,"column":0},"end":{"row":15,"column":0},"action":"remove","lines":["// import {","// \tINITIAL_FAIR_PRICE_DEFAULT,","// \tSHARES_PER_ORDER_DEFAULT,","// \tSIZE_OF_BEST_DEFAULT,","// \tPRICE_WIDTH_DEFAULT,","// \tSEPARATION_DEFAULT","// } from './modules/create-market/constants/market-values-constraints';","",""]},{"start":{"row":10,"column":39},"end":{"row":11,"column":3},"action":"insert","lines":["{","\t\t\t"]},{"start":{"row":11,"column":17},"end":{"row":12,"column":3},"action":"insert","lines":[" = newState[key];","\t\t}"]}],[{"start":{"row":148,"column":0},"end":{"row":151,"column":2},"action":"remove","lines":["selectors.keywords = {","\tvalue: '',","\tonChangeKeywords: () => {}","};"],"id":247}],[{"start":{"row":33,"column":0},"end":{"row":36,"column":2},"action":"remove","lines":["selectors.keywords = {","\tvalue: '',","\tonChangeKeywords: () => {}","};"],"id":248}],[{"start":{"row":32,"column":0},"end":{"row":33,"column":0},"action":"remove","lines":["",""],"id":249}],[{"start":{"row":31,"column":2},"end":{"row":32,"column":0},"action":"remove","lines":["",""],"id":250}],[{"start":{"row":3,"column":0},"end":{"row":3,"column":62},"action":"remove","lines":["import createMarketForm from './selectors/create-market-form';"],"id":251},{"start":{"row":3,"column":0},"end":{"row":3,"column":62},"action":"insert","lines":["import createMarketForm from './selectors/create-market-form';"]}],[{"start":{"row":3,"column":62},"end":{"row":4,"column":0},"action":"insert","lines":["",""],"id":252}],[{"start":{"row":4,"column":0},"end":{"row":4,"column":62},"action":"insert","lines":["import createMarketForm from './selectors/create-market-form';"],"id":253}],[{"start":{"row":4,"column":62},"end":{"row":5,"column":0},"action":"insert","lines":["",""],"id":254}],[{"start":{"row":4,"column":7},"end":{"row":4,"column":23},"action":"remove","lines":["createMarketForm"],"id":255},{"start":{"row":4,"column":7},"end":{"row":4,"column":8},"action":"insert","lines":["k"]}],[{"start":{"row":4,"column":8},"end":{"row":4,"column":9},"action":"insert","lines":["e"],"id":256}],[{"start":{"row":4,"column":9},"end":{"row":4,"column":10},"action":"insert","lines":["y"],"id":257}],[{"start":{"row":4,"column":10},"end":{"row":4,"column":11},"action":"insert","lines":["w"],"id":258}],[{"start":{"row":4,"column":11},"end":{"row":4,"column":12},"action":"insert","lines":["o"],"id":259}],[{"start":{"row":4,"column":12},"end":{"row":4,"column":13},"action":"insert","lines":["r"],"id":260}],[{"start":{"row":4,"column":13},"end":{"row":4,"column":14},"action":"insert","lines":["d"],"id":261}],[{"start":{"row":4,"column":14},"end":{"row":4,"column":15},"action":"insert","lines":["s"],"id":262}],[{"start":{"row":4,"column":34},"end":{"row":4,"column":52},"action":"remove","lines":["create-market-form"],"id":263},{"start":{"row":4,"column":34},"end":{"row":4,"column":42},"action":"insert","lines":["keywords"]}],[{"start":{"row":4,"column":0},"end":{"row":5,"column":0},"action":"remove","lines":["import keywords from './selectors/keywords';",""],"id":267},{"start":{"row":3,"column":0},"end":{"row":4,"column":0},"action":"insert","lines":["import keywords from './selectors/keywords';",""]}],[{"start":{"row":3,"column":0},"end":{"row":4,"column":0},"action":"remove","lines":["import keywords from './selectors/keywords';",""],"id":268},{"start":{"row":2,"column":0},"end":{"row":3,"column":0},"action":"insert","lines":["import keywords from './selectors/keywords';",""]}],[{"start":{"row":18,"column":9},"end":{"row":19,"column":0},"action":"insert","lines":["",""],"id":269},{"start":{"row":19,"column":0},"end":{"row":19,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":19,"column":1},"end":{"row":19,"column":2},"action":"insert","lines":["k"],"id":270}],[{"start":{"row":19,"column":2},"end":{"row":19,"column":3},"action":"insert","lines":["e"],"id":271}],[{"start":{"row":19,"column":3},"end":{"row":19,"column":4},"action":"insert","lines":["y"],"id":272}],[{"start":{"row":19,"column":4},"end":{"row":19,"column":5},"action":"insert","lines":["w"],"id":273}],[{"start":{"row":19,"column":5},"end":{"row":19,"column":6},"action":"insert","lines":["o"],"id":274}],[{"start":{"row":19,"column":6},"end":{"row":19,"column":7},"action":"insert","lines":["r"],"id":275}],[{"start":{"row":19,"column":7},"end":{"row":19,"column":8},"action":"insert","lines":["d"],"id":276}],[{"start":{"row":19,"column":8},"end":{"row":19,"column":9},"action":"insert","lines":["s"],"id":277}],[{"start":{"row":19,"column":9},"end":{"row":19,"column":10},"action":"insert","lines":[","],"id":278}],[{"start":{"row":47,"column":117},"end":{"row":47,"column":128},"action":"remove","lines":["Description"],"id":279},{"start":{"row":47,"column":117},"end":{"row":47,"column":118},"action":"insert","lines":["L"]}],[{"start":{"row":47,"column":118},"end":{"row":47,"column":119},"action":"insert","lines":["o"],"id":280}],[{"start":{"row":47,"column":119},"end":{"row":47,"column":120},"action":"insert","lines":["w"],"id":281}],[{"start":{"row":47,"column":120},"end":{"row":47,"column":121},"action":"insert","lines":["e"],"id":282}],[{"start":{"row":47,"column":121},"end":{"row":47,"column":122},"action":"insert","lines":["s"],"id":283}],[{"start":{"row":47,"column":122},"end":{"row":47,"column":123},"action":"insert","lines":["t"],"id":284}],[{"start":{"row":47,"column":123},"end":{"row":47,"column":124},"action":"insert","lines":[" "],"id":285}],[{"start":{"row":47,"column":124},"end":{"row":47,"column":125},"action":"insert","lines":["T"],"id":286}],[{"start":{"row":47,"column":125},"end":{"row":47,"column":126},"action":"insert","lines":["a"],"id":287}],[{"start":{"row":47,"column":126},"end":{"row":47,"column":127},"action":"insert","lines":["k"],"id":288}],[{"start":{"row":47,"column":127},"end":{"row":47,"column":128},"action":"insert","lines":["e"],"id":289}],[{"start":{"row":47,"column":128},"end":{"row":47,"column":129},"action":"insert","lines":["r"],"id":290}],[{"start":{"row":47,"column":129},"end":{"row":47,"column":130},"action":"insert","lines":[" "],"id":291}],[{"start":{"row":47,"column":130},"end":{"row":47,"column":131},"action":"insert","lines":["F"],"id":292}],[{"start":{"row":47,"column":131},"end":{"row":47,"column":132},"action":"insert","lines":["e"],"id":293}],[{"start":{"row":47,"column":132},"end":{"row":47,"column":133},"action":"insert","lines":["e"],"id":294}],[{"start":{"row":47,"column":144},"end":{"row":47,"column":155},"action":"remove","lines":["description"],"id":295},{"start":{"row":47,"column":144},"end":{"row":47,"column":145},"action":"insert","lines":["t"]}],[{"start":{"row":47,"column":145},"end":{"row":47,"column":146},"action":"insert","lines":["a"],"id":296}],[{"start":{"row":47,"column":146},"end":{"row":47,"column":147},"action":"insert","lines":["k"],"id":297}],[{"start":{"row":47,"column":147},"end":{"row":47,"column":148},"action":"insert","lines":["e"],"id":298}],[{"start":{"row":47,"column":148},"end":{"row":47,"column":149},"action":"insert","lines":["r"],"id":299}],[{"start":{"row":47,"column":149},"end":{"row":47,"column":150},"action":"insert","lines":["F"],"id":300}],[{"start":{"row":47,"column":150},"end":{"row":47,"column":151},"action":"insert","lines":["e"],"id":301}],[{"start":{"row":47,"column":151},"end":{"row":47,"column":152},"action":"insert","lines":["e"],"id":302}],[{"start":{"row":47,"column":152},"end":{"row":47,"column":153},"action":"insert","lines":["P"],"id":303}],[{"start":{"row":47,"column":153},"end":{"row":47,"column":154},"action":"insert","lines":["e"],"id":304}],[{"start":{"row":47,"column":154},"end":{"row":47,"column":155},"action":"insert","lines":["r"],"id":305}],[{"start":{"row":47,"column":155},"end":{"row":47,"column":156},"action":"insert","lines":["c"],"id":306}],[{"start":{"row":47,"column":156},"end":{"row":47,"column":157},"action":"insert","lines":["e"],"id":307}],[{"start":{"row":47,"column":157},"end":{"row":47,"column":158},"action":"insert","lines":["n"],"id":308}],[{"start":{"row":47,"column":158},"end":{"row":47,"column":159},"action":"insert","lines":["t"],"id":309}]]},"ace":{"folds":[],"scrolltop":180,"scrollleft":89,"selection":{"start":{"row":47,"column":159},"end":{"row":47,"column":159},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":34,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1466641556455,"hash":"89387055490f8bca6d9a1f12bedacd01442887c9"}
{"filter":false,"title":"selectors.js","tooltip":"/src/selectors.js","undoManager":{"mark":286,"position":286,"stack":[[{"start":{"row":26,"column":0},"end":{"row":31,"column":0},"action":"remove","lines":["selectors.keywords = {","\tvalue: '',","\tonChangeKeywords: () => {}","};","",""],"id":2,"ignore":true},{"start":{"row":53,"column":0},"end":{"row":54,"column":0},"action":"insert","lines":["selectors.keywordsChangeHandler = () => {};",""]},{"start":{"row":155,"column":0},"end":{"row":158,"column":0},"action":"remove","lines":["\t\tlet dayMillis = 24 * 60 * 60 * 1000;","\t\tlet nowMillis = new Date().getTime();","",""]},{"start":{"row":163,"column":0},"end":{"row":183,"column":0},"action":"remove","lines":["\t\t\t\tpriceTimeSeries: [{","\t\t\t\t\tname: \"outcome 1\",","\t\t\t\t\tdata: [","\t\t\t\t\t\t[nowMillis - 50 * dayMillis, 0.3],","\t\t\t\t\t\t[nowMillis - 40 * dayMillis, 0.1],","\t\t\t\t\t\t[nowMillis - 30 * dayMillis, 0.65],","\t\t\t\t\t\t[nowMillis - 20 * dayMillis, 0.93]","\t\t\t\t\t],","\t\t\t\t\tcolor: \"#f00\"","\t\t\t\t},","\t\t\t\t\t{","\t\t\t\t\t\tname: \"outcome 2\",","\t\t\t\t\t\tdata: [","\t\t\t\t\t\t\t[nowMillis - 55 * dayMillis, 0.8],","\t\t\t\t\t\t\t[nowMillis - 45 * dayMillis, 0.7],","\t\t\t\t\t\t\t[nowMillis - 35 * dayMillis, 0.6],","\t\t\t\t\t\t\t[nowMillis - 25 * dayMillis, 0.4]","\t\t\t\t\t\t],","\t\t\t\t\t\tcolor: \"#0f0\"","\t\t\t\t\t}],",""]}],[{"start":{"row":4,"column":17},"end":{"row":5,"column":0},"action":"insert","lines":["",""],"id":3},{"start":{"row":5,"column":0},"end":{"row":5,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":5,"column":0},"end":{"row":5,"column":1},"action":"remove","lines":["\t"],"id":4}],[{"start":{"row":5,"column":0},"end":{"row":6,"column":0},"action":"insert","lines":["",""],"id":5}],[{"start":{"row":0,"column":0},"end":{"row":1,"column":0},"action":"insert","lines":["",""],"id":6}],[{"start":{"row":1,"column":0},"end":{"row":2,"column":0},"action":"insert","lines":["",""],"id":7}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":1},"action":"insert","lines":["i"],"id":8}],[{"start":{"row":0,"column":1},"end":{"row":0,"column":2},"action":"insert","lines":["m"],"id":9}],[{"start":{"row":0,"column":2},"end":{"row":0,"column":3},"action":"insert","lines":["p"],"id":10}],[{"start":{"row":0,"column":3},"end":{"row":0,"column":4},"action":"insert","lines":["o"],"id":11}],[{"start":{"row":0,"column":4},"end":{"row":0,"column":5},"action":"insert","lines":["r"],"id":12}],[{"start":{"row":0,"column":5},"end":{"row":0,"column":6},"action":"insert","lines":["t"],"id":13}],[{"start":{"row":0,"column":6},"end":{"row":0,"column":7},"action":"insert","lines":[" "],"id":14}],[{"start":{"row":0,"column":7},"end":{"row":0,"column":8},"action":"insert","lines":["{"],"id":15}],[{"start":{"row":0,"column":8},"end":{"row":0,"column":9},"action":"insert","lines":[" "],"id":16}],[{"start":{"row":0,"column":9},"end":{"row":0,"column":10},"action":"insert","lines":["l"],"id":17}],[{"start":{"row":0,"column":10},"end":{"row":0,"column":11},"action":"insert","lines":["o"],"id":18}],[{"start":{"row":0,"column":11},"end":{"row":0,"column":12},"action":"insert","lines":["g"],"id":19}],[{"start":{"row":0,"column":12},"end":{"row":0,"column":13},"action":"insert","lines":["i"],"id":20}],[{"start":{"row":0,"column":13},"end":{"row":0,"column":14},"action":"insert","lines":["n"],"id":21}],[{"start":{"row":0,"column":14},"end":{"row":0,"column":15},"action":"insert","lines":["A"],"id":22}],[{"start":{"row":0,"column":15},"end":{"row":0,"column":16},"action":"insert","lines":["c"],"id":23}],[{"start":{"row":0,"column":16},"end":{"row":0,"column":17},"action":"insert","lines":["c"],"id":24}],[{"start":{"row":0,"column":17},"end":{"row":0,"column":18},"action":"insert","lines":["o"],"id":25}],[{"start":{"row":0,"column":18},"end":{"row":0,"column":19},"action":"insert","lines":["u"],"id":26}],[{"start":{"row":0,"column":19},"end":{"row":0,"column":20},"action":"insert","lines":["n"],"id":27}],[{"start":{"row":0,"column":20},"end":{"row":0,"column":21},"action":"insert","lines":["t"],"id":28}],[{"start":{"row":0,"column":21},"end":{"row":0,"column":22},"action":"insert","lines":[" "],"id":29}],[{"start":{"row":0,"column":22},"end":{"row":0,"column":23},"action":"insert","lines":["}"],"id":30}],[{"start":{"row":0,"column":23},"end":{"row":0,"column":24},"action":"insert","lines":[" "],"id":31}],[{"start":{"row":0,"column":24},"end":{"row":0,"column":25},"action":"insert","lines":["f"],"id":32}],[{"start":{"row":0,"column":25},"end":{"row":0,"column":26},"action":"insert","lines":["r"],"id":33}],[{"start":{"row":0,"column":26},"end":{"row":0,"column":27},"action":"insert","lines":["o"],"id":34}],[{"start":{"row":0,"column":27},"end":{"row":0,"column":28},"action":"insert","lines":["m"],"id":35}],[{"start":{"row":0,"column":28},"end":{"row":0,"column":29},"action":"insert","lines":[" "],"id":36}],[{"start":{"row":0,"column":29},"end":{"row":0,"column":62},"action":"insert","lines":["'./modules/site/constants/pages';"],"id":37}],[{"start":{"row":0,"column":32},"end":{"row":0,"column":39},"action":"remove","lines":["modules"],"id":38},{"start":{"row":0,"column":32},"end":{"row":0,"column":33},"action":"insert","lines":["s"]}],[{"start":{"row":0,"column":33},"end":{"row":0,"column":34},"action":"insert","lines":["e"],"id":39}],[{"start":{"row":0,"column":34},"end":{"row":0,"column":35},"action":"insert","lines":["l"],"id":40}],[{"start":{"row":0,"column":35},"end":{"row":0,"column":36},"action":"insert","lines":["e"],"id":41}],[{"start":{"row":0,"column":36},"end":{"row":0,"column":37},"action":"insert","lines":["c"],"id":42}],[{"start":{"row":0,"column":37},"end":{"row":0,"column":38},"action":"insert","lines":["t"],"id":43}],[{"start":{"row":0,"column":38},"end":{"row":0,"column":39},"action":"insert","lines":["o"],"id":44}],[{"start":{"row":0,"column":39},"end":{"row":0,"column":40},"action":"insert","lines":["r"],"id":45}],[{"start":{"row":0,"column":40},"end":{"row":0,"column":41},"action":"insert","lines":["s"],"id":46}],[{"start":{"row":0,"column":42},"end":{"row":0,"column":62},"action":"remove","lines":["site/constants/pages"],"id":47},{"start":{"row":0,"column":42},"end":{"row":0,"column":43},"action":"insert","lines":["l"]}],[{"start":{"row":0,"column":43},"end":{"row":0,"column":44},"action":"insert","lines":["o"],"id":48}],[{"start":{"row":0,"column":44},"end":{"row":0,"column":45},"action":"insert","lines":["g"],"id":49}],[{"start":{"row":0,"column":45},"end":{"row":0,"column":46},"action":"insert","lines":["i"],"id":50}],[{"start":{"row":0,"column":46},"end":{"row":0,"column":47},"action":"insert","lines":["n"],"id":51}],[{"start":{"row":0,"column":47},"end":{"row":0,"column":48},"action":"insert","lines":["-"],"id":52}],[{"start":{"row":0,"column":48},"end":{"row":0,"column":49},"action":"insert","lines":["a"],"id":53}],[{"start":{"row":0,"column":49},"end":{"row":0,"column":50},"action":"insert","lines":["c"],"id":54}],[{"start":{"row":0,"column":50},"end":{"row":0,"column":51},"action":"insert","lines":["c"],"id":55}],[{"start":{"row":0,"column":51},"end":{"row":0,"column":52},"action":"insert","lines":["o"],"id":56}],[{"start":{"row":0,"column":52},"end":{"row":0,"column":53},"action":"insert","lines":["u"],"id":57}],[{"start":{"row":0,"column":53},"end":{"row":0,"column":54},"action":"insert","lines":["n"],"id":58}],[{"start":{"row":0,"column":54},"end":{"row":0,"column":55},"action":"insert","lines":["t"],"id":59}],[{"start":{"row":135,"column":0},"end":{"row":145,"column":1},"action":"remove","lines":["function emptyNumber(denomination) {","\treturn {","\t\tvalue: 0,","\t\tformattedValue: 0,","\t\tformatted: '-',","\t\trounded: '-',","\t\tminimized: '-',","\t\tfull: '-',","\t\tdenomination: denomination || ''","\t};","}"],"id":60}],[{"start":{"row":134,"column":0},"end":{"row":135,"column":0},"action":"remove","lines":["",""],"id":61}],[{"start":{"row":133,"column":1},"end":{"row":134,"column":0},"action":"remove","lines":["",""],"id":62}],[{"start":{"row":7,"column":0},"end":{"row":7,"column":1},"action":"insert","lines":["\t"],"id":63}],[{"start":{"row":7,"column":1},"end":{"row":7,"column":13},"action":"insert","lines":["loginAccount"],"id":64}],[{"start":{"row":7,"column":13},"end":{"row":7,"column":14},"action":"insert","lines":[":"],"id":65}],[{"start":{"row":7,"column":14},"end":{"row":7,"column":15},"action":"insert","lines":[" "],"id":66}],[{"start":{"row":7,"column":14},"end":{"row":7,"column":15},"action":"remove","lines":[" "],"id":67}],[{"start":{"row":7,"column":13},"end":{"row":7,"column":14},"action":"remove","lines":[":"],"id":68}],[{"start":{"row":12,"column":0},"end":{"row":19,"column":0},"action":"remove","lines":["selectors.loginAccount = {","\tid: '123',","\thandle: 'Johnny',","\trep: emptyNumber('rep'),","\tether: emptyNumber('eth'),","\trealEther: emptyNumber('eth')","};",""],"id":69}],[{"start":{"row":12,"column":0},"end":{"row":13,"column":0},"action":"remove","lines":["",""],"id":70}],[{"start":{"row":9,"column":0},"end":{"row":9,"column":1},"action":"insert","lines":["c"],"id":71}],[{"start":{"row":9,"column":1},"end":{"row":9,"column":2},"action":"insert","lines":["o"],"id":72}],[{"start":{"row":9,"column":2},"end":{"row":9,"column":3},"action":"insert","lines":["n"],"id":73}],[{"start":{"row":9,"column":3},"end":{"row":9,"column":4},"action":"insert","lines":["s"],"id":74}],[{"start":{"row":9,"column":4},"end":{"row":9,"column":5},"action":"insert","lines":["o"],"id":75}],[{"start":{"row":9,"column":5},"end":{"row":9,"column":6},"action":"insert","lines":["l"],"id":76}],[{"start":{"row":9,"column":6},"end":{"row":9,"column":7},"action":"insert","lines":["e"],"id":77}],[{"start":{"row":9,"column":7},"end":{"row":9,"column":8},"action":"insert","lines":["."],"id":78}],[{"start":{"row":9,"column":8},"end":{"row":9,"column":9},"action":"insert","lines":["l"],"id":79}],[{"start":{"row":9,"column":9},"end":{"row":9,"column":10},"action":"insert","lines":["o"],"id":80}],[{"start":{"row":9,"column":10},"end":{"row":9,"column":11},"action":"insert","lines":["g"],"id":81}],[{"start":{"row":9,"column":11},"end":{"row":9,"column":12},"action":"insert","lines":["("],"id":82}],[{"start":{"row":9,"column":12},"end":{"row":9,"column":13},"action":"insert","lines":["'"],"id":83}],[{"start":{"row":9,"column":13},"end":{"row":9,"column":14},"action":"insert","lines":["*"],"id":84}],[{"start":{"row":9,"column":14},"end":{"row":9,"column":15},"action":"insert","lines":["*"],"id":85}],[{"start":{"row":9,"column":15},"end":{"row":9,"column":16},"action":"insert","lines":["*"],"id":86}],[{"start":{"row":9,"column":16},"end":{"row":9,"column":17},"action":"insert","lines":["'"],"id":87}],[{"start":{"row":9,"column":17},"end":{"row":9,"column":18},"action":"insert","lines":[","],"id":88}],[{"start":{"row":9,"column":18},"end":{"row":9,"column":19},"action":"insert","lines":[" "],"id":89}],[{"start":{"row":9,"column":19},"end":{"row":9,"column":28},"action":"insert","lines":["selectors"],"id":90}],[{"start":{"row":9,"column":28},"end":{"row":9,"column":29},"action":"insert","lines":[")"],"id":91}],[{"start":{"row":9,"column":29},"end":{"row":9,"column":30},"action":"insert","lines":[";"],"id":92}],[{"start":{"row":0,"column":22},"end":{"row":0,"column":23},"action":"remove","lines":["}"],"id":93}],[{"start":{"row":0,"column":21},"end":{"row":0,"column":22},"action":"remove","lines":[" "],"id":94}],[{"start":{"row":0,"column":8},"end":{"row":0,"column":9},"action":"remove","lines":[" "],"id":95}],[{"start":{"row":0,"column":7},"end":{"row":0,"column":8},"action":"remove","lines":["{"],"id":96}],[{"start":{"row":9,"column":0},"end":{"row":9,"column":30},"action":"remove","lines":["console.log('***', selectors);"],"id":97}],[{"start":{"row":37,"column":0},"end":{"row":37,"column":34},"action":"remove","lines":["selectors.markets = makeMarkets();"],"id":99}],[{"start":{"row":127,"column":0},"end":{"row":290,"column":1},"action":"remove","lines":["function makeMarkets(numMarkets = 20) {","\tvar markets = [],","\t\ttypes = ['binary', 'categorical', 'scalar'],","\t\ti;","","\tfor (i = 0; i < numMarkets; i++) {","\t\tmarkets.push(makeDummyMarket(i));","\t}","","\treturn markets;","","\tfunction makeDummyMarket(index) {","\t\tvar id = index.toString(),","\t\t\tm = {","\t\t\t\tid: id,","\t\t\t\ttype: types[randomInt(0, types.length - 1)],","\t\t\t\tdescription: 'Will the dwerps achieve a mwerp by the end of zwerp ' + (index + 1) + '?',","\t\t\t\tendDate: { formatted: '12/12/2017' },","\t\t\t\ttradingFeePercent: makeNumber(randomInt(1, 10), '%', true),","\t\t\t\tvolume: makeNumber(randomInt(0, 10000), 'Shares', true),","\t\t\t\tisOpen: Math.random() > 0.1,","\t\t\t\tisPendingReport: Math.random() < 0.5,","\t\t\t\tmarketLink: { text: 'Trade', className: 'trade', onClick: () => module.exports.update({ activePage: M, market: m }) },","\t\t\t};","","\t\tm.outcomes = [","\t\t\t{","\t\t\t\tid: '1',","\t\t\t\tname: 'YES',","\t\t\t\tlastPrice: makeNumber(Math.round(Math.random() * 100) / 100, 'eth'),","\t\t\t\tlastPricePercent: makeNumber(randomInt(50, 100), '%'),","\t\t\t\tposition: {","\t\t\t\t\tqtyShares: makeNumber(16898, 'Shares'),","\t\t\t\t\ttotalValue: makeNumber(14877, 'eth'),","\t\t\t\t\tgainPercent: makeNumber(14, '%'),","\t\t\t\t\tpurchasePrice: makeNumber(0.77, 'eth'),","\t\t\t\t\tshareChange: makeNumber(0.107, 'eth'),","\t\t\t\t\ttotalCost: makeNumber(12555, 'eth'),","\t\t\t\t\tnetChange: makeNumber(3344, 'eth')","\t\t\t\t},","\t\t\t\ttrade: {","\t\t\t\t\tnumShares: 0,","\t\t\t\t\tlimitPrice: 0,","\t\t\t\t\ttradeSummary: {","\t\t\t\t\t\ttotalEther: makeNumber(0)","\t\t\t\t\t},","\t\t\t\t\tonChangeTrade: (numShares, limitPrice) => {","\t\t\t\t\t\tlimitPrice = m.outcomes[0].lastPrice.value;","\t\t\t\t\t\tm.outcomes[0].trade.numShares = numShares;","\t\t\t\t\t\tm.outcomes[0].trade.limitPrice = limitPrice;","\t\t\t\t\t\tm.outcomes[0].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);","\t\t\t\t\t\tconsole.log(m.outcomes[0].trade);","\t\t\t\t\t\tselectors.render();","\t\t\t\t\t}","\t\t\t\t}","\t\t\t},","\t\t\t{","\t\t\t\tid: '2',","\t\t\t\tname: 'NO',","\t\t\t\tlastPrice: makeNumber(Math.round(Math.random() * 100) / 100, 'eth'),","\t\t\t\tlastPricePercent: makeNumber(randomInt(20, 50), '%'),","\t\t\t\tposition: {","\t\t\t\t\tqtyShares: makeNumber(455, 'Shares'),","\t\t\t\t\ttotalValue: makeNumber(776, 'eth'),","\t\t\t\t\tgainPercent: makeNumber(-6, '%'),","\t\t\t\t\tpurchasePrice: makeNumber(0.6, 'eth'),","\t\t\t\t\tshareChange: makeNumber(0.5, 'eth'),","\t\t\t\t\ttotalCost: makeNumber(980, 'eth'),","\t\t\t\t\tnetChange: makeNumber(230, 'eth')","\t\t\t\t},","\t\t\t\ttrade: {","\t\t\t\t\tnumShares: 0,","\t\t\t\t\tlimitPrice: 0,","\t\t\t\t\ttradeSummary: {","\t\t\t\t\t\ttotalEther: makeNumber(0)","\t\t\t\t\t},","\t\t\t\t\tonChangeTrade: (numShares, limitPrice) => {","\t\t\t\t\t\tlimitPrice = m.outcomes[0].lastPrice.value;","\t\t\t\t\t\tm.outcomes[1].trade.numShares = numShares;","\t\t\t\t\t\tm.outcomes[1].trade.limitPrice = limitPrice;","\t\t\t\t\t\tm.outcomes[1].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);","\t\t\t\t\t\tselectors.render();","\t\t\t\t\t}","\t\t\t\t}","\t\t\t},","\t\t\t{","\t\t\t\tid: '3',","\t\t\t\tname: 'MAYBE',","\t\t\t\tlastPrice: makeNumber(Math.round(Math.random() * 100) / 100, 'eth'),","\t\t\t\tlastPricePercent: makeNumber(randomInt(0, 30), '%'),","\t\t\t\ttrade: {","\t\t\t\t\tnumShares: 0,","\t\t\t\t\tlimitPrice: 0,","\t\t\t\t\ttradeSummary: {","\t\t\t\t\t\ttotalEther: makeNumber(0)","\t\t\t\t\t},","\t\t\t\t\tonChangeTrade: (numShares, limitPrice) => {","\t\t\t\t\t\tlimitPrice = m.outcomes[0].lastPrice.value;","\t\t\t\t\t\tm.outcomes[2].trade.numShares = numShares;","\t\t\t\t\t\tm.outcomes[2].trade.limitPrice = limitPrice;","\t\t\t\t\t\tm.outcomes[2].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);","\t\t\t\t\t\tselectors.render();","\t\t\t\t\t}","\t\t\t\t}","\t\t\t}","\t\t];","","\t\tm.reportableOutcomes = m.outcomes.slice();","\t\tm.reportableOutcomes.push({ id: '1.5', name: 'indeterminate' });","","\t\t// trade summary","\t\tObject.defineProperty(m, 'tradeSummary', {","\t\t\tget: () => {","\t\t\t\tvar tots = m.outcomes.reduce((p, outcome) => {","\t\t\t\t\t\tvar numShares,","\t\t\t\t\t\t\tlimitPrice,","\t\t\t\t\t\t\tcost;","","\t\t\t\t\t\tif (!outcome.trade || !outcome.trade.numShares) {","\t\t\t\t\t\t\treturn p;","\t\t\t\t\t\t}","","\t\t\t\t\t\tnumShares = outcome.trade.numShares;","\t\t\t\t\t\tlimitPrice = outcome.trade.limitPrice || 0;","\t\t\t\t\t\tcost = numShares * limitPrice;","","\t\t\t\t\t\tp.tradeOrders.push({ type: BUY_SHARES, shares: makeNumber(numShares), ether: makeNumber(cost), data: { outcomeName: 'MAYBE', marketDescription: m.description } });","\t\t\t\t\t\tp.totalShares += numShares;","\t\t\t\t\t\tp.totalEther += cost;","\t\t\t\t\t\treturn p;","\t\t\t\t\t}, { totalShares: 0, totalEther: 0, totalFees: 0, totalGas: 0, tradeOrders: [] });","","\t\t\t\ttots.totalShares = makeNumber(tots.totalShares);","\t\t\t\ttots.totalEther = makeNumber(tots.totalEther);","\t\t\t\ttots.totalFees = makeNumber(tots.totalFees);","\t\t\t\ttots.totalGas = makeNumber(tots.totalGas);","\t\t\t\ttots.onSubmitPlaceTrade = () => {};","","\t\t\t\treturn tots;","\t\t\t},","\t\t\tenumerable: true","\t\t});","","\t\t// positions summary","\t\tm.positionsSummary = {","\t\t\tnumPositions: makeNumber(3, 'Positions', true),","\t\t\ttotalValue: makeNumber(985, 'eth'),","\t\t\tgainPercent: makeNumber(15, '%')","\t\t};","","\t\t// report","\t\tm.report = {","\t\t\tisUnethical: true,","\t\t\tonSubmitReport: (reportedOutcomeID, isUnethical) => {}","\t\t};","","\t\treturn m;","\t}","}","","","function randomInt(min, max) {","\treturn Math.floor(Math.random() * (max - min + 1)) + min;","}"],"id":101}],[{"start":{"row":100,"column":0},"end":{"row":126,"column":0},"action":"remove","lines":["function makeNumber(num, denomination, omitSign) {","\tvar o = {","\t\tvalue: num,","","\t\tformattedValue: num,","\t\tformatted: num.toString(),","","\t\troundedValue: num,","\t\trounded: num.toString(),","","\t\tminimized: num.toString(),","\t\tdenomination: denomination || ''","\t};","","\tif (!omitSign) {"," if (o.value > 0) {"," o.formatted = '+' + o.formatted;"," o.rounded = '+' + o.rounded;"," o.minimized = '+' + o.minimized;"," }","\t}","","\to.full = o.formatted + o.denomination;","","\treturn o;","}",""],"id":102}],[{"start":{"row":1,"column":0},"end":{"row":2,"column":0},"action":"insert","lines":["",""],"id":103}],[{"start":{"row":2,"column":0},"end":{"row":2,"column":1},"action":"insert","lines":["i"],"id":104}],[{"start":{"row":2,"column":1},"end":{"row":2,"column":2},"action":"insert","lines":["m"],"id":105}],[{"start":{"row":2,"column":2},"end":{"row":2,"column":3},"action":"insert","lines":["p"],"id":106}],[{"start":{"row":2,"column":3},"end":{"row":2,"column":4},"action":"insert","lines":["o"],"id":107}],[{"start":{"row":2,"column":4},"end":{"row":2,"column":5},"action":"insert","lines":["r"],"id":108}],[{"start":{"row":2,"column":5},"end":{"row":2,"column":6},"action":"insert","lines":["t"],"id":109}],[{"start":{"row":2,"column":6},"end":{"row":2,"column":7},"action":"insert","lines":[" "],"id":110}],[{"start":{"row":2,"column":7},"end":{"row":2,"column":17},"action":"insert","lines":["makeNumber"],"id":111}],[{"start":{"row":2,"column":17},"end":{"row":2,"column":18},"action":"insert","lines":[" "],"id":112}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["f"],"id":113}],[{"start":{"row":2,"column":19},"end":{"row":2,"column":20},"action":"insert","lines":["r"],"id":114}],[{"start":{"row":2,"column":20},"end":{"row":2,"column":21},"action":"insert","lines":["o"],"id":115}],[{"start":{"row":2,"column":21},"end":{"row":2,"column":22},"action":"insert","lines":["m"],"id":116}],[{"start":{"row":2,"column":22},"end":{"row":2,"column":23},"action":"insert","lines":[" "],"id":117}],[{"start":{"row":2,"column":23},"end":{"row":2,"column":24},"action":"insert","lines":["'"],"id":118}],[{"start":{"row":2,"column":24},"end":{"row":2,"column":25},"action":"insert","lines":["'"],"id":119}],[{"start":{"row":2,"column":25},"end":{"row":2,"column":26},"action":"insert","lines":[";"],"id":120}],[{"start":{"row":2,"column":26},"end":{"row":3,"column":0},"action":"insert","lines":["",""],"id":121}],[{"start":{"row":2,"column":0},"end":{"row":2,"column":26},"action":"remove","lines":["import makeNumber from '';"],"id":122},{"start":{"row":2,"column":0},"end":{"row":2,"column":52},"action":"insert","lines":["import { emptyNumber } from '../utils/empty-number';"]}],[{"start":{"row":2,"column":9},"end":{"row":2,"column":20},"action":"remove","lines":["emptyNumber"],"id":123},{"start":{"row":2,"column":9},"end":{"row":2,"column":19},"action":"insert","lines":["makeNumber"]}],[{"start":{"row":2,"column":37},"end":{"row":2,"column":42},"action":"remove","lines":["empty"],"id":124},{"start":{"row":2,"column":37},"end":{"row":2,"column":38},"action":"insert","lines":["m"]}],[{"start":{"row":2,"column":38},"end":{"row":2,"column":39},"action":"insert","lines":["a"],"id":125}],[{"start":{"row":2,"column":39},"end":{"row":2,"column":40},"action":"insert","lines":["k"],"id":126}],[{"start":{"row":2,"column":40},"end":{"row":2,"column":41},"action":"insert","lines":["e"],"id":127}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":53},"action":"remove","lines":["import loginAccount from './selectors/login-account';"],"id":128},{"start":{"row":0,"column":0},"end":{"row":0,"column":53},"action":"insert","lines":["import loginAccount from './selectors/login-account';"]}],[{"start":{"row":0,"column":53},"end":{"row":1,"column":0},"action":"insert","lines":["",""],"id":129}],[{"start":{"row":1,"column":0},"end":{"row":1,"column":53},"action":"insert","lines":["import loginAccount from './selectors/login-account';"],"id":130}],[{"start":{"row":1,"column":7},"end":{"row":1,"column":19},"action":"remove","lines":["loginAccount"],"id":131},{"start":{"row":1,"column":7},"end":{"row":1,"column":8},"action":"insert","lines":["m"]}],[{"start":{"row":1,"column":8},"end":{"row":1,"column":9},"action":"insert","lines":["a"],"id":132}],[{"start":{"row":1,"column":9},"end":{"row":1,"column":10},"action":"insert","lines":["r"],"id":133}],[{"start":{"row":1,"column":10},"end":{"row":1,"column":11},"action":"insert","lines":["k"],"id":134}],[{"start":{"row":1,"column":11},"end":{"row":1,"column":12},"action":"insert","lines":["e"],"id":135}],[{"start":{"row":1,"column":12},"end":{"row":1,"column":13},"action":"insert","lines":["t"],"id":136}],[{"start":{"row":1,"column":13},"end":{"row":1,"column":14},"action":"insert","lines":["s"],"id":137}],[{"start":{"row":1,"column":33},"end":{"row":1,"column":46},"action":"remove","lines":["login-account"],"id":138},{"start":{"row":1,"column":33},"end":{"row":1,"column":40},"action":"insert","lines":["markets"]}],[{"start":{"row":10,"column":13},"end":{"row":10,"column":14},"action":"insert","lines":[","],"id":139}],[{"start":{"row":10,"column":14},"end":{"row":11,"column":0},"action":"insert","lines":["",""],"id":140},{"start":{"row":11,"column":0},"end":{"row":11,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":11,"column":1},"end":{"row":11,"column":8},"action":"insert","lines":["markets"],"id":141}],[{"start":{"row":96,"column":0},"end":{"row":100,"column":2},"action":"remove","lines":["selectors.update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","};"],"id":142}],[{"start":{"row":96,"column":0},"end":{"row":97,"column":0},"action":"remove","lines":["",""],"id":143}],[{"start":{"row":93,"column":0},"end":{"row":94,"column":0},"action":"remove","lines":["",""],"id":144}],[{"start":{"row":93,"column":0},"end":{"row":94,"column":0},"action":"remove","lines":["",""],"id":145}],[{"start":{"row":93,"column":0},"end":{"row":94,"column":0},"action":"remove","lines":["",""],"id":146}],[{"start":{"row":8,"column":0},"end":{"row":9,"column":0},"action":"insert","lines":["",""],"id":147}],[{"start":{"row":9,"column":0},"end":{"row":13,"column":2},"action":"insert","lines":["selectors.update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","};"],"id":148}],[{"start":{"row":13,"column":2},"end":{"row":14,"column":0},"action":"insert","lines":["",""],"id":149}],[{"start":{"row":15,"column":17},"end":{"row":16,"column":0},"action":"insert","lines":["",""],"id":150},{"start":{"row":16,"column":0},"end":{"row":16,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":16,"column":0},"end":{"row":20,"column":1},"action":"insert","lines":["update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","}"],"id":151}],[{"start":{"row":16,"column":0},"end":{"row":16,"column":1},"action":"insert","lines":["\t"],"id":152},{"start":{"row":17,"column":0},"end":{"row":17,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":18,"column":0},"end":{"row":18,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":19,"column":0},"end":{"row":19,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":20,"column":0},"end":{"row":20,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":20,"column":2},"end":{"row":20,"column":3},"action":"remove","lines":["\t"],"id":153}],[{"start":{"row":20,"column":2},"end":{"row":20,"column":3},"action":"insert","lines":[","],"id":154}],[{"start":{"row":16,"column":7},"end":{"row":16,"column":8},"action":"insert","lines":[":"],"id":155}],[{"start":{"row":16,"column":8},"end":{"row":16,"column":9},"action":"remove","lines":[" "],"id":156}],[{"start":{"row":16,"column":8},"end":{"row":16,"column":9},"action":"remove","lines":["="],"id":157}],[{"start":{"row":16,"column":9},"end":{"row":16,"column":17},"action":"remove","lines":["function"],"id":158}],[{"start":{"row":16,"column":20},"end":{"row":16,"column":21},"action":"insert","lines":["="],"id":159}],[{"start":{"row":16,"column":21},"end":{"row":16,"column":22},"action":"insert","lines":[">"],"id":160}],[{"start":{"row":16,"column":22},"end":{"row":16,"column":23},"action":"insert","lines":[" "],"id":161}],[{"start":{"row":16,"column":18},"end":{"row":16,"column":19},"action":"insert","lines":[" "],"id":162}],[{"start":{"row":16,"column":19},"end":{"row":16,"column":20},"action":"insert","lines":["="],"id":163}],[{"start":{"row":16,"column":20},"end":{"row":16,"column":21},"action":"insert","lines":[" "],"id":164}],[{"start":{"row":16,"column":21},"end":{"row":16,"column":22},"action":"insert","lines":["{"],"id":165}],[{"start":{"row":16,"column":22},"end":{"row":16,"column":23},"action":"insert","lines":["}"],"id":166}],[{"start":{"row":3,"column":28},"end":{"row":3,"column":29},"action":"remove","lines":["."],"id":167}],[{"start":{"row":9,"column":0},"end":{"row":13,"column":2},"action":"remove","lines":["selectors.update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","};"],"id":168}],[{"start":{"row":9,"column":0},"end":{"row":10,"column":0},"action":"remove","lines":["",""],"id":169}],[{"start":{"row":9,"column":0},"end":{"row":10,"column":0},"action":"remove","lines":["",""],"id":170}],[{"start":{"row":7,"column":0},"end":{"row":7,"column":135},"action":"remove","lines":["import { CREATE_MARKET, BUY_SHARES, SELL_SHARES, BID_SHARES, ASK_SHARES, SUBMIT_REPORT } from './modules/transactions/constants/types';"],"id":171}],[{"start":{"row":7,"column":0},"end":{"row":8,"column":0},"action":"remove","lines":["",""],"id":172}],[{"start":{"row":57,"column":18},"end":{"row":57,"column":19},"action":"insert","lines":[" "],"id":173}],[{"start":{"row":57,"column":19},"end":{"row":57,"column":20},"action":"insert","lines":["="],"id":174}],[{"start":{"row":57,"column":20},"end":{"row":57,"column":21},"action":"insert","lines":[" "],"id":175}],[{"start":{"row":57,"column":21},"end":{"row":57,"column":22},"action":"insert","lines":["{"],"id":176}],[{"start":{"row":57,"column":22},"end":{"row":58,"column":0},"action":"insert","lines":["",""],"id":177},{"start":{"row":58,"column":0},"end":{"row":58,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":58,"column":26},"end":{"row":59,"column":0},"action":"insert","lines":["",""],"id":178},{"start":{"row":59,"column":0},"end":{"row":59,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":59,"column":1},"end":{"row":59,"column":2},"action":"insert","lines":["}"],"id":179}],[{"start":{"row":59,"column":0},"end":{"row":59,"column":1},"action":"remove","lines":["\t"],"id":180}],[{"start":{"row":57,"column":22},"end":{"row":58,"column":0},"action":"insert","lines":["",""],"id":181},{"start":{"row":58,"column":0},"end":{"row":58,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":58,"column":1},"end":{"row":58,"column":2},"action":"insert","lines":["v"],"id":182}],[{"start":{"row":58,"column":2},"end":{"row":58,"column":3},"action":"insert","lines":["a"],"id":183}],[{"start":{"row":58,"column":3},"end":{"row":58,"column":4},"action":"insert","lines":["l"],"id":184}],[{"start":{"row":58,"column":4},"end":{"row":58,"column":5},"action":"insert","lines":["u"],"id":185}],[{"start":{"row":58,"column":5},"end":{"row":58,"column":6},"action":"insert","lines":["e"],"id":186}],[{"start":{"row":58,"column":6},"end":{"row":58,"column":7},"action":"insert","lines":[":"],"id":187}],[{"start":{"row":58,"column":7},"end":{"row":58,"column":8},"action":"insert","lines":[" "],"id":188}],[{"start":{"row":58,"column":8},"end":{"row":58,"column":9},"action":"insert","lines":["'"],"id":189}],[{"start":{"row":58,"column":9},"end":{"row":58,"column":10},"action":"insert","lines":["'"],"id":190}],[{"start":{"row":58,"column":10},"end":{"row":58,"column":11},"action":"insert","lines":[","],"id":191}],[{"start":{"row":59,"column":1},"end":{"row":59,"column":14},"action":"remove","lines":["ChangeHandler"],"id":192},{"start":{"row":59,"column":1},"end":{"row":59,"column":17},"action":"insert","lines":["onChangeKeywords"]}],[{"start":{"row":59,"column":20},"end":{"row":59,"column":21},"action":"remove","lines":[" "],"id":193}],[{"start":{"row":59,"column":19},"end":{"row":59,"column":20},"action":"remove","lines":[" "],"id":194}],[{"start":{"row":59,"column":18},"end":{"row":59,"column":19},"action":"remove","lines":["="],"id":195}],[{"start":{"row":59,"column":17},"end":{"row":59,"column":18},"action":"remove","lines":[" "],"id":196}],[{"start":{"row":59,"column":17},"end":{"row":59,"column":18},"action":"insert","lines":[":"],"id":197}],[{"start":{"row":59,"column":18},"end":{"row":59,"column":19},"action":"insert","lines":[" "],"id":198}],[{"start":{"row":30,"column":0},"end":{"row":35,"column":0},"action":"insert","lines":["selectors.keywords = {","\tvalue: '',","\tonChangeKeywords: () => {}","};","",""],"id":199,"ignore":true}],[{"start":{"row":1,"column":0},"end":{"row":1,"column":42},"action":"remove","lines":["import markets from './selectors/markets';"],"id":200},{"start":{"row":1,"column":0},"end":{"row":1,"column":42},"action":"insert","lines":["import markets from './selectors/markets';"]}],[{"start":{"row":1,"column":42},"end":{"row":2,"column":0},"action":"insert","lines":["",""],"id":201}],[{"start":{"row":2,"column":0},"end":{"row":2,"column":42},"action":"insert","lines":["import markets from './selectors/markets';"],"id":202}],[{"start":{"row":2,"column":7},"end":{"row":2,"column":14},"action":"remove","lines":["markets"],"id":203},{"start":{"row":2,"column":7},"end":{"row":2,"column":8},"action":"insert","lines":["t"]}],[{"start":{"row":2,"column":8},"end":{"row":2,"column":9},"action":"insert","lines":["a"],"id":204}],[{"start":{"row":2,"column":9},"end":{"row":2,"column":10},"action":"insert","lines":["g"],"id":205}],[{"start":{"row":2,"column":10},"end":{"row":2,"column":11},"action":"insert","lines":["s"],"id":206}],[{"start":{"row":2,"column":30},"end":{"row":2,"column":37},"action":"remove","lines":["markets"],"id":207},{"start":{"row":2,"column":30},"end":{"row":2,"column":31},"action":"insert","lines":["t"]}],[{"start":{"row":2,"column":31},"end":{"row":2,"column":32},"action":"insert","lines":["a"],"id":208}],[{"start":{"row":2,"column":32},"end":{"row":2,"column":33},"action":"insert","lines":["g"],"id":209}],[{"start":{"row":2,"column":33},"end":{"row":2,"column":34},"action":"insert","lines":["s"],"id":210}],[{"start":{"row":16,"column":8},"end":{"row":16,"column":9},"action":"insert","lines":[","],"id":211}],[{"start":{"row":16,"column":9},"end":{"row":17,"column":0},"action":"insert","lines":["",""],"id":212},{"start":{"row":17,"column":0},"end":{"row":17,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":17,"column":1},"end":{"row":17,"column":5},"action":"insert","lines":["tags"],"id":213}],[{"start":{"row":63,"column":0},"end":{"row":64,"column":0},"action":"remove","lines":["selectors.filtersProps = {};",""],"id":214}],[{"start":{"row":2,"column":7},"end":{"row":2,"column":11},"action":"remove","lines":["tags"],"id":215},{"start":{"row":2,"column":7},"end":{"row":2,"column":8},"action":"insert","lines":["f"]}],[{"start":{"row":2,"column":8},"end":{"row":2,"column":9},"action":"insert","lines":["i"],"id":216}],[{"start":{"row":2,"column":9},"end":{"row":2,"column":10},"action":"insert","lines":["l"],"id":217}],[{"start":{"row":2,"column":10},"end":{"row":2,"column":11},"action":"insert","lines":["t"],"id":218}],[{"start":{"row":2,"column":11},"end":{"row":2,"column":12},"action":"insert","lines":["e"],"id":219}],[{"start":{"row":2,"column":12},"end":{"row":2,"column":13},"action":"insert","lines":["r"],"id":220}],[{"start":{"row":2,"column":13},"end":{"row":2,"column":14},"action":"insert","lines":["s"],"id":221}],[{"start":{"row":2,"column":33},"end":{"row":2,"column":37},"action":"remove","lines":["tags"],"id":222},{"start":{"row":2,"column":33},"end":{"row":2,"column":40},"action":"insert","lines":["filters"]}],[{"start":{"row":17,"column":1},"end":{"row":17,"column":5},"action":"remove","lines":["tags"],"id":223},{"start":{"row":17,"column":1},"end":{"row":17,"column":8},"action":"insert","lines":["filters"]}],[{"start":{"row":9,"column":0},"end":{"row":17,"column":0},"action":"insert","lines":["import {","\tINITIAL_FAIR_PRICE_DEFAULT,","\tSHARES_PER_ORDER_DEFAULT,","\tSIZE_OF_BEST_DEFAULT,","\tPRICE_WIDTH_DEFAULT,","\tSEPARATION_DEFAULT","} from './modules/create-market/constants/market-values-constraints'","",""],"id":243,"ignore":true},{"start":{"row":113,"column":31},"end":{"row":134,"column":0},"action":"insert","lines":["","\tonValuesUpdated: (newValues) => module.exports.update({","\t\tcreateMarketForm: {","\t\t\t...selectors.createMarketForm,","\t\t\t...newValues","\t\t}","\t}),","","\tstep: 1,","\terrors: {},","","\tisValid: true,","","\t// Advanced Market Creation","\tdefaultFairPrice: INITIAL_FAIR_PRICE_DEFAULT,","","\tinitialFairPrice: [],","\tsharesPerOrder: SHARES_PER_ORDER_DEFAULT,","\tsizeOfBest: SIZE_OF_BEST_DEFAULT,","\tpriceWidth: PRICE_WIDTH_DEFAULT,","\tseparation: SEPARATION_DEFAULT",""]}],[{"start":{"row":9,"column":0},"end":{"row":17,"column":0},"action":"remove","lines":["import {","\tINITIAL_FAIR_PRICE_DEFAULT,","\tSHARES_PER_ORDER_DEFAULT,","\tSIZE_OF_BEST_DEFAULT,","\tPRICE_WIDTH_DEFAULT,","\tSEPARATION_DEFAULT","} from './modules/create-market/constants/market-values-constraints'","",""],"id":244,"ignore":true},{"start":{"row":105,"column":31},"end":{"row":126,"column":0},"action":"remove","lines":["","\tonValuesUpdated: (newValues) => module.exports.update({","\t\tcreateMarketForm: {","\t\t\t...selectors.createMarketForm,","\t\t\t...newValues","\t\t}","\t}),","","\tstep: 1,","\terrors: {},","","\tisValid: true,","","\t// Advanced Market Creation","\tdefaultFairPrice: INITIAL_FAIR_PRICE_DEFAULT,","","\tinitialFairPrice: [],","\tsharesPerOrder: SHARES_PER_ORDER_DEFAULT,","\tsizeOfBest: SIZE_OF_BEST_DEFAULT,","\tpriceWidth: PRICE_WIDTH_DEFAULT,","\tseparation: SEPARATION_DEFAULT",""]},{"start":{"row":108,"column":0},"end":{"row":110,"column":0},"action":"remove","lines":["","",""]}],[{"start":{"row":3,"column":0},"end":{"row":4,"column":0},"action":"remove","lines":["",""],"id":245,"ignore":true},{"start":{"row":3,"column":0},"end":{"row":5,"column":3},"action":"insert","lines":["import createMarketForm from './selectors/create-market-form';","","// "]},{"start":{"row":8,"column":9},"end":{"row":8,"column":32},"action":"remove","lines":["REGISTER, LOGIN, LOGOUT"]},{"start":{"row":8,"column":9},"end":{"row":8,"column":14},"action":"insert","lines":["LOGIN"]},{"start":{"row":10,"column":0},"end":{"row":10,"column":3},"action":"remove","lines":["var"]},{"start":{"row":10,"column":0},"end":{"row":18,"column":5},"action":"insert","lines":["// import {","// \tINITIAL_FAIR_PRICE_DEFAULT,","// \tSHARES_PER_ORDER_DEFAULT,","// \tSIZE_OF_BEST_DEFAULT,","// \tPRICE_WIDTH_DEFAULT,","// \tSEPARATION_DEFAULT","// } from './modules/create-market/constants/market-values-constraints';","","const"]},{"start":{"row":21,"column":53},"end":{"row":21,"column":69},"action":"remove","lines":[" = newState[key]"]},{"start":{"row":26,"column":8},"end":{"row":27,"column":17},"action":"insert","lines":[",","\tcreateMarketForm"]},{"start":{"row":47,"column":22},"end":{"row":47,"column":67},"action":"insert","lines":[" closeLink: { href: '/', onClick: () => {} } "]},{"start":{"row":49,"column":24},"end":{"row":49,"column":25},"action":"remove","lines":[" "]},{"start":{"row":50,"column":30},"end":{"row":50,"column":31},"action":"remove","lines":[" "]},{"start":{"row":53,"column":33},"end":{"row":53,"column":34},"action":"remove","lines":[" "]},{"start":{"row":61,"column":25},"end":{"row":61,"column":26},"action":"remove","lines":[" "]},{"start":{"row":63,"column":18},"end":{"row":63,"column":19},"action":"remove","lines":[" "]},{"start":{"row":64,"column":0},"end":{"row":76,"column":0},"action":"insert","lines":["selectors.sideOptions = [{ value: 'bid', label: 'Buy' }, { value: 'ask', label: 'Sell' }];","selectors.selectedOutcome = {","\tupdateSelectedOutcome: (selectedOutcomeID) => {","\t\tmodule.exports.update({","\t\t\tselectedOutcome: {","\t\t\t\t...selectors.selectedOutcome,","\t\t\t\tselectedOutcomeID: selectors.selectedOutcome.selectedOutcomeID !== selectedOutcomeID ? selectedOutcomeID : null","\t\t\t}","\t\t});","\t},","\tselectedOutcomeID: null","};",""]},{"start":{"row":77,"column":20},"end":{"row":78,"column":2},"action":"remove","lines":["","\t\t"]},{"start":{"row":77,"column":20},"end":{"row":77,"column":21},"action":"insert","lines":[" "]},{"start":{"row":77,"column":34},"end":{"row":81,"column":22},"action":"remove","lines":[" makeNumber(3, 'Positions', true),","\t\ttotalValue: makeNumber(985, 'eth'),","\t\tgainPercent: makeNumber(15, '%')","\t},","\tnumPendingReports: 19"]},{"start":{"row":77,"column":34},"end":{"row":154,"column":16},"action":"insert","lines":[""," { value: 100,"," formattedValue: 100,"," formatted: '100',"," roundedValue: 100,"," rounded: '100',"," minimized: '100',"," denomination: 'Positions',"," full: '100Positions' },"," qtyShares:"," { value: 500,"," formattedValue: 500,"," formatted: '500',"," roundedValue: 500,"," rounded: '500',"," minimized: '500',"," denomination: 'Shares',"," full: '500Shares' },"," purchasePrice:"," { value: 20,"," formattedValue: 20,"," formatted: '+20.00',"," roundedValue: 20,"," rounded: '+20.0',"," minimized: '+20',"," denomination: 'Eth',"," full: '+20.00Eth' },"," totalValue:"," { value: 1000,"," formattedValue: 1000,"," formatted: '+1,000.00',"," roundedValue: 1000,"," rounded: '+1,000.0',"," minimized: '+1,000',"," denomination: 'Eth',"," full: '+1,000.00Eth' },"," totalCost:"," { value: 10000,"," formattedValue: 10000,"," formatted: '+10,000.00',"," roundedValue: 10000,"," rounded: '+10,000.0',"," minimized: '+10,000',"," denomination: 'Eth',"," full: '+10,000.00Eth' },"," shareChange:"," { value: -18,"," formattedValue: -18,"," formatted: '-18.00',"," roundedValue: -18,"," rounded: '-18.0',"," minimized: '-18',"," denomination: 'Eth',"," full: '-18.00Eth' },"," gainPercent:"," { value: -90,"," formattedValue: -90,"," formatted: '-90.0',"," roundedValue: -90,"," rounded: '-90',"," minimized: '-90',"," denomination: '%',"," full: '-90.0%' },"," netChange:"," { value: -9000,"," formattedValue: -9000,"," formatted: '-9,000.00',"," roundedValue: -9000,"," rounded: '-9,000.0',"," minimized: '-9,000',"," denomination: 'Eth',"," full: '-9,000.00Eth' },","\tpositions: 50 },","\tnumAll: 6,","\tnumFavorites: 4,","\tnumPendingReports: 3,","\tnumUnpaginated: 7,","\tnumFiltered: 7,"]},{"start":{"row":162,"column":0},"end":{"row":163,"column":0},"action":"insert","lines":["\tlet isDescending = isDesc;",""]},{"start":{"row":164,"column":8},"end":{"row":164,"column":14},"action":"insert","lines":["ending"]},{"start":{"row":171,"column":10},"end":{"row":171,"column":24},"action":"insert","lines":[": isDescending"]},{"start":{"row":176,"column":0},"end":{"row":176,"column":59},"action":"insert","lines":["selectors.searchSort.onChangeSort = selectors.onChangeSort;"]},{"start":{"row":200,"column":0},"end":{"row":202,"column":0},"action":"remove","lines":["selectors.createMarketForm = {};","",""]}],[{"start":{"row":4,"column":0},"end":{"row":7,"column":0},"action":"remove","lines":["","// import { makeNumber } from './utils/make-number';","",""],"id":246,"ignore":true},{"start":{"row":7,"column":0},"end":{"row":15,"column":0},"action":"remove","lines":["// import {","// \tINITIAL_FAIR_PRICE_DEFAULT,","// \tSHARES_PER_ORDER_DEFAULT,","// \tSIZE_OF_BEST_DEFAULT,","// \tPRICE_WIDTH_DEFAULT,","// \tSEPARATION_DEFAULT","// } from './modules/create-market/constants/market-values-constraints';","",""]},{"start":{"row":10,"column":39},"end":{"row":11,"column":3},"action":"insert","lines":["{","\t\t\t"]},{"start":{"row":11,"column":17},"end":{"row":12,"column":3},"action":"insert","lines":[" = newState[key];","\t\t}"]}],[{"start":{"row":148,"column":0},"end":{"row":151,"column":2},"action":"remove","lines":["selectors.keywords = {","\tvalue: '',","\tonChangeKeywords: () => {}","};"],"id":247}],[{"start":{"row":33,"column":0},"end":{"row":36,"column":2},"action":"remove","lines":["selectors.keywords = {","\tvalue: '',","\tonChangeKeywords: () => {}","};"],"id":248}],[{"start":{"row":32,"column":0},"end":{"row":33,"column":0},"action":"remove","lines":["",""],"id":249}],[{"start":{"row":31,"column":2},"end":{"row":32,"column":0},"action":"remove","lines":["",""],"id":250}],[{"start":{"row":3,"column":0},"end":{"row":3,"column":62},"action":"remove","lines":["import createMarketForm from './selectors/create-market-form';"],"id":251},{"start":{"row":3,"column":0},"end":{"row":3,"column":62},"action":"insert","lines":["import createMarketForm from './selectors/create-market-form';"]}],[{"start":{"row":3,"column":62},"end":{"row":4,"column":0},"action":"insert","lines":["",""],"id":252}],[{"start":{"row":4,"column":0},"end":{"row":4,"column":62},"action":"insert","lines":["import createMarketForm from './selectors/create-market-form';"],"id":253}],[{"start":{"row":4,"column":62},"end":{"row":5,"column":0},"action":"insert","lines":["",""],"id":254}],[{"start":{"row":4,"column":7},"end":{"row":4,"column":23},"action":"remove","lines":["createMarketForm"],"id":255},{"start":{"row":4,"column":7},"end":{"row":4,"column":8},"action":"insert","lines":["k"]}],[{"start":{"row":4,"column":8},"end":{"row":4,"column":9},"action":"insert","lines":["e"],"id":256}],[{"start":{"row":4,"column":9},"end":{"row":4,"column":10},"action":"insert","lines":["y"],"id":257}],[{"start":{"row":4,"column":10},"end":{"row":4,"column":11},"action":"insert","lines":["w"],"id":258}],[{"start":{"row":4,"column":11},"end":{"row":4,"column":12},"action":"insert","lines":["o"],"id":259}],[{"start":{"row":4,"column":12},"end":{"row":4,"column":13},"action":"insert","lines":["r"],"id":260}],[{"start":{"row":4,"column":13},"end":{"row":4,"column":14},"action":"insert","lines":["d"],"id":261}],[{"start":{"row":4,"column":14},"end":{"row":4,"column":15},"action":"insert","lines":["s"],"id":262}],[{"start":{"row":4,"column":34},"end":{"row":4,"column":52},"action":"remove","lines":["create-market-form"],"id":263},{"start":{"row":4,"column":34},"end":{"row":4,"column":42},"action":"insert","lines":["keywords"]}],[{"start":{"row":4,"column":0},"end":{"row":5,"column":0},"action":"remove","lines":["import keywords from './selectors/keywords';",""],"id":267},{"start":{"row":3,"column":0},"end":{"row":4,"column":0},"action":"insert","lines":["import keywords from './selectors/keywords';",""]}],[{"start":{"row":3,"column":0},"end":{"row":4,"column":0},"action":"remove","lines":["import keywords from './selectors/keywords';",""],"id":268},{"start":{"row":2,"column":0},"end":{"row":3,"column":0},"action":"insert","lines":["import keywords from './selectors/keywords';",""]}],[{"start":{"row":18,"column":9},"end":{"row":19,"column":0},"action":"insert","lines":["",""],"id":269},{"start":{"row":19,"column":0},"end":{"row":19,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":19,"column":1},"end":{"row":19,"column":2},"action":"insert","lines":["k"],"id":270}],[{"start":{"row":19,"column":2},"end":{"row":19,"column":3},"action":"insert","lines":["e"],"id":271}],[{"start":{"row":19,"column":3},"end":{"row":19,"column":4},"action":"insert","lines":["y"],"id":272}],[{"start":{"row":19,"column":4},"end":{"row":19,"column":5},"action":"insert","lines":["w"],"id":273}],[{"start":{"row":19,"column":5},"end":{"row":19,"column":6},"action":"insert","lines":["o"],"id":274}],[{"start":{"row":19,"column":6},"end":{"row":19,"column":7},"action":"insert","lines":["r"],"id":275}],[{"start":{"row":19,"column":7},"end":{"row":19,"column":8},"action":"insert","lines":["d"],"id":276}],[{"start":{"row":19,"column":8},"end":{"row":19,"column":9},"action":"insert","lines":["s"],"id":277}],[{"start":{"row":19,"column":9},"end":{"row":19,"column":10},"action":"insert","lines":[","],"id":278}],[{"start":{"row":47,"column":117},"end":{"row":47,"column":128},"action":"remove","lines":["Description"],"id":279},{"start":{"row":47,"column":117},"end":{"row":47,"column":118},"action":"insert","lines":["L"]}],[{"start":{"row":47,"column":118},"end":{"row":47,"column":119},"action":"insert","lines":["o"],"id":280}],[{"start":{"row":47,"column":119},"end":{"row":47,"column":120},"action":"insert","lines":["w"],"id":281}],[{"start":{"row":47,"column":120},"end":{"row":47,"column":121},"action":"insert","lines":["e"],"id":282}],[{"start":{"row":47,"column":121},"end":{"row":47,"column":122},"action":"insert","lines":["s"],"id":283}],[{"start":{"row":47,"column":122},"end":{"row":47,"column":123},"action":"insert","lines":["t"],"id":284}],[{"start":{"row":47,"column":123},"end":{"row":47,"column":124},"action":"insert","lines":[" "],"id":285}],[{"start":{"row":47,"column":124},"end":{"row":47,"column":125},"action":"insert","lines":["T"],"id":286}],[{"start":{"row":47,"column":125},"end":{"row":47,"column":126},"action":"insert","lines":["a"],"id":287}],[{"start":{"row":47,"column":126},"end":{"row":47,"column":127},"action":"insert","lines":["k"],"id":288}],[{"start":{"row":47,"column":127},"end":{"row":47,"column":128},"action":"insert","lines":["e"],"id":289}],[{"start":{"row":47,"column":128},"end":{"row":47,"column":129},"action":"insert","lines":["r"],"id":290}],[{"start":{"row":47,"column":129},"end":{"row":47,"column":130},"action":"insert","lines":[" "],"id":291}],[{"start":{"row":47,"column":130},"end":{"row":47,"column":131},"action":"insert","lines":["F"],"id":292}],[{"start":{"row":47,"column":131},"end":{"row":47,"column":132},"action":"insert","lines":["e"],"id":293}],[{"start":{"row":47,"column":132},"end":{"row":47,"column":133},"action":"insert","lines":["e"],"id":294}],[{"start":{"row":47,"column":144},"end":{"row":47,"column":155},"action":"remove","lines":["description"],"id":295},{"start":{"row":47,"column":144},"end":{"row":47,"column":145},"action":"insert","lines":["t"]}],[{"start":{"row":47,"column":145},"end":{"row":47,"column":146},"action":"insert","lines":["a"],"id":296}],[{"start":{"row":47,"column":146},"end":{"row":47,"column":147},"action":"insert","lines":["k"],"id":297}],[{"start":{"row":47,"column":147},"end":{"row":47,"column":148},"action":"insert","lines":["e"],"id":298}],[{"start":{"row":47,"column":148},"end":{"row":47,"column":149},"action":"insert","lines":["r"],"id":299}],[{"start":{"row":47,"column":149},"end":{"row":47,"column":150},"action":"insert","lines":["F"],"id":300}],[{"start":{"row":47,"column":150},"end":{"row":47,"column":151},"action":"insert","lines":["e"],"id":301}],[{"start":{"row":47,"column":151},"end":{"row":47,"column":152},"action":"insert","lines":["e"],"id":302}],[{"start":{"row":47,"column":152},"end":{"row":47,"column":153},"action":"insert","lines":["P"],"id":303}],[{"start":{"row":47,"column":153},"end":{"row":47,"column":154},"action":"insert","lines":["e"],"id":304}],[{"start":{"row":47,"column":154},"end":{"row":47,"column":155},"action":"insert","lines":["r"],"id":305}],[{"start":{"row":47,"column":155},"end":{"row":47,"column":156},"action":"insert","lines":["c"],"id":306}],[{"start":{"row":47,"column":156},"end":{"row":47,"column":157},"action":"insert","lines":["e"],"id":307}],[{"start":{"row":47,"column":157},"end":{"row":47,"column":158},"action":"insert","lines":["n"],"id":308}],[{"start":{"row":47,"column":158},"end":{"row":47,"column":159},"action":"insert","lines":["t"],"id":309}],[{"start":{"row":47,"column":117},"end":{"row":47,"column":133},"action":"remove","lines":["Lowest Taker Fee"],"id":310},{"start":{"row":47,"column":117},"end":{"row":47,"column":134},"action":"insert","lines":["Highest Maker Fee"]}],[{"start":{"row":47,"column":145},"end":{"row":47,"column":146},"action":"remove","lines":["t"],"id":311}],[{"start":{"row":47,"column":145},"end":{"row":47,"column":146},"action":"insert","lines":["m"],"id":312}]]},"ace":{"folds":[],"scrolltop":180,"scrollleft":0,"selection":{"start":{"row":29,"column":94},"end":{"row":29,"column":94},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":19,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1466642413546,"hash":"96b813145b69b176a24b2e26ce5c2a1ba8df97fa"}

@@ -1,1 +0,1 @@

{"filter":false,"title":"markets.js","tooltip":"/src/selectors/markets.js","undoManager":{"mark":87,"position":87,"stack":[[{"start":{"row":33,"column":6},"end":{"row":33,"column":10},"action":"remove","lines":["ding"],"id":2}],[{"start":{"row":33,"column":5},"end":{"row":33,"column":6},"action":"remove","lines":["a"],"id":3}],[{"start":{"row":33,"column":4},"end":{"row":33,"column":5},"action":"remove","lines":["r"],"id":4}],[{"start":{"row":33,"column":4},"end":{"row":33,"column":5},"action":"insert","lines":["a"],"id":5}],[{"start":{"row":33,"column":5},"end":{"row":33,"column":6},"action":"insert","lines":["k"],"id":6}],[{"start":{"row":33,"column":6},"end":{"row":33,"column":7},"action":"insert","lines":["e"],"id":7}],[{"start":{"row":33,"column":7},"end":{"row":33,"column":8},"action":"insert","lines":["r"],"id":8}],[{"start":{"row":33,"column":3},"end":{"row":33,"column":60},"action":"remove","lines":["takerFeePercent: makeNumber(randomInt(1, 10), '%', true),"],"id":9},{"start":{"row":33,"column":3},"end":{"row":33,"column":60},"action":"insert","lines":["takerFeePercent: makeNumber(randomInt(1, 10), '%', true),"]}],[{"start":{"row":33,"column":60},"end":{"row":34,"column":0},"action":"insert","lines":["",""],"id":10},{"start":{"row":34,"column":0},"end":{"row":34,"column":3},"action":"insert","lines":["\t\t\t"]}],[{"start":{"row":34,"column":3},"end":{"row":34,"column":60},"action":"insert","lines":["takerFeePercent: makeNumber(randomInt(1, 10), '%', true),"],"id":11}],[{"start":{"row":34,"column":3},"end":{"row":34,"column":4},"action":"remove","lines":["t"],"id":12}],[{"start":{"row":34,"column":3},"end":{"row":34,"column":4},"action":"insert","lines":["m"],"id":13}],[{"start":{"row":35,"column":0},"end":{"row":36,"column":0},"action":"remove","lines":["\t\t\tmakerFeePercent: makeNumber(randomInt(0, 100), '%', true),",""],"id":14}],[{"start":{"row":34,"column":44},"end":{"row":34,"column":46},"action":"remove","lines":["10"],"id":26},{"start":{"row":34,"column":44},"end":{"row":34,"column":45},"action":"insert","lines":["5"]}],[{"start":{"row":31,"column":37},"end":{"row":31,"column":38},"action":"insert","lines":[","],"id":27}],[{"start":{"row":31,"column":38},"end":{"row":31,"column":39},"action":"insert","lines":[" "],"id":28}],[{"start":{"row":31,"column":39},"end":{"row":31,"column":40},"action":"insert","lines":["f"],"id":29}],[{"start":{"row":31,"column":40},"end":{"row":31,"column":41},"action":"insert","lines":["u"],"id":30}],[{"start":{"row":31,"column":41},"end":{"row":31,"column":42},"action":"insert","lines":["l"],"id":31}],[{"start":{"row":31,"column":42},"end":{"row":31,"column":43},"action":"insert","lines":["l"],"id":32}],[{"start":{"row":31,"column":43},"end":{"row":31,"column":44},"action":"insert","lines":[":"],"id":33}],[{"start":{"row":31,"column":44},"end":{"row":31,"column":45},"action":"insert","lines":[" "],"id":34}],[{"start":{"row":31,"column":45},"end":{"row":31,"column":46},"action":"insert","lines":["n"],"id":35}],[{"start":{"row":31,"column":46},"end":{"row":31,"column":47},"action":"insert","lines":["e"],"id":36}],[{"start":{"row":31,"column":47},"end":{"row":31,"column":48},"action":"insert","lines":["w"],"id":37}],[{"start":{"row":31,"column":48},"end":{"row":31,"column":49},"action":"insert","lines":[" "],"id":38}],[{"start":{"row":31,"column":49},"end":{"row":31,"column":50},"action":"insert","lines":["D"],"id":39}],[{"start":{"row":31,"column":50},"end":{"row":31,"column":51},"action":"insert","lines":["a"],"id":40}],[{"start":{"row":31,"column":51},"end":{"row":31,"column":52},"action":"insert","lines":["t"],"id":41}],[{"start":{"row":31,"column":52},"end":{"row":31,"column":53},"action":"insert","lines":["e"],"id":42}],[{"start":{"row":31,"column":53},"end":{"row":31,"column":54},"action":"insert","lines":["("],"id":43}],[{"start":{"row":31,"column":54},"end":{"row":31,"column":55},"action":"insert","lines":[")"],"id":44}],[{"start":{"row":31,"column":54},"end":{"row":31,"column":55},"action":"insert","lines":["'"],"id":45}],[{"start":{"row":31,"column":55},"end":{"row":31,"column":56},"action":"insert","lines":["2"],"id":46}],[{"start":{"row":31,"column":56},"end":{"row":31,"column":57},"action":"insert","lines":["0"],"id":47}],[{"start":{"row":31,"column":57},"end":{"row":31,"column":58},"action":"insert","lines":["1"],"id":48}],[{"start":{"row":31,"column":58},"end":{"row":31,"column":59},"action":"insert","lines":["7"],"id":49}],[{"start":{"row":31,"column":59},"end":{"row":31,"column":60},"action":"insert","lines":["/"],"id":50}],[{"start":{"row":31,"column":60},"end":{"row":31,"column":61},"action":"insert","lines":["1"],"id":51}],[{"start":{"row":31,"column":61},"end":{"row":31,"column":62},"action":"insert","lines":["2"],"id":52}],[{"start":{"row":31,"column":62},"end":{"row":31,"column":63},"action":"insert","lines":["/"],"id":53}],[{"start":{"row":31,"column":63},"end":{"row":31,"column":64},"action":"insert","lines":["1"],"id":54}],[{"start":{"row":31,"column":64},"end":{"row":31,"column":65},"action":"insert","lines":["2"],"id":55}],[{"start":{"row":31,"column":65},"end":{"row":31,"column":66},"action":"insert","lines":["/"],"id":56}],[{"start":{"row":31,"column":66},"end":{"row":31,"column":67},"action":"insert","lines":["'"],"id":57}],[{"start":{"row":31,"column":68},"end":{"row":31,"column":83},"action":"insert","lines":["d.toISOString()"],"id":59}],[{"start":{"row":31,"column":68},"end":{"row":31,"column":69},"action":"remove","lines":["d"],"id":60}],[{"start":{"row":31,"column":26},"end":{"row":31,"column":32},"action":"remove","lines":["12/12/"],"id":61}],[{"start":{"row":31,"column":30},"end":{"row":31,"column":31},"action":"insert","lines":["/"],"id":62}],[{"start":{"row":31,"column":31},"end":{"row":31,"column":37},"action":"insert","lines":["12/12/"],"id":63}],[{"start":{"row":31,"column":36},"end":{"row":31,"column":37},"action":"remove","lines":["/"],"id":64}],[{"start":{"row":32,"column":28},"end":{"row":32,"column":38},"action":"remove","lines":["12/12/2017"],"id":65},{"start":{"row":32,"column":28},"end":{"row":32,"column":38},"action":"insert","lines":["2017/12/12"]}],[{"start":{"row":26,"column":30},"end":{"row":27,"column":0},"action":"insert","lines":["",""],"id":66},{"start":{"row":27,"column":0},"end":{"row":27,"column":2},"action":"insert","lines":["\t\t"]}],[{"start":{"row":27,"column":2},"end":{"row":27,"column":3},"action":"insert","lines":["c"],"id":67}],[{"start":{"row":27,"column":3},"end":{"row":27,"column":4},"action":"insert","lines":["o"],"id":68}],[{"start":{"row":27,"column":4},"end":{"row":27,"column":5},"action":"insert","lines":["n"],"id":69}],[{"start":{"row":27,"column":5},"end":{"row":27,"column":6},"action":"insert","lines":["s"],"id":70}],[{"start":{"row":27,"column":6},"end":{"row":27,"column":7},"action":"insert","lines":["t"],"id":71}],[{"start":{"row":27,"column":7},"end":{"row":27,"column":8},"action":"insert","lines":[" "],"id":72}],[{"start":{"row":27,"column":8},"end":{"row":27,"column":9},"action":"insert","lines":["d"],"id":73}],[{"start":{"row":27,"column":9},"end":{"row":27,"column":10},"action":"insert","lines":[" "],"id":74}],[{"start":{"row":27,"column":10},"end":{"row":27,"column":11},"action":"insert","lines":["="],"id":75}],[{"start":{"row":27,"column":11},"end":{"row":27,"column":12},"action":"insert","lines":[" "],"id":76}],[{"start":{"row":27,"column":12},"end":{"row":27,"column":35},"action":"insert","lines":["new Date('2017/12/12/')"],"id":77}],[{"start":{"row":27,"column":35},"end":{"row":27,"column":36},"action":"insert","lines":[";"],"id":78}],[{"start":{"row":33,"column":18},"end":{"row":33,"column":40},"action":"remove","lines":["new Date('2017/12/12')"],"id":79},{"start":{"row":33,"column":18},"end":{"row":33,"column":19},"action":"insert","lines":["d"]}],[{"start":{"row":32,"column":45},"end":{"row":32,"column":68},"action":"remove","lines":["new Date('2017/12/12/')"],"id":80},{"start":{"row":32,"column":45},"end":{"row":32,"column":46},"action":"insert","lines":["d"]}],[{"start":{"row":32,"column":25},"end":{"row":32,"column":37},"action":"remove","lines":["'2017/12/12'"],"id":81},{"start":{"row":32,"column":25},"end":{"row":32,"column":85},"action":"insert","lines":["`${months[d.getMonth()]} ${d.getDate()}, ${d.getFullYear()}`"]}],[{"start":{"row":32,"column":66},"end":{"row":32,"column":83},"action":"remove","lines":["${d.getFullYear()"],"id":82}],[{"start":{"row":32,"column":65},"end":{"row":32,"column":66},"action":"remove","lines":[" "],"id":83}],[{"start":{"row":32,"column":64},"end":{"row":32,"column":65},"action":"remove","lines":[","],"id":84}],[{"start":{"row":32,"column":64},"end":{"row":32,"column":65},"action":"insert","lines":[" "],"id":85}],[{"start":{"row":32,"column":26},"end":{"row":32,"column":43},"action":"insert","lines":["${d.getFullYear()"],"id":86}],[{"start":{"row":32,"column":43},"end":{"row":32,"column":44},"action":"insert","lines":[" "],"id":87}],[{"start":{"row":32,"column":43},"end":{"row":32,"column":44},"action":"remove","lines":[" "],"id":88}],[{"start":{"row":32,"column":43},"end":{"row":32,"column":44},"action":"insert","lines":["/"],"id":89}],[{"start":{"row":32,"column":46},"end":{"row":32,"column":53},"action":"remove","lines":["months["],"id":90}],[{"start":{"row":32,"column":58},"end":{"row":32,"column":59},"action":"remove","lines":["]"],"id":91}],[{"start":{"row":32,"column":59},"end":{"row":32,"column":60},"action":"insert","lines":["/"],"id":92}],[{"start":{"row":32,"column":60},"end":{"row":32,"column":61},"action":"remove","lines":[" "],"id":93}],[{"start":{"row":32,"column":74},"end":{"row":32,"column":75},"action":"insert","lines":["`"],"id":94}],[{"start":{"row":32,"column":74},"end":{"row":32,"column":75},"action":"remove","lines":["`"],"id":95}],[{"start":{"row":32,"column":74},"end":{"row":32,"column":75},"action":"insert","lines":["`"],"id":96}],[{"start":{"row":32,"column":74},"end":{"row":32,"column":75},"action":"remove","lines":["`"],"id":97}],[{"start":{"row":32,"column":73},"end":{"row":32,"column":74},"action":"remove","lines":["}"],"id":98}],[{"start":{"row":32,"column":43},"end":{"row":32,"column":44},"action":"insert","lines":["}"],"id":99}],[{"start":{"row":36,"column":44},"end":{"row":36,"column":50},"action":"remove","lines":["Shares"],"id":100},{"start":{"row":36,"column":44},"end":{"row":36,"column":50},"action":"insert","lines":["shares"]}],[{"start":{"row":233,"column":36},"end":{"row":233,"column":42},"action":"remove","lines":["Shares"],"id":101},{"start":{"row":233,"column":36},"end":{"row":233,"column":42},"action":"insert","lines":["shares"]}]]},"ace":{"folds":[],"scrolltop":180,"scrollleft":0,"selection":{"start":{"row":51,"column":30},"end":{"row":51,"column":30},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":0,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1466638364156,"hash":"b6f97b20324f00d4517a34acaecefe8f54b2ea36"}
{"filter":false,"title":"markets.js","tooltip":"/src/selectors/markets.js","undoManager":{"mark":88,"position":88,"stack":[[{"start":{"row":33,"column":6},"end":{"row":33,"column":10},"action":"remove","lines":["ding"],"id":2}],[{"start":{"row":33,"column":5},"end":{"row":33,"column":6},"action":"remove","lines":["a"],"id":3}],[{"start":{"row":33,"column":4},"end":{"row":33,"column":5},"action":"remove","lines":["r"],"id":4}],[{"start":{"row":33,"column":4},"end":{"row":33,"column":5},"action":"insert","lines":["a"],"id":5}],[{"start":{"row":33,"column":5},"end":{"row":33,"column":6},"action":"insert","lines":["k"],"id":6}],[{"start":{"row":33,"column":6},"end":{"row":33,"column":7},"action":"insert","lines":["e"],"id":7}],[{"start":{"row":33,"column":7},"end":{"row":33,"column":8},"action":"insert","lines":["r"],"id":8}],[{"start":{"row":33,"column":3},"end":{"row":33,"column":60},"action":"remove","lines":["takerFeePercent: makeNumber(randomInt(1, 10), '%', true),"],"id":9},{"start":{"row":33,"column":3},"end":{"row":33,"column":60},"action":"insert","lines":["takerFeePercent: makeNumber(randomInt(1, 10), '%', true),"]}],[{"start":{"row":33,"column":60},"end":{"row":34,"column":0},"action":"insert","lines":["",""],"id":10},{"start":{"row":34,"column":0},"end":{"row":34,"column":3},"action":"insert","lines":["\t\t\t"]}],[{"start":{"row":34,"column":3},"end":{"row":34,"column":60},"action":"insert","lines":["takerFeePercent: makeNumber(randomInt(1, 10), '%', true),"],"id":11}],[{"start":{"row":34,"column":3},"end":{"row":34,"column":4},"action":"remove","lines":["t"],"id":12}],[{"start":{"row":34,"column":3},"end":{"row":34,"column":4},"action":"insert","lines":["m"],"id":13}],[{"start":{"row":35,"column":0},"end":{"row":36,"column":0},"action":"remove","lines":["\t\t\tmakerFeePercent: makeNumber(randomInt(0, 100), '%', true),",""],"id":14}],[{"start":{"row":34,"column":44},"end":{"row":34,"column":46},"action":"remove","lines":["10"],"id":26},{"start":{"row":34,"column":44},"end":{"row":34,"column":45},"action":"insert","lines":["5"]}],[{"start":{"row":31,"column":37},"end":{"row":31,"column":38},"action":"insert","lines":[","],"id":27}],[{"start":{"row":31,"column":38},"end":{"row":31,"column":39},"action":"insert","lines":[" "],"id":28}],[{"start":{"row":31,"column":39},"end":{"row":31,"column":40},"action":"insert","lines":["f"],"id":29}],[{"start":{"row":31,"column":40},"end":{"row":31,"column":41},"action":"insert","lines":["u"],"id":30}],[{"start":{"row":31,"column":41},"end":{"row":31,"column":42},"action":"insert","lines":["l"],"id":31}],[{"start":{"row":31,"column":42},"end":{"row":31,"column":43},"action":"insert","lines":["l"],"id":32}],[{"start":{"row":31,"column":43},"end":{"row":31,"column":44},"action":"insert","lines":[":"],"id":33}],[{"start":{"row":31,"column":44},"end":{"row":31,"column":45},"action":"insert","lines":[" "],"id":34}],[{"start":{"row":31,"column":45},"end":{"row":31,"column":46},"action":"insert","lines":["n"],"id":35}],[{"start":{"row":31,"column":46},"end":{"row":31,"column":47},"action":"insert","lines":["e"],"id":36}],[{"start":{"row":31,"column":47},"end":{"row":31,"column":48},"action":"insert","lines":["w"],"id":37}],[{"start":{"row":31,"column":48},"end":{"row":31,"column":49},"action":"insert","lines":[" "],"id":38}],[{"start":{"row":31,"column":49},"end":{"row":31,"column":50},"action":"insert","lines":["D"],"id":39}],[{"start":{"row":31,"column":50},"end":{"row":31,"column":51},"action":"insert","lines":["a"],"id":40}],[{"start":{"row":31,"column":51},"end":{"row":31,"column":52},"action":"insert","lines":["t"],"id":41}],[{"start":{"row":31,"column":52},"end":{"row":31,"column":53},"action":"insert","lines":["e"],"id":42}],[{"start":{"row":31,"column":53},"end":{"row":31,"column":54},"action":"insert","lines":["("],"id":43}],[{"start":{"row":31,"column":54},"end":{"row":31,"column":55},"action":"insert","lines":[")"],"id":44}],[{"start":{"row":31,"column":54},"end":{"row":31,"column":55},"action":"insert","lines":["'"],"id":45}],[{"start":{"row":31,"column":55},"end":{"row":31,"column":56},"action":"insert","lines":["2"],"id":46}],[{"start":{"row":31,"column":56},"end":{"row":31,"column":57},"action":"insert","lines":["0"],"id":47}],[{"start":{"row":31,"column":57},"end":{"row":31,"column":58},"action":"insert","lines":["1"],"id":48}],[{"start":{"row":31,"column":58},"end":{"row":31,"column":59},"action":"insert","lines":["7"],"id":49}],[{"start":{"row":31,"column":59},"end":{"row":31,"column":60},"action":"insert","lines":["/"],"id":50}],[{"start":{"row":31,"column":60},"end":{"row":31,"column":61},"action":"insert","lines":["1"],"id":51}],[{"start":{"row":31,"column":61},"end":{"row":31,"column":62},"action":"insert","lines":["2"],"id":52}],[{"start":{"row":31,"column":62},"end":{"row":31,"column":63},"action":"insert","lines":["/"],"id":53}],[{"start":{"row":31,"column":63},"end":{"row":31,"column":64},"action":"insert","lines":["1"],"id":54}],[{"start":{"row":31,"column":64},"end":{"row":31,"column":65},"action":"insert","lines":["2"],"id":55}],[{"start":{"row":31,"column":65},"end":{"row":31,"column":66},"action":"insert","lines":["/"],"id":56}],[{"start":{"row":31,"column":66},"end":{"row":31,"column":67},"action":"insert","lines":["'"],"id":57}],[{"start":{"row":31,"column":68},"end":{"row":31,"column":83},"action":"insert","lines":["d.toISOString()"],"id":59}],[{"start":{"row":31,"column":68},"end":{"row":31,"column":69},"action":"remove","lines":["d"],"id":60}],[{"start":{"row":31,"column":26},"end":{"row":31,"column":32},"action":"remove","lines":["12/12/"],"id":61}],[{"start":{"row":31,"column":30},"end":{"row":31,"column":31},"action":"insert","lines":["/"],"id":62}],[{"start":{"row":31,"column":31},"end":{"row":31,"column":37},"action":"insert","lines":["12/12/"],"id":63}],[{"start":{"row":31,"column":36},"end":{"row":31,"column":37},"action":"remove","lines":["/"],"id":64}],[{"start":{"row":32,"column":28},"end":{"row":32,"column":38},"action":"remove","lines":["12/12/2017"],"id":65},{"start":{"row":32,"column":28},"end":{"row":32,"column":38},"action":"insert","lines":["2017/12/12"]}],[{"start":{"row":26,"column":30},"end":{"row":27,"column":0},"action":"insert","lines":["",""],"id":66},{"start":{"row":27,"column":0},"end":{"row":27,"column":2},"action":"insert","lines":["\t\t"]}],[{"start":{"row":27,"column":2},"end":{"row":27,"column":3},"action":"insert","lines":["c"],"id":67}],[{"start":{"row":27,"column":3},"end":{"row":27,"column":4},"action":"insert","lines":["o"],"id":68}],[{"start":{"row":27,"column":4},"end":{"row":27,"column":5},"action":"insert","lines":["n"],"id":69}],[{"start":{"row":27,"column":5},"end":{"row":27,"column":6},"action":"insert","lines":["s"],"id":70}],[{"start":{"row":27,"column":6},"end":{"row":27,"column":7},"action":"insert","lines":["t"],"id":71}],[{"start":{"row":27,"column":7},"end":{"row":27,"column":8},"action":"insert","lines":[" "],"id":72}],[{"start":{"row":27,"column":8},"end":{"row":27,"column":9},"action":"insert","lines":["d"],"id":73}],[{"start":{"row":27,"column":9},"end":{"row":27,"column":10},"action":"insert","lines":[" "],"id":74}],[{"start":{"row":27,"column":10},"end":{"row":27,"column":11},"action":"insert","lines":["="],"id":75}],[{"start":{"row":27,"column":11},"end":{"row":27,"column":12},"action":"insert","lines":[" "],"id":76}],[{"start":{"row":27,"column":12},"end":{"row":27,"column":35},"action":"insert","lines":["new Date('2017/12/12/')"],"id":77}],[{"start":{"row":27,"column":35},"end":{"row":27,"column":36},"action":"insert","lines":[";"],"id":78}],[{"start":{"row":33,"column":18},"end":{"row":33,"column":40},"action":"remove","lines":["new Date('2017/12/12')"],"id":79},{"start":{"row":33,"column":18},"end":{"row":33,"column":19},"action":"insert","lines":["d"]}],[{"start":{"row":32,"column":45},"end":{"row":32,"column":68},"action":"remove","lines":["new Date('2017/12/12/')"],"id":80},{"start":{"row":32,"column":45},"end":{"row":32,"column":46},"action":"insert","lines":["d"]}],[{"start":{"row":32,"column":25},"end":{"row":32,"column":37},"action":"remove","lines":["'2017/12/12'"],"id":81},{"start":{"row":32,"column":25},"end":{"row":32,"column":85},"action":"insert","lines":["`${months[d.getMonth()]} ${d.getDate()}, ${d.getFullYear()}`"]}],[{"start":{"row":32,"column":66},"end":{"row":32,"column":83},"action":"remove","lines":["${d.getFullYear()"],"id":82}],[{"start":{"row":32,"column":65},"end":{"row":32,"column":66},"action":"remove","lines":[" "],"id":83}],[{"start":{"row":32,"column":64},"end":{"row":32,"column":65},"action":"remove","lines":[","],"id":84}],[{"start":{"row":32,"column":64},"end":{"row":32,"column":65},"action":"insert","lines":[" "],"id":85}],[{"start":{"row":32,"column":26},"end":{"row":32,"column":43},"action":"insert","lines":["${d.getFullYear()"],"id":86}],[{"start":{"row":32,"column":43},"end":{"row":32,"column":44},"action":"insert","lines":[" "],"id":87}],[{"start":{"row":32,"column":43},"end":{"row":32,"column":44},"action":"remove","lines":[" "],"id":88}],[{"start":{"row":32,"column":43},"end":{"row":32,"column":44},"action":"insert","lines":["/"],"id":89}],[{"start":{"row":32,"column":46},"end":{"row":32,"column":53},"action":"remove","lines":["months["],"id":90}],[{"start":{"row":32,"column":58},"end":{"row":32,"column":59},"action":"remove","lines":["]"],"id":91}],[{"start":{"row":32,"column":59},"end":{"row":32,"column":60},"action":"insert","lines":["/"],"id":92}],[{"start":{"row":32,"column":60},"end":{"row":32,"column":61},"action":"remove","lines":[" "],"id":93}],[{"start":{"row":32,"column":74},"end":{"row":32,"column":75},"action":"insert","lines":["`"],"id":94}],[{"start":{"row":32,"column":74},"end":{"row":32,"column":75},"action":"remove","lines":["`"],"id":95}],[{"start":{"row":32,"column":74},"end":{"row":32,"column":75},"action":"insert","lines":["`"],"id":96}],[{"start":{"row":32,"column":74},"end":{"row":32,"column":75},"action":"remove","lines":["`"],"id":97}],[{"start":{"row":32,"column":73},"end":{"row":32,"column":74},"action":"remove","lines":["}"],"id":98}],[{"start":{"row":32,"column":43},"end":{"row":32,"column":44},"action":"insert","lines":["}"],"id":99}],[{"start":{"row":36,"column":44},"end":{"row":36,"column":50},"action":"remove","lines":["Shares"],"id":100},{"start":{"row":36,"column":44},"end":{"row":36,"column":50},"action":"insert","lines":["shares"]}],[{"start":{"row":233,"column":36},"end":{"row":233,"column":42},"action":"remove","lines":["Shares"],"id":101},{"start":{"row":233,"column":36},"end":{"row":233,"column":42},"action":"insert","lines":["shares"]}],[{"start":{"row":32,"column":74},"end":{"row":32,"column":75},"action":"remove","lines":[" "],"id":102}]]},"ace":{"folds":[],"scrolltop":180,"scrollleft":0,"selection":{"start":{"row":32,"column":74},"end":{"row":32,"column":74},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":14,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1466642487384,"hash":"d7d216af3f2763c10b44f5f907d56a2cac4b8506"}

@@ -1,1 +0,1 @@

{"filter":false,"title":"market-test.js","tooltip":"/test/market-test.js","undoManager":{"mark":-1,"position":-1,"stack":[]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":9,"column":10},"end":{"row":9,"column":27},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1466637285369,"hash":"209c33421254f438cf5e8987161d1502bb33d284"}
{"filter":false,"title":"market-test.js","tooltip":"/test/market-test.js","undoManager":{"mark":-1,"position":-1,"stack":[]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":9,"column":10},"end":{"row":9,"column":27},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":14,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1466637285369,"hash":"209c33421254f438cf5e8987161d1502bb33d284"}
{
"name": "augur-ui-react-components",
"version": "3.0.4",
"version": "3.0.5",
"description": "Augur UI React Components",

@@ -5,0 +5,0 @@ "author": "Baz (@thinkloop)",

@@ -48,3 +48,3 @@ import loginAccount from './selectors/login-account';

selectedSort: { prop: 'creationDate', isDesc: true },
sortOptions: [{ label: 'Creation Date', value: 'creationDate' }, { label: 'End Date', value: 'endDate' }, { label: 'Lowest Taker Fee', value: 'takerFeePercent' }]
sortOptions: [{ label: 'Creation Date', value: 'creationDate' }, { label: 'End Date', value: 'endDate' }, { label: 'Highest Maker Fee', value: 'makerFeePercent' }]
};

@@ -51,0 +51,0 @@

@@ -33,3 +33,3 @@ import { makeNumber } from '../utils/make-number';

description: `Will the dwerps achieve a mwerp by the end of zwerp ${(index + 1)}?`,
endDate: { formatted: `${d.getFullYear()}/${d.getMonth()}/${d.getDate() }`, full: d.toISOString() },
endDate: { formatted: `${d.getFullYear()}/${d.getMonth()}/${d.getDate()}`, full: d.toISOString() },
endDateLabel: (d < new Date()) ? 'ended' : 'ends',

@@ -36,0 +36,0 @@ takerFeePercent: makeNumber(randomInt(1, 10), '%', true),

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc