@dolomite-exchange/dolomite-margin 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/build/contracts/Account.json +11 -11
  2. package/build/contracts/Actions.json +11 -11
  3. package/build/contracts/Address.json +1 -1
  4. package/build/contracts/Admin.json +23 -23
  5. package/build/contracts/AdminImpl.json +31 -322
  6. package/build/contracts/AdvancedMath.json +7 -7
  7. package/build/contracts/AmmRebalancerProxy.json +32 -77
  8. package/build/contracts/Babylonian.json +1 -1
  9. package/build/contracts/Bits.json +9 -9
  10. package/build/contracts/Cache.json +13 -13
  11. package/build/contracts/ChainlinkPriceOracleV1.json +16 -16
  12. package/build/contracts/Context.json +1 -1
  13. package/build/contracts/CustomTestToken.json +9 -9
  14. package/build/contracts/Decimal.json +9 -9
  15. package/build/contracts/DelayedMultiSig.json +9 -9
  16. package/build/contracts/DolomiteAmmERC20.json +11 -11
  17. package/build/contracts/DolomiteAmmFactory.json +14 -52
  18. package/build/contracts/DolomiteAmmLibrary.json +24 -24
  19. package/build/contracts/DolomiteAmmPair.json +27 -27
  20. package/build/contracts/DolomiteAmmRouterProxy.json +30 -363
  21. package/build/contracts/DolomiteMargin.json +23 -78
  22. package/build/contracts/DoubleExponentInterestSetter.json +14 -20
  23. package/build/contracts/EnumerableSet.json +7 -7
  24. package/build/contracts/ErroringOmiseToken.json +9 -9
  25. package/build/contracts/ErroringToken.json +10 -10
  26. package/build/contracts/Events.json +17 -17
  27. package/build/contracts/Exchange.json +15 -15
  28. package/build/contracts/Expiry.json +34 -173
  29. package/build/contracts/Getters.json +34 -34
  30. package/build/contracts/IAutoTrader.json +9 -9
  31. package/build/contracts/ICallee.json +7 -7
  32. package/build/contracts/IChainlinkAggregator.json +5 -5
  33. package/build/contracts/IDolomiteAmmERC20.json +5 -5
  34. package/build/contracts/IDolomiteAmmFactory.json +9 -9
  35. package/build/contracts/IDolomiteAmmPair.json +9 -9
  36. package/build/contracts/IDolomiteMargin.json +23 -23
  37. package/build/contracts/IERC20.json +1 -1
  38. package/build/contracts/IERC20Detailed.json +5 -5
  39. package/build/contracts/IExchangeWrapper.json +5 -5
  40. package/build/contracts/IExpiry.json +9 -9
  41. package/build/contracts/IInterestSetter.json +7 -7
  42. package/build/contracts/ILiquidationCallback.json +7 -7
  43. package/build/contracts/IMakerOracle.json +5 -5
  44. package/build/contracts/IOasisDex.json +5 -5
  45. package/build/contracts/IPriceOracle.json +7 -7
  46. package/build/contracts/IRecyclable.json +9 -9
  47. package/build/contracts/ITransferProxy.json +5 -5
  48. package/build/contracts/IUniswapV2Callee.json +5 -5
  49. package/build/contracts/IUniswapV2Factory.json +5 -5
  50. package/build/contracts/IUniswapV2Pair.json +5 -5
  51. package/build/contracts/IUniswapV2Router.json +5 -5
  52. package/build/contracts/IWETH.json +5 -5
  53. package/build/contracts/Interest.json +15 -15
  54. package/build/contracts/LiquidateOrVaporizeImpl.json +31 -82
  55. package/build/contracts/LiquidatorProxyHelper.json +23 -23
  56. package/build/contracts/LiquidatorProxyV1.json +31 -37
  57. package/build/contracts/LiquidatorProxyV1WithAmm.json +32 -149
  58. package/build/contracts/Math.json +1 -1
  59. package/build/contracts/Migrations.json +8 -14
  60. package/build/contracts/Monetary.json +7 -7
  61. package/build/contracts/MultiCall.json +8 -14
  62. package/build/contracts/MultiSig.json +7 -7
  63. package/build/contracts/OmiseToken.json +8 -8
  64. package/build/contracts/OnlyDolomiteMargin.json +11 -11
  65. package/build/contracts/Operation.json +15 -15
  66. package/build/contracts/OperationImpl.json +39 -47
  67. package/build/contracts/Ownable.json +1 -1
  68. package/build/contracts/PartiallyDelayedMultiSig.json +9 -9
  69. package/build/contracts/PayableProxy.json +17 -23
  70. package/build/contracts/Permission.json +11 -11
  71. package/build/contracts/PolynomialInterestSetter.json +13 -13
  72. package/build/contracts/RecyclableTokenProxy.json +25 -25
  73. package/build/contracts/ReentrancyGuard.json +1 -1
  74. package/build/contracts/Require.json +7 -7
  75. package/build/contracts/SafeERC20.json +1 -1
  76. package/build/contracts/SafeETH.json +7 -7
  77. package/build/contracts/SafeMath.json +1 -1
  78. package/build/contracts/SignedOperationProxy.json +21 -104
  79. package/build/contracts/SimpleFeeOwner.json +18 -63
  80. package/build/contracts/State.json +9 -9
  81. package/build/contracts/Storage.json +3222 -3222
  82. package/build/contracts/TestAmmRebalancerProxy.json +32 -58
  83. package/build/contracts/TestAutoTrader.json +22 -22
  84. package/build/contracts/TestBtcUsdChainlinkAggregator.json +11 -11
  85. package/build/contracts/TestCallee.json +19 -19
  86. package/build/contracts/TestChainlinkPriceOracleV1.json +10 -94
  87. package/build/contracts/TestCounter.json +7 -7
  88. package/build/contracts/TestDaiUsdChainlinkAggregator.json +11 -11
  89. package/build/contracts/TestDolomiteMargin.json +21 -21
  90. package/build/contracts/TestDoubleExponentInterestSetter.json +10 -10
  91. package/build/contracts/TestEthUsdChainlinkAggregator.json +11 -11
  92. package/build/contracts/TestExchangeWrapper.json +10 -10
  93. package/build/contracts/TestInterestSetter.json +12 -12
  94. package/build/contracts/TestLib.json +22 -22
  95. package/build/contracts/TestLinkUsdChainlinkAggregator.json +11 -11
  96. package/build/contracts/TestLiquidateCallback.json +15 -15
  97. package/build/contracts/TestLrcEthChainlinkAggregator.json +11 -11
  98. package/build/contracts/TestMakerOracle.json +10 -10
  99. package/build/contracts/TestMaticUsdChainlinkAggregator.json +11 -11
  100. package/build/contracts/TestOasisDex.json +12 -12
  101. package/build/contracts/TestOperationImpl.json +15 -15
  102. package/build/contracts/TestPolynomialInterestSetter.json +10 -10
  103. package/build/contracts/TestPriceAggregator.json +9 -9
  104. package/build/contracts/TestPriceOracle.json +12 -12
  105. package/build/contracts/TestRecyclableToken.json +9 -9
  106. package/build/contracts/TestSimpleCallee.json +15 -15
  107. package/build/contracts/TestToken.json +9 -9
  108. package/build/contracts/TestTrader.json +17 -17
  109. package/build/contracts/TestUniswapAmmRebalancerProxy.json +16 -16
  110. package/build/contracts/TestUsdcUsdChainlinkAggregator.json +11 -11
  111. package/build/contracts/TestWETH.json +9 -9
  112. package/build/contracts/Time.json +9 -9
  113. package/build/contracts/Token.json +9 -9
  114. package/build/contracts/TokenA.json +10 -10
  115. package/build/contracts/TokenB.json +10 -10
  116. package/build/contracts/TokenC.json +10 -10
  117. package/build/contracts/TokenD.json +10 -10
  118. package/build/contracts/TokenE.json +10 -10
  119. package/build/contracts/TokenF.json +10 -10
  120. package/build/contracts/TransferProxy.json +22 -28
  121. package/build/contracts/TypedSignature.json +9 -9
  122. package/build/contracts/Types.json +9 -9
  123. package/build/contracts/UQ112x112.json +7 -7
  124. package/build/contracts/UniswapV2ERC20.json +7 -7
  125. package/build/contracts/UniswapV2Factory.json +12 -12
  126. package/build/contracts/UniswapV2Library.json +20 -20
  127. package/build/contracts/UniswapV2Pair.json +17 -17
  128. package/build/contracts/UniswapV2Router02.json +16 -16
  129. package/build/contracts/WETH9.json +1 -1
  130. package/contracts/protocol/impl/artifacts/OperationImpl.json +80 -0
  131. package/contracts/protocol/impl/artifacts/OperationImpl_metadata.json +193 -0
  132. package/contracts/protocol/lib/Storage.sol +7 -0
  133. package/dist/build/published_contracts/AdminImpl.json +1 -1
  134. package/dist/build/published_contracts/AmmRebalancerProxy.json +1 -1
  135. package/dist/build/published_contracts/ChainlinkPriceOracleV1.json +1 -1
  136. package/dist/build/published_contracts/DolomiteAmmFactory.json +1 -1
  137. package/dist/build/published_contracts/DolomiteAmmRouterProxy.json +1 -1
  138. package/dist/build/published_contracts/DoubleExponentInterestSetter.json +1 -1
  139. package/dist/build/published_contracts/Expiry.json +1 -1
  140. package/dist/build/published_contracts/LiquidatorProxyV1.json +2 -2
  141. package/dist/build/published_contracts/LiquidatorProxyV1WithAmm.json +1 -1
  142. package/dist/build/published_contracts/MultiCall.json +1 -1
  143. package/dist/build/published_contracts/PayableProxy.json +2 -2
  144. package/dist/build/published_contracts/SignedOperationProxy.json +2 -2
  145. package/dist/build/published_contracts/SimpleFeeOwner.json +1 -1
  146. package/dist/build/published_contracts/TransferProxy.json +1 -1
  147. package/dist/src/modules/operate/AccountOperation.d.ts +8 -2
  148. package/dist/src/modules/operate/AccountOperation.js +7 -7
  149. package/dist/src/modules/operate/AccountOperation.js.map +1 -1
  150. package/package.json +2 -2
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "contractName": "Account",
3
3
  "abi": [],
