{"_id":"@dolomite-exchange/dolomite-margin","_rev":"109-fe6d5f57c69cfe5540e96ca91e1c438e","name":"@dolomite-exchange/dolomite-margin","dist-tags":{"latest":"0.15.4"},"versions":{"0.1.0":{"name":"@dolomite-exchange/dolomite-margin","version":"0.1.0","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.1.0","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"4cecf48b3de0dc86a4ebc9b7b54c142ba17901ca","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.1.0.tgz","fileCount":288,"integrity":"sha512-f/E6BmfpzZ6kd64FdPuA9+eL9wD2iY5EAIwWcic0a2klKAvNx0N4Hi5GT7d+bKQm/g0GCjbk/yM0gch4oFkhIA==","signatures":[{"sig":"MEUCIEpyVzBHAhT7b8OfTXNUYWmHAKavcqbIHZNs7t8Yo5WnAiEA0QGuqxjmW7LP8oJ7g0dZVeobb9jkfM/VkEtmkRHMPrs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55201178,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3Ri7CRA9TVsSAnZWagAAoiwP+wUD2VUs0JIvx2oZNjPJ\nahSzEMEbWms6kK6tow7A7Z0AWptJxuKviKTNZugYbfH88dIDa2hfMlosvPBS\nnEGkNG5inMgdA0iUF3k1jbkyYab1vfhdZvdikhSyA/5VI+u7tivHTrlveqpp\npsPStG816xP+z3l0OlQBgZGHqu0N7Qgy1iZA0YWooZdsuiJLJikZLsg+c32R\nNHGBnt+9z7W02HJ1WE0S90jtbSBLsXxEf8ZyeGmbet2Awdm7UB/+IfsI8pK5\nAgj+oeqBlWmsDX9GLZwXaZLKlaQgeJgM8aZYBMEIqlqqRj1WTFKlG7hKBhsi\n6Z0jYvibUQt0n8dPatCqOJBhiIi+e8LbkTQFHt4TO6ENXlKrHuStK76PuPkK\nQYWFWCS5Aab9pNlfw+FTEo9njMKspKustC3lKF3w8jIWK1C+DdaPRRQ+FPQq\nG9XbUPRNUh9X7nyCKYhTuh8i7Gj/iEs6ceaSIQagpKvIwWTy0CYwEi/QxC+h\nzEX0+tyoSIIBmQMCx2t+kExqVMG+NLsreNwJGGco2k3/GBB2MdNv/VltzmbX\nU7NAAEPHdxvTjG8dMqTMAzR2yuVRthmYgejE8E4P/AXuOqQTywYJtoS71yZj\ndW+0UgL5ouKMnC6x3WxaBKoo8poIPv9Y7vE3DsOhoYiDLgZ0ed/ZhMMhcvar\nuWNt\r\n=DNBW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","gitHead":"ba1e8eac5a64272a822c15edceedc4f16be61eb3","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run copy_all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","copy_all":"echo 'copied'","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run copy_all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","deploy_test_matic":"NETWORK=mumbai_matic npm run deploy","snapshot_test_evm":"node scripts/snapshot-test-evm.js","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'ChainlinkPriceOracleV1'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.8","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.23.0","dependencies":{"ws":"^7.2.0","web3":"1.2.1","axios":"^0.19.0","ethers":"^4.0.49","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","openzeppelin-solidity":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"^27.4.5","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"^27.1.1","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.1.0_1641879739161_0.8626622922970588","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@dolomite-exchange/dolomite-margin","version":"0.1.1","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.1.1","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"c3d332c677fcddae7dd41322a085151513eab920","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.1.1.tgz","fileCount":288,"integrity":"sha512-9AdYWlIVI6kxyDJeQbJqTVGAsDlcV2IcSdpEnbn2ew0STUp+6pAtCc0/oGZKGO0fN8V1Jv0CvjQcHCn5605Czg==","signatures":[{"sig":"MEUCIQCQvl1GfqUSmccLtRdq+t249gFSfy2ncY68YuItkkrkdAIgZzQ3lHosaTFzL3gooZBk3LXbwFitSkpbKEahx3NQbws=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55319060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3S+NCRA9TVsSAnZWagAAJhkP/0jP8+QSnJhRnyUVhLbN\npA6+CsIsywK0AbUt3iLqX/J1OQkPzRky5piu5zhlfKkp/7aX99gelBAA2GVJ\nvp39Ta9IHhpXoEfMacuuenLRdtbdIzeG8zw5dJxrCLdw2o7dT5bgOBAuhT3A\nHS2/xaW5yVVp/1UXMYFvOfgy/GwPgGZJGDg0VUKBt+mok0BqZJuEEeVH5TOD\nMJmiZ3sCXNP6fbWJU3TVsiaU/yobEwkEsRDBHV9woyz6ar0+qlSoOu4Evpwa\nrjCsS60Oyr7wLOUGK3afSO1HBIEqVdjfTvlOJMagu5V29TLuLHwPaNWtLZ+1\nLi4SLRQhW7VMpScg21KBabBkhwWhVSzTZusXeH4KXlycsOSS0264wiuKRFlE\nR17m+RE6uW41IsvTpItm8BClFcmitBud/xEN1746hJ8SaPSR7qNlT8dQMrwm\n35Q4O7vOF63La5CJubfCe4x8dN33/beJJqfz0Xi+XaMQMi6JNJfaFnoGQpct\nqvk3f7oBxJwRKF/il9NchfahaVOsKz7rXn9jTLb2hidLeO/AKYiOZ+ygib6E\nwxSiRM64MRMQi/+Ji5WEOA0HeoH5XTKVMxnRjcsaCXgFPMgWlyYywdiuUqxt\ns+29OIYeF49J3NdWAzQdq0DiC6Nv4PwUjUCjMFvV4Lp9hMPbwLqnNtYRDs5+\n6NMN\r\n=LqFR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","gitHead":"3be51fa174fc5d455defa04112983017ed439685","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run copy_all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build && mkdir dist/contracts && cp -r contracts/protocol dist/contracts/protocol","copy_all":"echo 'copied'","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run copy_all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","deploy_test_matic":"NETWORK=mumbai_matic npm run deploy","snapshot_test_evm":"node scripts/snapshot-test-evm.js","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'AmmRebalancerProxy'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.10","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"12.20.1","dependencies":{"ws":"^7.2.0","web3":"1.2.1","axios":"^0.19.0","ethers":"^4.0.49","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","openzeppelin-solidity":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"^27.4.5","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"^27.1.1","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.1.1_1641885581598_0.7741961571893199","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@dolomite-exchange/dolomite-margin","version":"0.1.2","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.1.2","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"83389b05d6e61dfd5099189be5cf3695f61bc958","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.1.2.tgz","fileCount":323,"integrity":"sha512-aMzlbB5bKOTNT7iK26Xu5nlOLOak21kO9Cu2rxTJSp8MULbsv0vhcfDJxt1uVfs+uCYg1aJZvX3Tc+UuPCITQQ==","signatures":[{"sig":"MEQCIGsqaFyWOQ+SdW0lf2yRWqRhIXV5TzhcHOsI6pPSRbQFAiAh//14COIfVG5z399BvpUjSIaAUHno4JSWW66X3CFCrg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55911693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3TFtCRA9TVsSAnZWagAA/p0P+QHw+zSnqLHS2VnSkMTn\nwbRftWkfB83HR1yLvLHb7+z80CZYZqlGuKfp61VaiHSgV54970CT4yrr3/Jt\nHu277LMQyXfbZmlRCH/L7DbmexJ19aJ8cpJKRiYv2xYeD2x8mkbemyLyCWap\nFlggPlFshkbFy2AQjuLthsb7zu1rjgKnrzs+D/o350aYppEin4y04K1iczKK\nVwymdMmuIGwFKtz0pm8lP4P7LaWMrToJYHRoF7U2c5mnFMMpf8lIM1oNxByq\ns+LRxu181outbYSH+ZFVRQc0fnq645h1ChiV2qu6b6Qk0yYiY/3WUZLQNadn\naBFgSzcQTwEnBLpwRzA+jOm7znYtE012aNgDt9WRS4pb6MXVeM1DTc/kuI8K\nFGYHXnSQo6uCwEEsTeUOyJryy4jM3hqd6zhgElZQdvkBj8mB16g59oEaMnvF\ncDE89IGzDSPSC42NzSi5GIqam8983M1a5FVrYhb1PBcI1B7LV3vVfWH3jy2P\njWUmM+RUDr+ZJ5Plh0QxUK4AZOSTmSET1dNMAuid4ZxrwiSlV5kaYqEXhuHT\nFVLyk7x6Z4hrvIk5UY5xFjmk5JCUeETsEM4dzd68zwtSln+yZr2OzDyIkXVL\nwq24dVS7GbgzEauuALfhaGHTfsZgdHD+Ij9os5FOWk02Fe4nSbEfX9lusGvM\n2X2B\r\n=KkNj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","gitHead":"8244790018f74d3d5dd99a37c570beaaedd284e7","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run copy_all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build && mkdir dist/contracts && cp -r contracts/protocol dist/contracts/protocol","copy_all":"echo 'copied'","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run copy_all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","deploy_test_matic":"NETWORK=mumbai_matic npm run deploy","snapshot_test_evm":"node scripts/snapshot-test-evm.js","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'AmmRebalancerProxy'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.10","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"12.20.1","dependencies":{"ws":"^7.2.0","web3":"1.2.1","axios":"^0.21.1","ethers":"^4.0.49","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","openzeppelin-solidity":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"^27.4.5","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"^27.1.1","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.1.2_1641886061077_0.7734469764909886","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@dolomite-exchange/dolomite-margin","version":"0.1.3","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.1.3","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"4ca5e9e79fd2b6d153b83af7f5524462fe57d0f8","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.1.3.tgz","fileCount":323,"integrity":"sha512-7WMZQ8voQoqg5VKCWl32olkIFYLIvbkuggPGuueqfuc7yr5EN8WHeCz5kahhJcEd8urREUPlWkUWpaIYM7sNGw==","signatures":[{"sig":"MEQCIASDHMw4Y1Oj4S+CxZsB8zxKW6uoIEtyadzdWN+2nuSXAiB4Gm8m1QIOlG2Y59O3w8IJng75ydGzcu5XkTCUbOxzew==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55911621,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3TIyCRA9TVsSAnZWagAAfHkP/2/I4JvlR3w8v0AbXS+n\nAULA1oxOt8xbTk3oOivqUubGxdOXk3g/e1MqFc6Ifs2g9cX24e/xKbZeMzAG\nj4vU9RCYTIygbtfRbS0dxYkQnnZySSXXB5FJgAJWb6DOKgAFHChKCC+Rv8XQ\nwKhZOnrGpxWlEHDp9MdezBJa8l3CVcYZSz4IZ7RyW+1VPq0igNd3OlkchVKY\n0qOhak86fznbIJ+pEGC5u3ackZEQaIMjiYU97WhbofE2YPBqcCy1K2Y4VN6F\nV0AisHjlKz/wmykngLDOQ2d/uX3iccGd/OPajJ7rzUD0149va8I2EcxnvPi7\nlft7IPpSgwd09/rI9irNvVPuHJyGlH2wQN/rRv0JZeYMC1h1cG0FLnNDYFMC\nm9C7x/YZOVf8xL9CMV6L95sYwSBCEdGdFu+Voej1sBkmZsQs9SNJLeBSIiR0\nb/ZNay6y7pkVWgMFqugsEbuzIm/B85GPjTPtipx+Yul97hwTPd/4VMw+gpW9\n9Tx6AIJCUAD9QZgu0XCFEH70CJVSKUIRkn7zNARMzk/pcM6rWq7/PwHcYtja\ngy8wyS4icHrdyBkBK3V+N9Q+TZR+r3C8RaNM1CZTshS1IdgA/HXHdrYcoK17\n4uxFd5AGNozOxgeju7aIquOQrqfmENJ/qfCAW3+5x0zTWxZD78kV/ECcjcDm\n74vm\r\n=puYX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","gitHead":"c387bc27faffe5dbf0b3fee17008268304b47ba4","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run copy_all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","copy_all":"echo 'copied'","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run copy_all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","deploy_test_matic":"NETWORK=mumbai_matic npm run deploy","snapshot_test_evm":"node scripts/snapshot-test-evm.js","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'AmmRebalancerProxy'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.10","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"12.20.1","dependencies":{"ws":"^7.2.0","web3":"1.2.1","axios":"^0.21.1","ethers":"^4.0.49","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","openzeppelin-solidity":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"^27.4.5","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"^27.1.1","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.1.3_1641886257968_0.3652116096914937","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@dolomite-exchange/dolomite-margin","version":"0.1.4","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.1.4","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"dce0255db7a442251bc8bb7d63b4772fc587aaad","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.1.4.tgz","fileCount":323,"integrity":"sha512-KE89uOhwm8SbGkbXaIUL4873cTKziE6sD4S9f151vcV8ghDTiiIebtuiyVBsYkh+KcTsdCFp8WhQjI8vtvKv/Q==","signatures":[{"sig":"MEUCIQCODpjEMAw7aEgmv7BqIAvLiG6OO7a0xR0UET7t5bqe/gIgFntsMXeu4sKbmzmb0lYLGh41VdgfAMYJg0HM6BA12S0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55911623,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3TLiCRA9TVsSAnZWagAA6pIP/jdPZtZNVSWWAD4zJWHB\nokoDZ3hP97CmUBkA3BuGAyU0IkIPWba8XFVH69s9IBHtGdxNtd0i2XdcBjNd\n19198nfCL0ukpVMrt1559igdRauPVVG6lF36PozCXVhBBQgID0LvgMsYck7O\n8Xq0ROQeIiP/exdnPlbFt5vJRRlUebN3b46wBARAQxKrJsT3pmJKhTg9Cefc\nFTQJlT+v3W3Uh848ZavLsMenrzEZfOREdxlTBZ1vO2Y8jMgPEPtIC1RYmI1q\nYfGGenuVy9Hq+9Zr5aMmZLIFsGQ8rGVghCnX6RmN8hh/0e5td3JEXdqfGxcO\nLKvT3QXDFojiDxZBZdd2UldUOHXagxF3whOV/DGAgbAUKgMKW0mRLS+cOdHf\nDEHnaEIfXPD1WwXsTxZBpHnZvzrtR7kknRaTmuy7uqnGF/vtm2/rDqGuTlUE\nhOvWijLh0+T2Fnl4/qR6YLaUzeJpXzQMNS4m/ToM2kUvQQO4S5ZLQKGKUWez\nxIvieEh0Tr1T4Mw32rFj8RoxPZH5qSoepM77zTjrcAdF902GifONi47LarvB\niLEBFqpzaszkLd/Anpz/ftuPTO7d4JKIAxu+5pbvFmusGu7Z+pOOyRlpKCU3\nR+lboqak9DdzppI634utQMomYQZxMn4+O2bG+VYnizEdOwNAn1DkaBCzPJn0\nPBNL\r\n=TLO7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","gitHead":"500faea5f5940172b0fa286f0711b1c3b817f67d","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run copy_all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","copy_all":"echo 'copied'","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run copy_all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","deploy_test_matic":"NETWORK=mumbai_matic npm run deploy","snapshot_test_evm":"node scripts/snapshot-test-evm.js","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'AmmRebalancerProxy'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.10","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"12.20.1","dependencies":{"ws":"^7.2.0","web3":"1.2.1","axios":"^0.21.1","ethers":"^4.0.49","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","openzeppelin-solidity":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"^27.4.5","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"^27.1.1","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.1.4_1641886434451_0.35925515676237785","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"@dolomite-exchange/dolomite-margin","version":"0.1.5","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.1.5","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"8a8fb5224e248098970c68871da8027827daad15","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.1.5.tgz","fileCount":312,"integrity":"sha512-D0Dj5fpnTLwpZJ5fDI/XztxK6MUmZ7kuMczxhG1pz4A6jFDgKzAxetOEtin4hfcB7NU8sGUTsUPLYxdNRdeU5g==","signatures":[{"sig":"MEQCIBFaF+dbcyV5wK4K7uBgZzgC4ET9Zok+SdTUcHDsK1EjAiAP2YsaEjsahhAt9/RArj9N5ufN85iDdzOb14pe0JCBmw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54332225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4L/XCRA9TVsSAnZWagAA1t8P/jvKWR+l4KUnR85hs1nE\nsqUXGhRG3OI8j5d0ktI0eLpW3T89x6krza20mTN7UgKgPX4nSk41isu+Xixz\nMJ8slyRElV+LXHBj/Wa5ggT8SLXIA2PQtMmTEGOh9n8oOcRdbQNQFk4KVeNa\nrA1R69KYgIw+bIOd5xnNaHdN0FgJqQIgmi7uuSZg8kxBZvI0nZPolQ04Frv5\n0BLy3LY/wKMlbtzaZrzXFrt/YSOOhAVfVehkGBZ4CTXns0403qTZSnIpfEeT\nQf1/3xxoTmRbKGWo74NaLx0sQHOUVSESbTm9ZJYNTpvrqaehL/2f0Eq1cNY0\nwTdyoPKfiav97nEHGe8dT8+sM4Tyrx0egtgxETK3dQKL5cW+sauP/Kn9fs9D\n5IKLejJtBxjSOuwh/y/jirWEQmCXDfxUQ5fr6Agp1iJulreB6pTPyOD1Xl4v\noSCK/3197jB1ogcqgZ4XxZ5GWD6NDTioVON1JCQa6AWX+Uqsdkoyq2yOQE4h\n4IJfQ0H+6+sk9vc22hxR4OmB5+sX6C+qsSQoms20FhLjdsfdT6yxEL783ir+\nKytBHsA4RbwNXXBDEBwTqB9zJxNsItyJ9W23Sy3LcYAVVVacO+QFp7vFAMPE\nul0bvfqFI7xLhZHX4Dc0dU0QF9eBx6VnZo91ECYmy4HcXsl4S3V7aO8ZXuvC\nd4EK\r\n=Q2rU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","gitHead":"d8330c793bdb70f0ae2923d2f69f32bb2c106a06","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run replace_bytecode && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'SignedOperationProxy'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.8","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.23.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.1.5_1642119127589_0.04394264477860488","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"@dolomite-exchange/dolomite-margin","version":"0.1.6","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.1.6","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"39fa7c934ac959e4a509c636305d2e1cbed653bd","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.1.6.tgz","fileCount":334,"integrity":"sha512-Q0JYOrFZwOIm1nHmRpIGxAQiVHM1dDD3ZisWn/dDJ/Sh6GhRb1lpbqZRiacjrfEoMgGjjf6bPeODWE2hvQc8bw==","signatures":[{"sig":"MEYCIQCBeC65oNl+MXF4l5CqGaprHv2VUSlpkvlJRh0LsvqqvAIhAOjpdLt1AsmYs7/Nl2vp/kzTjyQXzMbUYO4RAKFtXOds","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54346296,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4S2tCRA9TVsSAnZWagAAHKEQAJu9oNEpG9cBf6p08aKK\n4mJpuGHDU6IG/53mYSVoAta0leUc6KBaEdE9jw986OBb5qfPh+NrtokRUO1v\npIdAlE7YutmzL/ZecABc8oayelhutYFGYN+pIF6+EVoWUdRzG7xnEkY8fHHp\nadG7AGu3PU3rQ22PRK3kh5T8CrWgZ9R95fymFJzS3KCgN6QHt9A89Z+d7tU0\n+SScvnZKELIVdlfUCDNKeRqSCug1P8VBEVw/qs+IvFM++OLnjIfb+DZ3vgjL\neETPawffhj62gQ5+IVa+2hJ80hA9TqeRo75VtnNu07XlPMZZ1iN0lKWSoxkb\nQo1ct1/uGtwlw3HntRLYcnX+aDun7+9+ASVjOR/unydB+ZkdO7PhGqWLG4CQ\n/muuikoBfEA0Fq/hcm0wD+peC8w4giLv2obBH6ColHwodWlC158yGDPIQSkU\nZUYY+OPrTGKshAusAE7/ZoZ3Kzi4KJ5rDMK0Ov8gBiW2c9iDBn+2r9HgmUnN\nQVMT+n2FpqzcaQ+jrjGrPg/a+uJlQ8rtKtpVZDf6g0+Wh/MdTUXeqbyH0p57\nYHzJj5hNfm2lsNgeDRI1ooWoy4s3+JsRYbGVvDD9uRSs+fD2s9b1nd6qB94v\nrYQ0jpvdKAFLYZ7xJOstS/04GxJChXOF996kCnp9ocMBJkHhUQl4+nqN5pi7\nXfOa\r\n=GPWE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run replace_bytecode && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'SignedOperationProxy'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.1.6_1642147244887_0.5849003924605582","host":"s3://npm-registry-packages"}},"0.1.7":{"name":"@dolomite-exchange/dolomite-margin","version":"0.1.7","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.1.7","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"9e893d8bfacaecf88f57932906099bbbfdaf0c52","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.1.7.tgz","fileCount":340,"integrity":"sha512-L/uRUHfgCMSnEj+k0ln/Dm8adukEa0dquXro+K5MaD3S7v0B5R4WbSF5ALx9OA8ZwBWzmN3Xwm3nt8As3dRvzA==","signatures":[{"sig":"MEYCIQDAVVZqu6i47JXbqMNyiK2WT2G38kxHCQYznab3FkDEFwIhAKKmT7CPEhM0aDMFTJLo1MxNd3RkxBnHs2ndOlLL9k7h","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55409275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6KekCRA9TVsSAnZWagAAJyQP+wYWlwTdgFFuxlwykStb\n8xkuX8hLm0fnC2I0cinJpMpDYYIxh1HPU0njePXR2DmWRs/6n+SmPoyZhLjU\n2MarTq+FkI7kBq8OVgfMhzF1/4NRG/6WV70X3bAWA/DupTQZIJEhzcY/XHo+\nFkF119rrR0YKuj7ElXiK+M421qaHvTinfyNr4RAKLmwjoX1utQjPfrYO6W3L\nNdl0azXGk5KkhmijZMotWd1SVQ5On83pl8LFzebSKQJUOA7bmmGNB6PnTI2Y\nGetxeMc05KSyUtgHiq+C2tw63QzVw2sZ3lPxit/BUeR0QD7qgsR8xWeopr2s\n/AjJi/H0+8RZ9gFVZh06TlBGjauliUs01oatA8I9C41+8E7u8mj9oH/en2Sk\n3Tqk8BmNqMzd8DTl5uJvJrbEChovPaLlUqVHSUN6Y32SEXSJauNZ6EdwtzK1\noxh+3Qp+qljziDiDfroA4WnmH30Jb13IrCbict+XjNknovLNWbp7BQv1Ht2o\nPnQzgFl6eSIwryRmvxN8uoTK6w67D8490cWZITehD1/GsZoAg/Bk58g/5kDC\ncLS6Wf9SD22G0EPFyxzk8UmG3N4wybeiCdHDAXkhhAbcR0sKcaCgTolxpXtz\nfkBhGWd1u9dFi02UtQtBSbWmonu/CvFUUJH19QiML8uxiMn4/HtZgzWUGhb3\noGAW\r\n=GAy/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run replace_bytecode && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'LiquidatorProxyV1'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.1.7_1642637220033_0.8448553539058916","host":"s3://npm-registry-packages"}},"0.1.8":{"name":"@dolomite-exchange/dolomite-margin","version":"0.1.8","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.1.8","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"f4c3175bfe47ca6c3a858a170e09b59f69d2e474","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.1.8.tgz","fileCount":340,"integrity":"sha512-fZvR807CxO+I5OAU0Z2YtPk12CJIHmpU+PPY+hWkpE+qmP1OCF1VoAkPsS4wZdrqjoYStdgBrUmR5VAVL+2sWQ==","signatures":[{"sig":"MEUCIQCOEf/qHCBDdzn+02NMHQdoRlzfsMJ+9oQaxnLh9R+rGwIgVvPieZOl0KB2Sci+rLz2zwJueHFRWj/nJqyuYOTWmUg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55411298,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6K1xCRA9TVsSAnZWagAAUZoQAJdz4iptFcf9D5mDpcRT\nkOJN4laGRzh1eP/hUlfmrZPdRxGoAW2/uHbtVCXqIac2jASiHlp/+7dArGvH\n+R3iO2BS/91uo0DkBWLDL2z2cS1gatpzybnZjdIlGv5oWKowfcTFZvGVBrse\n8fTA03nH/zZosnAJ4J4quEAj+cev5xEIOw6Pjfw4tzUgYOsuztoMedH4/s/U\ndQn19/ZMwKAmx6i0H6WizZgApAZMTXQRLilkTLXEnmm3ODWpXDinHzjTAmAi\nwuT9ReQcoh9shll0Yiw2aA/EEXkscVF7zeXpX3KPB0dHilzr2ifaEzESr6g7\nR9ebUR1XLIwqhlv2cQoU2YOA1Mut8ArS1ERJQ2z70PGDHA9LSjQxK5ErU94e\nn4XwStICQ6MuRyO+nfgnh6l7EtleCcgLrQwbDfAvpz2B+v83YdGw+UyR1INp\ni+tfF4lXevKOu/ME8YOfq5FTTZBbB3G8vJ8dbohhJ8Jtl4+thNCb3HDTu/Av\nJU3kQIRXxMUuaQU6MSdfsVzoQ7c8nHnLLAyz4yaOa812M8jAp0jQfk275ODq\n9P7SaPUtwqmnkGHNc4p0aSG4n1RAOaJ6Ri/keO4xqA25/y/QFp+iZkH/rPgc\nN+JPLDiuSv8ID+D4KR4+JQjQm1QADxmngXejGGld9uUHrBN3MPOujXaIS5OJ\nJB2o\r\n=i3Pd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run replace_bytecode && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'LiquidatorProxyV1'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.1.8_1642638705337_0.5278631016497821","host":"s3://npm-registry-packages"}},"0.1.9":{"name":"@dolomite-exchange/dolomite-margin","version":"0.1.9","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.1.9","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"78cf9e87fd2c705ad010065dabb112ea18b8f674","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.1.9.tgz","fileCount":340,"integrity":"sha512-SYnD4cU6kc3uLSgAMt22Epc+dPT7B8846/etpXQitHiW7YXPei1HbPFWkwvMLsbQyE6qlIP8rAx+ueSj5axnzQ==","signatures":[{"sig":"MEYCIQCs5JXY2LzxvVuiOKfP8wnbSeeV3Uq0IodVd5aw4pxgHwIhAOgJnt9t96W0qVhSTojpAoTjt240o0TSlbBW9MJZQms0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55412183,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6K4WCRA9TVsSAnZWagAAaUMQAJR+0CTgcVA8rKd/OK0t\n2WajO9erk/WDQKB6TIcGiA8H4KApSH1Lu7j3hSlNOwZ+08vm0o4RotQq1M9A\nV1fCp0aw1N36dHioXqKTF19/6KNcFq3vhUpRiKgz6cXVu/1Snta9ebbX7L9c\nhmkWe3qEYEMKS0itIfkawBojKKz5ntZrSp56qbdvU0WPEP1SuKiZNooa/hyy\nsRsFanDlFUovvVt5LlsXmAUAqOhyAy3NoBRcLMxHrxB6Nyq45vtTakG50wJY\nvqRuryWJn+1Wb5Igbr/uMvbapjv5lPWRyIP4hBsj2V7nEslH6PPxr/EgVFCB\nZJKgV68O5mEgGynPuWdMB32gtsWH1COW1VNAOjwdndCt7uiIxeB1ZcCRkqQZ\nj6gARo/RVrQJqZ18QvewXS8crEjfIzHM2FOK6gE426/wNqFcag11TClwQbJi\nM1ZPkTYOFyoJ/1RxNFWxakOy+m6K52LfjFuQxShVvKdhShNq/zLYikqLNXKB\nve+KtUishQOCLl//CiJ/HAb393XcMK9Tgavb7X9wtmFq7KJq6fdEShdfEVgn\nPlezVoIa9V64NlhSGKwM9wWNCzvWZc0bP11ZkVnx2O4uWzIYz/J7Xkt13ivV\nx7wqg5TjPLsqk6VaPEGypbWp4EYEeQIPotoFcmAorg/SwDWOZWvd67tsKXom\ne3qd\r\n=WuC1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run replace_bytecode && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'LiquidatorProxyV1'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.1.9_1642638870085_0.19996678066777407","host":"s3://npm-registry-packages"}},"0.1.10":{"name":"@dolomite-exchange/dolomite-margin","version":"0.1.10","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.1.10","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"143c5caab78ce594c53d8eb33ab4209a4e85ccb1","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.1.10.tgz","fileCount":337,"integrity":"sha512-wvCHBTGxkiGrygm/ZY0uYzqxILLHB8O+fYNpe3FRsIJ1Uk85A+C7SVVLX+Zj5hE0rfYpiHMmmHc83bAKxkHguQ==","signatures":[{"sig":"MEUCIA7BgdUkoUE/vB4ixS/bUYOmFB1LCODaQnV0mY8Rimn4AiEAkFD6nZKSmwI/0DmAhBjfCIAj9vAe7YXiMc6fgkwywI4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55385117,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7iWECRA9TVsSAnZWagAAN0cQAIk3MYQAG5qGY5g++Mwc\njP0N+Igo5WJJ49EE6Vmoqz0yE3sfKzR6EhsfkE2hR2bunWAREiz66MnFQsdH\nDc7VfYa50r+MsYC9TfYIR/Lon9WusQbIqxoecssXEvgn5t6nhH42WNl8n4YQ\ntGck6iJQ8k2Is00eRiDlHkVsU9GC9vwEgTlHXRsx+vWeaysXR0YfyOTPEK5T\naom305jzIRfzB/mBbb+k+/1Slj62m0Q63081sZR+6XMpzXDp7dIdD0bE183x\nsYg8x0uHXnJO+ddpD1KCrTyLmZLzz0hohrz6p9az/iLY+kxIpNgRDLNRWnzp\nI82Juf2cMR8gR96sX6VUdLKQSQnxZPKGHV3CZ3Y8lTEfwH4+wlzMxvDiB/GX\n2KvGQMElGnNLp9J+Nv2AgNsc9vgfXFSY+fSzPPnJUBsxNYND6AGEa8UKVOlw\nlJZ/rQ8olR5ikjFD/KKgmng+kQW/xKjsPwcol6rUrQsPiUonPDH0VQibxRsg\n3MgOsIimV2UFCi4HSnXhyVY1N5iVQ2hUOc26oegIGW7QgYlAFqo+BGGub1YJ\nHyQJZUV7rbROPfd5gvyHi2I4y7sYPZWpS+bHYq75H9/m0U6L827sNPOTVukT\nW+Ir6a9wizii9jZzfG2gnFFoZFpDpwgC1gw4pqOD1qFwvCwT/Wa3nLTsExek\n7AWN\r\n=D2kW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run replace_bytecode && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'Expiry'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.1.10_1642997124497_0.18222804790116243","host":"s3://npm-registry-packages"}},"0.1.11":{"name":"@dolomite-exchange/dolomite-margin","version":"0.1.11","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.1.11","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"2fa438892e71d4e14b850809d941e59974f659d3","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.1.11.tgz","fileCount":337,"integrity":"sha512-e2sidVOv0LVKl8RFTWxxOvyex/PIr3+bgNrHcXoZ2ApxiZ/YqU+KbfMzkQR7LtZWBK1GiAT7PP7RfoIqUd3Eug==","signatures":[{"sig":"MEYCIQDNWohhovT8Q/uzx+p7iRbWyXoeXXdfCi/Ey0hzUoqGRwIhAIEZk/8GNqGQ41VDtmzRMS0FBqXKQaOdbqNF1mSVrdtD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55462173,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh71H4CRA9TVsSAnZWagAAC+UP/A8wikty02Gm+DUXUdal\n78A2HHJcTHQK1t+xE+AqYWr6Y6XcO1VKWglNfzX6d7n027EO+zTADvDVNPgu\ndTqZSVGQDemVU3kQZfXB5r2rFidfKvSb8Y1Citl0uiY0ghuuuV+D+eljQ+4b\nuPy3wkoc2b7PjNKi0nv7D9mQ2yfD4wLiAtvfLkEA3ufWLqYVJB09zeVJnLSx\nkYBw0upQ1lqHgUrdW7g8gcKkOBskeI0Ew92hAzHK2q/QnCLUuDdDHj2GVlzB\nvQf2IOxtN+dlaVgS2esI18TRJJjRViLlMIbKgO5vtEnXrAl8Uo4Zgw9Sb4aq\nD2HjtjoMX1B0PwQnC1rAp5DpWWVn2QtFRFjXBiZ5dLVWfUDCGEqoC72BtPDS\nxSk/+AzJ1BgHQNco5bAigq58iE4YQ/hDWmtAq7oAKRbjfQDEQHD9u9VMJVND\npiSPuXxV+G7dePdHzT61o5CCc3aXsbP3OecZ1hLyRZXeFGjYwbqrJK0Sr1k5\nrf6t01RSqTl6VIRIo4Ka+FjUs1N9OnzkCyCJpMixpdxDKNF95LgiOYAM6gn1\npeXYwfDmd0gH75xfwwsY+jmN/UwjOLhittTHwhTRGf2gx9jN6alMjo+dTPqu\nlhCYdVemwMqs4pONq1sT4O3+xVvYzBTo2XNxA2bjZKKVYHc69l918St9Vw8S\ndQg1\r\n=xcC3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run replace_bytecode && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'Expiry'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.1.11_1643074040234_0.33986296797072457","host":"s3://npm-registry-packages"}},"0.1.12":{"name":"@dolomite-exchange/dolomite-margin","version":"0.1.12","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.1.12","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"dd0cb888c808e156e35bc25fca24c9d815293961","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.1.12.tgz","fileCount":337,"integrity":"sha512-HkHYS17Tm3MfpINxVvESt+khG9AujoQfi0KejDpr7R6XP+/BDv6XkGOZasfUFAjTk1UV3jbUsGs/Vu2RWX4C1g==","signatures":[{"sig":"MEUCIQD6jQvx9qEg1vkw9w7TjTwmq100cZPTEMb5EcVKkf4z3wIgIOf3ukxILgGuKWWaw5QcyIYKP1bNrRL+5mJKuZ4LgxQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55448094,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh71ZoCRA9TVsSAnZWagAAS9QP/0fkzADjgP8CnKtP8PPm\nh+uG9sF76tO/zcCqnzf4bSJFsGPpk7S11ay6Ce2aqnwcbmjEnzhyMHxuk7pV\nIrS/x/VtfOVMT4eH1cv3+Z8hzknTXCccd7ZQhxcadsu8aIoHT6syDqJNmCor\njWcP99vFaIQAtBZ2R6pEz81t9DfoxhBLgpKN6GRU0lyht/8YW2Jhs536e26o\nehGqLK4rCPAjAJfsGQHuRlALZgXFijdLcXXTn7MMRrc1sz2ydD/D58CN2zqv\nF1CTFwtvxqdgpPAvpcGVnuMPAHooa+Uvyxqm1M0wE9lirscXKcHb32W/8P5H\n6vGUWC9uISs1UQ82OHEoeRIRFrfGu/fYZoeENMstv9KPDT07RMxJn9UNbNQi\nDJtGsfZCEHDsiDNn49kUsQZjWhHtw2r6d/enXPCg/0WuH44FO0reIrjDZsf5\nThmOVW2xgFoM6joipyZGq7EkEtu5KvQTJqIGCKl/tPyqhFzV2l6BCepH8CPG\nnBMXEVC3GEOoKNXahyt7tRGzvEK6kViKJBb6NooVkVbLZzEIveaDzUAJN8Dv\ncNckGGui4eQ30mM6zQJ/S1kmpGek4pAGX+DjggfQJoRKcSWKmc29FwHl/NMA\nWORCcL1yfKJlbHWGBRCVYKstxRfRJIncVvGC/42SHfkcQEYaTtxxrDRR+pRM\nk7sW\r\n=RC+t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run replace_bytecode && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'LiquidatorProxyV1WithAmm'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.1.12_1643075176138_0.39863537383099645","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@dolomite-exchange/dolomite-margin","version":"0.2.0","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.2.0","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"b38aea5b9154280d905880276fb5dc07235af0e7","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.2.0.tgz","fileCount":338,"integrity":"sha512-xzvw0pclj2yfmDXIgMsgFNYU1D6PwbfzrQPq4eCdUR159kf4aJyge594Nxb66XumpjzKwZTW3FA7vdI1vnxWLw==","signatures":[{"sig":"MEYCIQDQkXDVQ5A56WTfJZTMePJ5XR2fDb4KBJ3vQ+ByucXwZAIhAPHZqlzMgAIP6blTbFsBxTi93OeTgSeJcIcgwotoS7++","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55849661,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh75/0CRA9TVsSAnZWagAA87cP/0lXGneEas5LDNQm648O\nybThq/f0VD3lezDDCYpvI7jBTFtoriCIfLxM8Cyt7/zFhyr07YEXeyCOTBnx\n1h+cPv8Rq3qmO/okTFqPad04YZ+KhLGfqjF/yFskk0ZqK+VtySzUpHE05gkT\nM+Nb5smnjs3g0aPjoPXnO8wKhv0yVgBqPdnXuJqdOeOjSEnVvePxV4L2w4ff\nwHfWguh1DbKTZ7Cx5q69+i7TJPWFXARS8KgX2HJ5j/PayJnVrb+WPgHBFMYN\ntN0/+NCXN6X0Lsa6Hv7vDA98VAk5cj9exEfjxXBuCzhl+6OfeWNCHXefLK5Q\nIcMaarhdIAUiBRvPA/1dNCtjK8CHb83znjY21JTZPq/iToPGY5iqtQcsOw+4\nRwfezJqILZKhxq87bxMLui5L7O1RTa8wb7yCar9qoeGUyjHBDVnU48bvtKmZ\nWdd2/yMhPqs8QEvMpJCnp8YXP8OaBUvMoXR7E9ho02LqD8rHhuxH33fP0BaO\n7NR3yGGY/T+2PoRWZ48O0LtdyzygSj+JbefnyVScIcdSWgK2bpU1IEO6Xkc4\n2DJNZnwoVuusTfqHrJtdNv4cgZ7UkrmpfyLSTpuZrdrbhKa0QEvD5AYk0tW8\nmlnLpaYcM4Sc7pn16zMToHnHZDraP0K7uQeBS+dfpvWrEQ2h7lrbzB7+iQwy\n8vYh\r\n=k3xj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run replace_bytecode && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'LiquidatorProxyV1WithAmm'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.2.0_1643094004097_0.4205407203975793","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@dolomite-exchange/dolomite-margin","version":"0.2.1","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.2.1","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"9e4688cb9d8cd677f50416e7057c9d539c41a7cb","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.2.1.tgz","fileCount":339,"integrity":"sha512-ywEgAVBqIqOYIkY24JRGI7ei3obVIoEILAZ5UjilxcabKeMvtz8iq66HXxwV9m4A/4jq+SXaaDeYn1V4oYdqDA==","signatures":[{"sig":"MEUCIQDyrRz43cjQvaZTQ7J74Ddi1uXx7RDFm+aWNMkDxTm3dwIgAvFvGFTTYHYM+o6bSEkheOe1NnxvjJ/PpR6JPbF5A/U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55852140,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh87wzCRA9TVsSAnZWagAA0F8QAJX9sOgxLkTd/DtbaPj/\nT9LBFqhYMW+nXuke6ziKKZVTVibaGpXWSD0zgBn+Ql8CHxOcbklGJLs1oj32\nJm+tVyp2T6WYyEIB13awGZ07jDmHK4Y/+K7AO67UXd44RQT2BfvnLri5ysSF\nhBVif3z3b1ntewq9dgxnN2o4EM352xwSdgq3UuGVvr+UO0v23pTIKewAX4il\n/2vI10knbISuf9dFzL8jLC5Muih1oV9dpg+oHTAKT4w2Vi5xr3/kbI704ifX\nMMrvFwQ1xxl4zBVO5odF8n517CsVXNVJwMsbCcBhXWatu070dygt4XYlk+SD\nuY94jgxB20PI2iibYHpWkq5V67Ieou+2VDOQB3OMlt+w+6HDxqJtqctPAOT2\nViRoWpPj0ill7TzddC7eGbGwjI/+MBF2pDBNeh4WcHenG4XZtchdaFacs/T/\nTcG7l4a6W3fLuk0/VFqSSLQ6Rh+VKYkiQ/4h5FlyRn4rzkt1P/jaOanR9eSC\n0dXYRS/N3eBhJUFisVnqkpCxjPk4lK78bmA85iW57Q5Kn4QQIuru0jEpXKJe\n/gqiZmCVlQmxluILY2K1WQu9R9+RmQwrpYF2n7U1d1IhNwBlwBzKo5L1j61n\nw/cE8GtYBLZoGdhdjWzD0HvZwzvMWE9bUBC0uqhZZmoa7ORCF7HhsVTLR08I\nbxkM\r\n=NZ7S\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run replace_bytecode && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'LiquidatorProxyV1WithAmm'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.2.1_1643363378959_0.4865111636199084","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"@dolomite-exchange/dolomite-margin","version":"0.2.2","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.2.2","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"35c5800a702b1b533bc36d9282a8aa8bfefe086c","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.2.2.tgz","fileCount":339,"integrity":"sha512-ORkve4TJDYndLbcT9UPPt49EqK9jNKiZFdF7WSEw3/whyMT2eJRNzwkB68+6I6IP4mnbzj9ITw7xcFhhSPaWpQ==","signatures":[{"sig":"MEYCIQCP4kCMQW9kGqTf4Buv63Kvez6gq0iWvASwpQ6+SPcNfgIhAJxtXEq65bKAZdYgkwKLyyThc3bfWeQzbxE6ZW8EXiH8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55852140,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh87x1CRA9TVsSAnZWagAAPDkP/jX4blI1lZf1pOb9OuOF\nu5y586+GVYkHVrQ3v+ZVoK8XyppdYIsztix6/iiOW6N2DntB3cj4CetrN2TE\nmlKqns1ruvrIiwkMrvvy1VyFYCQJLAc7giqlBdEk1T5qo3ukLCidirJfxDgz\ne7v2gBqNn6JuAzJPt80TawiJZVJ7IT3Q4Y3SDry1gOIxCSAeWIJQZKNo3Pbz\nWXIUrB5JZ+B8C6KRMBWcblD9FufaIQFTqUB22SCqPLKCeDfHSUvHHupt9AVw\nx4Qaau/FLsgtHY6VxkZ4zOby4Zwob3ffgBOML1jlbm5Y8WtQexMsdJ/U4o+3\nwEQ3/FEIkL5UWB4zjj6/T8DzkMGeHLlTvtwGFsr6OU/9U5/xQlMXACtV2QL+\nDX9V8uAnz1CxbOaxLA/VxcjPuzeWtu7WieNGO1byYADbGmgizSqQ5zq641oI\n4+SdAiuiHHIsq43xolFULJcxw7GVdSUG/N+Rgmly11H+4kn8sFD/fj4SdN1N\nX2mjp1u3AFDuaDTsR/5aVk/yHLo0pi7Q/Yfhi7FhBjr6fHWg1HA1RnaBOgtr\nalwbaBU7utx8tXef1QRnt826WoU37c0ObpFVmtfGfJU/m95v9lVt/G+zuL4E\n/ms+3JSfFTqA920iD/oOmsrIW4KlELtHlOE4feB8b5TghhMXh/uDM9/VBwpQ\nakRc\r\n=3L4U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run replace_bytecode && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'LiquidatorProxyV1WithAmm'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.2.2_1643363445499_0.41398049148544214","host":"s3://npm-registry-packages"}},"0.2.3":{"name":"@dolomite-exchange/dolomite-margin","version":"0.2.3","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.2.3","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"7178814436ad4a9e80327af5e86dbc008fafbe61","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.2.3.tgz","fileCount":342,"integrity":"sha512-Gr0t1LVSuR6cRol4SD+0u3HlVxDatZ3tuX+hDjJiWnoSNPDJeARWUakGd7FT1s0ExxghmqvU5E1KWttm7AmMLg==","signatures":[{"sig":"MEUCIQDsNe4r6yVlOJn3MwTknn+AuqCjVooLQ53eCrS3FaTypgIgeVjrWCD19sYO11mJ3bCJ3MWcoRxqd6BBn5tOt85fL18=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56224812,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9JJ3CRA9TVsSAnZWagAASzIP/2Le6Mpc/srBm0LWkzUA\nwMpuBu5c60w+S1aJCseKzuOJdPHMueZCUq1jbgQjWTkQivEzgivDDeG+16cY\nPo1SC4zJFanu4gET7cRhi7ggm13YznmQq1noazx0pfjYymjYKECQHNBdmw6J\nK5zVZrvjUyc1xfGkoQRvtpcFK0RF/eK4ruUF57lbg0fZ3HpZzzw3bIWFftKc\nDm0CkSWBPZMPyGwYo4hlOCqLBO50etC/vWn8FJql1mXq2wtjmwd6W8c7Dwwq\nVyzsAaR7imnc+qZdmiEhmPeLF9OTPzG+NJyiAVWQGmjMUDyJ9YjHQZwVCGaZ\n7JMK332hLFGTQc4mM3MgpSYoHB2kAfLIDaYH69tfIGc00M12J7RWNbFelq8m\n7zQMFoL8Ow3IJaP6PNI5gaD3+dswX5s2h+8sZwdSF2DjDwpgG/PEQgLl/NLp\n7kXJJ/jwSVf/1D9L4x2qPNZGih6m+P0+WZ5VDl66mgziya3vs/t2LCAvg8WR\nDzOawdNR4IKUrhLN7SYqww8Yo1vNlh1StshiW+V3X88pNh+ghvQNLQFyaHUe\n9OlLDIQlFQ2M9LfH+t44OpLo1Ww6l7GYMaGHpBKnIWhccCBt2jpuqd6ES+Em\nLMCIetluZnMeAXHdpHO2oLt+IrgzWNQrw2gv9m1vwHpXieBYS9Aq8HBC/yaS\npx2I\r\n=zt5R\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run replace_bytecode && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'Expiry'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.2.3_1643418231216_0.18713744319260184","host":"s3://npm-registry-packages"}},"0.2.4":{"name":"@dolomite-exchange/dolomite-margin","version":"0.2.4","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.2.4","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"f8c85d19ab0454d45bda0750b17155196600fa81","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.2.4.tgz","fileCount":342,"integrity":"sha512-s4k0ovMk4nu2dRizqrQsFU+bBzZfVQjX/llzb5f8sE0V49GK7bUqOWPub6cwmJlwITcGwTTVVla1GjHnsoUtCQ==","signatures":[{"sig":"MEQCIB/i2JQA+K+L4TWiapl+2n7GbT/8FK/0+cz62CIzG+1BAiA1QbozGMVHapAlVAvI6WdtoJoJ3JkkxdzJDWOqNh6iEQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56229136,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9b1MCRA9TVsSAnZWagAAGxsQAJo6mnThsKHWgdxXA8iR\n4SCHxsA0HPZCYlBuRIdQqmkjhBbSyFKRMy+wKmYoyUXNliAa+CSRkY5BxUQ/\ngE82iZT/5YQgyLCU/l9rxGArGUV8tK36TCeW5Z26xKRl/G5Hy9dy9U4OP/1m\nL7H/wGOycwAuIpo1VUpwV8JKnbtYjr59v/yNrJ7BgdHtEzL+iW9E3lr90n7X\nGwoeEwU7AMNBKuDG7I7xJ2L/eugVLuuPvgsQmNVD17Br8HwyVR0G64f2hEF5\ntqpXSrbbz849JERQ3jOx1Fdtd0G3eftdFVtvAu8pkV4x9L3hTpmR8haL32jC\n1XAI6MSFteA9/ebzIx59NkZwh1bI9TAUqzvAGxBzHVpXf8u/PSkh7++jWscY\npwuzpzWnTo9GJjiXi3+AlAHxjGSk+wRWjUCqGcoHsqcIgDMlRSurYvvmYaWa\n6aPVvzStnWsH074b/hixNxy9mMkcx4T6SEFmcpgVJNkbVgv61Yq5LJbM6Ur7\nlpw0oMmgoTfmERMFdvQWwhhOAGRaAhfE6ExGfOc7Tz++TGFcDlB2fo2IA8C5\nanlMz4pn9DR34gtatW3Renkob4PBnYa/fuk6SKjRiro2DtqWLCynEfKf25cu\neYTneq0QYPTzieJsuguE6EGskA/uHNqop4kT0G6GDTmBK1trKAYLl6CmzaCT\nZxE2\r\n=GGNJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run replace_bytecode && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node ./scripts/set-expiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'Expiry'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.2.4_1643494732037_0.8712503651721415","host":"s3://npm-registry-packages"}},"0.2.5":{"name":"@dolomite-exchange/dolomite-margin","version":"0.2.5","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.2.5","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"519a6c47ba6b011ef61c7903594b6cf35c855e98","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.2.5.tgz","fileCount":344,"integrity":"sha512-CxPl2N+WkfYwRFZXbW63Hd5bIpeXcJnPfmb/+3TVl/hi7Mc0StT+H7xV02ei5pPKLhUW0rifY8wnPsZOqxeYCg==","signatures":[{"sig":"MEQCIGPsHeJ88MeHJwU9VuArrTUjMLZbhwELptITqnJTDkPSAiAsxRqfkZ99LIA13OBIs0MWTUvhOxzZBJR/YxP24Uy80Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56216260,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+QOsCRA9TVsSAnZWagAAFh0QAJHEZWDPRSumNRlD1+pJ\naCK3yxvpL4T2ZYrz4KecZQtr5CTBnd4O0yPrKjgSitPY5aSmjZzZvEapNaUf\nXlcD/UbbWr3FZ9rXCu9b4ceDEinz4/WGJxxsZ1veD37nF57Qosh8jhdD2Gxx\nn3Hn80J1QJ45nzwbR1kKCJHBPNQXr6WMJCTiTxB5XM1Ej+4IUqwc/dBbrg3C\nrlDa/eXTWGSH/Z5kupkNpHeLKwVd9mFp/NVhNMvmqa7pXmFifIBawAjJIm+X\nnjo7jtD1KUFvSenSGQ1rHLNF2mBxKygJ6Nic7ge4FJ46i53JjcHRpTCyi4U7\nkXDX1Ew9KMAWYVrad/ECcE137M4zpOFzLvh+xRzxWc8jRZvgK5anNVsjOHVx\n3zSi7YvheQAcwHx5p0Aq4DTMENOM2V8mAfoI27XkF1ZXWNOCEFVrbpRoZBpg\nLGhrcCt4ImfExJYZVU3bhFkLNhJ6mrKkjhB0p5NoSimiSqjoAw8rn7iTHqOp\nF5lIvG0qqcFGwTneuwjai5xdi50gzBBKmNDk8wSxJsk3MUWkH3bwr8NBJ/nP\nuWv3dvFDVoNOij+vt45jCbLmrnMzyAq1uLg9DeDZz3H7dSeWglbEsXF7vTgY\ncgno2PjPgCDxxXGxPRZ8RBCZxiuINmKbYdKn64A8QsDA9US0HJy3OQa8paLD\npcc5\r\n=yhua\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run replace_bytecode && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'Liquidate'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.2.5_1643709356372_0.5068290624377219","host":"s3://npm-registry-packages"}},"0.2.6":{"name":"@dolomite-exchange/dolomite-margin","version":"0.2.6","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.2.6","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"5747b63aa377bf8b44aa15f0c6a1d8936ce63afd","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.2.6.tgz","fileCount":346,"integrity":"sha512-y5c9spaomnabhdns7kqZ+OBSkPdzCH0HoeAiHcRMEBXu8qY8tstNtCed4r6kynKCs+myAMuIW46lQ441TLueIw==","signatures":[{"sig":"MEUCIQD5LhAyv5Yj33EpVDRsyu6LLU6KULkN1V/OWX0J4opOlwIgazpnz8KpOIcenYhs7DJRgOgBu/xPJNe9YsYS+/lxerc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58138238,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/IezCRA9TVsSAnZWagAAQuAP/R9SDriNdtSBEqvTRrKQ\npKMgVfrh10qWNstxs5NGIXB6NNgmXc1vtC6KZ+j8Ji/5Jpmk4zTh1dY3IAkY\nmxQZ5uXnoo604ZQj4rlBmtNYnP5LGHxPWeSAj6JQ/BIcD0htwqAHMO45QF0n\nKeYUFrvhHLAcYJ28oBageX+wmQsMxPYFL8fgKqtP+qJtyjemxyvPuQEC3tYH\nuesNlvjf/8QkNm9nlvuKqKJE/DeGIEuI49a8Uwg3pkm0gatxVyY3Zla/Tg+1\nLVoBi2IYUvdf1zAuEE4PsN93RLT1MS85y3HzjRgg5yNsGBJVVzaLCTq6z9pJ\nEvhQY7dH8/6tUmRgvpqpLY8TiMMMWDz6AjsK/S6r95YFVR18w1NrVHrAFwlR\nryV1HtpqEh1p2xaBM5FyY/y55HzGBv/IiOFdlNEsTWUUC1l8eOoHeeeZFlsh\n89HMPsMqbaKGgXve/1JdtYx2ATz2CVjTLsW/azNOlIURyWww0ubqJDzvI9cb\n2pGBWW/9GDE9+oE9HNzXPZmgoqgBgttCVLMGjhu1v1L9IU15FHoBncKr8zcd\n/klmA4rw0AcQFCzcg/Yuhf+cXMVwr3FWRugT5BWttnzxstCMPmj6O5pv6wfr\nfMn7lYPe5Gf5KGn4p4u3VDvyS46Fx+2IZWjUpIw3fWSRsXdfBKXa17b77EuQ\nFC9i\r\n=sIPA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run replace_bytecode && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'PayableProxy'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.2.6_1643939763496_0.16901698788041042","host":"s3://npm-registry-packages"}},"0.2.7":{"name":"@dolomite-exchange/dolomite-margin","version":"0.2.7","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.2.7","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"cb54a5a38e1edf2420bcc806faf389dcb73dd156","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.2.7.tgz","fileCount":410,"integrity":"sha512-LGD5zu5m6w7amF4N9Q6/DsUMai1QbNtZiCw1kglfsVz3gDJqIoObrPtO/MWEJ3xh6m4W6SaA3wW2aMgBBewLQA==","signatures":[{"sig":"MEUCIFUyUNsaQ1vw+f8e8/v4Hhc3MpQs+wWN0EoZ7jty0Yg/AiEAn0w2310rsPG6OMzNPFxI9bYnj9iLjCTdT3l6BzFgtl8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58849058,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiAMhgCRA9TVsSAnZWagAANTcQAIjgyZoJQouI/L9yctwP\nTVP/gFPNCVmqWPmTECCkO91P3u+/C6ZaFy1m01/BM1dOLssM3/T2rWKKKCe8\nrm/nzPKkJ+DoOH2wo0FhG5GJtJy7GmD4nbXpdjixsCY9OaYGg5e2/ezX2r+z\n3MvKHkb1VYkD1E5sJSjA0+EW/1myCAAd/26ng0xg2zRE/QC03Hx62B0xejfB\n54hfYAA1jfvA49bgCmI6P1bY6LAmAya/dYRQzJUIp+sUALbti7hPJEJlahSw\nJQlomFBTwKM0UUWPe2EQRglmti22QIr8o9p21dOuSv/3S/kZNKY3E1RXEr/H\nPFVO1HHRVQcqMpa54uPV329x0BsDa5Ac1UL2NNqS3pDB31uUxuI7hOIcTam+\ngmpTzSxh4focpE7AupWO7Thm+WIjSkOmC2kicDy6MGsJCFpckQ6zC8KwJezj\nyE+PbD8uDcWya77HBNjLuXKW8j2H3lf+/A2McBtYjsqytZPJi4nYCm0gmaW7\n+iW9ZZ704qRnwLVp3e+OlCZCseJtRaFVWayggQVeRVFpVq4AgVIuA+eSTKGm\nuzZD6wD7SLRcxmyr+X7kYET/n3Ueg9kgklHk+yCswq/ZZ/md3c3QverVP5oM\nnL8kNaW9tMsQl5tJuRSFTmiMULnPBxj7/BTplPaouJhc6rXy7u3PFcyAL44o\nn19h\r\n=/i3Q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run replace_bytecode && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'PayableProxy'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.2.7_1644218464433_0.376077207051305","host":"s3://npm-registry-packages"}},"0.2.8":{"name":"@dolomite-exchange/dolomite-margin","version":"0.2.8","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.2.8","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"9ad38fc11b02fc3ca3a25fb7583188345ea7eafb","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.2.8.tgz","fileCount":433,"integrity":"sha512-TqexGB6yxEawNs9wYSU/BOdle84T3rvE//7lzilOJtn1Nrci4heXnbI+JhhOn5ygGxbD5XA+BgXYC56j4lw4lQ==","signatures":[{"sig":"MEQCIGlYB1i5lkHejj5Wuig7nWIT0JNtcpcHIDTVTYnIXPu0AiATzMvqmqglqrA0QZZB47F3S7S6XEi1OklfebPINssxqQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60830661,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiC4xrCRA9TVsSAnZWagAAqqEQAJaPa02lWGLQZyyA0iLJ\nqPGwJHydwlziBzYBngnbKz6pxreqafzaKBc9fTkaPH9EC+fXibuwZmnaj37h\nUudGld0ANU3VQ7Ycbj7PLQlnq1sRa4CZDbRGoST5iqPv61FZcyUwmQ9TwbOp\nVLieDBmLG9LkIE2ipTb7Kq5/1bsIHfi6NP6WDbthnTYUCzglkyt3NmByx9gh\nueiZvMYY7RdbMB29e6hkcjDnTUQW9FNubwHJ5buInwb+cAO7gVaJy+p2ghRQ\nrTvx9UEKOnlgLJEMwG280na4YoWycZGJIyXPMWmHHW7XoOwWLNJuUcRDaYNO\nbYvlXO5q1Gr8kC0/IIG5UjC7TwZ/pl6jLwaA/MS486ClEcq/09/+lde9AL4Q\n+E/+i2IMOaWQGGyvB1hJ3Tlzl5kkdOQT5dXXTdu37BATTUrXaQv/ftXbxhO2\nAlcoj14T8yh+Qqex4SV4v4RATFAhYKx03YDMRylT9E70Nc8KRh/8fNcSv7vO\n/vs+cwMOg0Thnm+6eUL41b5eWvW3CdhF4hJci5mOO0SJJZ6NeujwS2b96Br4\nvWd2aCcvaT71kATdOIBlnwtlUfJeYqfBdWBsqTe2Yyvp0YNtUK89S5u3O57j\n+SLCTFQH3NJ+DLQfd68A0uNv1BpJHuyEwGgKcyafletqJVBqLL/UKJWYuVCd\nLWXJ\r\n=wK0u\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run replace_bytecode && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'PayableProxy'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.2.8_1644924010803_0.3847193601938539","host":"s3://npm-registry-packages"}},"0.2.9":{"name":"@dolomite-exchange/dolomite-margin","version":"0.2.9","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.2.9","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"19ad40df177aae47d739c9d210143380951911c0","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.2.9.tgz","fileCount":433,"integrity":"sha512-Tf/xQREd/hEWW/AaZZBLIIRQCCXelpDtLx+tu6S+2puDvLr/YL5bvPMYdv8QtzO0Nxq1B0EWnzcMFJ+1GbdV2A==","signatures":[{"sig":"MEUCIQDhNTlccWa937kLMCUCteWc4xwa9CqMJEBhMAp1jTqbWQIgXnOn8lsw67ZmrLK0rqzo37NZX21dtoJQeGjmjEcgSYQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60844740,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiC+fSCRA9TVsSAnZWagAAAKsQAJWXssYnPtrUaOo6cxmT\nB6+z5Oe38wQzEkHz7S405L/MUSCxaEGk+SPGT8dtpABjAfzrAPdUfT3oXKvj\nzdAG7QLocIrOsVCplZ8yuzFDILzbvw4Qa05J4XGiMSrv92D7l+aDx6sXPgRf\n3cW+/KQRThvLqog3AylVzfrpxFrukAg1xf39DhbmkC79MLKVXdf2c06ZqxA9\nzsb/lw+ie9O9qSwm0NBYCb+q5lvrRTXTawCQ5xwIgQ7XEjK9LgNvJti5cJpE\nW96FK85GPSimxsc60tSouNW304uJ4eEG0P6VvVOM75sNyodG3Lb/EUsx6OuY\nIqI23BIooie1h14+UOCGby9S5m1wc0HHBeSkfyOLnCtsrAwBK2rviVq4CQKa\nwV9HnC5HH2AZ3WIUBK3Ko20LIhTyIgsKtGH5VW6bS2cnK1V/kytmgGrBBE1W\n41L0O741ZXo75kvYsYBXPyGWy9WoNkJUoQStzz2DvkFgejhWNk9F4tOW75p9\nw6v+hLnrPiwECi5IsAjNf8wlAKaEGJQJYYUJfUjoiL/EQ2xkgjCbYgSlhG5/\nhArnX40Dm0I+ENduYwv7VqCNfwSFC/wkzOAeo3jyE8MaPgfwDjD8ADU2WWnu\n2QedWE1STk29QXTpyWEIEUJ2vkDppyO4Q1rKQpx5nPiGNf+MZhHHplxUKDhd\n7WEz\r\n=n9eZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run replace_bytecode && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'PayableProxy'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.2.9_1644947409929_0.19101274959187786","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@dolomite-exchange/dolomite-margin","version":"0.3.0","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.3.0","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"ba2cfe35f3aaca7754ac24cf023a3d4d93e34435","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.3.0.tgz","fileCount":433,"integrity":"sha512-qulSvdHCzYcNPKbf1LKG9XIzRdD0DqlA0C0VlgIkCj7GER6k1IsP0JR4pUz6pgjEP1KIBssF3CJ7padcvo30Zw==","signatures":[{"sig":"MEYCIQCra8imKo3SvmiOTIBcjztokwBGeP8tMkQ7tyVrVQi/ngIhAMyQ1o39gFw0ogRtSrXcz5H1ZpC/s+uIURVeIOD6T9yD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60840055,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDxA8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp8bRAAnZEE8rscXE4RGwHDgrYovbly3HAGhvug+gDsnM2ojfT4+1A6\r\n3HIdwbR4v+ewDXxtLrykb+qgabDm9HsQgGqLfyZsKMlAYvuSZlizQ419CcaA\r\nZtuF8u3xlvBHZCcetZqKPUVI//g5ADIn0AXi5jP3eVF75aK6ok3eZA/e4KCS\r\nMZzjsqZchkUnGwc8oJ0T5ekhKE9fvcBXPUQ2byspUbqUEuLx3suWsG8hFXYv\r\n27wjq5BJwbov/NwGKj+2FNmnojOOtRNLDkno4LzgDgefQY3sA+4K0Ud88Jri\r\nalcZOuueMd6lEXWDnXdVwtpKHh5QeNrQZW6oc2m0+Wj1VWZkN//uZONB/GQt\r\njQ+VNfDUHFcxCI9msG7awtwU2L6st6Qd0I6FDOUe/6uNI/DbaCo5o93s9QTc\r\nWyhTrH3gGJV1gcenPeHsrtSNjdcFTkBTZecBPyNw6ZcCzWLAinFUiu+8lktg\r\n+Rrxu6fskOPfLUgLZOzVGM+x+ZVkbhaAoUY5PEt65n39dg+bFVw1oE7/JMvZ\r\nXm07SPcyGpae3MC5i/xPenCzYMxR9iSn+EULy0/VwavxIz14gtrad1yfwsW/\r\noH1cqcSYGg6+aSXDN7c7Cg/vPq7VOE5QHIEyYDGddvnqagJ7sSjF4qc/iEjV\r\npq/8u6yiXBmoC/qvKyutbh/TzeCKjf29OQc=\r\n=giNZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run replace_bytecode && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'PayableProxy'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.3.0_1645154363788_0.45815255636315766","host":"s3://npm-registry-packages"}},"0.3.1":{"name":"@dolomite-exchange/dolomite-margin","version":"0.3.1","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.3.1","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"26d87ad2e0050ada508d09dbe7f573ceae9dc7c2","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.3.1.tgz","fileCount":433,"integrity":"sha512-KfGFj/IG3Ep6rTlesSeTSbm5po7cpICKd7sRk5yeeUS8DgpWYXDCX0zzGxgeDUk9ILriWjwLHxgAtNJX5qTgUw==","signatures":[{"sig":"MEYCIQD3K5Q7+vby9N0gaAo6l3fXQM8/UyusiIvqaegXbUqKvAIhAL4LyJ0Ee5Ez6Wj9QgDMEUlEGJ+n7Ayd175EJ1MtzNoz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60838119,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEzDOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqcAw/+M6rqyJHPz1xGL9bh3E1dBScGEj69YcZX8U6GPsMr2CmjvqD5\r\ni4CSpvSD4OZtNlZrJXpzAiRrl/W3Bw2j2s72a3ZpnDPOSDrID7nVKGSd1Lpq\r\n/pSM0R4XTKzcd6HlrdR2EfbuOvMw9gMEo1oEhpQ3Jq7aKXedU4pXJc/zeDTu\r\nKLDfrkOeXnSeWdZzj62jCca4Fy4Jf/4IZLEHPB8PQj7ppwXGvBifPDARH+e+\r\n3bqskPcQ4/Ku0ai5J3H0sIiwPAQFhul85q1XefvREwpgpgW7UAWpjzeYHyNK\r\nW39qBjDD/gI7R+nSaTXHbgQKtPHOLu+zDoZJBvRfZDJxqJi4mE2a6cJ8GU78\r\nVsw7zEeZtaSQYXAWbAeuppPWPzhDj6L/Tq09P33dgjjHcWpG+UIzd8Nmsu58\r\n1k748y+F4/WDVf1KKgYsg4OHPqBAR3/pWYa+W6Iq38ez7TGE32l/I0WgXFGm\r\nLwQIGyIZ48rxePFl1rz50/8p/6e0Hh5IT+4LMM4Q+4vk9A9XGPF26YdaEf8j\r\ngmqey8/waJoBqY/58Y1s4kFl0PJOh9sg+Ig6SoLkIyFFd8GUKSZtRnH6HNpV\r\nc27nzmvz8V2MQpInUL52jTP3x/KL3xSpbirhd6GNyCV+8moWwrkC2MfQm6j1\r\nstf/xvA8Xnop4agTwJdJ9NfrbpO3Xb7DwX0=\r\n=LT3D\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run replace_bytecode && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'PayableProxy'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.3.1_1645424845907_0.9012430923191763","host":"s3://npm-registry-packages"}},"0.3.2":{"name":"@dolomite-exchange/dolomite-margin","version":"0.3.2","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.3.2","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"1ed28217bf01b3550bfb182ce7989006cf7e3be6","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.3.2.tgz","fileCount":392,"integrity":"sha512-8LFsDwTyRxPl5YfkJIdtaPS+pd9w/8NXCz3AlY9Sr/E0fy37Dzxoxb9jeLl0qB2ZW8UUpPQmeMVLhke9fpQFTw==","signatures":[{"sig":"MEUCIQDovdo24NooYVRsI+ittU6S4pZErYGLwL78G+pF+uTLygIgaeojbPiRysajuvmBSeTtSj3up1d5hcB6e/w1S8fRgew=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58988822,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFE85ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpFpQ//Y1+3ZpJUGL0j/lKqMjET1kGawU/n31KTyuhg5hCzujbh4nzz\r\nrJ2rfAU6FFI8U8GghbF0QBUcuuwb+I54ey4fDeAZlciePA9inAuqmPvPn5Gc\r\n6fV2Uz1e7jiqmgDAr4vJaNa8wT5c861w3316NnbauYO3SDsSpQ1fVEn+/L/W\r\ncgLZ+m5sovfg3fQK1dDNNBV39XLYTkDDArDpT4kdGOEsfeDHIjvAvfybvHdB\r\nrD47TVjYS+ML3qkmtoeQi6KWSrPByv8t0+dknLH9fyntRaVN14xI8/kTgAQC\r\n4Q44e9jLYFhS3SNyKDc9l4IyVGbbVhzVttLyDqsYtIN7wgfS64ve6ijM+h8u\r\neCUbZzTPjvQfinwxN4naFHEG06qM7L9wgmNQUOQctssEjTxNsGbiJ5q8paqH\r\n2TuXvGsoJ4ZqsKfEODuus/CmDzBmwplEfmpw2bJCjLsPvAVD9M8uJ6DIRZN8\r\nCucxD/PW34AgGI1LN4/31YNO8FoTIGv5x9sgWwqkyoIMfEqjL5D1w++p8rXT\r\n6GkWOAAVIIcYxDcg0ojDI86/XyFiwUng1iSi8/UwxyKprgcQmnbpr2DN2H8J\r\n6bBhb7BG1iWz7NngZp8mpThlvSxIpcFv4EUmew4qPyk+9jzvKkS2JjTziMJW\r\njqJAHk8stjKXs/NU+kEP98DAYJDTeGqXXEs=\r\n=RhCX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","gitHead":"15225c897c36926c087a03a5f52f5d289d99dab3","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run replace_bytecode && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'PayableProxy'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.8","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.23.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.3.2_1645498169043_0.8100198142053483","host":"s3://npm-registry-packages"}},"0.3.3":{"name":"@dolomite-exchange/dolomite-margin","version":"0.3.3","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.3.3","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"7298cdb0f92f670add88d9954421ed5128505619","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.3.3.tgz","fileCount":392,"integrity":"sha512-OAC0k9Qgn+OS+C04AOtRE+C3OjajBgsAlixXfiLhAaIG2jfUmWcCuEraHcz3ime1H4TmUApfwXXVedjDU53I/A==","signatures":[{"sig":"MEUCIQCpHMvfWJLpfzq7rsrnrTfuh2FMX02SXHnSQTEx1tCSjgIgTNq+YI5pqlyYUheqAH8Wl+KiYCxntizqLooUur/U6Ys=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58967580,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFGEYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYOg/+Lqqdby1uNJ5q/0d4u8RTc+41oge8cVhA+R+NELKH1yqoYydg\r\nwk6TFQ87nbhNXVeJkFUk04fe81cT6qayzrOC1TrqCjvoR3FRc7kE7rHk4psK\r\nvyUmTzQb+Ge6aZTmtLmm61yBQIwRtHs7GtJ2cRLKwCUM4oJ+4Afaxm0Ym5IU\r\nt5aEK4h/CIDQNt7WUpfR31LjhyWiecLXJDfHuqsCufHIBbcuuuOhYDDU+Z4X\r\nizFEJ+NlTn3BpokAVF65i7yyIOKNphmqX9QB6KAXez31r1jzXVBoEfu9Fxg+\r\nFKfCuhJPk5uuX6yMtb5Wu8HMim6xm98hSZth/Y4YLItUof2NV/ZRtk11jZjp\r\nHk8PV4Zi0NK+r6udB0AOE3ZYEnfg6L6s2kr8MllQ0mKvcUMPYz5MUxZJcaij\r\nszSgv07WfGj5ickDAhX2SfwDBczxmvSjPTDxKTssWM++TnwTVNMaZEqJ3Pid\r\n+qwdhaAmOCfbBW0CQheAj4MyHevGKS/D/7aSz9VsbJWR3ch4qQgdNEzPmxH6\r\ngQYbDieQFM3odF0r8KNvoJA0AebZRQNC90jGgWB35iSzlPAUbg4RknT5ncFo\r\nby2etshdNJ0Bn1W8f0mpcX50gu4aYRgccKtFOhJxvmZFTRrgN8U/zxzl7Lvz\r\nA45JGlXOtLoBHVOVtw+SZo3bzTdAnE0d6RY=\r\n=+04R\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","gitHead":"15225c897c36926c087a03a5f52f5d289d99dab3","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'PayableProxy'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.8","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.23.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.3.3_1645502743984_0.6955295351852848","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"@dolomite-exchange/dolomite-margin","version":"0.4.0","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.4.0","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"1b1f204fe0f822b307702f73b1c251c409bc02cd","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.4.0.tgz","fileCount":388,"integrity":"sha512-c6REwmgpyudwoQQ7DSedlDwgSUG2b0mQwaljpzMwwvSQwaSuJJG3Okx265kP5xqf0HlLYW0g8LP9Vfi1CBL8TQ==","signatures":[{"sig":"MEUCIQDLj4OmodJ9wQAlb+LV5EHy3yp0LdVmIr8lcjpY5Mv6SAIgKLhvbZrgjkHQ/F0ps6wcVbD0rIiyE5/lxF2Gi/XH0Lw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58799555,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiILPgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqeRA//Uk5aX9+OtTcnWBVG0oMuSdksLWs4hvV30s9HY0FHE+0olSJd\r\nqP2ejz1F1eLcCgd7Tq1+nOlViY8blULADcZvWKjqnvssnmMFmJamTNOQOeBH\r\nbioktYVb+OaTSJQpjGivbJ4OQbDRXuzbWZuXdnpMX1nXgHqnYwjrWFrbA9kS\r\n0aDPgkVcX5DI1EyVYbqhSvlWajKYUEjmyauDHI5UKkIGZZAw35CI9AGPkjy1\r\n9KsVS8X1wpOYm6ctZR65pHJhIuXIqtfqjTNgEf5ofETg6SuYnK6sizpnDoVY\r\nUq8NUKvFK/DC4gJLlzaazg8zA9ZVOvAKUcv3pIH8Cijislyi8T/PbHeHSQCg\r\nbI+NT87JMmVPPyAUSGu17fv8MFldAv9bZ1u5aETIuzZjDC9v2KSz/LTSjCdg\r\nVSSDqZUaNJNPLn2B3nIb37KRIpNr3mD4lGMnKRPZOgVfERC90CgXsc5DtyId\r\nO4PHvvqH8MPlidvO+AVsQPmLvtKWmVP2OMfPRn7G9yhu1+zNkvu5/2+rgRu1\r\nh0ghtOs+W9D8CBvbpP6d8sDvmFjY8Fgo+BLLJ2dxokBzc1jceyiRPFhWHyED\r\nEOy/9mCKiNhWB2BRZsU0mjG5ESd8W8FwAjvM1oqueb6VSEGRPb4dhaQ6vF69\r\nnsl3leWi+ymYWmOaDzE2UGXXpRoQJrly3P0=\r\n=6Squ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","gitHead":"aad2a362d5977ff02021a36703a0816f746a932d","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_arbitrum":"NETWORK=arbitrum npm run deploy","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'PayableProxy'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.8","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.23.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.4.0_1646310367815_0.5361134967382573","host":"s3://npm-registry-packages"}},"0.4.1":{"name":"@dolomite-exchange/dolomite-margin","version":"0.4.1","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.4.1","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"612befecfd1c77b7aa0398a008cf2df3ae52eefb","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.4.1.tgz","fileCount":401,"integrity":"sha512-NPUlpf9u/U2/HiiUKCSzcmTvZQoreww2iftJCZOqSwRMtCBMX0ZBZRCserCFS0OL5pSYg8W/xydKoBpSEzqcdQ==","signatures":[{"sig":"MEUCIE6xst9iLn1WSGzlxLB6D0a+FcQ/D3/k9MBDv4QVk8jrAiEAl/F9F6NWbQ9hMBfcVcoHbWptNL7eAH8q0VI3SPr4PiA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":59934619,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiIcf6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoi1w//WyrG5km6/ZUu82QBMcLHTqiGPhevHDVxjtZMpuNlIqwjrWhr\r\nkXJTnzXoYQTboFzeXUrfmtjBPl0VTImzWt3FBqyjORH7Mes4GvnbJphqW90r\r\n6SZxFJNEqvt4wnof9GhgR3w+sULEwk8u4JTp/BQYaqghLGdkChMj7aRe8nSm\r\nc7RqhaiQMybi+ZpP3vNXxqABqAxHBq7qGRjRpU+jtGsmRakZxkK7cVGWlfn0\r\nTGJ9SNkSHrKEl0F5EA/edRtzLpwtH4cc2V5cXyyeov78rfVWYLcnY5bA67y+\r\nl3ui98G4z9ItGt2Zc7o4RCEA7vNsu/P65GqbqteFhdN25SBMbfzLhJof0hOj\r\nGQNATb7JGhX7uN+FbHJxZ26Sj0UIygNmfFn6oq/8zxtAWiXtu189JE5jLmVF\r\n1NKNS9gF8KedykkgAfI58foLZe5SFTvTrZBKU96icZha0bV62y3oyR1hDytC\r\nA1HiVxXp7IjxrqFyqqPNZcIHrXOReIvU1scYMu4qgZbjmAQe0GwqqIus7L7x\r\nk37JLWf2GVGq022T9VC9WrsvTGKqIHSAM6GFgyOsdeFtgI6PZ8thvVL2+vKG\r\n2BcxkdDO/tFWsID0krlxWm59jaz5ca0RGrWaiDIpEfMuWqAK4QSxaY9DRYTP\r\n4XNP8VFimhnPhMeSSGA61w6oY0l11LaxLno=\r\n=CO9V\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","gitHead":"fe5fb484e027bb76901fbe58f6a7b1b0c14041f3","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_arbitrum":"NETWORK=arbitrum npm run deploy","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'AmmRebalancerProxyV2'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.8","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.23.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.4.1_1646381049743_0.16941805857665848","host":"s3://npm-registry-packages"}},"0.4.2":{"name":"@dolomite-exchange/dolomite-margin","version":"0.4.2","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.4.2","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"3f99fcb4e5409f2a307fa099f340126ad6c3c2ad","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.4.2.tgz","fileCount":401,"integrity":"sha512-R2wNxhfUK31/le9ZA7nfjkDAo22w+J6ApqguwRXiFHnYvJRUGhJxZ1k5G6GjKE51ySQu94moIoUpV3q7yhzYng==","signatures":[{"sig":"MEUCIFLmf2hQZmBewUDvsdhh8eJmJQsbpt81Gl2kIetinjXLAiEAkunQGmvSwNUenbqZFRw6TBq9o5oPlBUsQv+3PvfqxkY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":59934843,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiIdfbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoWSQ//SelUUlk0Cie3cA0KMFdVrGK2y9lGDYsue1U8A7pIRZCHFBWG\r\nW7ap269xABuofNBBzNYoKjRgJAbJ6bzmV4JSk0XLGrlk/hNZdxOY7rovC1A3\r\nA5dR1FGteWlEAl0bCOULrJHQHSbYtahsp9aAeO5lZAG816ZCTdTVnxTBkNfk\r\ni6Gka88xLS5wOt1sfFAT7FXC5oHoAbs0Hwvs8Qh7H7FnSA8zpLtsBUZSsb0U\r\nEu6clG6T/bcPHRJ0EttEGMncp92nyFhwABPltBA/oidf4VXwZzK7P7AQ3psi\r\nkAKj7PUmWAHP5fMey/4tjEWT3qfytaiZEbcilD5EJ1tzZ89k8X4jeGYB8WCc\r\nehyqW4ghEsoIHe2Xe7bsX+grbD6OAiVJgmIGtmQAUWQL++8ANKvnwbW5w3Lj\r\nGxLNTOVYHVFuAPLjdAD3VKNaCgN9D5tOCwQz6J9gEBsNA93WuOfcNc9xi6cy\r\n9Z+ZAv7d+MEAR0T7e0Df+i3iKiv6ZgFmmaeiPAPdtm90wtgI4ON8fpMjC7tu\r\nbaHwKziMW8r1VqMTQ2f5f0DWiTzi0iMxNsIt8D9vcpuZME7jzQqrQpRnPClr\r\nIG/XCz+TODQ9eB+/dwJiI4A3I3WojHXGC4F/hzzsxIJnC9OzQ/LgrGUEZoUZ\r\nFX4FXckYqhNbdgWEuuBirnnctwyopzxGy14=\r\n=dxMh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","gitHead":"c5cd247b4eeeb25409057cde06bd7e4a445ffefe","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_arbitrum":"NETWORK=arbitrum npm run deploy","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'AmmRebalancerProxyV2'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.8","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.23.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.4.2_1646385115480_0.24629078269239102","host":"s3://npm-registry-packages"}},"0.4.3":{"name":"@dolomite-exchange/dolomite-margin","version":"0.4.3","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.4.3","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"0094b88caa7ede466d0a15762d25090f04f4f6b5","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.4.3.tgz","fileCount":443,"integrity":"sha512-6ApThVVJPL65C5ZUlE5Cd9ynxrqUYY6bNKCNME2c+EBxek6G3u93xVj7IfXcecGqSSkO2BnAuRaScCQhFerTnw==","signatures":[{"sig":"MEYCIQDOAUtoWZ/pfTnJ7Kp9HsgyaJbJTVDPEUFJyhsaodPnCgIhAIPBdFxJaPBPGagkdBm0weQeigmhYOd2G5+MAPFCAohV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60066835,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiId+BACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqw/Q//bTBE5N9W7EaTh6vmrcTipqN2ODHNz3IsuoyXmwGhjGe9DMza\r\n2eg66WxhYczdfCYdTglGCZy1abuRsPcpc/cSU2A+YJP+hHLyqUgNmoLMbctA\r\nXb+HBnee/DFruEqwnjBhxkAe39LJrXCDjAsOu6OcDu3+8oIgmf2fDPA748ET\r\nt5FFCwUSmBp6AgWipbdoitf37STg6++glHeBY3e9Qvo2+CfIYe7FuSlQxSK6\r\niHZpqx2+oBcoeUr8vwWpJkeouvxXpqedjAeyi8XREkxEr4rRttrmTGT0zkQ+\r\nJlE6sPTBqkA1OZQuvm6aUHGQ5Yx6R2sEm/czzAWhPxdqbuFI7mN48stSOzWz\r\nJ618lThX9OVLdPW3pmvQjX6hU+E8dCdi084tz13Q17Hoq8u6dRKnvBn/5vk8\r\nAIWPcLm0ZZ1xV3yHTa+Rj0aS6flhHVjukTypCLkvJkV3fM5f7oBa5fXT41vb\r\nYZ9H4hLhEcJBhdq7lqguu4dAxoetG9xsWYsHli3kmmN+iV2qnYdDFJqccYrq\r\nPtG1872IUybV1SGRI0R4TsVEI6KeifXNKOiY+Fuo63hbUUcew9N2WYa9rPj+\r\nFqaGHkZZOcc4jYrqH9TzUmmX6j543D6vii0pPh0pizducOS/+bZHILlPV8d7\r\nJDNc82oBAR0+zuwF5dKop/6VOhksCZZdQbc=\r\n=hCFB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_arbitrum":"NETWORK=arbitrum npm run deploy","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'AmmRebalancerProxyV2'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.4.3_1646387072905_0.5922011198715742","host":"s3://npm-registry-packages"}},"0.4.4":{"name":"@dolomite-exchange/dolomite-margin","version":"0.4.4","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.4.4","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"414391b070a872b36b6354b5690182ba051f8e13","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.4.4.tgz","fileCount":443,"integrity":"sha512-wCl0tBRxBVa8F1rCitqpibcITQcqJN6Bq+2N3wQUXYxA0mB/COjMDXAsC147ZQN+ZTEngXcLn8ewQg5tJB+ygg==","signatures":[{"sig":"MEUCIQCPT4bU9ydTPU+KnVqdGa2pD7LSDJBQcMPbIs1IynDrSAIgd9+7/TyGKD4omYdaj9CGCPjYMH8ck3R724AOEAueu94=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60067288,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiIedCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBvhAApS2oYLxXALDnQuHtvM9epQ2D0zlov5UM22JROPucQvJVSxXI\r\n/9C9BLU4JSwp45V9Gq16FUrn0Ug+s0h/YktLrR5jS3iZ0/BQqttbembneaH1\r\naeS1RsRU4pdP596fumMRNKhqLs1WPmAPCw2TPsoqdm1OFV/MwqnRY2CYicId\r\n7c6etuj6RbSxLXn/egBYHlx0q/M1OpGqtdLOy3GWWK0Jvfe42pEmEARkmPkC\r\nUMhl7go3maFYFH2lCJR9UD+2ZOAKkupHVYNGLVOONpkjdh3vSzn+zvHSIPBR\r\nF7lkVeov/YFc9M9G/khsQFK3e03CXcH4gjHJ/XbRFt3de0c5itw7bdRe8Prm\r\n9sRC9H5NmnSSp1cw/DXkpnelbQv+KwBU4d2KssdkrtaZTf6EI6I8zLAQ4/Or\r\nkyTT5D7LugKSttZ4FycX0mlexQ9qVXLyq7fpRF6Tzbcunngzg0K7ijRXdoTV\r\n2HQHYHaKVaPUoGxw0UCxw1zC0rf0DuPJbrdZu4x9BitpGIguGIVwdgi21Fv/\r\nzuNsb+80R7cMnE68viCn1aKyJb7Y6X+Fl5RRdBJZXdAT0upTYoZhssUOYWg5\r\noVNTfrkLR/KNSUYvjdxSKVcyxbei3JTfVW8yQx/3WAcMUe30s5HNHmfxFSHA\r\nvP+Nkx0ULu27BkeehnYTfW2Wp7+KDeMhcEs=\r\n=Zys3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_arbitrum":"NETWORK=arbitrum npm run deploy","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'AmmRebalancerProxyV2'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.4.4_1646389058329_0.9709605486895854","host":"s3://npm-registry-packages"}},"0.4.5":{"name":"@dolomite-exchange/dolomite-margin","version":"0.4.5","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.4.5","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"a515d88d3ca60fab524fcd5ec4e16cf9a3fd71c3","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.4.5.tgz","fileCount":408,"integrity":"sha512-MbgOrmzwD5UxhGgk1XjYdkI6ilL4YyXkiBQMMZP49A7qVQQkQtjDik3jpX0pNoRkWV0Z8SvL18zDEXUT7a2Nkg==","signatures":[{"sig":"MEYCIQC/hvpjO3T0dUt7t9wlVARtm+dC9XkEU16Xz9AZ/sVuZAIhAOlFQguarxwX4rcGpx0KMC+tw/akoZSQd3VW31RBIgx8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60131372,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJnJPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo/hA//ahs1hgWCkG13yMHpHPghPgZ4QUfmG2OPOijuDVJQlHIetceY\r\n5JteqGkM+I9u4WyzmmSGFwovh5p5Tss7UPeS/x9k8iurqpeWFLPyg6PugyRt\r\nWmlVtM52LsVnwZKanX63c8qbQ9snwKGSC3YptnUZQscMkDv/NlyxHlwhbiGi\r\ngZ/8tydKivU9guF5/0XCORjZ0A4UAqtZaYmOgdBEJbWJFEmRMBCeWn335euq\r\nObf0Xt/2OaKp3+y2YAw7/4b9cs8k+hy8zbslLxGI3V4uQ1UrOlGzM61TdJeu\r\n40I8q7n2Qm7RMT8mJhKAErLlz6rr0IhMq8C9JQMGOhw7oaDiY97yVHiOTIHT\r\nbp3i+AEDQGXE4ttKmc4cxIv7t/yqi5IrVGpRf/n83ClEg+JyK7K41SlvVyKd\r\nHDmnN6Ml/UDAGNDF3qvaHzCZloejIPl2ByffJQ5WQDE9LpO5wElSgGi0xs8c\r\nCNp9GVIGchCZYWYjZiMFwcSvIvgy7SugGSgz2WUgewwt6IUMWJoh3njzrXTs\r\nuUqdYZ4mPNulHKMvSR5QeXS8mbtpCf2uhdBJ9cHse8f6WbwXDw0mmuCxDz0O\r\na36kKBTXanc7liD0qhrWeks7U8+IM33DZWpsKEs13z+XYfaZ2q+3cfdHnOOw\r\nELe2DQlI0+KLqh0i6yk68WA3dBaB7P6jwt4=\r\n=Bm+H\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","gitHead":"ad1f78d6f8e2e06cb23d0290e4f64d87649e44b8","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_arbitrum":"NETWORK=arbitrum npm run deploy","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'AmmRebalancerProxyV2'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.8","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.23.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.4.5_1646686798962_0.0895362079138633","host":"s3://npm-registry-packages"}},"0.4.6":{"name":"@dolomite-exchange/dolomite-margin","version":"0.4.6","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.4.6","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"bbed4abedbf66e197efb4e7777ba78dd35ab00cc","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.4.6.tgz","fileCount":408,"integrity":"sha512-5DqXtgyfHmFHQMPNLvKTIKY/X0KYFipv1+ZMqRuSnBgGabZoYDirXsNWmzEwdyvDG5OIthnXzg4EhwrJo8z3OQ==","signatures":[{"sig":"MEYCIQCLSgOlLx5hemDSRTxCJGQNgxiRleb4D42GmM2KLchcBAIhALO2aHtruyxP132nCRW7LKwy1uTroZolzofYPc72/OUk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60126378,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJp+XACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/jg//edHLK/SHMjMmPYQp2JSdlBAoHYWuEzUmmCQKclanq1FcHQ1y\r\najpTD1jrJrAB3ADH9pzsUvUhIvawtRPsZn/e8HJB7MIj1W18kCrZ8cNUBJe3\r\n5V2g+BMfHvl7L7ijuCFYrw0q09VejjZjrzSGdQNtUVc6sEMFFgImIAcledc6\r\nyXDsXZ3YTSWhvldOnVyiWsUiMdHhTSLVRMeDQJl6QXj3yikUmL0GM/cnMfsR\r\nCJMM7zbSRLacNsWKsvzyAY4TBpzuPE0N8nfm3HaG4FdPb3yoRZ+8CjAlZVLC\r\nQE9smVtFsUJvIGrmV2enJtTGT4sHHM7r4Sn8rhr0vKGjrOtqosG9YTz6fqZH\r\nSug2jNHDaAfVzCqo8HpogxdQgv98gjk/0gg3mJkiv15Efxx/RDTuOUXjS4rx\r\neeWXMDNeVd9uE6ECFkjj+M+G+7HAuJfpLDNWXaGFujdTWkBqqgOa+iBhQ+zw\r\nlR8yGtbE0lmnwL4U8vdEzitNebEmzO7UxA0oRZyuW69qfFtq1hcxus4vczV4\r\naLiDiIX8OiX7Es38sFrj9pednNN2uoP2NAwuLrtx21+IODauZTU4Jo2gt81/\r\nwtMQEpY1iICufYZ+A91ogKKyHWKJtjQBQH0g1zNL+7Qw5EnZfKYrq7nflaaK\r\nAyY54pLWqvzlMMQDc7a+tWvzwtOFotedjnA=\r\n=aQg6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","gitHead":"ad1f78d6f8e2e06cb23d0290e4f64d87649e44b8","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_arbitrum":"NETWORK=arbitrum npm run deploy","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'AmmRebalancerProxyV2'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.8","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.23.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.4.6_1646698391571_0.8377486321568444","host":"s3://npm-registry-packages"}},"0.4.7":{"name":"@dolomite-exchange/dolomite-margin","version":"0.4.7","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.4.7","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"bce226f266023614bb7062446d148dafa469536a","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.4.7.tgz","fileCount":448,"integrity":"sha512-xZiqzLoda4w7iZpCaPgYEDI5Y+nV1lkhjyULTTtXxGV1wEL1YTfUDqOiREgwhuEbF1/t++i1Ft+f32dSGo/jQA==","signatures":[{"sig":"MEYCIQDZJUe9pn9RM997plbHtt361zM0/V5IDjI7srXoIq5wVQIhANLGUNSoevtNdH/BpEPqaUVMAm3nQt5ieTeXSjbs3TMg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":64931193,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPlCGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqssw//XuvWgJbEf7pnEd1mu8UdLEwGZ8ipUCYzkLRNyWGAHzoUWJ8o\r\njdxQvIWCdg9/n9Wwwp6bNalV+etJa4993vMmcwYRfK/2py9WbMr0jprjM6aL\r\nvwoq0bTOMHHO1OO17SRUwbDjPxrYBp92oHg/K05j2N1JwtOAAjF1z20QNsFI\r\nylgnEWg9qOmCEtcYDl5hwbjwxoUP7mvzyiEBi9W0I7nwoF3doSlgcU0f1Keb\r\nfzrsaaObIXu427WarsYXs0CXU9r0/UT88Oc9vu9/OMO76vnKrn6yiFb6UJhy\r\ncsmC8kS/hQL9u7Eo5qZ//a+6Rwi2vW/R47TiZJG1MWf/1e/A0Fo88iXcE+41\r\nC6D6vAogVFNRANHsBtlzojp6c62w8Zjb7cl8Odwtk7cbl6jotEKb1SD/89Ny\r\n0aeVAl6qHDl3a3BaJCvfeJcZJGKv83eYgKOvb9wEd7CUkkQGuJxljt1v6igs\r\n2Rw2tVvEAR/O4uX33ax16jV7KvcWhxhTHmNGQtI7/q0oUE8DgwePdzIJvWYt\r\npdXG4QcFzBuztCetazYNlNmdgHxqO/bVCYUrXdNUGV6QE7NeIL083u2VfOAo\r\nwB9RYIQVPPLgWo+rDf66Kt2dqA2ov1Rm04b2K+CbLCH3W5X3ZkAiuL8slaNw\r\n+z9gq5sURRMs9SNczmaJYrhbQFIq3ZXX2nA=\r\n=gavc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x","node":"10.23.0"},"gitHead":"05aa5d871a25d60e3e7ca4b50d5094f5757b337e","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_arbitrum":"NETWORK=arbitrum npm run deploy","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'DepositWithdrawalProxy'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.8","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.23.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.4.7_1648251014173_0.9987405676764651","host":"s3://npm-registry-packages"}},"0.4.8":{"name":"@dolomite-exchange/dolomite-margin","version":"0.4.8","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.4.8","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"b3d60a9a5944bf864fe2a91fe24382b3a7fbc191","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.4.8.tgz","fileCount":411,"integrity":"sha512-xe6sB5a/uSS7ZdjixbpfqHk/0Jox2TKkYnDp1giI8oe9ZIB4EH/6McP0NEisAGAoyC15x3XUZVxBdYQvQsoMOg==","signatures":[{"sig":"MEYCIQDl69YoRyfTaCkbdu4YcyqvEZ3uA9Q0RMh2dFGmZJpvSQIhANQaobNPC6MCFLBaL9TO5AfGViA0bYsDarTaAeDDDO3+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62078788,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQKoMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqFvA//W8llcx8skXVBkS4tTMVcycbx+VQeh9opJtOjZ3K1CYNqUct3\r\nUPSLHcJOgKP6iMzpkYsLGmBH6GuoRjUZIlyocy07B36qptLEPPQMed8/ybW1\r\nYNRboOELXZRlik7zXHYS2fEUb7ch7RykPM+5hl9V8VT86AfA/s2ZKCRfj2le\r\nesdk4VY4FIGqeUUcwNjoKDkOIfP8rrUheWbTaTK9hxfAzotwKTVumQm6/2sF\r\n2MRNwuZDX7+TZzkO27VNPqDyr+AlrRxaFxe7OpN2S9DVLNB5gf/349sjsdlX\r\nb8ZN8qZ7ofUyASxBaZRYeqB+tvr4x/UZtKoFfeltAb3QkQJMiXLGlVHeDwct\r\nRROYNElO9JHAMiuz6mjSkblyzLp4eujVt7Pm4FkCkPu93in/hbkUmWKOa+aX\r\n9eqJCML/K8F66X3Pt8ZW4SNchwrAGGyebDFd1WmM5seubKEzILCRqmKSMSFU\r\nXsZjEf3xCk9eceGUvcfbaK02TSJA+1La7pbsxz5iUoMiSxaWN0ZEdn+3VLzl\r\n9rXaCEGP5S8bJBqYB92sTHeX6j6Jja4eeeDZY100UvJdCbZQYEoJ231Hn/en\r\n6JPEgBCuoLthLHdojl90Q1TEYyAfgvBMiJ413X19uo4sYI3zw9tfas3W6NBq\r\nm+DoAdY/uq5yy11d4qdNnXVC1pIgHt2uzOA=\r\n=ye29\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"9becb0db38c1151573aa5a54c48bfa839b3a06d8","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_arbitrum":"NETWORK=arbitrum npm run deploy","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'DepositWithdrawalProxy'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.8","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.23.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.4.8_1648405003682_0.6133531870758406","host":"s3://npm-registry-packages"}},"0.5.0":{"name":"@dolomite-exchange/dolomite-margin","version":"0.5.0","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.5.0","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"1ec4e650192742714b8198669f7152f6789f35e1","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.5.0.tgz","fileCount":479,"integrity":"sha512-sOFmjNOx9+LRwp74++O7oTflpWMXbBdveF1CHe8m6MuwqxVX267H4kF32a0+F8Wo7WJvDUeM9SxUtgIsCdGcYw==","signatures":[{"sig":"MEYCIQD8j8D+j4Xk91eGfR1Tysx+Bfm/aeRP3RUZHMy5mziLmQIhALGa67PKl961jfyf+pPS7AzIHigKi+X8hCg0Z+rY45j3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":124930467,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVMwEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr//Q//e+9XU9IoGDKWLe1MQCNqRgWH0uKFaBIEzEc0wtEupCFRrzn7\r\nR7XzYKjZoK2LhwErWo4pQB37OKG7k2/dI/ZPCOzKOohQKex1FqdmNS3CFVuX\r\nsIGisIN7tgHTtJi0+xLqWzGoGprMWsDjsTBJRW565vz5oll4oOnYAYTs0ufv\r\nF9YnkWNjyv8VlFw+qHeZz8IumKzfVG2B5b+9wGgTU+q5dUxuQeIZueAf/Lx8\r\nylMqFFHcWbGmsmc47plO3kdNk088E7mI8PtaYGRZp83APjW5k5r/Dq2PBAe8\r\nm4zOQZ8xF/Yn8+TY/31RXs8HZH8WThdKUzsFofzjLmtcMLssI1l6IZcrLPdA\r\nLqd7jr4j2WGNOU3Jq0S2gEEN/6DqFcEWOY4pQAKuJTrmWMIkKpGvsvNiNNFP\r\nnvZ4r82e22DKRFu7PvKHkLrvr+tyhSz+WazwGrZZI2HoZnLIQ6JcS8KgnG74\r\n2hs/XUpaspFobwSiknCYa2/c9dIVRwI3NhxVfbBC/JZN6uPS3KT8MHrpT5B8\r\nD+g6DG5Lv3oDP2kP6t1WifkAR86E+rVAIBD9NqiXsG4HV7KBmAZp6UCNlca4\r\n8+BtW+FKucmOBXYsoFybPiiYMySZtgDUxgmXjR3URYEbBvOYQn8onEFiYd6N\r\n1EZaD0Xtrq1h396atjdZqbyCnGMGhhyA3uo=\r\n=zx2n\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"1bf319399c966c9cc9bd77f8a97f92da008bdecf","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --f 3 && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_arbitrum":"NETWORK=arbitrum npm run deploy","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'DepositWithdrawalProxy'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.10","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"12.20.1","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","ganache":"^7.0.4","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.5.9","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.5.0_1649724419867_0.351948543985086","host":"s3://npm-registry-packages"}},"0.6.0":{"name":"@dolomite-exchange/dolomite-margin","version":"0.6.0","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.6.0","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"fa43508c6305a2f4a0a4110e0871245756dad06b","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.6.0.tgz","fileCount":495,"integrity":"sha512-vqSDmJguB8DZ5OxjOGUYaP0KNrJRR8pWzZ1B8FpRMiozIuNpAjBploWcUugzysU67ZvFTDc5ZoRh8ws7X7rQxQ==","signatures":[{"sig":"MEYCIQDb/WB3QmZ5Z91NgYtQiM53/TzPp7wzoL7kVDscd7yNYgIhAMZbcaryOQEdF60iTGRxZLG4Hi7zQsj/pQGCPK6l/RA+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":124901691,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVSk8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqZmg//XHvlkxd0+b4LyhsTaTf42X5pfdgeNFY7IuLaYaOU9ZCJ0eMK\r\nF0VfaWnPOTeme7Y43s1SMKEAry0RAz4g7QTaCfG4KUCS8qI/rVfg4fxc4Fkv\r\nAfY+yJMe2J6V++iVWimn5RlijXTeV+I5kPPXf7frgzzK7MQkLhu4B7kvgGEe\r\nWDzcCMowsgt37W1EP6MbhR3ACHQoN0SVj+OQCZihF8tSoFdND10MORYi51xB\r\niNZTlXKKpljDXLe97JY6NUgYtNQ3vC+h2dtB2akpSiRNEHQkQskSUCtCB2jK\r\n0ARc9uFe58ieRCwcnqDWMG1VGYIDHrVEfkqKJLTlUCz5Ia75QDYbp9WARdAw\r\n5sYk7Xs3W/VYm4Z7MyAfspl0SAlMOed0HZGuVWW4z/5K2MDLCcg+OfUxxdYq\r\ncm6MUXjpQDqzAcSnAqjRpwxMMQt5YLyN4+pW0qM3QOg+H/glogJjHGDStFjj\r\ncMy4juYQlSy1QSDej3tufon4nBGBtclRpOQ/EKlpMR+jycJ+7rUmDTSchJPV\r\nIzQAUmy5EiVvuHkl1uDzm1PMe3MN2zW8V5ZK6HgHHTvprUO7WnY4HcZEh0NV\r\n0z7thIaQKMuw6hWJ2h4DVe1UBgyh7ZocvW6xVq0+OHbbNVAefx+iRUs0wIcK\r\ns47oOD2yQuqQ0YGmKw+350qBf52wdbpmLFw=\r\n=Pxe+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"truffle migrate --network=$NETWORK --f 3 && npm run save_deployed_addresses","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_arbitrum":"NETWORK=arbitrum npm run deploy","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'DepositWithdrawalProxy'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","ethers":"4.0.39","ganache":"^7.0.4","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@truffle/hdwallet-provider":"^1.2.6"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"^5.5.9","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","truffle-hdwallet-provider":"^1.0.16","@poanet/solidity-flattener":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.6.0_1649748284443_0.03890555726060163","host":"s3://npm-registry-packages"}},"0.7.0":{"name":"@dolomite-exchange/dolomite-margin","version":"0.7.0","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.7.0","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"1be05efd776365533e0be9bfb80a3238ca716560","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.7.0.tgz","fileCount":476,"integrity":"sha512-WqBdaO/eGoKYsnYGM1csndTFTsIiEncxtWyB0CJqXNR15dauc/+JBR0WmU3HN6zGcZ1tkC54v4M67NzY07KJlQ==","signatures":[{"sig":"MEQCIGR5MJB/b95igXwnaYR/+LDbWUJXfP4BDQ4CDLmMjPhtAiBK2wMW65vi+3/s7Wnk40fBq6kAA1AYaQcbcUMKWLPTCA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":125085587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiWRx1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqslw/+NYbK33tECMNYt9HNxAHXK+8/Zi88Hz+2W5kYCM2JyYLnc/rs\r\nNP1IMJIxJQ15vIBJcaBb1Jv0n+b+QkOXOI7rYmr20Aev1ntWq1ibhKQzMMxZ\r\npDnEvyG+uJSyfjJaGtQbrnOfoKfEPP7/2FzCKbMbD+Q+1d11GoWr0MAJ0GpH\r\nLhW0mJTAlPvmxJpQrzkslIiEnxlgcfaNhbdWXx1EsQ5pZd9ygV3dM7ZSxS5A\r\nFlVS6EduVx5hnrwcr0HRPeZwEDhldK6Gi+hn1nrqPKK9BzLILOqdbYYA8TOZ\r\n14l2cm3+Mz5mye71CnqzR2nrH0UCLFk/Oc7/Ky5SM9d25ttcd8cNiIqHUIki\r\nuqjfraBS0aguhFA/QtBewPIsxFUBtE8zL0epPPHK8VOvJgQB9F5E/aTg4qg/\r\n6EOrxjOeMKoPCbyE1ZSWKVZTDWG4Gc0g7PNV807ZrirpIFgEL+z0M/X2rmoc\r\nECowJCQz0yMJSlcl7B74KYIsWfsZWMhEXul+AIcLSmNa7O1suGiuaKBGKenR\r\nCMzxSTxvaJu5u+pOaXQeHNf4ACPrGkMjJLnz5WEjCfrIZUH6rw0VaY2tRop7\r\nN0pG5pNm3ppc6rlX6yqEwcKg8XcXBod1z/Esq+FQMegy//au9rLVSrZsrVom\r\n6y0Qr+/6HKdtXGXIjauJwSQEEIKwdsd6E6k=\r\n=Iv/A\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"51ce5a781c2fe035a77ba712aee0fde654fe8953","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_arbitrum":"NETWORK=arbitrum npm run deploy","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'DepositWithdrawalProxy'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.8","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.23.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"~5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@poanet/solidity-flattener":"^3.0.6","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.7.0_1650007157146_0.06840831263782587","host":"s3://npm-registry-packages"}},"0.8.0":{"name":"@dolomite-exchange/dolomite-margin","version":"0.8.0","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.8.0","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"13d06bbaf318270be464c4bf54b8bed3fb355a43","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.8.0.tgz","fileCount":443,"integrity":"sha512-lADqB6g0e1bUn3f7WqPKbAe1Yn4Ks3eVashc/5Zb+lGNCvFMm3PDIGeLKGKMAwsNQe5rkTU3wFg44h2Yf75Uzw==","signatures":[{"sig":"MEYCIQCXztztko58bTu0w2WOSUL+qpDjVnxoDcdKHDOzJ+znmgIhAJQ3GhvJht6+DazEIFCMDp58Wu/X6psw1hlgk3hgNjsP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":64449665,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiYn9PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrFTg//R2rBCSYGKmtzrc2BR+YnVE3Jcre3MKqOIh2CeIXqnoxAz9I7\r\nO1458qlQo+vYyph9Rd0jSnlcbggqM1R0le3dge4ghX98HmOzr1Er6yfCUoCE\r\n2y6WjF5VwZFpSK0I+NyvqY4M3JKmCn9Rp8mHxCYeqJC0YSVn1K8ljxOx2BaS\r\n5y2oJKl94NBBu+Na1Kw773HnzXUCq23LVXfpzisHyg/WWrQSyY5DUoAgQ4jy\r\n/x56p7KYxz4J8wlyv8kCRuHWOtQ6/zqgorbWBt6SZMs+89O8VG4hhiw/Vq+V\r\n9qrnA24Z7gWJLtW0W+5U4+QmBjiHu4ncHtHwJXKpzc75dpQqJSozlMppOxk8\r\nvldmzW41+EaGgutXLEruajShJuqpRMHCrpnkbLWf+StRXO07JUWaBfy7Cex6\r\nYUH2KazFCaqQPKQDR15LfeDZ5MlQ0v7G7QAbyV01ZoodYQC7GMMrVVq0mL9c\r\nMjuwcUGYS/CME7NoKNusYWke2VpD5AdtiGg/82x2wjbWJi+I9cghu40MNIW8\r\nzyxjMUetbcxtgXiRoZAwGpgFppjdfw5XJxh/iIKP206pmixfzoCgRaqV9de7\r\nEP4XpCCN+loIZ5L3D2MRPzE3Zdt9XhDEbJLhlNaUpvG7iZ8JZgLxIGmwiMZi\r\niQ41CD6twqIll1FZSV0uYk/ojDgX32yrCo8=\r\n=0ekw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"7c427beb5edc6e8c051611d549c8e590f6bf92ff","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","node":"ganache-cli","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 jest --setupFiles dotenv/config --runInBand","compile":"truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' '__tests__/**/*.ts'","migrate":"truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"node scripts/coverage.js","lint:sol":"solium --debug --fix -d contracts/","test_cov":"npm run deploy_coverage && NETWORK_ID=1002 COVERAGE=true RPC_NODE_URI=http://127.0.0.1:8555 npm run test_only -- --forceExit","build:cov":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","test_only":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run clean_contract_json","reset_test_evm":"node scripts/reset-test-evm.js","deploy_arbitrum":"NETWORK=arbitrum npm run deploy","deploy_coverage":"RPC_NODE_URI=http://127.0.0.1:8555 npm run reset_test_evm && COVERAGE=true npm run migrate -- --network coverage && RPC_NODE_URI=http://127.0.0.1:8555 npm run snapshot_test_evm && npm run clean_contract_json","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test jest --setupFiles dotenv/config --runInBand -t 'AddManyMarkets'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.8","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.23.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","chai":"^4.1.2","jest":"24.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"~5.1.12","ts-jest":"24.1.0","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","typechain":"^0.3.11","typescript":"^3.8.3","@types/jest":"^24.0.9","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"^6.12.2","@types/axios":"^0.14.0","babel-eslint":"^10.0.1","@truffle/config":"^1.2.14","solidity-coverage":"0.7.1","truffle-flattener":"^1.5.0","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@poanet/solidity-flattener":"^3.0.6","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.8.0_1650622287345_0.7224136621837858","host":"s3://npm-registry-packages"}},"0.9.0":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.0","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.0","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"112835afc40216eb21e1e4f265379ee14191d52b","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.0.tgz","fileCount":522,"integrity":"sha512-iypbBwRmRzitoIHG2PKbVuebBKEsgwmnBNzBYMiwOral0cokSEdAAqU52bdP78Y8AUcjnwDPatHszkjahpSmJQ==","signatures":[{"sig":"MEUCIQCuuYk1D/rYJqsFdcmB+s8GKz5NuxnqdiDDI6UDLrl7qwIgCjTEpI3HzI7fkHbHQ3nWwZz2ADU43Z2O1fdq0tGI7Vo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138386308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjO8E6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpypA/9Fq9aE7g0UaBJq4kAHczsIFoqfdtCvW/51OFTCrKIc2sTNYvd\r\n8Nn4Qyg5RpH65QkUgfJDmOHQwNlOtO7ndfaFDNL+RHozbDWHZr2+SLnFUem3\r\nhYlMZmBEbYl0CSe2+2LAJgcmYHRpUYm5gtQI6QN8bdEKoMHvP0BLGOiOrrmT\r\nnlrc3YzHJAcCCKh7+egUvpXuh/Dqlc0dJAphEX0QufwDMAs6GmKuStYQUGm6\r\n+a4cUZP5kZcyiwuj/PGDFdIcBAGJU4jIdjdTZYbYmmXXes6pj2tD9rhwXhhP\r\noSFAOA0kJ2w1YzLO4CoffnYJyu5tMIZr8pE4Ez3Pc5GNRQ5ThFCWsBGOBZgW\r\n83Qb+fmDpjsH4Kv+rrGGlhaIno2yeNcsgVEUDEzcF0ETA7KqGm2PRqdaVCK/\r\nmi8iJk07NQ5HiYNzCzfBY7UWUDOWflqb/0qycMOZkzqbTo6E1ulsprZ0IdnP\r\nPqzc3ue/dpmCksNdAjkG74ZZChVtNck2MiOJvRDGUKkd6d8yjW2FCh8moSla\r\nAOx2aadrAlBVIK97vBW2Q7WyDwXSTXeK+tjSlm77hxcYSYLlMvFF25JnXyub\r\nZFo04PSLo7kreH3DHhXoh71wjqhrpC4OxZsJq0+thQQGG0l59Ght7rEUXZkO\r\nszDy2vmhpuGaKkIHK4oX4ijd+trcaTdVY7s=\r\n=wtGj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test test/","compile":"node --max-old-space-size=8192 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=8192 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --file=\"test/\" --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test truffle test --network test test/","serve_docs":"docsify serve ./docs","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=8192 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=8192 node_modules/.bin/truffle test --network test test/oracles/GLPPriceOracleV1.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^9.2.2","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.0_1664860474170_0.8252711109336681","host":"s3://npm-registry-packages"}},"0.9.1":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.1","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.1","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"e7cd7d0be0d54843f21266069f375cf121543899","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.1.tgz","fileCount":523,"integrity":"sha512-tKBDkyu9xG3XLEbrGULScKnXrJHps+OItEq07XDQZDv4DGbObDOuHfads2VAkwihbqNuPF6HpWOe/mpxOb6JKA==","signatures":[{"sig":"MEYCIQCuNgBjbC4NRFxYX934/2avWvUkzfdo2XC6cutnqD4fUgIhAMl/bF4qYKqVdis545apEDjt4ypz3BxxBX2Su2YZEEn1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":145172510,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjPy5SACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqtbhAAjt01vII7ajTNkYW2C1MjPhbMA+c3GDDbZKx1+kPZLL3kslZo\r\nfm7APfCxxHKqM6oQGdFxYbNOz4m/etY+B/Q2nGHE/Xu7I0I+vTMbmO6f0Tne\r\nEW5XlbmXt8U1QlgnrilC4FFdVoUy+pv/SKQGnLhCAvTgPDdxweyrVYiq+H9m\r\nKD3wam9avrg1//zd08Ra1EXimQHjZvkO8A85RS+X9fLVyIw6EZL0gGFrpF3w\r\n8mQosLAN1W06C5d/DMHlxTgRvsOoEzYrY28Gjl6Wo/B2iygg/8oEd3+CzzQs\r\nOD3/8GBC02r9HYLhzhzQ1waYb9aIMf4OqaYP49Wn6sKkuugfeT2/tZB4E6r5\r\nbW+wUdp+bc9qMpNs/7XL9GkyeiRsRDoKYFbiyevGWnaFYRYKGDi8opxmgCOR\r\n9B8rXWJ6OU3vG9uKIcOwDh36QY3hkChWgTaJjgk0ZfyId/AtzK4x6J0GS8NR\r\nubgtXHhLIS2ddflQbk9DlqsnY4zaxyKNXO89zZQXLAxwVLeOmhNOhJ5qzKvZ\r\nftE6BL5VKQfs/MI5Jh65Zh1t74A8QFVOpNDr7vsq7YsBmIGyVQFGYfLKvMG+\r\nBYK4YzSJNLbhjZY/G8ZV+ObvrjDIgBNzFldifFr3vxp52J1cT3U29XYs/9CV\r\n7der3VU6+wmWXmXeMVrbB7oBfCeHajoWYRI=\r\n=PzTE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test test/","compile":"node --max-old-space-size=8192 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=8192 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --file=\"test/\" --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test truffle test --network test test/","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=8192 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=8192 node_modules/.bin/truffle test --network test test/oracles/GLPPriceOracleV1.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^9.2.2","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.1_1665085009728_0.5440355471888358","host":"s3://npm-registry-packages"}},"0.9.2":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.2","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.2","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"fdd0698481db52eaedf387250ffb5ac8f2e4099f","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.2.tgz","fileCount":523,"integrity":"sha512-9seS1m7MS8FnF356/FRnv+94ANhMLF6M0z1bsn0Y9TdjeRgzKYZl6hK4+C7YGnQ7Hn8n1/QdF/m8k4qqwpN+iw==","signatures":[{"sig":"MEUCIQDtipsQqsMxArG8ACxyxY3o+T1CZq++ue4d0CMtxdvlAgIgCz1BlJJVZ2RkWryp2GN1wbf2uGP1vAfaJhhr/8yLpMA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":145170459,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTvNoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpaVw/+NtLfV+RD0bJ4xw5HSfo1w7Hr7qkz00zckPKVnZ27wZiH7GD4\r\nCPlM6Hnr5Uu77IFmq86TM07trXCS5t9CJ+XBI2JalMhMKGNBtLb+WynmUxMk\r\nnztrxjgGxPIGfZzbZpckShJ8rsw4NIXj/sxeLBUqhV2HXOLRpWBlXB23gmva\r\ndUutgPfXMhHmSYK3C2raiD/7roxnihjVGY0wzgN0uu/bSdAVHvxL9Ge+r0Ry\r\ncrUrkKa4sYDYt7pnq3bLHZ5EPtCxq7Y1Hr+ExPWfBYB+LeWkR03IPSwsYpFq\r\nhhVb6V8jzJl5hf8cSbNa8bsi7lCbeR6ZjO1CCBxCJv7rtNqQOJvMXJ7sF88E\r\nu8IwFBw5uoTPUyfCVROxbKlUCE60vLrE0zQ4+Y5R0tPHkO20m6vjZaHw0TGY\r\n70dHicJdh3ea9bvDL+s5AFYw+lk6ruD4xaydDg7xWS2Swb9nLddL1sW8dLRr\r\nKJLcCEcKrU94ph/CsBDSYJoD/jgC125CR+W8iRwRF3YkTuycra4zRh5/R4Av\r\nB/hndxeYRYg7Jkh7uRJrJXRms13iz6R7JQV2VS+4hZcKBB79YyA5BrMHfSA5\r\n9Z11ksf/nWHlKbdjMR05VtVsWiekAYRZNK+Tw8p2stFAEuL3ZzK/OG+CWTqt\r\neLNI0GPEjMI+6l8AwM48ratoua8eIBQht1Y=\r\n=5SIW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test test/","compile":"node --max-old-space-size=8192 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=8192 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --file=\"test/\" --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test truffle test --network test test/","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=8192 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=8192 node_modules/.bin/truffle test --network test test/oracles/GLPPriceOracleV1.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^9.2.2","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.21","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.2_1666118503647_0.7096587749712524","host":"s3://npm-registry-packages"}},"0.9.3":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.3","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.3","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"7378d9515ea5a66235fd4d76dcbe6e25f2eb22b7","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.3.tgz","fileCount":518,"integrity":"sha512-mdpLg0G3Wk9EqlndWG07rUVZ+IvfzOHZNDyMx81tx/eIQF46vCChzJ7OrMpWh5xtQorgSYWidyBvkqi6h1xdTw==","signatures":[{"sig":"MEUCIQDTu2/ofct3Q0VKzeOYcZAZAlFu18MmJYt/WPrQQ9MznQIgPEyLCTEkBUtuoswH/Is/16Vrr5ZGrCCz4G19T3ayNKg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":131268667,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjayDLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqCkhAAng7XlF/Wo7vSqlHQFn2OQNpLPtUtm1fDFKGfvc8OmzxUWVid\r\nUQg6fIUMbdkNINfuKQ7yG2C18EEEsOSJtMcWd+cJG0f/VgJPgtVUXnbs35tI\r\nBppogs22yk2qxP207ylx5m6lIL6mp77OeNINBzyfX9sBn2aAXB8yUTQboLp4\r\nvb4Ogc4xeHJyF7pGz95EmYaOuh++UKKrAtmGVKHjefORBITdKMs97yRDNlCn\r\nzd90PWaS8I96FMeBjZqDfbLET7f367vcodby+fKhK/VAyo5xbp00kCPXFcWP\r\nZG3ICeiZo8/UV8vHWJIf0kdscE0ILdYABf3BSjIGKQgBrCEg5HtuA/8XCLPo\r\nNVnJ9j8iLI0xJc5X13lLpVTIguOZBlvQ8TjBhhefySdw8mwKExMM5lC/laTP\r\nr4sZfjp4vC9kutS5Jvu0zBvn4bVtK/LquZJTG9YkfjelnVpT8c8MJEOI3eLM\r\nqlNNC4LPN4TxRH9tcC7U829jC/UZGnbrOo0J5l0f1e6rjFu6AZcpP8Y4LuzR\r\nJ2w49XNrzkPHEgNElcTxCsUmImM5/Hpz1dzX5550BPB6ZhLGDuTmub262/sV\r\nrK61Raj1M36PNt0kljRxGtz73w1x7UQ9fh1ZQ9jPxBOlkEjzdSqBd02P8pvh\r\nIQcOvWclk4eFsRgfhYGGnmOLaCKXXbymqHY=\r\n=4K87\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test test/","compile":"node --max-old-space-size=8192 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=8192 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --file=\"test/\" --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test truffle test --network test test/","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=8192 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=8192 node_modules/.bin/truffle test --network test test/oracles/GLPPriceOracleV1.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^9.2.2","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.3_1667965131500_0.5272182142906643","host":"s3://npm-registry-packages"}},"0.9.4":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.4","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.4","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"95f08fffd7d74cb1f02df679786b21a40db19a5d","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.4.tgz","fileCount":518,"integrity":"sha512-QJj1C0vVejSYSb/JHRze8tCh0JCxuJi3JUHLhNhdpaUCXNbeh5Z36U6DgZOLJfWvvieeHQ1vL+tELQt+ciaPdw==","signatures":[{"sig":"MEYCIQClcbAf7vN8LJXcUHBLU2qREjz7TBhKhOGYLsrsyRCNsQIhAKS5Lmh6f61Vh9bw7fGuZKxnxylMwDKRWXAyf6WUoGr2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":131251170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjayZBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqU7g/8DjY34HhcPoQTxexZzpqKEI8MqDSB3fmBnY3/tEoT2sIH44ym\r\n/m9Wlk81vknFBEFwLK9M51nz08ItYuRdAyo1vkytB+4jLvmKnm/Qp8RBS8zq\r\n2c3ZSVSDe/Mk47nkjq/y3+Dmm4Gw7lSNpwYH1NSo+CRNoHGntNw2z38XtrLs\r\nTJbgnQN3QIcDKGoo+OzRzDwz75SYjcfSk8x5kIUVKx0OIwvbEyUhqgl6dqu4\r\nICoaB8Sr0RwCUaxr4ZYKTmyQwojY9Jgsz9WSGOJfteHZOF8HH6kCKgXEkSeh\r\nqHFanCiQh8h9h71zV1nlOn8joC9rK9ETUbTNRxduJQ4bbsMz0g6309q9WDrH\r\nbRwuIU2oZq2EX4ztFDc2B1PUGjdNjTxhHqsZcPP/AdeRZnu2ofGS33pfldLK\r\nF5FYPiekIErYyHPths5Bo9wxjGOm/KGlw0pokces5wus7+mz8Cn6GglutnSl\r\nIMEnxwa25zIAqtm4ujCMKJKwnvtlNO7RkUos83VyJXu9qkwSTOaZmFOxPhj1\r\nFbihdLbRc1pntIpJTBoUYUDfoSbhRY6mKBvzJveGoNrbdo8Z8GgY+9u4fSm4\r\n+hxvImrJNFE3M1adACLFIOfexCU9ZB5wIOYBXFXO2/2xBtorwjIGvw1lHSJQ\r\nOnXtKkcy72hRoWlwdkM1oc5nLaX82lEhFe0=\r\n=UDav\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test test/","compile":"node --max-old-space-size=8192 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=8192 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=8192 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --file=\"test/\" --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test truffle test --network test test/","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=8192 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=8192 node_modules/.bin/truffle test --network test test/oracles/GLPPriceOracleV1.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^9.2.2","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.4_1667966529173_0.03619142932022501","host":"s3://npm-registry-packages"}},"0.9.5":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.5","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.5","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"1086289fc241ead8f0b509887dccb80d6ba077bb","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.5.tgz","fileCount":539,"integrity":"sha512-rAxMInGBToo0AtpYpKeagz3/0vSxJK4PkrTNEYh3/nwEfSdRY69f6H12AR2l0SpAv9XNQ841yK9CiSl09OrJag==","signatures":[{"sig":"MEUCIQDPN2dp9S2uPahlBmwAn/CCoZmnBJJUf4+gJMYnMGztLQIgUA1aHp7gVmzQh7hJOdR3QlaJNXSS5n3b8rgEy8xuHyc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":109708714,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiSO6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoT/A/9FSxrBKaKbjS6RGKnXbDJnauyUwh04Xl0kQjt8KRkVEZcRqis\r\n65J9iDuhTjX4hvmMbRTnrHk2pfHQWBIjTfS3XLHP/++mLpnltD9PQrbCGeQp\r\nHZPvPgvkmqUj0WwuZsEcS8WgyA4r6AXGKeCp9IL/C+bQerMTfTP0ZXKK2JL4\r\nZu+oKuRVg7Qa3iMQ+L6/LRCLoAG0KA5DRijFSEm+IIz2YIBaPV/LX9JEIfBc\r\n9BtMkR1h6/KlB5jRnPGBKd5lhUv1rPew1YEbQVKHK3tjmYXJiRPn8U/xajIt\r\nMKLIn3ep5RW0klY8HQ8WG9sn32ARNozZI3ca3+UhtcX4pl4IIl0AQBATw5Kr\r\nS6my6d4VP++znaib6LpZ9neT+jYcwYWBym8INVIdu7Hg2o7Q+TdwpcXe9PpH\r\n7/68OJDJzaAXPyneGnA2ZiXUZT9o5KF4Eo/l1KREMknLk9n7YcMtr8ulLxUm\r\nzHWFey5R4GXj0KQKjQUGiupmxqrf7hKdbSrzE2Kzyfevw97TqmrodQtHyxG0\r\nayzyKmfRHpWXtMAyas2zWwQCsfda5lIXiqQ3+ovENhUhN0vCj1q4FukUIZuw\r\nbRLlGDGFRi3wpQu3ImFjA6gqPJdDpiKqSGAIJ7kCx+6w+2BTxXPzrpqAWRcD\r\nw5w3gF2aQnjOJYiiiuRQbE26VyqaqfqEy8s=\r\n=BGtv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"d7d7e18bbc84cbd3c8f7960a0d043582be3aa177","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/RecyclableTokenProxy.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.8","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.23.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^9.2.2","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.5_1669931962416_0.7276087667254032","host":"s3://npm-registry-packages"}},"0.9.6":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.6","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.6","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"28e8b86373e6b958ca366185d03ab4f92c3dda7d","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.6.tgz","fileCount":527,"integrity":"sha512-Sct0PmW50zw+CB/xt+4EShnRkIfB6SoVxwaHsCvh/CvCmds8YQG43zDLIB568SC8RI42TUL1a8xlPP6E72bkLg==","signatures":[{"sig":"MEUCIQCDLfD4gI6FrMd7Mu/mtCIAC87NpLLATHIClblFB2OUpAIgTmBz13K65JIrAd8XI/RgP5vq0yi9XTGrGNYbC9x6Kvw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69462045,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjidhNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqjIA/+JUdbhuQlxJ5uohzoR2r2zFICuo42QvDo8wxUDPDO8cW86ppW\r\nzW+OJ5rHSgsPlp6E/cEiCkTHYoQl2ySr4UJn9KYnC7i6N3CmCbLf3HRg3zw5\r\nXY5cHgQKJbK2Ih296hFjxYIJ8bwVQk58SlI8FzBvWIm7EKEc66f1UkntBa1z\r\n+3ZhKy3NU6X04ds37vsoPmsF+aHjvL8vbyLHokfo62e7VLva7oFMg3PYiEny\r\nVmjQEFAu8RWR7nWVuOs64deTrJVKxp3i3gtxw5Wozl7xGRYABs5QFIV06EAP\r\nTx19G8VI28ZPhV+3SSbuCY4VAIjT4HVSILPrnIMnEzHMEjCGOcF3CgeLSK0e\r\nhwAwMU2KMpWZCfwWRnAiDAE4HUTuaXm6jWhvj8k/qeatg5H/4A/752yNyaTj\r\nbAD7gzGgBzVS2jp3iQ7+CcmSSfwHKQ8SoHohXVijPPpV8AqW+XEFRE2vuMuC\r\nIpTob+pjygZMqOse4WSFA4owF6tdSCDeBAvnXfxoP2pPc4BEi9tOalKCfEYU\r\nZzLKcP4Sm0D9J4+9itCmAXuVfgn4J1n0gXemCMcbmJ8xwuw3Q6c19Qt8wbnq\r\nr+FDGjKION0SuwVMNU0C0Zjp8xyRcqsgkoQKuKIoshrvqgRB+78VkURzZYmM\r\nh8xYagC2UeM3uYm6PQkzwhoEsN7IQUXnfIc=\r\n=OUQS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"5f919f5eadc3f443efd9ed95c3184338645f2458","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV1WithAmm.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.8","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.23.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^9.2.2","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.6_1669978189484_0.21164139690544492","host":"s3://npm-registry-packages"}},"0.9.7":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.7","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.7","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"4b054b9125936536dfa0c68413c2c0386a876097","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.7.tgz","fileCount":530,"integrity":"sha512-vePAbeCg3LH1wa7EuYorFGvLf96JgZSCAaDdnemfbP2c6tcWeX7MYzKzXIuiVha7e5eUnHeR3iEz5vr86doEPA==","signatures":[{"sig":"MEUCIQC0WPCYxs9pzckqQjSKYrP3hu1WafzQ/AvUJuXGwT2mewIgXMr3CTwV77XKNR9PGgTcaG5tlK+SdLDQOipKkGvAkoM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":79247141,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjGVCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRcw/+O0Fue1NVg71+RfP6/XQitRsEHmqnBtPnLDbV9Rx1k+x0Ir3l\r\naFh+wemsJPkrqJ0oxN/v20EyReWQW5CLdTmleBzPKUblRtIn3btL3tHUPWdE\r\nON+ds6UdeJmjbxkikrE+FjpObaOtSARD0gh3P1n8LjSLi565b8yRWfIdATn9\r\n2WC7wSI6dEyl+z0ECFBXtg2dnxiD7nN7OyPnEjcM8xWB3EK4Nyi6Ddq4mEID\r\neNY/bV+T2fTc194eqdEJfCATCMYhCI/d75EyYtT2fiXh6VKAy3NoONDWeV0Y\r\nmgajpXHy8OrpWs8OehggMswuF16VTjk+p2fjG1rjirm6IFyJWN5N302gvc0y\r\nbLiMSaDcVhZNh324PpMStqfMflb/H3+oaS4bxeMiYNcVOxN+FPDSyqmlckKe\r\nc9P+P+Azsp/Z0lFO2EpjJ5qWAcDKv8IG5BqHdz4E4EUOZpY2XJuwH/sCqHdg\r\nu/BYrebqNC+MBbwPS3o6Qm3uc0Gj2v09+DrP9NeuNTZsGKl/4IPLW+Bc5zbN\r\nqYlxVFNkCkQ2z8DV//Iaawmtz+5cV1UKAV/1p1KSNEBIBAAf3HRTfLvFKmUU\r\npPIvfXmy99V/kQxgujMrnrQLShlK5xi8TXyQhks1qw25Lk0g5BA92YjTucvu\r\nT/1odXSjOH+a/dA/NGjCO/+MEDc6W30WEWY=\r\n=SXm4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"3b2e027ea5e24689931787b996147f8c1db4e6e2","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV1WithAmm.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.8","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.23.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^9.2.2","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.7_1670145346019_0.05667142404933334","host":"s3://npm-registry-packages"}},"0.9.8":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.8","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.8","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"7e60da77f33eef5bcb595609a4782ad3d897ac9e","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.8.tgz","fileCount":503,"integrity":"sha512-6U6KS+F/hcwLNw43zlHXX3+9bftMwhpbALSCPjfxBcDlTvotSrgEeOGVT+ejkp754zJtx1CLkCflcgmYnsDzvw==","signatures":[{"sig":"MEUCIBcAsHFRQsWVnoxW9gdgo0NfMAk3Cz+quZvz1EbgTzzaAiEA1yGnUi8AqaI7T0/QR5A1OZVQ2wt/QtlnjlsRLUk4Nx8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66844901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjtRSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmocgA/9Gl+GICGhfmfO/N7sfgULaRm0A8dh0bNzlZhLfvBUEK7DYkXO\r\nx1llKwNzIxNLOD5Z+TskT6baeQCdoZ8FJTcyQTKLHEJf8BJJLsjwJt1zmVGq\r\nQOrHC8ERywSqSAaPIG2vIgAHdWgY97si1cEnk95PjRldl7A4xmnvdv+uX14L\r\nVsH7XH7d/TQ/u1Vldty0D1dpqdBcr1iYMU5qBRmTfxuSTgodc+T2fWV7uGXh\r\nNB47uCpewhbCqVfouLZoWQE6OPsSeQQDON1wz0A/oUfpQ+44LynLvuXwDsDa\r\njWkECqfYWZjAUxwOqgbuqH+p01gRroQfeDzw4e34P8lHNd8wqhUucm7sx0Gr\r\nEw89fBxCwVu56XVKLGzlS0poFWeYWz4DRzu7YJWW6TAtLShZtVOk0YzfjlZW\r\nq/0f2okoC4u6eGM0DC7Rl1c9635yBqNhOOqD33kvJ4vZr7Yu2RYiIDE29t3O\r\nxoEa/mVq3te5h7iBZWH7gz1nyJ92sPIkDE8CsYFjKIgvbTVdvcK3XVKfAT/e\r\nfTvZyzbH7oXE284kPu0ejclBLKHLDKAjEJHLQM3O5zSYQl/+LAVsHnVwysVV\r\n2uTbAxcjhVG3pd1ON1PKGw8JjbBxV2evsEwdw48Giw+kGTdG6O3Up/cEGI6s\r\nYvPjQ5YhGA0cXY4ivOQPkAKNO2Qeq9l/JKA=\r\n=NUk6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV1WithAmm.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^9.2.2","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.8_1670304850511_0.8903719727405464","host":"s3://npm-registry-packages"}},"0.9.9":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.9","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.9","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"8ea546deb27f91d0f10d766b13d56a246f791ce0","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.9.tgz","fileCount":525,"integrity":"sha512-5rAA+B7aXm8nIUHu4PnQt27RfkhdspFZUzCg7/BwxVDyQtwpvR7ZdWJBswjbUHi2WlfJ39YuNe1FFRN9Pf9lKA==","signatures":[{"sig":"MEYCIQDhDUMKEGAbmVQqFaXHM6zOcb/8vVXpppf83uc3rx5udgIhAOmYUi5/gLUbOt8Y66+zG9ZhbUFPj0j+RfJv3w4YhvOd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69417717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjtkUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqm4g//VSNsJW/ExVX1jJGJNXcl3RS8fag5pRqps/gb16Oivl6z8a2N\r\nyr+MHhjcQWNIxZRTZBjf0rbiTXDZruoWsVOL8qTFR8V8OYA34fZn+Rg3Capj\r\nLGf7F6sx6UUT647EjbDQsVrQaPbFAFaz6OiQoqqNSFYVxdF2iThtBY2Ao3eP\r\nCz2u8SxYs81AqJGrzvc0v48e90jOEG3r8sukrYh+j57O07jydMYrXqzre2tV\r\nrQ7PoVLpchwzBdza4CzNpWnvOuZK+VhjTollbj4SdZAHR9thRCkj/2beNaIy\r\nPFonnpM7W+n+ES9UBnUSQtwvOnRsSnT5STC+OH9Sgk26IgXPUZ8FD+bJnvCV\r\nT6K1OmDqVf8BPiEqyLRbK6EvoRFpjOTjI7KbTwklNNzJB42nlIih8cOom/ys\r\n3bq9ZVRUcRD0gw1aQ6OJVnef01kLy79zF5B7u4HwodH4QXs7SYYK8eNEswW1\r\nHihRHeVDjW6tqleWwbX0YjO6gNygxwqwcdMLJyQY5Gfe1BtZjt5y/GNgDOSn\r\nlYQVEFt+lKL15xPpB/OofnvSIHnR8tQ2Qnn/RzmDIwJH8jV5C+4l+finPj8c\r\no0wbxWckeMll8sooIPexDVejaATHZkLKlqq7TV5RSAu4nCusDsZESxd9M1on\r\n7GYthMXDbZgJXCL54xzRff4ta59Y7dfMMhg=\r\n=nRJr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"fbf6f870d0ff94343413a22bbaac1c9b5fbb5557","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV1WithAmm.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.8","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.23.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^9.2.2","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.9_1670306067892_0.22614216572146484","host":"s3://npm-registry-packages"}},"0.9.10":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.10","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.10","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"67b501e54fb7c8e928ab27390d778ee246af3036","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.10.tgz","fileCount":525,"integrity":"sha512-zzj+PZFHln4c+md8Gw60ws0EbS8lPP592/o8bUNQ1hWXI4skjmDIhJAnwu+5Nj9uftnyPXC9iHNEdKiHs6ojMg==","signatures":[{"sig":"MEUCIFd7nxPLWM1STPBJxNy7g9sVMgAJrKCxcu+QmpgLDOdIAiEA7E+z3hgBk/AYEUaH8KB+3GUQ3FKaQd77fAIuP+iWbek=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69421889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjktG6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqgxBAAk08/IOXQUbJR7eWqi4kxO5HPdi2LlJo+P7u76gg1Flup+r4u\r\n/OKfQAi+TOWKe5RPzhiNyaXACvfEib6YRJgBaGpVJkhvEpchb6hp9fV6e9gB\r\nw4o42QYT2HqThdbsm+Q/xl1vKwe2mtOX87XkEXsFgDCwij8Wdr84xG42epv5\r\nMDzgcQ21wjrXKrjr4dxNO6cPXkhOiqHzuXmxR+Dv5PIYOjuB6b2KnnHauCQg\r\nN44lD6VYcdZcLkpTqsMhac6FAWfyBHUk17bqkWLaHwWP7J/f42XkDpPHK7vW\r\ngXjChmYaDBqD6bJ/AUgR8HlyowHwK+qcjYAav+jCGlcREwUm01qI83E6sn4j\r\nAk7Swr9Tz8JjMw59hMN+hycXh4tjo2UNqNb+BvjtzKH9J1JPcZjlr0k2/7IL\r\nlokVmrjc3TSQr9wrwftnJ2g46o6MHnUqW/GXjhnB8+G/DOPtSs7I0ugosrnN\r\nb8N13wUCKpA2FtsxTh2bMcjFBHvdEcDZUMRCKXCT5lnTgrVftLmDn+ifqta3\r\nsqvTJX9HFHS1Ux4dDj/os8w6ny47UEDTF7bPrtXvn9TK8eSdx7Wj20OT+Gl8\r\naRVUY5IT50tARlFVyR6EHEupDqMgFSZ7xiKjP+eDNT85wSBXHlBJ/pNcEkFd\r\n1k2oAWvSIXze7jGPqL/WxNaTZwZBw0htcK8=\r\n=eYJD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"d6a0634eb1e9f8057c40a9b20782b7711f7c1200","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV1WithAmm.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.8","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.23.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^9.2.2","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.0.3","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.10_1670566330050_0.8559342608126357","host":"s3://npm-registry-packages"}},"0.9.11":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.11","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.11","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"f1e988e52104cbfac7ffa8df108527fc3e361559","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.11.tgz","fileCount":536,"integrity":"sha512-S3KPYFB3sr+fo3dGAC7z4HpJAFMHhwhoi2KprNRyFbFi+wHK2FbPAHx4bTXy9zXdMqtBQMtbuushY18Kn36nbQ==","signatures":[{"sig":"MEYCIQDZpxS0sorA+4gasYcbxFEX0AYvriw9CpxprRLKcX7+FgIhAKSvbQuVVKOkPj7249RMKXpwILMq82Q9i1uqR3lPi8n1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66128439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjv5YVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpKQg/+LwnvR8O1gF24muxEpI2l8Wu910v9/ldokCavwHlMRRPOhEBm\r\njrftf59ECByZZckaGzZdUpEyuvfhQi6n3/3d6EtTMmhFLjaI+rZqLUa+sYNj\r\nSRTfpyjbDsLErz7AkqgnAKb0HXd+/VPstdC6upBDWDu+UbpDzZE8FYa72iRR\r\nWbg/ats8ZeH5xr/dbvrFkQnRPJ0RnW5R+TJ0R2/fyTdhzywWTKjss5A+ySRG\r\npm45cfqVwR+GqqUA0aDwDnTK2e55VC+iECSX9NWajtaitOup9L8Fjn1zi8Si\r\nlrfie+SJ0fYXo3zzMt5HZpW83iqzmLo6z6OEHL/iAS1yDld4ydgteBTviHgY\r\ne/tm9oyTfv60Iux9K+1QcqfyhnGcepM6KzJj3teKx4Smhsud3DfHdKuv1uy0\r\n8PQCNFydmU5dj7vTzU+FN6S2oNq+l4Q4zsTpIvExJruJTQt4tZhVUervkUlC\r\n0mpNT+2mxXR/lL8aNQ7ylt50u1mhdy/6XG2BnIox+BQNa9MNM84cnTNvAeQ8\r\nScfAcVPbDxvf/oTCZul1v3y8uF4eud40LuRzI6qJtPiKRb0LCkM9SCkZjLC0\r\npq86d1qIfeOtd+mGCy4EjVFHyu5Kb2l8yqtAHjXyTjTkeVdwXrOMi2e2ZUVO\r\nU2N8eRQJ/1iIm3oCYzXlk7uxvZhCcf9kqSA=\r\n=FhRA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"2fde91b5021648d6cede146a5aba7d4a9ce7b34c","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV3WithExternalLiquidityToken.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.13","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"14.17.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.11_1673500181293_0.8799545302679133","host":"s3://npm-registry-packages"}},"0.9.12":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.12","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.12","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"b52cee148d53b1c105dc9586e46fdc4dc0ec797e","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.12.tgz","fileCount":536,"integrity":"sha512-JQrcQzzYfJfEXVg7BzNhMOUKzw6uceQmXTX3SoPldXO93A2djOh0v8S0pyldRbPRaA6Z51DnwjMkHVHCfsHb+Q==","signatures":[{"sig":"MEUCIGZs0P5sN1Qllclu/yhTSrGuS3gbmvZfRW3xMl6gSnqXAiEAtSDjvTPRZW48DDkclsuqXlYQnCLRDzkaKYE2GXuSOjc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66128447,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjv6yvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqmvRAAohixkci7ukY8QKWhF6Yuzi0iict4YxwyOqHqxrHBM4SGvXzL\r\nQ0MOS9D+f9x+mhmzHCt5Z0t2V0LUkVG/JAM9w6JAM4wCrpncGA6G75pFKg7A\r\nM5/N/h8ZGET8vnog7eHqrqCBApXF5bjPH87sp295nipjvANQtCyhONOhVhGJ\r\nd9rOKs6x58y9hAZYrACIlyOzIVPsl9sqpoUi5G6NUYUBR6X9AhE1fFeitJls\r\nv3AXbTEgIBZ7W/v4gy9Z9DhKCtDwcOw7vKE5ip9or0ojexPQTDojrpmz2KS0\r\n8Yc31JusRRa1+b4wAlfjMyQdlanqhKUy3ryEWkKItQEeLQrV+Yv1tA9+cS9K\r\ntUjP5lRjR4fhwOZMFnG7mqYI5Ay5AGasF2rHmHBr2xbz894wO5BfE8Ve8YE1\r\nkdTG4b1OTCmU3J8suGL94f+mq2FB7pRP4X7H506Kfl+aG7Wr/ZatepfXRXjf\r\nE1iD4QrdhmnALJRCnjAGGfKRvzuB2EbdKB3qJoOf9e36ypYDJAwBOyI4cQog\r\nFwr6Jwrfm+Lvh6/K84WEHbv/jsaMr7QK1U1rafHE2kvy6QYe9jb+lXYljUxN\r\nSSt8xOVoOvc7mzfuCdC3Hui1RhMqmvFwIs4NwNLzX+ztpYICXDG/pVQWe2JD\r\nVrfdanxGH75h25tz9LT8Ii2pCdLbrWFnlfE=\r\n=rtAI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"d3ae1084721bc7e58a6f9d544ce9e6c1928404d3","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV3WithExternalLiquidityToken.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.12","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.24.1","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.12_1673505967037_0.05378834870629601","host":"s3://npm-registry-packages"}},"0.9.13":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.13","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.13","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"a4e90114e2dfea9f27e3475b14cae823e885d89a","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.13.tgz","fileCount":545,"integrity":"sha512-ERdrzAkTNxPU6pAjycepXMAvyNjbzZMewcJUYx2ImBAZpQNNvzNA2WbQWO/Pa4F0zRqTHQu8HZFMhJsmOPRWzg==","signatures":[{"sig":"MEUCIEw+I7O02HpqvjZDJEoAzxfDxvqxxXSbhJ7m141knywFAiEArn/mLltZyD+5GuzCsaCGFBHBjge2B4Rgc0BwlIT3bME=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66536418,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9dpWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmocZw//dw0vwFbWFKaG7gIu2U+CO2PShNNGU/xKKql8OtpNUJUopU1i\r\nxcyapSgJ6X36vtC8VtizOTUfi2kU8Za0is9jnyIEcDHZQZkjrBKr2qSfYm4s\r\nUHeoMOneF80Wa/P4OtLRpfR0cyJIt5Kh7f+ub9LLTAwF8IO0hSuujIJCMp++\r\nsNzCrdJXWh5PTS0G+SyKu9XpLAdl7fTxcDpsEb5FHk6W1WBdC3SSWgTAjol5\r\ndeoZhFFmAI4et7TpNEknzH9fO3pcw52lq4ELv4FYCWXNvy+gsOa6r8Kj4XpP\r\nctAeQ5r207IPUGNOCzfU7DLuzkiL2knThf5jQ8dwlrx4rikO8EL/P9Lt+kOU\r\nq/gRdJ62mFfAfUwM7dhcP11kQOOZStO9Htx5ubDB2MoxtXR6JBPTZMNoGLxq\r\nmOGdT5kEGvaQt/Vw+PE+oqi1ZxdYqVNSE063s8xslT+Wci+rrgO8WFsHVXGR\r\nEG186YFMdpYLXcPyM74yEXwuDKH527i9XySxT0IgWR8wA0WxBHvaOLl5YJ2F\r\nocdEHoIY5TlAfkMYPYTMGCeLG6zvf6D7ytgJOLtGDjYR3jXiRlz4EckW93Ws\r\n8N5owJ3mTKi9OztCO73r36ipfed5BJilSprG6P7H4riGuuY2KPgdg2DFxA1w\r\nHdObyDANyNpDI75cKDL7YjJRZaKFB628tQg=\r\n=4v3d\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"63e9c45320eff7b1a0d34a602f12ac9ef51f0570","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV3WithExternalLiquidityToken.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.12","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.24.1","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.13_1677056597966_0.5411440349174195","host":"s3://npm-registry-packages"}},"0.9.14":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.14","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.14","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"6aeb94cd330c7daa6b118d5f24557c8eb72fe9ba","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.14.tgz","fileCount":524,"integrity":"sha512-RMv0r+pzisRgz7yMtTEnwjHVQDiPrYQeFf6i6a61UEZkOKxB+Ev82sHEJekwLo143yoZK2ILsEO66oNstQ5YEw==","signatures":[{"sig":"MEUCIQDu8hqal5DdytDjeeuSFpRM+1pr49+SN5BFmPVMhntH+wIgXp011EXdtJKg+876z2QzYqgbsLbITVidesFKd4JtgYo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":64004896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/BqBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr4oA//aTwqOWaAJngQaBC9Yx/ssmv4YQ5K3YFCG4/B73W093TGHt5w\r\n4msIsA9m7L+y62ev3VMb24VEepQCkXGAFcd3zV2F8SHKg+6gxWWS8l3IQHA/\r\nUCOLKMdxQ/2bc+jUE/LvTBD8mgczug34W5jry8m93X6zzj5IHtoblsjUnPMY\r\nQRo8WRyb2j6n0dgsogVg/BbpC16WGQQy2O8FknyIOwsCbRGbp1CuR7cZpVnL\r\nf+iwAI9Vp9R/dHn7jT7wzQe3/1DK1021NhTV6KEZGV2qa+cbLQku2VgsJB0s\r\n7S4HbyfsyFg2sDZ341FZ6AgWE76HXQmT4hY8X83GkkG1P2hDR89txPJabGVZ\r\nz5vjI2XbgilCpzJkjvVVGxat0thakYde6k5nT+fyNouqFHXZH3FCjbDIXURf\r\nz9bi8Bk0bi+md/R+Mj0dl9pAm1LXfcxkkMfG/GFUV7yYciR6+fIgdZ9lEsTM\r\nv9/x+U+2wQhH3P3XaIBrckKstWIFtxwFDmFE4XALvMj92lyIp8eUrBCFQvn7\r\n8BTuNmA6MjoBZFEcBac1vZoSpUHrzzW2bn+3X4uCtrdyt/EuY24tLRTIUC9z\r\nomxJBqFu9ooJKqIrP1NVIthcqlI2Fmo5mh4pquPwZbRmlqxXlKQCCyor7PPG\r\n7lIeFHyFZWnY75iBxixpyDpisNauZPR3b2A=\r\n=UhUv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV3WithExternalLiquidityToken.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.14_1677466240625_0.5570124440110256","host":"s3://npm-registry-packages"}},"0.9.15":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.15","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.15","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"bd21e2017203a3a452baf14e4739368db74e8c18","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.15.tgz","fileCount":524,"integrity":"sha512-/oR3qKTOIGKg65ii7EsIMjmbptB0r/Ozj5NtS0pgZQROKZB4MA6gwE0t95pDh6Cw38WZuvuj7zBMs05Q2pRYEA==","signatures":[{"sig":"MEUCIQD2MtLvfMPnyW6Abza053DPNj4UxLZpLSwdny+dxyQ8oQIgZrYEA+DDKYHAr4jTk0j081kkf2XvAs/fRxiS5EMfIxA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":64005033,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/DJfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpgiw/+OPFfAv+hUTrXZ78vag0RqNqtyZBVOPTArLmmSIq4J8YlXqA1\r\nZsO1JEDZy19SRjd89YwNNqTTQ/yvUE5ARoK5NiHNpfsdrkW3vKGvrO7cfBMg\r\nEa8Ijo4nw7E3ZVAMS6qvWn+KGA6Dy3i5XRjzCn+1k9k0BRTgxqE8YxCnHIdk\r\ntX0+4zuxWFm/Kxi7c82lm0uMaIBgtGz4EzopAErbwEJvc1NdZ29zHRID8Wdt\r\nTOp6jpjxksbjzXj2UKnUni+2qne9m0W+NRx17m6PkHjKabi8iv7osg0KodG0\r\n3hNKolwh+/e65/7zRWdd4L+YJkUvZe6GOvWBa9wE9EASbYmdCOKyRBM2SPSf\r\nIqRSw7ql2Ywt7vygRD6aY/EA5zuwysGdUA6WEq7R3opZvaNLTlsAPh+7cMaP\r\n8dUqKyPI7xxJb8/3MAUln0WJY4GyY9HtZKN2CuXyaYbCUhXht/d8fZ92nB3l\r\nYac/2S7bEKE9+Uz360zRT+BPCcWmcTyETfwWDXUp9/k9HtEMF8W+asVfKChQ\r\nE+IRWaZzbrwXt1u1w54qTWpJ0Xx4QU4vSpcUr38stcJtyJyZbdMlNBSJyaJZ\r\nFDHAzggcz1OLvuisIN/uFu17QUirw4HaygEgbH6poAEvumuafr38mgoLxBl9\r\nwjOryx7DPkEyqzzY04yaCpKMA7ZynapMluc=\r\n=SthK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV3WithExternalLiquidityToken.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.15_1677472351063_0.9672470034696208","host":"s3://npm-registry-packages"}},"0.9.16":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.16","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.16","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"5ae3998b899f8b8ef123fde9e1d84c4575bca254","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.16.tgz","fileCount":524,"integrity":"sha512-WjFIdRLNnEfzwfJWIVyKLzLpc44ft9MZKjSU9h0vNWmvCFXxuPC+eimAR72CL1A9a5LUuk9/UUnVYIhCh5fZsA==","signatures":[{"sig":"MEYCIQDWAxyIH1eDUS60uXjqQdFN0g7SFVfdOYGIxHJ5uKb+XgIhAJQztwztvIrVfN9EeodSCUEtifY/bM4HYuwYFX7hOfyO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":64005345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/EDWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+Uw/9HWtJM6qLd0CJWxCl+DVRq/HPeFsU18SdeB8x9yzC88qSZ089\r\nhXO9LAWs25+BKur/gm3UnhQ47wts0bcv1bHfCkZXqHhca+XarJFBEDwIp34y\r\nodsKCxNnl0t/U5dRg6dlmsv3No/0G7QEz4gGG9TbyI2q4kTEVtdJBoN611Zr\r\nHJbbTSci//BlhkSiA4msYkswHDaNPHKiMGPkjL3yd4jVCOtU6nP0cpI6bYzk\r\n5xlWbhmFPmQT6eINkQjPz893S1pds3BfyK5nBTcF+GzlIL0oZew5zgz93Tde\r\ntWkHL1BccQ11OauATQ1gVHo1RlPEy92LF/3mvMJ2E1BUfy/09VUurB/gSXhd\r\n3WGPt5LHJwW3HXyPtldqbIAWD27yfg9RKUCp7425/Xg3/kJrcW1KjzqH3TPF\r\n6yYadYe11krjW0JQnEMpU0EIiJm6+sXdTi27l7n9G6ZMqSzGbkZCUBRA2IRx\r\ns0EdwCjklbDciKUlTwyPcNX9v+cUiqzpayPPYDL1sZCaXaQ6UTAXvCytjT9a\r\ng1LJgc1GOY1OxhghKVkqsVuh10ik5E7GZN3AxL9zvc9ghjB3aAT62Wd3GIe3\r\ncOERewOle1vXJoPmXsvkE2nq5cRblnBdquxRftKKR6hMyZkby5KUT1EzofzR\r\nL26xMgyYH/6N1ehAhPiOO8KX6NOU9Ec/IeI=\r\n=xcMz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV3WithExternalLiquidityToken.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.16_1677476053843_0.48750390527641385","host":"s3://npm-registry-packages"}},"0.9.17":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.17","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.17","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"1239e6b43601646525923547b84d5a979e7394fa","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.17.tgz","fileCount":554,"integrity":"sha512-xiXyK6I+vKHANrydduIyT7lVnuvblsS01ADPDqDO6CEFXSvnPVf3KTu/6DJR2mugTmhoELJgjVqSSkLq5f7ocA==","signatures":[{"sig":"MEUCIDx+aEi1bYrSIkgRhpvm1BZs95K412lal/cP3l5omrEwAiEAmBmu3sACryoNaXlBA7eqmcSQfc4iDGwhP+HUWUSSpOc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66632742,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHRVGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqjKQ/8Diq2U1ajVskZdSp7ZKnVb2dspKRbQYDHq/+jq60AozkiOjAW\r\ndTJH7i0u2ScENW8PFTKITxMF/12kFf4Rief1LjEc9yX31NdcWb6ekJllPpfO\r\nHIDKMynWrhjWfv+xGh5Y/DFRkWZ2U0oC5miIQOOq3Yo2XuSkJc4sa3B0oBQS\r\nTEqXXlPY8rjyhrRu83PQnXbDtzPq03Q7VO6QNEulKY0HdFhyv4CnUl4i7pID\r\nK62KMVgXBSAyDFyjz9y816s0sp2SyHGBpnrQMfpI7provfp0OD9iyg3ZP+vV\r\n2wgaHlUFOWJQs2qQD/4ykfBaxVtvJdO2nC9f8XIjJBTeqn2/GdxjH4nBAuj6\r\nkQz4p6L6SmTh+fo2ctc2s8fTROZ7Y4JdVEbjcQaauXA3cbg3GwP40rBSD+S4\r\nk6Fokmr0FR7I5f4UBZaDxpx0rint+IPDnSNGmZEKJ5wm4RhHus+WV7llaTmA\r\nvBzI56JnvNKMoV+qn7gDu/U1JiAlbe3gHx2DqLisiu3iQoPqSxTntVkJt3cW\r\nj0h1+NtmbyzP9GyUIRAmRMReQIZfUtYKlATDLFaDZURo2dutBW0ThnY2wbIV\r\nbitixTYKMVqi/XYgzTGf+cT3CTItms7dnwMkrup8353mqOgI1FxxQXIXgbk+\r\nrYZmF7N8cD3UiFOIGG4MMJESPoEbzf7JTvk=\r\n=Esbw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"a3a7ac743ffa70ff5f0632ff465514d1c34491ac","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV3WithExternalLiquidityToken.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.13","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"14.17.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.17_1679627589578_0.30011526323423343","host":"s3://npm-registry-packages"}},"0.9.18":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.18","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.18","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"93329d7ee2cd6d6ee416b03fdeb9ce4255908f37","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.18.tgz","fileCount":528,"integrity":"sha512-nWjiCoQpEI5ToJyU0630ALn0Z6vrSGjBeukaTOQC1dLAJIZ9KmbrGnONJJB9AtzQsnEjUTdZtIz/VG/xnkgDGA==","signatures":[{"sig":"MEQCIFDEcES00DQQwRR6zMx3nFl0LvFQZoXrG9zGoa0R09oBAiABHN3K97LHLP2ZIzo8zS2t35htfszuUrF7A7V01NKMGw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":64072479,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKdj6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpD4A/8CT9PPK897iiPxfHcKH8k7bUtoZNsuNyAvbTi2zApXcJzXsDU\r\n4d+vMEceUGE3TXxX3T51lnD8/zQdSTjsjPWfNN7vPz2qmpOiOWITI7CXEerV\r\nmdpeus+a9r64Ey2r3VxuDDKAIDkzXukwZVA44nxhsTL4DvJIrXt/7vNRIKON\r\nQIz/ioWxIA/caIueDToI1OER2xIog3zk17JjAkr3qAW25WUnucwkUOhED8Du\r\nRXVRam26QjY1nqZMjM07u3JuLDTsHuUbv/D4HykWVo7kTXw/ZXTaSu53VF8C\r\nT6UkBdA6O7xupM2sp4ItPbvItn38ODGTHDEvvCOPS50gIKI+1I+2y0eiTPqB\r\ntOnT6nYu83SBw7YB9/lUCDcwlQg9MYx8p7Z7++kVLZgCKnDH+Cv5nv4kaBUH\r\nUSAdKjMc/cren470NLAGfMb7eqLUuixA+EocE9n1Cor5u1bA8O3JCJKtsjBY\r\nkHmNTOn1/PDWHZYfGdvimI2YFCQh2lH+abRDc6DLx3Gm9Fub/SUwjoyfEBp/\r\nK2BX64OJH7Xg03ZWcdVODvH2R2ia0BG2oSONqkBxFnzi8bXzDwF+YMs87Mex\r\n1pnV68KI1Uw0g30asqC6NhzvEiklfJa9pvlI7+DDUjA4uA/qm3CjZWlzJDTs\r\ngysvgMxptgZADkn0y06PlNTDyNvRsoDRU4A=\r\n=6fRs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV3WithExternalLiquidityToken.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.18_1680464121672_0.6909090799845796","host":"s3://npm-registry-packages"}},"0.9.19":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.19","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.19","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"94792990f6804b471df537b44c7f2d37158f3b82","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.19.tgz","fileCount":528,"integrity":"sha512-fLD0d/+YrqMG429niCohlc/Rw/A1NRKqaT0ukrqDHUDHWNytjDMa1AbEOyPjhIbNdX4icgtKnrVF5eRq55oc3A==","signatures":[{"sig":"MEYCIQCMIQAsyDt1So2l5qq371EzcAiR9it1xm61rMVq97YcKQIhAM2YwhcH93zWsb41avYABkiIjphVJnOqAIENpm6/Q7OO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":64072659,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSJj1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqdnQ/+MKqbd35LzXvdffEcQcLpedh7I5yYUaiuqh0im7MGFBsadkuX\r\npWwkm7iXqoFMPYcBMXrkmvRAvIQF+y4jz7lF4z0/fnRb8jQI2j4UN4ouQjTj\r\njFqWwOcDoNs2oJoo8v2IrkBIQbgrCsOvPFaV6MWU/3cJ4+Pow23S4Aru3eYL\r\nK055g06a4zI2/pto6McvMBpvbzGKMBxy7jYvgKWBJzvonGVs5toc7wTQdgbg\r\nFrHzsnStJakPXEoWLoIfpROaJNQryPVswjlc1XizJaG7NcZl3AabJuRoUCsi\r\n8kmhRxky75aPHxHehC81JD60Oe9RdchbswwtCZr6ozIe9SPsYy8NR5pejD4o\r\n9FVJKLJzKIhB3+g/cV3TbJ1zUom4/2jXcvgN8ifd5YxdBWYV0kGP9k8ZRCAy\r\nfn0bPjtcDgWsiPGCu1Y5JCZzPA0W9lbpDKnWUuwLTWQlJjt3/nH/9FLnSUzQ\r\nRrwOCfWPaJ4/Pt0w8pZlQXR6IfojHrBYBajoJj3y+hE999naeLllIsOqoWqb\r\nhb2NXSFldThjps0Fq7To18aAV5JmT9E6TeLoCkjNs4ITzF378yAPt1IoF8Wh\r\n8JMAFG/J7ZAvRS4Soh3Xwm/3IBWBLNwJX+/cVNLM1vYwS9QmZAivEk7X27JD\r\nx0gdAKyL9N31lt53fJMePll9mf3Hn4gDhxQ=\r\n=F2LO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV3WithExternalLiquidityToken.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.19_1682479349593_0.3929859881073805","host":"s3://npm-registry-packages"}},"0.9.20":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.20","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.20","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"2c4394cb3e6d73c1e3d5aa7735d1a218eaab9772","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.20.tgz","fileCount":606,"integrity":"sha512-ogY06u5wb48RYQMh1SMXj8mlqqlfIzc1O07Y3qhZpnnmy399AFMd7Z8rnHFbsesykbKW3zbrvXZDZ+ECgNKX2Q==","signatures":[{"sig":"MEQCIHpF7WAub7TjtItJpw88SifgSn4wpSMqN+nOHV0Fry4eAiAjMDJW5Zpxk2VWiq2t0ya6aGd3zokJZL4Mb46HdXENDg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74403245},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"3edf4397d80110307783cac3cb1f60a20a607efa","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV3WithExternalLiquidityToken.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.12","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.24.1","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.20_1685657124122_0.09069904778028559","host":"s3://npm-registry-packages"}},"0.9.21":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.21","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.21","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"59bea1a816e09eee1a766fcfdca6c02ffc8db1b1","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.21.tgz","fileCount":595,"integrity":"sha512-arTZOqhSJw6WkwrG6jeydWwK4QiJzUWwmWu85Si1VRtDfYbPHolEXb8r0My4QCealJQ6tVDkXy8oU0B3IVFsJw==","signatures":[{"sig":"MEQCIDULEcaFn4+sa7NVy81fXexRRSp+PYvDxI8tuDkeCLeMAiBs3qL0gxpz8MwOl3y3Jnm0hmgF898RicPJzcySRCNRvg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72559801},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"042893fef0ada4a46abb1481379234a7b938c7ef","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/GenericTraderProxyV1.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.12","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.24.1","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.21_1685882566543_0.25273864708738447","host":"s3://npm-registry-packages"}},"0.9.22":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.22","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.22","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"bb5314fba5f349d5b8df7b6a8e2d503a0806ba56","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.22.tgz","fileCount":595,"integrity":"sha512-1uoAo2dPna2TqAdgC+cXlbNXICJyBtjWfeHzvVQXvaNN3URoUae3CSYb4/DAM19Yo03SLscPgZnaPpfJrvUVzw==","signatures":[{"sig":"MEUCIBzPB9Ob8ASEE2Po80WPBolr10+QO+tcnxLWK6ZrdoLJAiEAu9ozDXUJndK17Jmr7msDAAKk0JIJHN297d6reXzy/m8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72588736},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"82b7ee36caf5470ddc2680acc237f9d57016eca1","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/GenericTraderProxyV1.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.12","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.24.1","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.22_1685927258676_0.20887964689477556","host":"s3://npm-registry-packages"}},"0.9.23":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.23","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.23","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"0d435154e7e59d2e756c0dbbb35cb3a099653e65","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.23.tgz","fileCount":595,"integrity":"sha512-JKYQodbxwUM0kynmsVAlXx2R4n2HSz/ro3NRbnuBaWc0ADYuAKJj5JANYHpX2SsRPruPrvi8F1vHR0c9ncstsg==","signatures":[{"sig":"MEQCIDXA3qYE7b0gaCYxG4ch2qzUQjFNNfC7NVPbp27+zgkYAiBCDm/HtDwnoBKSaCwHdS6Cvn9bFkMD77NSihMbklZUew==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72762145},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"ce5ad895d0d01c23b24a994a52b87a955d550200","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.12","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.24.1","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.23_1685944259400_0.01809842569063691","host":"s3://npm-registry-packages"}},"0.9.24":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.24","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.24","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"c2d06b234b5164c6d4086d15d5ed43eb81307f21","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.24.tgz","fileCount":602,"integrity":"sha512-2jCsUIG7Ru7Z9qI/66Cbq9rRAkDg0JMbyLXaamQXykxlYR6KkQ04cGYgH9PhK9NU8VwhhDPDW+Gku9ktWYFAeg==","signatures":[{"sig":"MEUCIQD3Iv8kGDg8Mk3QXmxQ0Z5HENaNBYTyYFfufb5PVxY4igIgbuYGn1CqBU3bn8XDrujF/qm5/KKwRTYnkB+FBgCmq24=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73097476},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"6c75445dde100eb54831a5067ca2e73525c4e8f7","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/ExpiryProxy.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.12","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.24.1","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.24_1686574566947_0.5707255357413639","host":"s3://npm-registry-packages"}},"0.9.25":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.25","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.25","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"c044e943861d2595055e05f83a87dc69232b5598","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.25.tgz","fileCount":602,"integrity":"sha512-bvsqOOsLqumEIGxO4fyR0M4mvYBeGqxtyChszUUQXjmE3bu27ogtwe+g5iHDG3rLvDsAM0IOBUnLK7AXyWfbpg==","signatures":[{"sig":"MEQCID57objo7IBQKCxICcKiUmFfiPnuXIypTl6FSbgXBkK9AiAuXlgiUqPe5twlMtnGvjJ0m7kZXPNQ24w7mJuctxa9Qg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73097701},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"6c75445dde100eb54831a5067ca2e73525c4e8f7","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/ExpiryProxy.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.13","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"14.17.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.25_1686575060596_0.9457788376810501","host":"s3://npm-registry-packages"}},"0.9.26":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.26","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.26","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"00e498ca6d795067956e7b6814732575c5c1a29b","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.26.tgz","fileCount":602,"integrity":"sha512-hFKvPPCHIpz1qnbFYpd7ZL0pvEfb7UdMff13O8cD62KVXERmIo/ilxEcqTmzS9k5asdn1IZANNPmN58atyZR7A==","signatures":[{"sig":"MEUCIHycEDQR0pGw7Way1KshFOZBu/MQoEDj4wYkkDGGFYOIAiEAoLAwDxrIt9YjxPgFDsDhPMnRghyVDF0sJMlu+7bETZA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73097744},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"023a2d07ecd58e317e43131c1e30e8c000f50f8e","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/ExpiryProxy.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.12","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.24.1","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.26_1686578759641_0.059904861469981974","host":"s3://npm-registry-packages"}},"0.9.27":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.27","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.27","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"35b3df2e7a10bcc0e60930b91bbceb9c31f9e0f6","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.27.tgz","fileCount":602,"integrity":"sha512-4jU/bWUHsxQ21naB3r1ZEDanDgvvG1fPdu7OQ9KP2sQoIbLtvCk+8lVPNhd3UudVXAw6GmSAyhBQ6FykLP5TNg==","signatures":[{"sig":"MEUCIQDvIf7A9S8hayIWCbs20HtT/Uq7yhe5u+fg50V81Zd0KgIgSspAGJO/B8SBOYDhPAM8lKN/atvLRMhAQPMV07DADY0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73098200},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"6451d9bdce24fa40ca4f31c989f6baf560cc4e82","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/ExpiryProxy.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.13","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"14.17.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.27_1688384136875_0.8890549140970856","host":"s3://npm-registry-packages"}},"0.9.28":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.28","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.28","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"e96f41561f2e650fcdb8ab55db243ca82d8bc239","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.28.tgz","fileCount":613,"integrity":"sha512-fjuQBnLqHHRI5k6qVEAtRTD88zTOhpi20JC93/yXGuiWWWXuwS1/P49NrC2iFyJtD/PpxazcU2Da/vo/3E0+Vw==","signatures":[{"sig":"MEYCIQCn0vEb5kKlV2CInIyeXvhS4RajKU+5sEEllfqotWTU2QIhAJVvSUYuCYU17D2vHIKXcneK2o5Vw8gFmbMZJzgHWCzI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":75552494},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"83fe8d3c545ccc70bd1fc8f7d94fcd04e08327ce","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/GenericTraderProxyV1.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.13","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"14.17.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.28_1689678549254_0.8645404229322442","host":"s3://npm-registry-packages"}},"0.9.29":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.29","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.29","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"05c4de3a6fc02766baf07624bdccc27450508344","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.29.tgz","fileCount":613,"integrity":"sha512-ORSg/BaQ4RRCqg4/t4TRLFpHpZgh78yprVeYodSovCZKZ5lpCUWGDCDagv85vcwRRlKxp/kcPr5ry6rk9I1lAw==","signatures":[{"sig":"MEUCIQCx/HJ7F56itJnD3j2U/uKe8+HhhxExelRUvhoQCAU/4QIgGOcBizNVx9lMr7krNWo4MUmLHuik1iXF8pYw++FXSqA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":75597822},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"80d9a414c4d6b5c5493d5ecc084b8db23aa183d6","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/GenericTraderProxyV1.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.13","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"14.17.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.29_1689690057805_0.3574881814068267","host":"s3://npm-registry-packages"}},"0.9.30":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.30","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.30","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"cf7eb4f59e087a6adf1cc13fd9cc2861207b1cf3","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.30.tgz","fileCount":620,"integrity":"sha512-WhlDQlleug2Oqt5oFPypPNrFoJI2lGs/ICSX4Ygo0mu0T93l0kTx8t+HRrEcNijZCibDxFwumWkHJd5NEYntbQ==","signatures":[{"sig":"MEUCIGg6iGRuvdt33nOB+qYKk0afpGQmKJt8C2ihmjCKUVZTAiEAu1uWsjguuYFzWIgZiLoCVahr0cGrFSwlmUZ/Rwqtb68=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76628583},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"cdbee8987cbaa2730f840185ce3272237968ec3d","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/GenericTraderProxyV1.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.13","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"14.17.0","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.30_1701093959191_0.030024980298993587","host":"s3://npm-registry-packages"}},"0.9.31":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.31","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.31","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"df8026307ae02c070527e9cc4150804b7c67cc9b","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.31.tgz","fileCount":587,"integrity":"sha512-lctfbej+3TR+zuL7HCl3MHBDc9tPNpTRXQV/plgBP9WkUEm4o+5GP43C2K7Bp71CRANE5dlyGrZCS00HgeUnjw==","signatures":[{"sig":"MEYCIQCC61Lgto4eryjdKV7NsNSKNtBuo7WhS9uBlYE60qz8vgIhAIW3vbvTYQtLJQba1fenoHqJsb0BijOU7HtDbYKGJ/TY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74299764},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.31_1703575630389_0.8315119466909362","host":"s3://npm-registry-packages"}},"0.9.32":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.32","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.32","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"c8f8ed4dde97da7fb68a445e7dff3fd9eae79227","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.32.tgz","fileCount":582,"integrity":"sha512-7encQyV4uhA6nsblNi1oL0jkBt+bwr+3y6QUcEWaPlT0XnbABodDR384ymQKeJY5Wb1kNas7cP321X8uH875NQ==","signatures":[{"sig":"MEUCIQD27dfZRdSaqi1+i8NT/o4vOjH6CbktYi+DeN4YTjwY1AIgOI1tf7GHAYdPjfzJiwfaEvPDxGkJ0PvKySwQf/3Moe0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72501208},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.32_1703813834083_0.48436310431968943","host":"s3://npm-registry-packages"}},"0.9.33":{"name":"@dolomite-exchange/dolomite-margin","version":"0.9.33","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.9.33","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"cc6cb4993b41020c36ab93ff8a9bad2f7a18cb6c","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.9.33.tgz","fileCount":601,"integrity":"sha512-LVCrWW40+JotwZeYcqCOlKakAK/dyx2U/lQqLeYA4TBs/tRlSGl/ijz63TdyMdHGvghZ7hrbos0Hk840U6ruWw==","signatures":[{"sig":"MEUCIQD6TNsakt4QTeLCVcqkYTP+ZJnVvxm+hPeJPOrB0eXsWAIgS+5a1ZTz9LF3Qa/qGWpjQ3SUM+SHSqXMggah3f1JwIY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76197094},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production npm run migrate -- --network $NETWORK --reset && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","deploy_kovan":"NETWORK=kovan npm run deploy","deploy_matic":"NETWORK=matic npm run deploy","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mumbai":"NETWORK=mumbai_matic npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_arbitrum_rinkeby":"NETWORK=arbitrum_rinkeby npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.31","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.9.33_1704339798419_0.6057999658779227","host":"s3://npm-registry-packages"}},"0.10.0":{"name":"@dolomite-exchange/dolomite-margin","version":"0.10.0","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.10.0","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"fde33bc03ea61a8008ca09ebbec06760f78e9d02","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.10.0.tgz","fileCount":616,"integrity":"sha512-hJyb7bNx/0Z0R5uwlIkLG6FACOBs3HG2GGTXfelpm8aaz0zjUK+Z3sk1g+1TDr0/Wn05hOkLyPAoku6Hml3Vkw==","signatures":[{"sig":"MEYCIQCRjl7Rb9H5VSP0xHrA8nQdF51RmQ3lP5LsNmJiWp34MAIhAKkHsLKr9R4YxsnNj/2BLIwm27sHO7VzU0lyvmmo1WmI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":77600555},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","deploy_x1":"NETWORK=x1 npm run deploy","test_only":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run check_amm_bytecode && npm run build:contract-artifacts","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"npm run replace_bytecode && RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","replace_bytecode":"ts-node ./scripts/ReplaceCoverageBytecode.ts","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","check_amm_bytecode":"ts-node ./scripts/CheckAmmBytecode.ts","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"^2.1.15"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.10.0_1704812744740_0.8088241152011426","host":"s3://npm-registry-packages"}},"0.11.0":{"name":"@dolomite-exchange/dolomite-margin","version":"0.11.0","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.11.0","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"26e5c086ffe6a7b0eb87009d32c7e29af3c1af93","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.11.0.tgz","fileCount":485,"integrity":"sha512-06+5h/aF0pdfcUn+JQ72wLK9Ypq0HWQxU/MZgRuQXlXclk0jBIHecNAbUgLnt42BtGlwhbtWOOpPNsWoIIzMfQ==","signatures":[{"sig":"MEUCIGf+AN47Lxw+jQck1i4VHyBrnaL7XF5ul80joWDsaYeGAiEAuavjRknqE/vUbnt6GG0KW31BpEiDMpaP1pXWK1QKn9Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51117798},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","deploy_x1":"NETWORK=x1 npm run deploy","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.11.0_1706888994495_0.8889129179930575","host":"s3://npm-registry-packages"}},"0.11.1":{"name":"@dolomite-exchange/dolomite-margin","version":"0.11.1","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.11.1","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"6f3cb95e6349bb1b73eeab25a680e7396ed3a1ef","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.11.1.tgz","fileCount":485,"integrity":"sha512-7r3FoufuzPJv6a8w2YwGgyRdGC0z8Pw7IeqBx0o0OEHjJHAXDR0LBi8MzIxsOez/m9jbNHe8mrbezJu6+8YxOw==","signatures":[{"sig":"MEUCIG560DZkptmekOFM9fXbmFKsYaQ7Mhx6WE9UZvi+OvO4AiEArktWJq/5U/qBW3JFTKqm8UNguAvoRH0r/qOWXH6r4tA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51117870},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","deploy_x1":"NETWORK=x1 npm run deploy","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.11.1_1708198684984_0.8977468134930586","host":"s3://npm-registry-packages"}},"0.11.2":{"name":"@dolomite-exchange/dolomite-margin","version":"0.11.2","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.11.2","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"3095974c936fa5f59c343ad2d83f3d2a1a80b4f1","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.11.2.tgz","fileCount":485,"integrity":"sha512-R2SHrG4MrdCia0SDeYmEf8oKPQIzWFnetNHtE2ognmNEXjgF4UDI0Mgs8BlV6DlO5h5soMurp9J2L0UhRcVtCQ==","signatures":[{"sig":"MEUCIQCXqdwqrT0dvSv/CZW2GOo2IJoV9WrxXCnZZNA2K34QzgIgfKixuooSSDfeO6G6M3BKlZ0OFzX+Y/aIo1Cw2yk+9zM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51118624},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","deploy_x1":"NETWORK=x1 npm run deploy","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.11.2_1711060498857_0.2641033359059788","host":"s3://npm-registry-packages"}},"0.11.3":{"name":"@dolomite-exchange/dolomite-margin","version":"0.11.3","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.11.3","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"7af2aa9b2eea355f098a1622831a4f9ad551f383","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.11.3.tgz","fileCount":485,"integrity":"sha512-PaeJ9ULwReHWmneSJXqSw18inoX2F9G7+eE5CIQTvTrdEDqI0eburFiXiXBxgn57DmPVBY7K/KpNUtqmqUNgDw==","signatures":[{"sig":"MEUCIEhMaYEjOOzFm8rcggPkHk3iNcl93Uv/y4V4DfO7EUmZAiEA460um7D1NChFq6i41MOCvK8oxjjxTwTLQW/DtEtuC+U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51118696},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","deploy_x1":"NETWORK=x1 npm run deploy","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.11.3_1711066020864_0.4403384623172817","host":"s3://npm-registry-packages"}},"0.11.4":{"name":"@dolomite-exchange/dolomite-margin","version":"0.11.4","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.11.4","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"faeb66fd200bd97987bd12e8216b7119fa7f6e01","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.11.4.tgz","fileCount":489,"integrity":"sha512-OEb5+NJUC3spN6nnq9Lg3fryoGXKxSfp8+wfiSkRxx0k7Y///Yv0eaY1cg+/BfKMcBWWsuHsZs3eJwpU272dCQ==","signatures":[{"sig":"MEUCIQD3bNuxvY2KdK0mt6e6cm4oA+/ePRvS7evqobSc2dSm+QIgWZVIMp5rFCogZsyIQrjrTV5KnAaVe7JKlZW/EMN2VQQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51252065},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","deploy_x1":"NETWORK=x1 npm run deploy","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.11.4_1712035751397_0.20708159106689816","host":"s3://npm-registry-packages"}},"0.12.0":{"name":"@dolomite-exchange/dolomite-margin","version":"0.12.0","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.12.0","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"e5ecd6010e7939a904d6ed69d5229e1584a3015f","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.12.0.tgz","fileCount":489,"integrity":"sha512-buFSd8oB0T0YRlk+KwZkMt9nNbKiRr0FLg8mSyonncnTEheb5mox4wpTXZy+vHHlhm6hFgJ/oY91GN1DEtmIsg==","signatures":[{"sig":"MEYCIQC3+enJOdSrnCVQbzRxFCJzx+m3c4aTYGPIcpMNU0WB1QIhAMwA4MG7/6ftMZCFxvXj2cVFgK+a35A4YGvSW4aKuqqC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51314165},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","build_bad":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","compile_bad":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@poanet/solidity-flattener":"^3.0.9"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.12.0_1714316920061_0.8660016784770808","host":"s3://npm-registry-packages"}},"0.12.1":{"name":"@dolomite-exchange/dolomite-margin","version":"0.12.1","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.12.1","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"eb02783c7e2471769b1737ac68ec8438ae359a8c","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.12.1.tgz","fileCount":489,"integrity":"sha512-Fi8QwcHNlfpIiur8iip/RY5HnOAfV4+stEdJ9gSx8PoAdN8MTvlBwMAjFF0fZJH8mbSRyi+fRbYmgYtYmlEFlg==","signatures":[{"sig":"MEYCIQCRz36r/Dx88qqnDOLE5OuQTffLge77e4hLNNuatQTYlAIhAI6w9yTUYIX6HTz1ACac914r4PcAnC1k5g3Tqww3EEKx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51314340},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","build_bad":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","compile_bad":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@poanet/solidity-flattener":"^3.0.9"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.12.1_1714317335386_0.4635906143959405","host":"s3://npm-registry-packages"}},"0.12.2":{"name":"@dolomite-exchange/dolomite-margin","version":"0.12.2","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.12.2","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"92cba633cb0d0ca5bf37d1d91ee455d686f412ba","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.12.2.tgz","fileCount":496,"integrity":"sha512-V5ej0eK19SNwdknHhp0EWIoKi/gDqu/wRcDjaDjC4Qd3rcc7PipK+XxZ8UjNqSCCTjVNvj/aISNMLVqlDfeZWA==","signatures":[{"sig":"MEUCIQCJiYT5nM6ssI1dE0CpM2T/uQgvtMsElViz7IfQdkAOAAIgNDjvhRKGJHiebjuNIVqFMDARc2jmSPdI1OOtih3X1DQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51365557},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@poanet/solidity-flattener":"^3.0.9"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.12.2_1715181516658_0.4877062893442399","host":"s3://npm-registry-packages"}},"0.12.3":{"name":"@dolomite-exchange/dolomite-margin","version":"0.12.3","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.12.3","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"9c51c2aca1419ed9cf33a9a4c2227bc04b98ec34","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.12.3.tgz","fileCount":496,"integrity":"sha512-pUlzdE+SGePVPV9CeAAGNrT9vkMDTy/u0NAw5etbWXCe5WW8lFdJ6EdDIxxtxghbotVe628iyeWiE/yeQuuN9w==","signatures":[{"sig":"MEQCIBnb6ydYTRplYZDSbTBPa9JvScg5bmseIyAXYLdt1KTzAiB192NQCfXDl4pkIvMAyuJgtLLQXf0VPGLO+2yJ3XmbXQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51366483},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@poanet/solidity-flattener":"^3.0.9"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.12.3_1716265332272_0.25188355642444304","host":"s3://npm-registry-packages"}},"0.12.4":{"name":"@dolomite-exchange/dolomite-margin","version":"0.12.4","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.12.4","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"4fd9b1e0c08422562138978c9112c92609e933b7","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.12.4.tgz","fileCount":496,"integrity":"sha512-mVBH33cQieJI0D3vnoqpW9hvKIcIllA4U4MgPNk0B8wik7Wtul3hYLXI+FJB9Dz6ohhXV/6g4yegrnIZRDYeFQ==","signatures":[{"sig":"MEYCIQD4E4fpmtl8cAEJhOHURrXkoTpUX2+AzqVdjldWRQ3m+wIhAKmcM8X5b2SUcJzSFRPyEAGFZmoEP1dSRV9aq8s3VBkW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51368041},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@poanet/solidity-flattener":"^3.0.9"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.12.4_1718689404367_0.17521594958148046","host":"s3://npm-registry-packages"}},"0.12.5":{"name":"@dolomite-exchange/dolomite-margin","version":"0.12.5","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.12.5","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"7399bea3979d0fff75111dce3f69e66c11ad3624","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.12.5.tgz","fileCount":529,"integrity":"sha512-DyTRfRLlQYzhwllCpMLBSDOglT/oOmuAsKxiuaZE0sNJlPF8fXME1XbzpArQviisGeMESrjuND7FmeXsAos/2w==","signatures":[{"sig":"MEUCICdwMG845L3DlHU8iWmo9DXTB1fsk4MXsYGIKDW+2m2jAiEAktCyA34cFGZ1HoXTTTB5pgUkeZY1KpV/Gjf4qnSR/b4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53950202},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"55e8a27acbed2b497d71e88d97629cacee4a6dc9","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.12","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.24.1","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@poanet/solidity-flattener":"^3.0.9"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.12.5_1720405411847_0.3274117234444345","host":"s3://npm-registry-packages"}},"0.12.6":{"name":"@dolomite-exchange/dolomite-margin","version":"0.12.6","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.12.6","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"1e031c7d08a79b2594ad2712ce6295ef604009bf","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.12.6.tgz","fileCount":529,"integrity":"sha512-2T+oTHEPgW7a3GJgebEQQqWjl7HUH8CIhCLJgMUMcFLPD3Me8tCffaRb2xzZbpViLcjFkoCxxupS3JFjEwvv6Q==","signatures":[{"sig":"MEQCIBMwBQzYW2npJE9gydqsQyvADJShHXxZ/FIT9bpHU+kNAiA3oVeULCE7ZwRDGhgv72Pwk+9AK0/Lo2IVdgEMtMk9hw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53950218},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"55e8a27acbed2b497d71e88d97629cacee4a6dc9","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http://127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.12","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.24.1","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@poanet/solidity-flattener":"^3.0.9"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.12.6_1720405679104_0.021976193467666105","host":"s3://npm-registry-packages"}},"0.12.7":{"name":"@dolomite-exchange/dolomite-margin","version":"0.12.7","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.12.7","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"52a5cd66f714abd4d66991d0f29772ac25ffe476","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.12.7.tgz","fileCount":560,"integrity":"sha512-46onMh/4e/oI94IBkCWkY7QtXrUR1FusdyqAN+xvciVxhvyvxqz+RtTn48quXyIgLDfKjBCNnOtPdn1Cv3SmEA==","signatures":[{"sig":"MEUCIQD/DaRpqDG2g+BSNf42pXH7841C0JP+PevazYF9IOcpTAIgZUEwvSbI3PdZjZa+EGb6dz15ifHWrZhcHi4lH0NYyTs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":78162651},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http:/w/127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_berachain":"NETWORK=berachain npm run deploy","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@poanet/solidity-flattener":"^3.0.9"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.12.7_1721493141340_0.15019496257581744","host":"s3://npm-registry-packages"}},"0.12.8":{"name":"@dolomite-exchange/dolomite-margin","version":"0.12.8","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.12.8","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"5d979b9c4a102a953eef58d42dad7c0f07cd9122","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.12.8.tgz","fileCount":560,"integrity":"sha512-0FL4ExGZA52mYD11BLfr3XTs870agG8uxagdveHEtP8bhkpkjO4OV846voygnJdI7eKI5Myrv8X9HoI9/ufZkw==","signatures":[{"sig":"MEYCIQCIkWlapXKfxnhV3WOTt0ZP/g+/OoICW+nZtEcn98qG2AIhAPd71Kwf10gFYI9HB5KEsN7jBKY/lbLP+FQ+4+M2jpDn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":78162989},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http:/w/127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_berachain":"NETWORK=berachain npm run deploy","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","deploy_partially_delayed_multisig":"NODE_ENV=production ts-node scripts/DeployPartiallyDelayedMultisig.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@poanet/solidity-flattener":"^3.0.9"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.12.8_1721504824259_0.455343303066881","host":"s3://npm-registry-packages"}},"0.12.9":{"name":"@dolomite-exchange/dolomite-margin","version":"0.12.9","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.12.9","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"de9727a68022a1e8e95a58ba3865b22daeca2636","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.12.9.tgz","fileCount":560,"integrity":"sha512-7uzaziGKftJD2tuygvl+B39fQmTOBiTYz2HwRXaVknGcU33oChVAD9iEWWBDBooybLYK0wga3TrFxYYwGOwiWQ==","signatures":[{"sig":"MEUCIQCNeaitsF011bSD+7oazhSjp6oQLwxjgTIuHFLP5guCrAIgHOc6HXytXBerGR9JViXUg0MwbHzGSyyToW/nd05N5m0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":78162989},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http:/w/127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_berachain":"NETWORK=berachain npm run deploy","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","deploy_partially_delayed_multisig":"NODE_ENV=production ts-node scripts/DeployPartiallyDelayedMultisig.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@poanet/solidity-flattener":"^3.0.9"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.12.9_1721531178694_0.7267532299077772","host":"s3://npm-registry-packages"}},"0.12.10":{"name":"@dolomite-exchange/dolomite-margin","version":"0.12.10","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.12.10","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"722d6e86bf0229fc7b045a31043dfb4f95903846","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.12.10.tgz","fileCount":498,"integrity":"sha512-NqJqd5wiwua0CKx9ytKSjTDqPjxe8ny2uSYYvUTSjyckQ0oZ0x2TbuIIfqeNjg3ABZ8acER1fyKKoHvkirLPrg==","signatures":[{"sig":"MEUCIGbe4yENAqqJxaoGlaUj4m3LbqBI444A98JryNXN5QbnAiEAkveaTAYDTJqTUzK7FavxQA2tHcldL43SSsOk4O2FVLU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51734938},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http:/w/127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_berachain":"NETWORK=berachain npm run deploy","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","deploy_partially_delayed_multisig":"NODE_ENV=production ts-node scripts/DeployPartiallyDelayedMultisig.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@poanet/solidity-flattener":"^3.0.9"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.12.10_1722274904252_0.024128981155123963","host":"s3://npm-registry-packages"}},"0.12.11":{"name":"@dolomite-exchange/dolomite-margin","version":"0.12.11","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.12.11","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"2a69c6f52dcaaa61bd72ba12e1760d17d8afc9c0","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.12.11.tgz","fileCount":498,"integrity":"sha512-WNuEgwPiYQvS+/Puo5uQ0WtWdq+YgUiPv8xXnojBaFA3li0W2oHkaGnPx4pMPUbL4YZ14S0bm5I13iCvdHF9sQ==","signatures":[{"sig":"MEUCIQCMOU17yBGdTsroGrWMF0rDRKm4kbISED8KIrY2IEL2GAIgd4KtnDkHhCvXGtp7NNlMfgzHwoH32GQT20tj60Xm0Hk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51746154},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http:/w/127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_berachain":"NETWORK=berachain npm run deploy","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","deploy_partially_delayed_multisig":"NODE_ENV=production ts-node scripts/DeployPartiallyDelayedMultisig.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@poanet/solidity-flattener":"^3.0.9"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.12.11_1723446985896_0.028231682015924964","host":"s3://npm-registry-packages"}},"0.12.12":{"name":"@dolomite-exchange/dolomite-margin","version":"0.12.12","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.12.12","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"967ddc1ff19472116e1917c7124ccb259a3288be","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.12.12.tgz","fileCount":498,"integrity":"sha512-vCpC0RMcZeicwgoszOf4laywalTy0u+rx8zi3rL4QLDzkjkRgS9ecIzp1v9un3BrVe44PYoMaG3Z/FP2GkuceA==","signatures":[{"sig":"MEQCIHzrJ2Gal7Gzu6d4fpFFYI8+nPT46SSX1GZl9D1WJpugAiAgz7xFSX0UmImZElfsIlWkz1abBkRr0Xd6iDcMCpNMJw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51746154},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http:/w/127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_berachain":"NETWORK=berachain npm run deploy","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","deploy_partially_delayed_multisig":"NODE_ENV=production ts-node scripts/DeployPartiallyDelayedMultisig.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1","@poanet/solidity-flattener":"^3.0.9"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.12.12_1723809043071_0.7743110276985377","host":"s3://npm-registry-packages"}},"0.12.13":{"name":"@dolomite-exchange/dolomite-margin","version":"0.12.13","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.12.13","maintainers":[{"name":"aknuck","email":"adam@dolomite.io"},{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"b7bc9066421787aff931ff9699c12e20d1fe5d3f","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.12.13.tgz","fileCount":531,"integrity":"sha512-KGlelg+3Q6HcaXInjFsQQpty5tYMv7u4d6jg5sPng9/7LmAUz2sUqVlTavNIpvTHsusRRsTpglmvxMjj6uxwtw==","signatures":[{"sig":"MEYCIQDPHXql2Q6s6GTfFXciDXq8VTFk8bko3cE9FSqkhAbz0wIhAP2iB8FCmey5lZRlLGubzD4Ev5mFHWsqk/rB7no+b7Wn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54414742},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"1e7e6389d7850b5709f7628d4f532c4a74e9af28","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http:/w/127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_berachain":"NETWORK=berachain npm run deploy","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","deploy_partially_delayed_multisig":"NODE_ENV=production ts-node scripts/DeployPartiallyDelayedMultisig.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.12","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.24.1","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@poanet/solidity-flattener":"^3.0.9","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.12.13_1732237714672_0.8752673865741454","host":"s3://npm-registry-packages"}},"0.12.14":{"name":"@dolomite-exchange/dolomite-margin","version":"0.12.14","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.12.14","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"5d983f09f4553d57d3d9744a90586bed886d1516","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.12.14.tgz","fileCount":502,"integrity":"sha512-BmfqSiKdpVbcd+fZq/v9xgb8hsjg285ulOtHRkSj0kmKbPkbO22vP/xQSTOb4qPxeP7aRujtU4QYE4s2/aUIZA==","signatures":[{"sig":"MEYCIQD7J0uEjb7YPiqWqfsmXhJhVeAkCB/LDCGlnuPChp1WgAIhANrrqFolO+gGMZME3cSBTYuKoLF724aOP2wZ0pu7oA+r","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52238700},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http:/w/127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_berachain_bartio":"NETWORK=berachain_bartio npm run deploy","deploy_berachain_cartio":"NETWORK=berachain_cartio npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","deploy_partially_delayed_multisig":"NODE_ENV=production ts-node scripts/DeployPartiallyDelayedMultisig.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@poanet/solidity-flattener":"^3.0.9","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.12.14_1733755939056_0.5235524139170515","host":"s3://npm-registry-packages-npm-production"}},"0.12.15":{"name":"@dolomite-exchange/dolomite-margin","version":"0.12.15","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.12.15","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"c97be40a71afe99469bdf1aa75efd99c3145a297","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.12.15.tgz","fileCount":500,"integrity":"sha512-Kw67q3hFNPCGInRP4z9PgrSvw1pkKqX4LX9tVJ/SvRi6uCCpIaZXvYvQhX8uXVI3jKds4+u8ecXOPvhrZuFTmw==","signatures":[{"sig":"MEQCIDDcgl//w9PM8Ir6qcdziPXXNOAOcISuLFj5ahPm0vgiAiAaeCuTiVnCFEOPmngtynUqzG5ICAE0+qIB+7kqCgB8iA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51902087},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=16384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http:/w/127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_berachain_bartio":"NETWORK=berachain_bartio npm run deploy","deploy_berachain_cartio":"NETWORK=berachain_cartio npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","deploy_partially_delayed_multisig":"NODE_ENV=production ts-node scripts/DeployPartiallyDelayedMultisig.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@poanet/solidity-flattener":"^3.0.9","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.12.15_1733862668343_0.2745996133635984","host":"s3://npm-registry-packages-npm-production"}},"0.13.0":{"name":"@dolomite-exchange/dolomite-margin","version":"0.13.0","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.13.0","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"af6147374662ec3b403f578fc3560dd5d7a64eb8","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.13.0.tgz","fileCount":500,"integrity":"sha512-cb/nX6tzEpAMG0Pd9LvfR473MPMa2SNm/OD6WgJIJ+nTUqH5faguuoi0uYmFqvlJdPkL1zRIvgSTPsmdKiG48Q==","signatures":[{"sig":"MEQCIDktgHby4mbBQ8KGQMxVtdentF3izbPqo680w+h7Nm/fAiB1YssxQJ6r1FqwTj/taXAdHX1yM67NoLX+rLFVPVa3sg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51760681},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=32384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","deploy_ink":"NETWORK=ink npm run deploy","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http:/w/127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","deploy_super_seed":"NETWORK=super_seed npm run deploy","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_berachain_bartio":"NETWORK=berachain_bartio npm run deploy","deploy_berachain_cartio":"NETWORK=berachain_cartio npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","deploy_partially_delayed_multisig":"NODE_ENV=production ts-node scripts/DeployPartiallyDelayedMultisig.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@poanet/solidity-flattener":"^3.0.9","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.13.0_1734496293396_0.8889216562557267","host":"s3://npm-registry-packages-npm-production"}},"0.13.1":{"name":"@dolomite-exchange/dolomite-margin","version":"0.13.1","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.13.1","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"49eb5d48d3da20ee0f57bf776296219fa900ad12","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.13.1.tgz","fileCount":500,"integrity":"sha512-0LSBkEIW9zy/MalTu8Fw3rAmbwUbg8bHBM4eLGkwCQzHJ81dZhgHN5cx4ImvJaMYH2Adv0P/ElqE97cudiLYgg==","signatures":[{"sig":"MEYCIQDDf8vwUf9fPJNgtFy2iN2ZxAUZ4+XDyUZh6M3DHaZ3yAIhANRHe6ie/F5THC0m56rC8JHtB3hYGBO4XPNFBDGxZbfK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51760904},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=32384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","deploy_ink":"NETWORK=ink npm run deploy","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http:/w/127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","deploy_super_seed":"NETWORK=super_seed npm run deploy","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_berachain_bartio":"NETWORK=berachain_bartio npm run deploy","deploy_berachain_cartio":"NETWORK=berachain_cartio npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","deploy_partially_delayed_multisig":"NODE_ENV=production ts-node scripts/DeployPartiallyDelayedMultisig.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@poanet/solidity-flattener":"^3.0.9","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.13.1_1734505828059_0.22187448916821428","host":"s3://npm-registry-packages-npm-production"}},"0.14.0":{"name":"@dolomite-exchange/dolomite-margin","version":"0.14.0","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.14.0","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"aed4e02d61ec21263aff379c5f25735ebacaafab","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.14.0.tgz","fileCount":533,"integrity":"sha512-ulPsSvEynBYdzV9oKRr+uQYaBU+UTIsL8C+TzPeEyW8dWPu+8l2DIOaRki4EegQf5n799VOJS11b90a4BOg6pw==","signatures":[{"sig":"MEYCIQDvi/Byeflx4QZjud2BJ1wv4qLgkzX1AagoSm1qDMWMjgIhANr6ekGl4h/tUA4pO5HNV8ozlMkO9YmgSiAl5o6NiM0b","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54345802},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"d0f7d4f2cdfa5ed307163fc66fc491d5deba6ea4","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=32384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","deploy_ink":"NETWORK=ink npm run deploy","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http:/w/127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_berachain":"NETWORK=berachain npm run deploy","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","deploy_super_seed":"NETWORK=super_seed npm run deploy","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_berachain_bartio":"NETWORK=berachain_bartio npm run deploy","deploy_berachain_cartio":"NETWORK=berachain_cartio npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","deploy_partially_delayed_multisig":"NODE_ENV=production ts-node scripts/DeployPartiallyDelayedMultisig.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.12","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.24.1","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@poanet/solidity-flattener":"^3.0.9","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.14.0_1737731267632_0.2678794560332467","host":"s3://npm-registry-packages-npm-production"}},"0.14.1":{"name":"@dolomite-exchange/dolomite-margin","version":"0.14.1","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.14.1","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"77b5bd3f8a744054fa73061d09d675a050b92055","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.14.1.tgz","fileCount":533,"integrity":"sha512-SFEOoX8EcC2voqpNFkYoPgh2dAspebj93fyG5eBjDV/hRlZwqJF4M7vBRumQPnYjyZss5Yn4meP+TdjAwftl+g==","signatures":[{"sig":"MEUCIQCZexXV7tqFgGgrMg6gy+vg7VHsj1z+FonlMRUl1NXkvgIgP+uYZ8sgN4wdqrhzBP8XWo0JwWj/SnpJgLRTtpeXg/I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54346026},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"c53cc8ddf098b19b29065b368e0c166bf4ee2a9c","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=32384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","deploy_ink":"NETWORK=ink npm run deploy","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http:/w/127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_berachain":"NETWORK=berachain npm run deploy","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","deploy_super_seed":"NETWORK=super_seed npm run deploy","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_berachain_bartio":"NETWORK=berachain_bartio npm run deploy","deploy_berachain_cartio":"NETWORK=berachain_cartio npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","deploy_partially_delayed_multisig":"NODE_ENV=production ts-node scripts/DeployPartiallyDelayedMultisig.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.12","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.24.1","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@poanet/solidity-flattener":"^3.0.9","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.14.1_1737741322182_0.1560119028941762","host":"s3://npm-registry-packages-npm-production"}},"0.14.2":{"name":"@dolomite-exchange/dolomite-margin","version":"0.14.2","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.14.2","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"82c1596fdafc34caf9793f0b52e0ef5158392a1f","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.14.2.tgz","fileCount":500,"integrity":"sha512-bS+CXXjKCnnvJy18Q62dmGBWBmK2tNZDjntNhQ/kLBU3xXdWG6NffkNW7pZ4aR3N0EgElmNLFth+83Yubatbmw==","signatures":[{"sig":"MEYCIQDqrrIMXn48y10hERipseO0qD55pInD5k2FfpPQ1oSJ4wIhAJxbrxDsIf7yoOGUaeRMtP8MsKz+5cB1HCTUjX4Hd+l0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51776906},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=32384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","deploy_ink":"NETWORK=ink npm run deploy","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http:/w/127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_berachain":"NETWORK=berachain npm run deploy","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","deploy_super_seed":"NETWORK=super_seed npm run deploy","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_berachain_bartio":"NETWORK=berachain_bartio npm run deploy","deploy_berachain_cartio":"NETWORK=berachain_cartio npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","deploy_partially_delayed_multisig":"NODE_ENV=production ts-node scripts/DeployPartiallyDelayedMultisig.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@poanet/solidity-flattener":"^3.0.9","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.14.2_1738938511053_0.9327338981807107","host":"s3://npm-registry-packages-npm-production"}},"0.14.3":{"name":"@dolomite-exchange/dolomite-margin","version":"0.14.3","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.14.3","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"3b3a3bdd4fc97b914158aca064aa78099047c5f4","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.14.3.tgz","fileCount":500,"integrity":"sha512-d11JFOeKe7w2Y0CCOoT2poDQadB46mv5drD4Ap/uz7HZn8KeNb7Ez5xQBs2QRZ2wN1d9l022JnO4cwc10NRgRg==","signatures":[{"sig":"MEQCIBYuuz+RJt9Pd+lMvA9+7iP43af9w99E6oY/AOyAN7ooAiA2Is2BfWTiU/jOsJLW33yXOglN0kVagyVJA6Y0ezmfIg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51783493},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=32384 node_modules/.bin/truffle migrate --network $NETWORK && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","deploy_ink":"NETWORK=ink npm run deploy","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_mainnet":"NETWORK=mainnet npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http:/w/127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_berachain":"NETWORK=berachain npm run deploy","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","deploy_super_seed":"NETWORK=super_seed npm run deploy","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base_sepolia":"NETWORK=base_sepolia npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_arbitrum_goerli":"NETWORK=arbitrum_goerli npm run deploy","deploy_berachain_bartio":"NETWORK=berachain_bartio npm run deploy","deploy_berachain_cartio":"NETWORK=berachain_cartio npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","deploy_partially_delayed_multisig":"NODE_ENV=production ts-node scripts/DeployPartiallyDelayedMultisig.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@poanet/solidity-flattener":"^3.0.9","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.14.3_1740303023413_0.08155068902909535","host":"s3://npm-registry-packages-npm-production"}},"0.14.4":{"name":"@dolomite-exchange/dolomite-margin","version":"0.14.4","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.14.4","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"88fe332f12f93c0e4e888d332dbb08f7c016a3e7","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.14.4.tgz","fileCount":533,"integrity":"sha512-BEz9am9qiWLHpFY7zOCOdSZjorr2ObUf5s2O6+S616+O8SZNLfjWLb6CNhdTtBiDHcfv2GM0qCUPy33Y8zonIA==","signatures":[{"sig":"MEQCICQ8quC/sm7UzJ6X5J23P/hjvtAAuDFkCZ+0ZGTnZszxAiBJRDX4YfJeRudDSuGAdBx6i9dmmAC4amb3nWDmuEbKcw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54364768},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"gitHead":"e5ac6bc438ba12679c1b533bbb7def2255bc918c","scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production node --max-old-space-size=32384 node_modules/.bin/truffle migrate --network $NETWORK --skip-dry-run && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","deploy_ink":"NETWORK=ink npm run deploy","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_botanix":"NETWORK=botanix npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http:/w/127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_berachain":"NETWORK=berachain npm run deploy","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","deploy_super_seed":"NETWORK=super_seed npm run deploy","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_ethereum_mainnet":"NETWORK=ethereum_mainnet npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","deploy_partially_delayed_multisig":"NODE_ENV=production ts-node scripts/DeployPartiallyDelayedMultisig.ts"},"_npmUser":{"name":"coreycaplan3","actor":{"name":"coreycaplan3","type":"user","email":"coreycaplan3@gmail.com"},"email":"coreycaplan3@gmail.com"},"repository":{"url":"git+https://github.com/dolomite-exchange/dolomite-margin.git","type":"git"},"_npmVersion":"6.14.12","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"_nodeVersion":"10.24.1","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@poanet/solidity-flattener":"^3.0.9","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.14.4_1750564995910_0.5521641250080849","host":"s3://npm-registry-packages-npm-production"}},"0.15.0":{"name":"@dolomite-exchange/dolomite-margin","version":"0.15.0","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.15.0","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"0a413d6a4344f36e410dd3d7e6998875dcfca684","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.15.0.tgz","fileCount":498,"integrity":"sha512-eGbCjGplfGcG4xkzLjyC+PwivBAhChNphtKFBPldCq7+/Lux8co8sXge0w+Let0H/C9RPLODg8WjvKpHfXej8g==","signatures":[{"sig":"MEQCIAEo+AyGFSQXWJaHoEpDxXr25PapXdPLfpHTG4Y6qRxRAiAyHCv4AtCohNmzr0fb8NIEozoJkgdc+bTv/9p3MQJj/Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51666342},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production truffle migrate --network $NETWORK --skip-dry-run && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","deploy_bnb":"NETWORK=bnb npm run deploy","deploy_ink":"NETWORK=ink npm run deploy","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_botanix":"NETWORK=botanix npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http:/w/127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_berachain":"NETWORK=berachain npm run deploy","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","deploy_super_seed":"NETWORK=super_seed npm run deploy","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_ethereum_mainnet":"NETWORK=ethereum_mainnet npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","deploy_partially_delayed_multisig":"NODE_ENV=production ts-node scripts/DeployPartiallyDelayedMultisig.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610","devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","@types/minimatch":"^6.0.0","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.15.0_1770835424822_0.9783909171430809","host":"s3://npm-registry-packages-npm-production"}},"0.15.1":{"name":"@dolomite-exchange/dolomite-margin","version":"0.15.1","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.15.1","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"7a01163b7d9ac03a808b5a61cf254b6160b9a13e","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.15.1.tgz","fileCount":498,"integrity":"sha512-jlmot6lgxS3gNL0zi+cwRbyuQWMhwsHeMQBfZwjjpqRmr6Gx80XNkEvhYkM7U8MMp2QMclFz7N9zPr7CA9U3UA==","signatures":[{"sig":"MEYCIQCuib5JOj/cHdi/6mESKpMDebgLXHhO64AyzvjTOfodPAIhAM7tXPobuAMEkDaupPWhSiIRhDaKMCv20bPVnLdEfk8H","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51671952},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production truffle migrate --network $NETWORK --skip-dry-run && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","deploy_bnb":"NETWORK=bnb npm run deploy","deploy_ink":"NETWORK=ink npm run deploy","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_botanix":"NETWORK=botanix npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http:/w/127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_berachain":"NETWORK=berachain npm run deploy","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","deploy_super_seed":"NETWORK=super_seed npm run deploy","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_ethereum_mainnet":"NETWORK=ethereum_mainnet npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","deploy_partially_delayed_multisig":"NODE_ENV=production ts-node scripts/DeployPartiallyDelayedMultisig.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610","devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","@types/minimatch":"^6.0.0","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.15.1_1770875773730_0.059026235404822325","host":"s3://npm-registry-packages-npm-production"}},"0.15.2":{"name":"@dolomite-exchange/dolomite-margin","version":"0.15.2","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.15.2","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"f5ab0480c9edd488496812e66e116057a9602ae0","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.15.2.tgz","fileCount":498,"integrity":"sha512-gyXzLlSL3PcwxVEtIZPO/QGReJNQ1OKhxx757pG/0AvgdT1b1NMDTrBq+zzZ+X2P50aTpXQtX4p13OZXffEf1A==","signatures":[{"sig":"MEYCIQDJZdfRbC8Z9akm9g1UZ9aZ3Kny7Lkg1KaRg/5OahYpHAIhAIe5LNDoBYCXdplmZDfFT+Rkjnbb1NAy7gUZNzwbTzo+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51672292},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production truffle migrate --network $NETWORK --skip-dry-run && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","deploy_bnb":"NETWORK=bnb npm run deploy","deploy_ink":"NETWORK=ink npm run deploy","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_botanix":"NETWORK=botanix npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http:/w/127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_berachain":"NETWORK=berachain npm run deploy","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","deploy_super_seed":"NETWORK=super_seed npm run deploy","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_ethereum_mainnet":"NETWORK=ethereum_mainnet npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","deploy_partially_delayed_multisig":"NODE_ENV=production ts-node scripts/DeployPartiallyDelayedMultisig.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610","devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","@types/minimatch":"^6.0.0","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.15.2_1772469850528_0.16644411509719226","host":"s3://npm-registry-packages-npm-production"}},"0.15.3":{"name":"@dolomite-exchange/dolomite-margin","version":"0.15.3","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","_id":"@dolomite-exchange/dolomite-margin@0.15.3","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"dist":{"shasum":"780e5a99dfb736a0c0206baf109a7e8907b83dad","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.15.3.tgz","fileCount":501,"integrity":"sha512-5jC92v/Y0z5o5FZ+GPKyEKKqy0SiA3tqTvuVx1pQOjmF0kCn8LY1BfXlDxebnx0PkFhTrhFBXV0Kz8DXvWMWQg==","signatures":[{"sig":"MEYCIQDvvYng+hwKXy3WBuwdm1N0zhrkBwOyNL64IaWpXTL4ugIhAKZ+H5Vz7Gwj8DPR/ybu7RyAauAXoTngslFA2VHjuk1e","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52149741},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"npm":"6.14.x"},"scripts":{"lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","debug":"truffle debug","deploy":"npm run fix_deployment_file && NODE_ENV=production truffle migrate --network $NETWORK --skip-dry-run && npm run save_deployed_addresses","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","console":"truffle console","develop":"truffle develop","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","lint:sol":"solium --debug --fix -d contracts/","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","deploy_bnb":"NETWORK=bnb npm run deploy","deploy_ink":"NETWORK=ink npm run deploy","serve_docs":"docsify serve ./docs","deploy_base":"NETWORK=base npm run deploy","deploy_docs":"firebase deploy","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","deploy_botanix":"NETWORK=botanix npm run deploy","deploy_sepolia":"NETWORK=sepolia npm run deploy","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_x_layer":"NETWORK=x_layer npm run deploy","prepublishOnly":"./scripts/check-branch-and-revert.sh","reset_test_evm":"node scripts/reset-test-evm.js","deploy_coverage":"RPC_NODE_URI=http:/w/127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_berachain":"NETWORK=berachain npm run deploy","deploy_coveralls":"coveralls < coverage/lcov.info","install_compiler":"docker pull ethereum/solc:0.5.7","deploy_super_seed":"NETWORK=super_seed npm run deploy","snapshot_test_evm":"node scripts/snapshot-test-evm.js","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","execute-set-expiry":"ts-node scripts/SetExpiry.ts","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","lint:dolomite-margin":"python util/lintcontracts.py","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","deploy_ethereum_mainnet":"NETWORK=ethereum_mainnet npm run deploy","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","deploy_partially_delayed_multisig":"NODE_ENV=production ts-node scripts/DeployPartiallyDelayedMultisig.ts"},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"repository":{"url":"https://github.com/dolomite-exchange/dolomite-margin","type":"git"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","dependencies":{"web3":"1.2.1","axios":"^0.21.1","dotenv":"^16.0.0","ethers":"4.0.39","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","bignumber.js":"^8.1.1","query-string":"^6.9.0","es6-promisify":"^6.0.1","canonical-weth":"^1.4.0","@openzeppelin/contracts":"^2.5.1"},"eslintConfig":{"extends":["react-app"]},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610","devDependencies":{"ora":"^4.0.3","acorn":"^6.0.0","mocha":"^10.2.0","touch":"^3.1.0","eslint":"^5.16.0","tslint":"^5.13.1","ethlint":"^1.2.5","truffle":"5.1.12","ts-node":"^8.0.2","babel-cli":"^6.26.0","coveralls":"^3.1.1","expect.js":"^0.3.1","typechain":"0.3.11","typescript":"^3.8.3","@types/node":"^10.12.30","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","ganache-cli":"6.9.0","@types/axios":"^0.14.0","@types/mocha":"^9.1.1","babel-eslint":"^10.0.1","ts-generator":"^0.1.1","@truffle/config":"^1.2.14","@types/expect.js":"^0.3.29","@types/minimatch":"^6.0.0","solidity-coverage":"0.7.22","@types/es6-promisify":"^6.0.0","eslint-plugin-import":"^2.16.0","mocha-junit-reporter":"^1.18.0","tslint-config-airbnb":"^5.11.1","truffle-plugin-verify":"^0.5.33","tslint-no-focused-test":"^0.5.0","eslint-config-airbnb-base":"^13.1.0","@truffle/hdwallet-provider":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/dolomite-margin_0.15.3_1776718150691_0.04407915317125677","host":"s3://npm-registry-packages-npm-production"}},"0.15.4":{"name":"@dolomite-exchange/dolomite-margin","version":"0.15.4","description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","engines":{"npm":"6.14.x"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","eslintConfig":{"extends":["react-app"]},"scripts":{"test":"npm run deploy_test && npm run test_only","build":"npm run compile -- --all && npm run clean_contract_json && npm run build:all-wrappers && npm run build:js","compile":"node --max-old-space-size=16384 node_modules/.bin/truffle compile","build:all-wrappers":"npm run build:wrappers && npm run build:test_wrappers","build:wrappers":"typechain --target=web3-1.0.0 --outDir=build/wrappers/ './build/published_contracts/*.json'","build:test_wrappers":"typechain --target=web3-1.0.0 --outDir=build/testing_wrappers/ './build/testing_contracts/*.json'","migrate":"DOCKER_COMPILER=true node --max-old-space-size=16384 node_modules/.bin/truffle migrate","develop":"truffle develop","console":"truffle console","lint":"npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dolomite-margin","lint:ts":"tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'","lint:js":"eslint --ext .js --ignore-path .gitignore migrations/**/*.js","lint:sol":"solium --debug --fix -d contracts/","lint:dolomite-margin":"python util/lintcontracts.py","prepublishOnly":"./scripts/check-branch-and-revert.sh","coverage":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle run coverage --network coverage --temp build","coverage_only_specific":"RPC_NODE_URI=http://127.0.01:8555 COVERAGE=true NETWORK_ID=1002 NODE_ENV=test node --max-old-space-size=16384 node_modules/.bin/truffle run coverage --network coverage --temp build --file=\"test/**/(*GenericTraderProxyV1*|*LiquidatorProxyV4WithGenericTrader*)*.ts\"","coverage_node":"ganache-cli --allowUnlimitedContractSize --deterministic --gasLimit 0xffffffffff --gasPrice 1 --keepAliveTimeout 10000 -i 1002 -p 8545","debug":"truffle debug","build:js":"rm -rf dist/ && node --max-old-space-size=16384 node_modules/.bin/tsc && cp -r build/wrappers dist/build","build:contract-artifacts":"npm run clean_contract_json && npm run build:wrappers && npm run build:test_wrappers","docker_node":"ganache-cli -i 1313 -d -p 8545 -h 0.0.0.0 --db=/home/.ganache","clean_contract_json":"ts-node ./scripts/CleanBuild.ts","fix_deployment_file":"ts-node ./scripts/FixDeploymentFile.ts","deploy":"npm run fix_deployment_file && NODE_ENV=production truffle migrate --network $NETWORK --skip-dry-run && npm run save_deployed_addresses","deploy_single":"NODE_ENV=production ts-node scripts/DeployContract.ts","deploy_partially_delayed_multisig":"NODE_ENV=production ts-node scripts/DeployPartiallyDelayedMultisig.ts","deploy_arbitrum_one":"NETWORK=arbitrum_one npm run deploy","deploy_base":"NETWORK=base npm run deploy","deploy_berachain":"NETWORK=berachain npm run deploy","deploy_bnb":"NETWORK=bnb npm run deploy","deploy_botanix":"NETWORK=botanix npm run deploy","deploy_ethereum_mainnet":"NETWORK=ethereum_mainnet npm run deploy","deploy_ink":"NETWORK=ink npm run deploy","deploy_mantle":"NETWORK=mantle npm run deploy","deploy_polygon_zkevm":"NETWORK=polygon_zkevm npm run deploy","deploy_sepolia":"NETWORK=sepolia npm run deploy","deploy_super_seed":"NETWORK=super_seed npm run deploy","deploy_x_layer":"NETWORK=x_layer npm run deploy","deploy_coverage":"RPC_NODE_URI=http:/w/127.0.01:8545 npm run reset_test_evm && COVERAGE_REPLICA_DEPLOY=true node --max-old-space-size=32768 node_modules/.bin/truffle migrate --network coverage_replica && RPC_NODE_URI=http://127.0.0.1:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_test":"npm run reset_test_evm && npm run migrate -- --network test --reset && npm run snapshot_test_evm && npm run build:contract-artifacts","deploy_test_ci":"RPC_NODE_URI=http://0.0.0.0:8545 npm run reset_test_evm && npm run migrate -- --network test_ci --reset && RPC_NODE_URI=http://0.0.0.0:8545 npm run snapshot_test_evm && npm run build:contract-artifacts","test_only":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test","test_only_specific":"NODE_ENV=test node --max-old-space-size=32768 node_modules/.bin/truffle test --network test test/proxies/LiquidatorProxyV4WithGenericTrader.test.ts","ci_test":"NODE_ENV=test RPC_NODE_URI=http://0.0.0.0:8545 truffle test --network test","reset_test_evm":"node scripts/reset-test-evm.js","snapshot_test_evm":"node scripts/snapshot-test-evm.js","install_compiler":"docker pull ethereum/solc:0.5.7","save_deployed_addresses":"ts-node ./scripts/SaveDeployedAddresses.ts","deploy_docs":"firebase deploy","serve_docs":"docsify serve ./docs","execute-set-expiry":"ts-node scripts/SetExpiry.ts","verify":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifyContracts.ts","verify_single":"DEPLOYER_PRIVATE_KEY=0x1234567812345678123456781234567812345678123456781234567812345678 NODE_ENV=production ts-node scripts/VerifySingleContract.ts","deploy_coveralls":"coveralls < coverage/lcov.info"},"repository":{"type":"git","url":"https://github.com/dolomite-exchange/dolomite-margin"},"keywords":["dolomite","defi","dydx","uniswap","ethereum"],"author":{"name":"Dolomite"},"license":"Apache-2.0","bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","dependencies":{"@openzeppelin/contracts":"^2.5.1","@types/web3":"1.0.18","@uniswap/lib":"^4.0.1-alpha","axios":"^0.21.1","bignumber.js":"^8.1.1","canonical-weth":"^1.4.0","dotenv":"^16.0.0","es6-promisify":"^6.0.1","ethers":"4.0.39","query-string":"^6.9.0","web3":"1.2.1"},"devDependencies":{"@truffle/config":"^1.2.14","@truffle/hdwallet-provider":"2.0.6","@types/axios":"^0.14.0","@types/es6-promisify":"^6.0.0","@types/expect.js":"^0.3.29","@types/minimatch":"^6.0.0","@types/mocha":"^9.1.1","@types/node":"^10.12.30","acorn":"^6.0.0","babel-cli":"^6.26.0","babel-eslint":"^10.0.1","coveralls":"^3.1.1","docsify-cli":"^4.3.0","dotenv-flow":"^0.2.0","eslint":"^5.16.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-import":"^2.16.0","ethlint":"^1.2.5","expect.js":"^0.3.1","ganache-cli":"6.9.0","mocha":"^10.2.0","mocha-junit-reporter":"^1.18.0","ora":"^4.0.3","solidity-coverage":"0.7.22","touch":"^3.1.0","truffle":"5.1.12","truffle-plugin-verify":"^0.5.33","ts-generator":"^0.1.1","ts-node":"^8.0.2","tslint":"^5.13.1","tslint-config-airbnb":"^5.11.1","tslint-no-focused-test":"^0.5.0","typechain":"0.3.11","typescript":"^3.8.3"},"packageManager":"yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n","_id":"@dolomite-exchange/dolomite-margin@0.15.4","dist":{"shasum":"0bf29b30e89bb16296d9bb6d1215ff40916f887b","integrity":"sha512-17OzG1KcTXHX6SbS6uKXst8PI0YR8suuVGn3tPasl5QipgbMcw9TVxvD+GNfkPYfOteweJuVNExQ6Gnwr7lVBQ==","tarball":"https://registry.npmjs.org/@dolomite-exchange/dolomite-margin/-/dolomite-margin-0.15.4.tgz","fileCount":501,"unpackedSize":52150421,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDX/t4Xtk2v01xnJ3+2HHzLkHO3SU64QTT95JwJAUj9IgIhANozFfCjeoCvxUYeQOOxiIji35vIHelj8P4gWMxVHK2q"}]},"_npmUser":{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},"directories":{},"maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dolomite-margin_0.15.4_1776825013147_0.5549543709071278"},"_hasShrinkwrap":false}},"time":{"created":"2022-01-11T05:42:19.111Z","modified":"2026-04-22T02:30:13.561Z","0.1.0":"2022-01-11T05:42:19.365Z","0.1.1":"2022-01-11T07:19:41.821Z","0.1.2":"2022-01-11T07:27:41.303Z","0.1.3":"2022-01-11T07:30:58.375Z","0.1.4":"2022-01-11T07:33:54.707Z","0.1.5":"2022-01-14T00:12:07.891Z","0.1.6":"2022-01-14T08:00:45.267Z","0.1.7":"2022-01-20T00:07:00.276Z","0.1.8":"2022-01-20T00:31:45.635Z","0.1.9":"2022-01-20T00:34:30.376Z","0.1.10":"2022-01-24T04:05:24.710Z","0.1.11":"2022-01-25T01:27:20.550Z","0.1.12":"2022-01-25T01:46:16.336Z","0.2.0":"2022-01-25T07:00:04.359Z","0.2.1":"2022-01-28T09:49:39.260Z","0.2.2":"2022-01-28T09:50:45.774Z","0.2.3":"2022-01-29T01:03:51.500Z","0.2.4":"2022-01-29T22:18:52.282Z","0.2.5":"2022-02-01T09:55:56.646Z","0.2.6":"2022-02-04T01:56:03.775Z","0.2.7":"2022-02-07T07:21:04.762Z","0.2.8":"2022-02-15T11:20:11.118Z","0.2.9":"2022-02-15T17:50:10.215Z","0.3.0":"2022-02-18T03:19:24.077Z","0.3.1":"2022-02-21T06:27:26.250Z","0.3.2":"2022-02-22T02:49:29.436Z","0.3.3":"2022-02-22T04:05:44.286Z","0.4.0":"2022-03-03T12:26:08.091Z","0.4.1":"2022-03-04T08:04:10.039Z","0.4.2":"2022-03-04T09:11:55.732Z","0.4.3":"2022-03-04T09:44:33.135Z","0.4.4":"2022-03-04T10:17:38.561Z","0.4.5":"2022-03-07T20:59:59.197Z","0.4.6":"2022-03-08T00:13:11.897Z","0.4.7":"2022-03-25T23:30:14.470Z","0.4.8":"2022-03-27T18:16:44.002Z","0.5.0":"2022-04-12T00:47:00.420Z","0.6.0":"2022-04-12T07:24:44.773Z","0.7.0":"2022-04-15T07:19:17.584Z","0.8.0":"2022-04-22T10:11:27.761Z","0.9.0":"2022-10-04T05:14:34.593Z","0.9.1":"2022-10-06T19:36:50.152Z","0.9.2":"2022-10-18T18:41:44.209Z","0.9.3":"2022-11-09T03:38:51.920Z","0.9.4":"2022-11-09T04:02:09.536Z","0.9.5":"2022-12-01T21:59:22.835Z","0.9.6":"2022-12-02T10:49:49.890Z","0.9.7":"2022-12-04T09:15:46.443Z","0.9.8":"2022-12-06T05:34:10.831Z","0.9.9":"2022-12-06T05:54:28.523Z","0.9.10":"2022-12-09T06:12:10.425Z","0.9.11":"2023-01-12T05:09:41.616Z","0.9.12":"2023-01-12T06:46:07.395Z","0.9.13":"2023-02-22T09:03:18.431Z","0.9.14":"2023-02-27T02:50:40.997Z","0.9.15":"2023-02-27T04:32:31.361Z","0.9.16":"2023-02-27T05:34:14.114Z","0.9.17":"2023-03-24T03:13:09.965Z","0.9.18":"2023-04-02T19:35:22.010Z","0.9.19":"2023-04-26T03:22:29.877Z","0.9.20":"2023-06-01T22:05:24.961Z","0.9.21":"2023-06-04T12:42:46.899Z","0.9.22":"2023-06-05T01:07:39.184Z","0.9.23":"2023-06-05T05:50:59.768Z","0.9.24":"2023-06-12T12:56:07.326Z","0.9.25":"2023-06-12T13:04:20.960Z","0.9.26":"2023-06-12T14:06:00.008Z","0.9.27":"2023-07-03T11:35:37.203Z","0.9.28":"2023-07-18T11:09:09.519Z","0.9.29":"2023-07-18T14:20:58.187Z","0.9.30":"2023-11-27T14:05:59.586Z","0.9.31":"2023-12-26T07:27:10.716Z","0.9.32":"2023-12-29T01:37:14.439Z","0.9.33":"2024-01-04T03:43:18.775Z","0.10.0":"2024-01-09T15:05:45.048Z","0.11.0":"2024-02-02T15:49:54.761Z","0.11.1":"2024-02-17T19:38:05.233Z","0.11.2":"2024-03-21T22:34:59.151Z","0.11.3":"2024-03-22T00:07:01.157Z","0.11.4":"2024-04-02T05:29:11.674Z","0.12.0":"2024-04-28T15:08:40.323Z","0.12.1":"2024-04-28T15:15:35.722Z","0.12.2":"2024-05-08T15:18:36.890Z","0.12.3":"2024-05-21T04:22:12.531Z","0.12.4":"2024-06-18T05:43:24.713Z","0.12.5":"2024-07-08T02:23:32.145Z","0.12.6":"2024-07-08T02:27:59.529Z","0.12.7":"2024-07-20T16:32:21.677Z","0.12.8":"2024-07-20T19:47:04.596Z","0.12.9":"2024-07-21T03:06:19.033Z","0.12.10":"2024-07-29T17:41:44.501Z","0.12.11":"2024-08-12T07:16:26.128Z","0.12.12":"2024-08-16T11:50:43.376Z","0.12.13":"2024-11-22T01:08:35.266Z","0.12.14":"2024-12-09T14:52:19.289Z","0.12.15":"2024-12-10T20:31:08.572Z","0.13.0":"2024-12-18T04:31:33.732Z","0.13.1":"2024-12-18T07:10:28.301Z","0.14.0":"2025-01-24T15:07:48.186Z","0.14.1":"2025-01-24T17:55:22.599Z","0.14.2":"2025-02-07T14:28:31.296Z","0.14.3":"2025-02-23T09:30:23.683Z","0.14.4":"2025-06-22T04:03:16.251Z","0.15.0":"2026-02-11T18:43:45.094Z","0.15.1":"2026-02-12T05:56:14.059Z","0.15.2":"2026-03-02T16:44:10.833Z","0.15.3":"2026-04-20T20:49:10.963Z","0.15.4":"2026-04-22T02:30:13.439Z"},"bugs":{"url":"https://github.com/dolomite-exchange/dolomite-margin/issues"},"author":{"name":"Dolomite"},"license":"Apache-2.0","homepage":"https://github.com/dolomite-exchange/dolomite-margin#readme","keywords":["dolomite","defi","dydx","uniswap","ethereum"],"repository":{"type":"git","url":"https://github.com/dolomite-exchange/dolomite-margin"},"description":"Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol","maintainers":[{"name":"coreycaplan3","email":"coreycaplan3@gmail.com"},{"name":"aknuck","email":"adam@dolomite.io"}],"readme":"<p align=\"center\">\n<img src=\"./docs/dolomite-logo.png\" width=\"256\" />\n</p>\n\n<div align=\"center\">\n<!--   <a href=\"https://circleci.com/gh/dolomite-exchange/dolomite-v2-protocol/tree/master\" style=\"text-decoration:none;\">\n    <img src=\"https://img.shields.io/circleci/project/github/dolomite--exchange/dolomite--margin.svg\" alt='CI' />\n  </a> -->\n  <a href='https://www.npmjs.com/package/@dolomite-exchange/dolomite-margin' style=\"text-decoration:none;\">\n    <img src='https://img.shields.io/npm/v/@dolomite-exchange/dolomite-margin.svg?longCache=false' alt='NPM' />\n  </a>\n  <a href='https://coveralls.io/github/dolomite-exchange/dolomite-margin?branch=master'>\n    <img src='https://coveralls.io/repos/github/dolomite-exchange/dolomite-margin/badge.svg?branch=master&longCache=false' alt='Coverage Status' />\n  </a>\n  <a href='https://github.com/dolomite-exchange/dolomite-margin/blob/master/LICENSE' style=\"text-decoration:none;\">\n    <img src='https://img.shields.io/badge/Apache--2.0-llicense-red?longCache=true' alt='License' />\n  </a>\n  <a href='https://discord.com/invite/uDRzrB2YgP' style=\"text-decoration:none;\">\n    <img src='https://img.shields.io/badge/chat-on%20discord-7289DA.svg?longCache=true' alt='Discord' />\n  </a>\n  <a href='https://t.me/dolomite_official' style=\"text-decoration:none;\">\n    <img src='https://img.shields.io/badge/chat-on%20telegram-9cf.svg?longCache=true' alt='Telegram' />\n  </a>\n  <a href='https://github.com/dolomite-exchange/dolomite-margin' style=\"text-decoration:none;\">\n    <img src='https://img.shields.io/badge/GitHub-dolomite--exchange%2Fdolomite--margin-lightgrey' alt='GitHub'/>\n  </a>\n</div>\n\n> Ethereum Smart Contracts and TypeScript library used for the Dolomite Trading Protocol. Currently used\n> by [app.dolomite.io](https://app.dolomite.io)\n\n## TODO re-write API using subgraph data!\n\n## Table of Contents\n\n- [Documentation](#documentation)\n- [Install](#install)\n- [Contracts](#contracts)\n- [Security](#security)\n- [Development](#development)\n- [Maintainers](#maintainers)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Changes from dYdX's original deployment\n\nMost of the changes made to the protocol are auxiliary and don't impact the core contracts. These core changes are\nrooted in fixing a bug with the protocol and making the process of adding a large number of markets much more gas\nefficient. Prior to the changes, adding a large number of markets, around 10+, would result in an `n` increase in gas\nconsumption, since all markets needed to be read into memory. With the changes outlined below, now only the necessary\nmarkets are loaded into memory. This allows the protocol to support potentially hundreds of markets in the same\ndeployment,\nwhich will allow DolomiteMargin to become one of the most flexible and largest (in terms of number of non-isolated\nmarkets)\nmargin systems in DeFi. The detailed changes are outlined below:\n\n- Upgraded the Solidity compiler version from `0.5.7` to `0.5.16`.\n- Added a `getPartialRoundHalfUp` function that's used when converting between `Wei` & `Par` values. The reason for\n  this change is that there would be truncation issues when using `getPartial` or `getPartialRoundUp`, which would lead\n  to lossy conversions to and from `Wei` and `Par` that would be incorrect by 1 unit.\n- Added a `numberOfMarketsWithDebt` field to [Account.Storage](contracts/protocol/lib/Account.sol), which makes checking\n  collateralization for accounts that do not have an active borrow much more gas efficient. If `numberOfMarketsWithDebt`\n  is `0`, `state.isCollateralized(...)` always returns `true`. Else, it does the normal collateralization check.\n- Added a `marketsWithNonZeroBalanceSet` which function as an enumerable hash set. Its implementation mimics\n  [Open Zeppelin's](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/structs/EnumerableSet.sol)\n  with adjustments made to support only the `uint256` type (for gas efficiency's sake).\n    - The purpose for this set is to\n      track, in `O(1)` time, a user's active markets, for reading markets into memory\n      in [OperationImpl](contracts/protocol/impl/OperationImpl.sol). These markets are needed at the end of each\n      transaction for checking the user's collateralization. It's understood that reading this user's array into memory\n      can be more costly gas-wise than the old algorithm, but as the number of markets listed grows to the tens or\n      hundreds, the new algorithm will be much more efficient.\n    - Most importantly, it's understood that a user can inadvertently DOS themselves by depositing too many unique\n      markets into a single account number (recall, user's deposits are partitioned first by their `address` and second\n      by a `uint256` account number). Through UI patterns and organizing the protocol such that a lot of these markets (\n      at scale) won't be for ordinary use by end-users, the protocol will fight against these DOS attacks.\n    - Reading these markets into memory is done using initially populating a bitmap, where each index in the bitmap\n      corresponds with the market's ID. Since IDs are auto-incremented, we can store 256 in just one `uint256` variable.\n      Once populated, the bitmap is read into an array that's pre-sorted in `O(m)`, where `m` represents the number of\n      items in the bitmap, not the total length of it (where the length equals the number of total bits, 256).\n        - This is done by reading the least significant bit, truncating it out of the bitmap, and repeating the process\n          until the bitmap equals 0.\n        - The process of reading the least significant bit is done in `O(1)` time using crafty bit math. Then, since the\n          final array that the bitmap is read into is sorted, it can be searched in later parts\n          of [OperationImpl](contracts/protocol/impl/OperationImpl.sol) in `O(log(n))` time, and iterated in it entirety\n          in `O(m)`, where `m` represents the number of items.\n- Separated each action's logic into separate libraries, to save bytecode (compilation size)\n  in [OperationImpl](contracts/protocol/impl/OperationImpl.sol). Otherwise,\n  the [OperationImpl](contracts/protocol/impl/OperationImpl.sol) bytecode was too large and could not be deployed. These\n  files can be found in `contracts/protocol/impl` and are named after the action(s) they represent.\n- Separated the [Getters](contracts/protocol/Getters.sol) logic into a\n  library, [GettersImpl](contracts/protocol/impl/GettersImpl.sol) (similar to [Admin](contracts/protocol/Admin.sol)\n  and [AdminImpl](contracts/protocol/impl/AdminImpl.sol)), to reduce the bytecode size of `DolomiteMargin`.\n- Added a require statement in [LiquidateOrVaporizeImpl](./contracts/protocol/impl/LiquidateOrVaporizeImpl.sol) that\n  forces liquidations to come from a *global operator*.\n    - This will allow for Chainlink nodes to be the sole liquidator in the future, allowing the DAO to receive\n      liquidation rewards (thus, socializing the reward), instead of having gas wars amongst liquidators to receive the\n      reward while simultaneously clogging the network.\n- Similar to the prior point, added a require statement in [TradeImpl](./contracts/protocol/impl/TradeImpl.sol) that\n  forces expirations to come from a *global operator*. This requirement is done by first checking if the internal trader\n  is considered *special* through a new mapping `specialAutoTraders` `mapping (address => bool)`. If it is, interactions\n  with *DolomiteMargin* must be done through a *global operator*.\n- Added the option of limiting the quantity of deposits and borrows for a particular asset, via the addition of\n  the `maxSupplyWei` and `maxBorrowWei` fields in the `Market` struct in [Storage](contracts/protocol/lib/Storage.sol).\n    - This helps alleviate risk for assets that could be deposited in large quantity into `DolomiteMargin` such that\n      there isn't enough liquidity to perform timely liquidations.\n        - For example, if the current market size were $50M in TVL, and a whale deposited $1B in UST, it would put too\n          much stress on the system, since that much UST would outweigh every other asset deposited by orders of\n          magnitude.\n    - If a `maxSupplyWei` or `maxBorrowWei` is set that is higher than the current TVL, all new actions involving that\n      currency must lower the TVL or keep it the same (not accounting for any increase in `Wei` value that occurs from\n      users paying the borrow rate on that asset).\n- Added `earningsRateOverride` to the `Market` struct so a particular market can fine-tune the fees paid to the protocol\n  for borrowing.\n- Added `accountMaxNumberOfMarketsWithBalances` to `RiskParams` which limits how many assets a user can hold in the same\n  account index.\n    - This number was initialized to be sufficiently high, at `32`, meaning a user could use up to 32 unique\n      assets within the same margin account.\n    - This risk param limits the stress that can be put on the system gas-wise, whereby a user could add many unique\n      assets to the same account index that has an active position, causing maintenance gas costs for any action that\n      interacts with that user's account index to increase.\n- Added `oracleSentinel` to `RiskParams` which allows DolomiteMargin to disable borrowing or liquidations when the\n  sequencer is down for a L2.\n- Added `accountRiskOverrideSetterMap` to `RiskParams` which allows an address to override the default margin ratio,\n  margin ratio premium, liquidation spread, and liquidation spread premium for a given market.\n    - This effectively allows the protocol to offer efficiency mode (e-mode).\n    - The intention is to allow certain smart contract vaults hold a user's assets for particular pairings, like:\n        - Stablecoins\n        - Liquid staking tokens + their underlying token(s)\n        - LP tokens and their underlying token(s)\n- Added `interestRateMax` to `RiskLimits` to prevent the interest rate from ever being *too* high.\n    - If the rate returned by a market is ever higher, the rate is capped at this value instead of reverting.\n    - The goal is to keep Dolomite operational under all circumstances instead of inadvertently DOS'ing the protocol by\n      setting a high interest rate.\n    - This field was added to reduce an attack vector whereby a malicious (or negligent) market could return a very high\n      interest rate that would cause the protocol to increase the users' owed amount unreasonably quickly.\n\n## Documentation\n\nDocumentation can be found at [docs.dolomite.io](https://docs.dolomite.io).\n\n## Install\n\n`npm i @dolomite-exchange/dolomite-margin`\n\n## Contracts\n\n### Arbitrum One (Mainnet)\n\n[https://docs.dolomite.io/#/contracts?id=arbitrum-mainnet](https://docs.dolomite.io/#/contracts?id=arbitrum-mainnet)\n\n### Arbitrum Rinkeby\n\n[https://docs.dolomite.io/#/contracts?id=arbitrum-rinkeby](https://docs.dolomite.io/#/contracts?id=arbitrum-rinkeby)\n\n## Security\n\n### Independent Audits\n\nThe original DolomiteMargin smart contracts were audited independently by both\n[Zeppelin Solutions](https://zeppelin.solutions/) and Bramah Systems.\n\n**[Zeppelin Solutions Audit Report](https://blog.zeppelin.solutions/solo-margin-protocol-audit-30ac2aaf6b10)**\n\n**[Bramah Systems Audit Report](https://s3.amazonaws.com/dydx-assets/dYdX_Audit_Report_Bramah_Systems.pdf)**\n\nSome changes discussed above were audited by [SECBIT Labs](https://secbit.io/). We plan on performing at least one more\naudit of the system before the new *Recyclable* feature is used in production.\n\n**[SECBIT Audit Report](./docs/Dolomite Margin - SECBIT - 2021-08-02.pdf)**\n\n### Code Coverage\n\nAll production smart contracts are tested and have the vast majority of line and branch coverage.\n\nThis repository uses [solidity-coverage](https://github.com/sc-forks/solidity-coverage) to generate code coverage\nreports.\n\nTo run code coverage, first start an instance of the local RPC using `npm run coverage_node`\n\nThen, run test coverage script in a separate terminal instance: `npm run coverage`. Note, this script takes a long time\nto execute!\n\n### Vulnerability Disclosure Policy\n\nThe disclosure of security vulnerabilities helps us ensure the security of all DolomiteMargin users.\n\n**How to report a security vulnerability?**\n\nIf you believe you’ve found a security vulnerability in one of our contracts or platforms,\nsend it to us by emailing [security@dolomite.io](mailto:security@dolomite.io).\nPlease include the following details with your report:\n\n* A description of the location and potential impact of the vulnerability.\n\n* A detailed description of the steps required to reproduce the vulnerability.\n\n**Scope**\n\nAny vulnerability not previously disclosed by us or our independent auditors in their reports.\n\n**Guidelines**\n\nWe require that all reporters:\n\n* Make every effort to avoid privacy violations, degradation of user experience,\n  disruption to production systems, and destruction of data during security testing.\n\n* Use the identified communication channels to report vulnerability information to us.\n\n* Keep information about any vulnerabilities you’ve discovered confidential between yourself and\n  Dolomite until we’ve had 30 days to resolve the issue.\n\nIf you follow these guidelines when reporting an issue to us, we commit to:\n\n* Not pursue or support any legal action related to your findings.\n\n* Work with you to understand and resolve the issue quickly\n  (including an initial confirmation of your report within 72 hours of submission).\n\n* Grant a monetary reward based on the [OWASP risk assessment methodology](https://medium.com/dolomite-official).\n\n## Development\n\n### Compile Contracts\n\nRequires a running [docker](https://docker.com) engine.\n\n`npm run build`\n\n### Compile TypeScript\n\n`npm run build:js`\n\n### Test\n\nRequires a running [docker](https://docker.com) engine.\n\n**Start test node:**\n\n`docker-compose up`\n\n**Deploy contracts to test node & run tests:**\n\n`npm test`\n\n**Just run tests (contracts must already be deployed to test node):**\n\n`npm run test_only`\n\n**Just deploy contracts to test node:**\n\n`npm run deploy_test`\n\n## Contributing\n\nYou may open a pull request with any added or modified code. The pull request should state the rationale behind any\nchanges or the motivation behind any additions. All pull requests should contain adequate test coverage too.\n\n## Maintainers\n\n- **Corey Caplan**\n  [@coreycaplan3](https://github.com/coreycaplan3)\n  [`corey@dolomite.io`](mailto:corey@dolomite.io)\n\n- **Adam Knuckey**\n  [@aknuck](https://github.com/aknuck)\n  [`adam@dolomite.io`](mailto:adam@dolomite.io)\n\n## License\n\n[Apache-2.0](./LICENSE)\n","readmeFilename":"README.md"}