4
- "metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"author\":\"dYdX * Library of structs and functions that represent an account\",\"methods\":{},\"title\":\"Account\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Account.sol\":\"Account\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[]},\"sources\":{\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Account.sol\":{\"keccak256\":\"0x0ab9a3fabc89984dff748af63d4319ee134051de2d7fc560e34ebaac86198396\",\"urls\":[\"bzz-raw://ab67f499a8ef83dc7e7cf7176a0f66eced40fa228eda8dd2d47e066ab985cf42\",\"dweb:/ipfs/QmXRHbsEYxr2Qsfsj5psXGV5LaPZHuzLiEXzSQJ77WSE27\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/EnumerableSet.sol\":{\"keccak256\":\"0x9710b0ab43cc2d964d8722a0aabbedbf7e9d4756dcc0b4ab7c46c1ee68653042\",\"urls\":[\"bzz-raw://2405593d37f0f224bfca556f01634a9755bb0ed626f74dd15293106a8b4dd7d3\",\"dweb:/ipfs/QmTZ16S336jsoDnK5p3vAZRzimBkmdEJibncHVBJxBt469\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Math.sol\":{\"keccak256\":\"0x0c0c913b6ccdb69063f9ec84879fcad20a1ee6f44402c9f5ec2b4f5b9f2fa16b\",\"urls\":[\"bzz-raw://89b32eefb57e5e63ad8c6e079ae7bf2d2c8622776cd45af0cf304e1cafd6e078\",\"dweb:/ipfs/Qmcj7yRnYuTgKC3ZqZqe8rynHGYVDS3UrFExcVGcqeaDHY\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Require.sol\":{\"keccak256\":\"0xe641662503ea29ca959e84674188c3e9deaaf64c5623fb9560a4301c521ca1d3\",\"urls\":[\"bzz-raw://b10a04c7d014b99eb792c8c774e203c846d070b30cf0b715325fc07838ed6a6d\",\"dweb:/ipfs/QmUqZWnbchfEY9jM647yQamHe4GzspfUeRQF9k2nn1Hixd\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Types.sol\":{\"keccak256\":\"0xab134538648a2e223a7fe61db03c14f687657a5d37147f93c9088f11735aa311\",\"urls\":[\"bzz-raw://79dc7d2b30576d2349b99267642ac8d5fb7939c920b8d8045379d3614238bdc3\",\"dweb:/ipfs/QmaQJYg1nirHoWSC6G38Cjsk9pZBzEaNrGXKqTsvAzbyES\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x640b6dee7a4b830bdfd52b5031a07fc2b12209f5b2e29e5d364a7d37f69d8076\",\"urls\":[\"bzz-raw://31113152e1ddb78fe7a4197f247591ca894e93f916867beb708d8e747b6cc74f\",\"dweb:/ipfs/QmbZaJyXdpsYGykVhHH9qpVGQg9DGCxE2QufbCUy3daTgq\"]}},\"version\":1}",
5
- "bytecode": "0x60636023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea365627a7a723158200cfe61df08e286c4adb6d705d15431e76d219a1abc214d5827378b78a215ae446c6578706572696d656e74616cf564736f6c63430005100040",
6
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea365627a7a723158200cfe61df08e286c4adb6d705d15431e76d219a1abc214d5827378b78a215ae446c6578706572696d656e74616cf564736f6c63430005100040",
4
+ "metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"author\":\"dYdX * Library of structs and functions that represent an account\",\"methods\":{},\"title\":\"Account\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Account.sol\":\"Account\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[]},\"sources\":{\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Account.sol\":{\"keccak256\":\"0x0ab9a3fabc89984dff748af63d4319ee134051de2d7fc560e34ebaac86198396\",\"urls\":[\"bzz-raw://ab67f499a8ef83dc7e7cf7176a0f66eced40fa228eda8dd2d47e066ab985cf42\",\"dweb:/ipfs/QmXRHbsEYxr2Qsfsj5psXGV5LaPZHuzLiEXzSQJ77WSE27\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/EnumerableSet.sol\":{\"keccak256\":\"0x9710b0ab43cc2d964d8722a0aabbedbf7e9d4756dcc0b4ab7c46c1ee68653042\",\"urls\":[\"bzz-raw://2405593d37f0f224bfca556f01634a9755bb0ed626f74dd15293106a8b4dd7d3\",\"dweb:/ipfs/QmTZ16S336jsoDnK5p3vAZRzimBkmdEJibncHVBJxBt469\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Math.sol\":{\"keccak256\":\"0x0c0c913b6ccdb69063f9ec84879fcad20a1ee6f44402c9f5ec2b4f5b9f2fa16b\",\"urls\":[\"bzz-raw://89b32eefb57e5e63ad8c6e079ae7bf2d2c8622776cd45af0cf304e1cafd6e078\",\"dweb:/ipfs/Qmcj7yRnYuTgKC3ZqZqe8rynHGYVDS3UrFExcVGcqeaDHY\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Require.sol\":{\"keccak256\":\"0xe641662503ea29ca959e84674188c3e9deaaf64c5623fb9560a4301c521ca1d3\",\"urls\":[\"bzz-raw://b10a04c7d014b99eb792c8c774e203c846d070b30cf0b715325fc07838ed6a6d\",\"dweb:/ipfs/QmUqZWnbchfEY9jM647yQamHe4GzspfUeRQF9k2nn1Hixd\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Types.sol\":{\"keccak256\":\"0xab134538648a2e223a7fe61db03c14f687657a5d37147f93c9088f11735aa311\",\"urls\":[\"bzz-raw://79dc7d2b30576d2349b99267642ac8d5fb7939c920b8d8045379d3614238bdc3\",\"dweb:/ipfs/QmaQJYg1nirHoWSC6G38Cjsk9pZBzEaNrGXKqTsvAzbyES\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x640b6dee7a4b830bdfd52b5031a07fc2b12209f5b2e29e5d364a7d37f69d8076\",\"urls\":[\"bzz-raw://31113152e1ddb78fe7a4197f247591ca894e93f916867beb708d8e747b6cc74f\",\"dweb:/ipfs/QmbZaJyXdpsYGykVhHH9qpVGQg9DGCxE2QufbCUy3daTgq\"]}},\"version\":1}",
5
+ "bytecode": "0x60636023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea365627a7a72315820011df2fb1843fbf1711013feab4397a7061bc1d8ad5b2231cdde7ec5d7d0a39b6c6578706572696d656e74616cf564736f6c63430005100040",
6
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea365627a7a72315820011df2fb1843fbf1711013feab4397a7061bc1d8ad5b2231cdde7ec5d7d0a39b6c6578706572696d656e74616cf564736f6c63430005100040",
7
7
  "sourceMap": "861:1326:65:-;;132:2:-1;166:7;155:9;146:7;137:37;255:7;249:14;246:1;241:23;235:4;232:33;222:2;;269:9;222:2;293:9;290:1;283:20;323:4;314:7;306:22;347:7;338;331:24",
8
8
  "deployedSourceMap": "861:1326:65:-;;;;;;;;",
9
9
  "source": "/*\n\n Copyright 2019 dYdX Trading Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma solidity ^0.5.7;\npragma experimental ABIEncoderV2;\n\nimport { Types } from \"./Types.sol\";\nimport { EnumerableSet } from \"./EnumerableSet.sol\";\n\n\n/**\n * @title Account\n * @author dYdX\n *\n * Library of structs and functions that represent an account\n */\nlibrary Account {\n // ============ Enums ============\n\n /*\n * Most-recently-cached account status.\n *\n * Normal: Can only be liquidated if the account values are violating the global margin-ratio.\n * Liquid: Can be liquidated no matter the account values.\n * Can be vaporized if there are no more positive account values.\n * Vapor: Has only negative (or zeroed) account values. Can be vaporized.\n *\n */\n enum Status {\n Normal,\n Liquid,\n Vapor\n }\n\n // ============ Structs ============\n\n // Represents the unique key that specifies an account\n struct Info {\n address owner; // The address that owns the account\n uint256 number; // A nonce that allows a single address to control many accounts\n }\n\n // The complete storage for any account\n struct Storage {\n Status status;\n uint32 numberOfMarketsWithBorrow;\n EnumerableSet.Set marketsWithNonZeroBalanceSet;\n mapping (uint256 => Types.Par) balances; // Mapping from marketId to principal\n }\n\n // ============ Library Functions ============\n\n function equals(\n Info memory a,\n Info memory b\n )\n internal\n pure\n returns (bool)\n {\n return a.owner == b.owner && a.number == b.number;\n }\n}\n",
10
- "sourcePath": "/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Account.sol",
10
+ "sourcePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Account.sol",
11
11
  "ast": {
12
- "absolutePath": "/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Account.sol",
12
+ "absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Account.sol",
13
13
  "exportedSymbols": {
14
14
  "Account": [
15
15
  27893
@@ -39,7 +39,7 @@
39
39
  "src": "627:33:65"
40
40
  },
41
41
  {
42
- "absolutePath": "/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Types.sol",
42
+ "absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Types.sol",
43
43
  "file": "./Types.sol",
44
44
  "id": 27848,
45
45
  "nodeType": "ImportDirective",
@@ -55,7 +55,7 @@
55
55
  "unitAlias": ""
56
56
  },
57
57
  {
58
- "absolutePath": "/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/EnumerableSet.sol",
58
+ "absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/EnumerableSet.sol",
59
59
  "file": "./EnumerableSet.sol",
60
60
  "id": 27850,
61
61
  "nodeType": "ImportDirective",
@@ -618,7 +618,7 @@
618
618
  "src": "603:1585:65"
619
619
  },
620
620
  "legacyAST": {
621
- "absolutePath": "/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Account.sol",
621
+ "absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Account.sol",
622
622
  "exportedSymbols": {
623
623
  "Account": [
624
624
  27893
@@ -648,7 +648,7 @@
648
648
  "src": "627:33:65"
649
649
  },
650
650
  {
651
- "absolutePath": "/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Types.sol",
651
+ "absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Types.sol",
652
652
  "file": "./Types.sol",
653
653
  "id": 27848,
654
654
  "nodeType": "ImportDirective",
@@ -664,7 +664,7 @@
664
664
  "unitAlias": ""
665
665
  },
666
666
  {
667
- "absolutePath": "/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/EnumerableSet.sol",
667
+ "absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/EnumerableSet.sol",
668
668
  "file": "./EnumerableSet.sol",
669
669
  "id": 27850,
670
670
  "nodeType": "ImportDirective",
@@ -1232,7 +1232,7 @@
1232
1232
  },
1233
1233
  "networks": {},
1234
1234
  "schemaVersion": "3.0.23",
1235
- "updatedAt": "2022-01-28T09:46:02.863Z",
1235
+ "updatedAt": "2022-01-29T00:31:29.945Z",
1236
1236
  "devdoc": {
1237
1237
  "author": "dYdX * Library of structs and functions that represent an account",
1238
1238
  "methods": {},
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "contractName": "Actions",
3
3
  "abi": [],
4
- "metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"author\":\"dYdX * Library that defines and parses valid Actions\",\"methods\":{},\"title\":\"Actions\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Actions.sol\":\"Actions\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[]},\"sources\":{\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Account.sol\":{\"keccak256\":\"0x0ab9a3fabc89984dff748af63d4319ee134051de2d7fc560e34ebaac86198396\",\"urls\":[\"bzz-raw://ab67f499a8ef83dc7e7cf7176a0f66eced40fa228eda8dd2d47e066ab985cf42\",\"dweb:/ipfs/QmXRHbsEYxr2Qsfsj5psXGV5LaPZHuzLiEXzSQJ77WSE27\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Actions.sol\":{\"keccak256\":\"0x44ec62b766a88a2f65267991e76cab88711e733b826dc9e578cb6ad6b38b2445\",\"urls\":[\"bzz-raw://731a8d44e57c9dcd7fbdefc37a6b5889c0d06defb3bd66b921b2a7db0edf0103\",\"dweb:/ipfs/QmcVbXc9oi5DMxjPtsBF76oJzD6zVjm7RuXgJfP3Goqrrb\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/EnumerableSet.sol\":{\"keccak256\":\"0x9710b0ab43cc2d964d8722a0aabbedbf7e9d4756dcc0b4ab7c46c1ee68653042\",\"urls\":[\"bzz-raw://2405593d37f0f224bfca556f01634a9755bb0ed626f74dd15293106a8b4dd7d3\",\"dweb:/ipfs/QmTZ16S336jsoDnK5p3vAZRzimBkmdEJibncHVBJxBt469\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Math.sol\":{\"keccak256\":\"0x0c0c913b6ccdb69063f9ec84879fcad20a1ee6f44402c9f5ec2b4f5b9f2fa16b\",\"urls\":[\"bzz-raw://89b32eefb57e5e63ad8c6e079ae7bf2d2c8622776cd45af0cf304e1cafd6e078\",\"dweb:/ipfs/Qmcj7yRnYuTgKC3ZqZqe8rynHGYVDS3UrFExcVGcqeaDHY\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Require.sol\":{\"keccak256\":\"0xe641662503ea29ca959e84674188c3e9deaaf64c5623fb9560a4301c521ca1d3\",\"urls\":[\"bzz-raw://b10a04c7d014b99eb792c8c774e203c846d070b30cf0b715325fc07838ed6a6d\",\"dweb:/ipfs/QmUqZWnbchfEY9jM647yQamHe4GzspfUeRQF9k2nn1Hixd\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Types.sol\":{\"keccak256\":\"0xab134538648a2e223a7fe61db03c14f687657a5d37147f93c9088f11735aa311\",\"urls\":[\"bzz-raw://79dc7d2b30576d2349b99267642ac8d5fb7939c920b8d8045379d3614238bdc3\",\"dweb:/ipfs/QmaQJYg1nirHoWSC6G38Cjsk9pZBzEaNrGXKqTsvAzbyES\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x640b6dee7a4b830bdfd52b5031a07fc2b12209f5b2e29e5d364a7d37f69d8076\",\"urls\":[\"bzz-raw://31113152e1ddb78fe7a4197f247591ca894e93f916867beb708d8e747b6cc74f\",\"dweb:/ipfs/QmbZaJyXdpsYGykVhHH9qpVGQg9DGCxE2QufbCUy3daTgq\"]}},\"version\":1}",
5
- "bytecode": "0x60636023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea365627a7a7231582099cb77bf96e3c49a9ff587df53d1430bfe0fdca6ff0ba8eb8f9fb90c128b3b8a6c6578706572696d656e74616cf564736f6c63430005100040",
6
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea365627a7a7231582099cb77bf96e3c49a9ff587df53d1430bfe0fdca6ff0ba8eb8f9fb90c128b3b8a6c6578706572696d656e74616cf564736f6c63430005100040",
4
+ "metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"author\":\"dYdX * Library that defines and parses valid Actions\",\"methods\":{},\"title\":\"Actions\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Actions.sol\":\"Actions\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[]},\"sources\":{\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Account.sol\":{\"keccak256\":\"0x0ab9a3fabc89984dff748af63d4319ee134051de2d7fc560e34ebaac86198396\",\"urls\":[\"bzz-raw://ab67f499a8ef83dc7e7cf7176a0f66eced40fa228eda8dd2d47e066ab985cf42\",\"dweb:/ipfs/QmXRHbsEYxr2Qsfsj5psXGV5LaPZHuzLiEXzSQJ77WSE27\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Actions.sol\":{\"keccak256\":\"0x44ec62b766a88a2f65267991e76cab88711e733b826dc9e578cb6ad6b38b2445\",\"urls\":[\"bzz-raw://731a8d44e57c9dcd7fbdefc37a6b5889c0d06defb3bd66b921b2a7db0edf0103\",\"dweb:/ipfs/QmcVbXc9oi5DMxjPtsBF76oJzD6zVjm7RuXgJfP3Goqrrb\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/EnumerableSet.sol\":{\"keccak256\":\"0x9710b0ab43cc2d964d8722a0aabbedbf7e9d4756dcc0b4ab7c46c1ee68653042\",\"urls\":[\"bzz-raw://2405593d37f0f224bfca556f01634a9755bb0ed626f74dd15293106a8b4dd7d3\",\"dweb:/ipfs/QmTZ16S336jsoDnK5p3vAZRzimBkmdEJibncHVBJxBt469\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Math.sol\":{\"keccak256\":\"0x0c0c913b6ccdb69063f9ec84879fcad20a1ee6f44402c9f5ec2b4f5b9f2fa16b\",\"urls\":[\"bzz-raw://89b32eefb57e5e63ad8c6e079ae7bf2d2c8622776cd45af0cf304e1cafd6e078\",\"dweb:/ipfs/Qmcj7yRnYuTgKC3ZqZqe8rynHGYVDS3UrFExcVGcqeaDHY\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Require.sol\":{\"keccak256\":\"0xe641662503ea29ca959e84674188c3e9deaaf64c5623fb9560a4301c521ca1d3\",\"urls\":[\"bzz-raw://b10a04c7d014b99eb792c8c774e203c846d070b30cf0b715325fc07838ed6a6d\",\"dweb:/ipfs/QmUqZWnbchfEY9jM647yQamHe4GzspfUeRQF9k2nn1Hixd\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Types.sol\":{\"keccak256\":\"0xab134538648a2e223a7fe61db03c14f687657a5d37147f93c9088f11735aa311\",\"urls\":[\"bzz-raw://79dc7d2b30576d2349b99267642ac8d5fb7939c920b8d8045379d3614238bdc3\",\"dweb:/ipfs/QmaQJYg1nirHoWSC6G38Cjsk9pZBzEaNrGXKqTsvAzbyES\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x640b6dee7a4b830bdfd52b5031a07fc2b12209f5b2e29e5d364a7d37f69d8076\",\"urls\":[\"bzz-raw://31113152e1ddb78fe7a4197f247591ca894e93f916867beb708d8e747b6cc74f\",\"dweb:/ipfs/QmbZaJyXdpsYGykVhHH9qpVGQg9DGCxE2QufbCUy3daTgq\"]}},\"version\":1}",
5
+ "bytecode": "0x60636023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea365627a7a723158206d4b1352ed641656b02780ce6063645750dd223e825a4241f5b5f243f17c3c2d6c6578706572696d656e74616cf564736f6c63430005100040",
6
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea365627a7a723158206d4b1352ed641656b02780ce6063645750dd223e825a4241f5b5f243f17c3c2d6c6578706572696d656e74616cf564736f6c63430005100040",
7
7
  "sourceMap": "836:11795:66:-;;132:2:-1;166:7;155:9;146:7;137:37;255:7;249:14;246:1;241:23;235:4;232:33;222:2;;269:9;222:2;293:9;290:1;283:20;323:4;314:7;306:22;347:7;338;331:24",
8
8
  "deployedSourceMap": "836:11795:66:-;;;;;;;;",
9
9
  "source": "/*\n\n Copyright 2019 dYdX Trading Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma solidity ^0.5.7;\npragma experimental ABIEncoderV2;\n\nimport { Account } from \"./Account.sol\";\nimport { Types } from \"./Types.sol\";\n\n\n/**\n * @title Actions\n * @author dYdX\n *\n * Library that defines and parses valid Actions\n */\nlibrary Actions {\n\n // ============ Constants ============\n\n bytes32 constant FILE = \"Actions\";\n\n // ============ Enums ============\n\n enum ActionType {\n Deposit, // supply tokens\n Withdraw, // borrow tokens\n Transfer, // transfer balance between accounts\n Buy, // buy an amount of some token (externally)\n Sell, // sell an amount of some token (externally)\n Trade, // trade tokens against another account\n Liquidate, // liquidate an undercollateralized or expiring account\n Vaporize, // use excess tokens to zero-out a completely negative account\n Call // send arbitrary data to an address\n }\n\n enum AccountLayout {\n OnePrimary,\n TwoPrimary,\n PrimaryAndSecondary\n }\n\n enum MarketLayout {\n ZeroMarkets,\n OneMarket,\n TwoMarkets\n }\n\n // ============ Structs ============\n\n /*\n * Arguments that are passed to DolomiteMargin in an ordered list as part of a single operation.\n * Each ActionArgs has an actionType which specifies which action struct that this data will be\n * parsed into before being processed.\n */\n struct ActionArgs {\n ActionType actionType;\n uint256 accountId;\n Types.AssetAmount amount;\n uint256 primaryMarketId;\n uint256 secondaryMarketId;\n address otherAddress;\n uint256 otherAccountId;\n bytes data;\n }\n\n // ============ Action Types ============\n\n /*\n * Moves tokens from an address to DolomiteMargin. Can either repay a borrow or provide additional supply.\n */\n struct DepositArgs {\n Types.AssetAmount amount;\n Account.Info account;\n uint256 market;\n address from;\n }\n\n /*\n * Moves tokens from DolomiteMargin to another address. Can either borrow tokens or reduce the amount\n * previously supplied.\n */\n struct WithdrawArgs {\n Types.AssetAmount amount;\n Account.Info account;\n uint256 market;\n address to;\n }\n\n /*\n * Transfers balance between two accounts. The msg.sender must be an operator for both accounts.\n * The amount field applies to accountOne.\n * This action does not require any token movement since the trade is done internally to DolomiteMargin.\n */\n struct TransferArgs {\n Types.AssetAmount amount;\n Account.Info accountOne;\n Account.Info accountTwo;\n uint256 market;\n }\n\n /*\n * Acquires a certain amount of tokens by spending other tokens. Sends takerMarket tokens to the\n * specified exchangeWrapper contract and expects makerMarket tokens in return. The amount field\n * applies to the makerMarket.\n */\n struct BuyArgs {\n Types.AssetAmount amount;\n Account.Info account;\n uint256 makerMarket;\n uint256 takerMarket;\n address exchangeWrapper;\n bytes orderData;\n }\n\n /*\n * Spends a certain amount of tokens to acquire other tokens. Sends takerMarket tokens to the\n * specified exchangeWrapper and expects makerMarket tokens in return. The amount field applies\n * to the takerMarket.\n */\n struct SellArgs {\n Types.AssetAmount amount;\n Account.Info account;\n uint256 takerMarket;\n uint256 makerMarket;\n address exchangeWrapper;\n bytes orderData;\n }\n\n /*\n * Trades balances between two accounts using any external contract that implements the\n * AutoTrader interface. The AutoTrader contract must be an operator for the makerAccount (for\n * which it is trading on-behalf-of). The amount field applies to the makerAccount and the\n * inputMarket. This proposed change to the makerAccount is passed to the AutoTrader which will\n * quote a change for the makerAccount in the outputMarket (or will disallow the trade).\n * This action does not require any token movement since the trade is done internally to DolomiteMargin.\n */\n struct TradeArgs {\n Types.AssetAmount amount;\n Account.Info takerAccount;\n Account.Info makerAccount;\n uint256 inputMarket;\n uint256 outputMarket;\n address autoTrader;\n bytes tradeData;\n }\n\n /*\n * Each account must maintain a certain margin-ratio (specified globally). If the account falls\n * below this margin-ratio, it can be liquidated by any other account. This allows anyone else\n * (arbitrageurs) to repay any borrowed asset (owedMarket) of the liquidating account in\n * exchange for any collateral asset (heldMarket) of the liquidAccount. The ratio is determined\n * by the price ratio (given by the oracles) plus a spread (specified globally). Liquidating an\n * account also sets a flag on the account that the account is being liquidated. This allows\n * anyone to continue liquidating the account until there are no more borrows being taken by the\n * liquidating account. Liquidators do not have to liquidate the entire account all at once but\n * can liquidate as much as they choose. The liquidating flag allows liquidators to continue\n * liquidating the account even if it becomes collateralized through partial liquidation or\n * price movement.\n */\n struct LiquidateArgs {\n Types.AssetAmount amount;\n Account.Info solidAccount;\n Account.Info liquidAccount;\n uint256 owedMarket;\n uint256 heldMarket;\n }\n\n /*\n * Similar to liquidate, but vaporAccounts are accounts that have only negative balances remaining. The arbitrageur\n * pays back the negative asset (owedMarket) of the vaporAccount in exchange for a collateral asset (heldMarket) at\n * a favorable spread. However, since the liquidAccount has no collateral assets, the collateral must come from\n * DolomiteMargin's excess tokens.\n */\n struct VaporizeArgs {\n Types.AssetAmount amount;\n Account.Info solidAccount;\n Account.Info vaporAccount;\n uint256 owedMarket;\n uint256 heldMarket;\n }\n\n /*\n * Passes arbitrary bytes of data to an external contract that implements the Callee interface.\n * Does not change any asset amounts. This function may be useful for setting certain variables\n * on layer-two contracts for certain accounts without having to make a separate Ethereum\n * transaction for doing so. Also, the second-layer contracts can ensure that the call is coming\n * from an operator of the particular account.\n */\n struct CallArgs {\n Account.Info account;\n address callee;\n bytes data;\n }\n\n // ============ Helper Functions ============\n\n function getMarketLayout(\n ActionType actionType\n )\n internal\n pure\n returns (MarketLayout)\n {\n if (\n actionType == Actions.ActionType.Deposit\n || actionType == Actions.ActionType.Withdraw\n || actionType == Actions.ActionType.Transfer\n ) {\n return MarketLayout.OneMarket;\n }\n else if (actionType == Actions.ActionType.Call) {\n return MarketLayout.ZeroMarkets;\n }\n return MarketLayout.TwoMarkets;\n }\n\n function getAccountLayout(\n ActionType actionType\n )\n internal\n pure\n returns (AccountLayout)\n {\n if (\n actionType == Actions.ActionType.Transfer\n || actionType == Actions.ActionType.Trade\n ) {\n return AccountLayout.TwoPrimary;\n } else if (\n actionType == Actions.ActionType.Liquidate\n || actionType == Actions.ActionType.Vaporize\n ) {\n return AccountLayout.PrimaryAndSecondary;\n }\n return AccountLayout.OnePrimary;\n }\n\n // ============ Parsing Functions ============\n\n function parseDepositArgs(\n Account.Info[] memory accounts,\n ActionArgs memory args\n )\n internal\n pure\n returns (DepositArgs memory)\n {\n return DepositArgs({\n amount: args.amount,\n account: accounts[args.accountId],\n market: args.primaryMarketId,\n from: args.otherAddress\n });\n }\n\n function parseWithdrawArgs(\n Account.Info[] memory accounts,\n ActionArgs memory args\n )\n internal\n pure\n returns (WithdrawArgs memory)\n {\n return WithdrawArgs({\n amount: args.amount,\n account: accounts[args.accountId],\n market: args.primaryMarketId,\n to: args.otherAddress\n });\n }\n\n function parseTransferArgs(\n Account.Info[] memory accounts,\n ActionArgs memory args\n )\n internal\n pure\n returns (TransferArgs memory)\n {\n return TransferArgs({\n amount: args.amount,\n accountOne: accounts[args.accountId],\n accountTwo: accounts[args.otherAccountId],\n market: args.primaryMarketId\n });\n }\n\n function parseBuyArgs(\n Account.Info[] memory accounts,\n ActionArgs memory args\n )\n internal\n pure\n returns (BuyArgs memory)\n {\n return BuyArgs({\n amount: args.amount,\n account: accounts[args.accountId],\n makerMarket: args.primaryMarketId,\n takerMarket: args.secondaryMarketId,\n exchangeWrapper: args.otherAddress,\n orderData: args.data\n });\n }\n\n function parseSellArgs(\n Account.Info[] memory accounts,\n ActionArgs memory args\n )\n internal\n pure\n returns (SellArgs memory)\n {\n return SellArgs({\n amount: args.amount,\n account: accounts[args.accountId],\n takerMarket: args.primaryMarketId,\n makerMarket: args.secondaryMarketId,\n exchangeWrapper: args.otherAddress,\n orderData: args.data\n });\n }\n\n function parseTradeArgs(\n Account.Info[] memory accounts,\n ActionArgs memory args\n )\n internal\n pure\n returns (TradeArgs memory)\n {\n return TradeArgs({\n amount: args.amount,\n takerAccount: accounts[args.accountId],\n makerAccount: accounts[args.otherAccountId],\n inputMarket: args.primaryMarketId,\n outputMarket: args.secondaryMarketId,\n autoTrader: args.otherAddress,\n tradeData: args.data\n });\n }\n\n function parseLiquidateArgs(\n Account.Info[] memory accounts,\n ActionArgs memory args\n )\n internal\n pure\n returns (LiquidateArgs memory)\n {\n return LiquidateArgs({\n amount: args.amount,\n solidAccount: accounts[args.accountId],\n liquidAccount: accounts[args.otherAccountId],\n owedMarket: args.primaryMarketId,\n heldMarket: args.secondaryMarketId\n });\n }\n\n function parseVaporizeArgs(\n Account.Info[] memory accounts,\n ActionArgs memory args\n )\n internal\n pure\n returns (VaporizeArgs memory)\n {\n return VaporizeArgs({\n amount: args.amount,\n solidAccount: accounts[args.accountId],\n vaporAccount: accounts[args.otherAccountId],\n owedMarket: args.primaryMarketId,\n heldMarket: args.secondaryMarketId\n });\n }\n\n function parseCallArgs(\n Account.Info[] memory accounts,\n ActionArgs memory args\n )\n internal\n pure\n returns (CallArgs memory)\n {\n return CallArgs({\n account: accounts[args.accountId],\n callee: args.otherAddress,\n data: args.data\n });\n }\n}\n",
10
- "sourcePath": "/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Actions.sol",
10
+ "sourcePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Actions.sol",
11
11
  "ast": {
12
- "absolutePath": "/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Actions.sol",
12
+ "absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Actions.sol",
13
13
  "exportedSymbols": {
14
14
  "Actions": [
15
15
  28362
@@ -39,7 +39,7 @@
39
39
  "src": "627:33:66"
40
40
  },
41
41
  {
42
- "absolutePath": "/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Account.sol",
42
+ "absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Account.sol",
43
43
  "file": "./Account.sol",
44
44
  "id": 27898,
45
45
  "nodeType": "ImportDirective",
@@ -55,7 +55,7 @@
55
55
  "unitAlias": ""
56
56
  },
57
57
  {
58
- "absolutePath": "/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Types.sol",
58
+ "absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Types.sol",
59
59
  "file": "./Types.sol",
60
60
  "id": 27900,
61
61
  "nodeType": "ImportDirective",
@@ -6259,7 +6259,7 @@
6259
6259
  "src": "603:12029:66"
6260
6260
  },
6261
6261
  "legacyAST": {
6262
- "absolutePath": "/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Actions.sol",
6262
+ "absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Actions.sol",
6263
6263
  "exportedSymbols": {
6264
6264
  "Actions": [
6265
6265
  28362
@@ -6289,7 +6289,7 @@
6289
6289
  "src": "627:33:66"
6290
6290
  },
6291
6291
  {
6292
- "absolutePath": "/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Account.sol",
6292
+ "absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Account.sol",
6293
6293
  "file": "./Account.sol",
6294
6294
  "id": 27898,
6295
6295
  "nodeType": "ImportDirective",
@@ -6305,7 +6305,7 @@
6305
6305
  "unitAlias": ""
6306
6306
  },
6307
6307
  {
6308
- "absolutePath": "/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Types.sol",
6308
+ "absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Types.sol",
6309
6309
  "file": "./Types.sol",
6310
6310
  "id": 27900,
6311
6311
  "nodeType": "ImportDirective",
@@ -12514,7 +12514,7 @@
12514
12514
  },
12515
12515
  "networks": {},
12516
12516
  "schemaVersion": "3.0.23",
12517
- "updatedAt": "2022-01-28T09:46:02.866Z",
12517
+ "updatedAt": "2022-01-29T00:31:29.949Z",
12518
12518
  "devdoc": {
12519
12519
  "author": "dYdX * Library that defines and parses valid Actions",
12520
12520
  "methods": {},
@@ -2130,7 +2130,7 @@
2130
2130
  },
2131
2131
  "networks": {},
2132
2132
  "schemaVersion": "3.0.23",
2133
- "updatedAt": "2022-01-28T09:46:03.073Z",
2133
+ "updatedAt": "2022-01-29T00:31:30.240Z",
2134
2134
  "devdoc": {
2135
2135
  "details": "Collection of functions related to the address type",
2136
2136
  "methods": {}