@dolomite-exchange/dolomite-margin 0.2.3 → 0.2.4

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 (134) hide show
  1. package/build/contracts/Account.json +1 -1
  2. package/build/contracts/Actions.json +1 -1
  3. package/build/contracts/Address.json +1 -1
  4. package/build/contracts/Admin.json +1 -1
  5. package/build/contracts/AdminImpl.json +1 -1
  6. package/build/contracts/AdvancedMath.json +1 -1
  7. package/build/contracts/AmmRebalancerProxy.json +1 -1
  8. package/build/contracts/Babylonian.json +1 -1
  9. package/build/contracts/Bits.json +1 -1
  10. package/build/contracts/Cache.json +1 -1
  11. package/build/contracts/ChainlinkPriceOracleV1.json +1 -1
  12. package/build/contracts/Context.json +1 -1
  13. package/build/contracts/CustomTestToken.json +1 -1
  14. package/build/contracts/Decimal.json +1 -1
  15. package/build/contracts/DelayedMultiSig.json +1 -1
  16. package/build/contracts/DolomiteAmmERC20.json +1 -1
  17. package/build/contracts/DolomiteAmmFactory.json +1 -1
  18. package/build/contracts/DolomiteAmmLibrary.json +1 -1
  19. package/build/contracts/DolomiteAmmPair.json +1 -1
  20. package/build/contracts/DolomiteAmmRouterProxy.json +1 -1
  21. package/build/contracts/DolomiteMargin.json +11 -2
  22. package/build/contracts/DoubleExponentInterestSetter.json +1 -1
  23. package/build/contracts/EnumerableSet.json +1 -1
  24. package/build/contracts/ErroringOmiseToken.json +1 -1
  25. package/build/contracts/ErroringToken.json +1 -1
  26. package/build/contracts/Events.json +1 -1
  27. package/build/contracts/Exchange.json +1 -1
  28. package/build/contracts/Expiry.json +140 -1
  29. package/build/contracts/Getters.json +1 -1
  30. package/build/contracts/IAutoTrader.json +1 -1
  31. package/build/contracts/ICallee.json +1 -1
  32. package/build/contracts/IChainlinkAggregator.json +1 -1
  33. package/build/contracts/IDolomiteAmmERC20.json +1 -1
  34. package/build/contracts/IDolomiteAmmFactory.json +1 -1
  35. package/build/contracts/IDolomiteAmmPair.json +1 -1
  36. package/build/contracts/IDolomiteMargin.json +1 -1
  37. package/build/contracts/IERC20.json +1 -1
  38. package/build/contracts/IERC20Detailed.json +1 -1
  39. package/build/contracts/IExchangeWrapper.json +1 -1
  40. package/build/contracts/IExpiry.json +1 -1
  41. package/build/contracts/IInterestSetter.json +1 -1
  42. package/build/contracts/ILiquidationCallback.json +1 -1
  43. package/build/contracts/IMakerOracle.json +1 -1
  44. package/build/contracts/IOasisDex.json +1 -1
  45. package/build/contracts/IPriceOracle.json +1 -1
  46. package/build/contracts/IRecyclable.json +1 -1
  47. package/build/contracts/ITransferProxy.json +1 -1
  48. package/build/contracts/IUniswapV2Callee.json +1 -1
  49. package/build/contracts/IUniswapV2Factory.json +1 -1
  50. package/build/contracts/IUniswapV2Pair.json +1 -1
  51. package/build/contracts/IUniswapV2Router.json +1 -1
  52. package/build/contracts/IWETH.json +1 -1
  53. package/build/contracts/Interest.json +1 -1
  54. package/build/contracts/LiquidateOrVaporizeImpl.json +1 -1
  55. package/build/contracts/LiquidatorProxyHelper.json +1 -1
  56. package/build/contracts/LiquidatorProxyV1.json +1 -1
  57. package/build/contracts/LiquidatorProxyV1WithAmm.json +1 -1
  58. package/build/contracts/Math.json +1 -1
  59. package/build/contracts/Migrations.json +1 -1
  60. package/build/contracts/Monetary.json +1 -1
  61. package/build/contracts/MultiCall.json +1 -1
  62. package/build/contracts/MultiSig.json +1 -1
  63. package/build/contracts/OmiseToken.json +1 -1
  64. package/build/contracts/OnlyDolomiteMargin.json +1 -1
  65. package/build/contracts/Operation.json +1 -1
  66. package/build/contracts/OperationImpl.json +1 -1
  67. package/build/contracts/Ownable.json +1 -1
  68. package/build/contracts/PartiallyDelayedMultiSig.json +1 -1
  69. package/build/contracts/PayableProxy.json +1 -1
  70. package/build/contracts/Permission.json +1 -1
  71. package/build/contracts/PolynomialInterestSetter.json +1 -1
  72. package/build/contracts/RecyclableTokenProxy.json +1 -1
  73. package/build/contracts/ReentrancyGuard.json +1 -1
  74. package/build/contracts/Require.json +1 -1
  75. package/build/contracts/SafeERC20.json +1 -1
  76. package/build/contracts/SafeETH.json +1 -1
  77. package/build/contracts/SafeMath.json +1 -1
  78. package/build/contracts/SignedOperationProxy.json +1 -1
  79. package/build/contracts/SimpleFeeOwner.json +1 -1
  80. package/build/contracts/State.json +1 -1
  81. package/build/contracts/Storage.json +1 -1
  82. package/build/contracts/TestAmmRebalancerProxy.json +1 -1
  83. package/build/contracts/TestAutoTrader.json +1 -1
  84. package/build/contracts/TestBtcUsdChainlinkAggregator.json +1 -1
  85. package/build/contracts/TestCallee.json +1 -1
  86. package/build/contracts/TestChainlinkPriceOracleV1.json +1 -1
  87. package/build/contracts/TestCounter.json +1 -1
  88. package/build/contracts/TestDaiUsdChainlinkAggregator.json +1 -1
  89. package/build/contracts/TestDolomiteMargin.json +1 -1
  90. package/build/contracts/TestDoubleExponentInterestSetter.json +1 -1
  91. package/build/contracts/TestEthUsdChainlinkAggregator.json +1 -1
  92. package/build/contracts/TestExchangeWrapper.json +1 -1
  93. package/build/contracts/TestInterestSetter.json +1 -1
  94. package/build/contracts/TestLib.json +1 -1
  95. package/build/contracts/TestLinkUsdChainlinkAggregator.json +1 -1
  96. package/build/contracts/TestLiquidateCallback.json +1 -1
  97. package/build/contracts/TestLrcEthChainlinkAggregator.json +1 -1
  98. package/build/contracts/TestMakerOracle.json +1 -1
  99. package/build/contracts/TestMaticUsdChainlinkAggregator.json +1 -1
  100. package/build/contracts/TestOasisDex.json +1 -1
  101. package/build/contracts/TestOperationImpl.json +1 -1
  102. package/build/contracts/TestPolynomialInterestSetter.json +1 -1
  103. package/build/contracts/TestPriceAggregator.json +1 -1
  104. package/build/contracts/TestPriceOracle.json +1 -1
  105. package/build/contracts/TestRecyclableToken.json +1 -1
  106. package/build/contracts/TestSimpleCallee.json +1 -1
  107. package/build/contracts/TestToken.json +1 -1
  108. package/build/contracts/TestTrader.json +1 -1
  109. package/build/contracts/TestUniswapAmmRebalancerProxy.json +1 -1
  110. package/build/contracts/TestUsdcUsdChainlinkAggregator.json +1 -1
  111. package/build/contracts/TestWETH.json +1 -1
  112. package/build/contracts/Time.json +1 -1
  113. package/build/contracts/Token.json +1 -1
  114. package/build/contracts/TokenA.json +1 -1
  115. package/build/contracts/TokenB.json +1 -1
  116. package/build/contracts/TokenC.json +1 -1
  117. package/build/contracts/TokenD.json +1 -1
  118. package/build/contracts/TokenE.json +1 -1
  119. package/build/contracts/TokenF.json +1 -1
  120. package/build/contracts/TransferProxy.json +1 -1
  121. package/build/contracts/TypedSignature.json +1 -1
  122. package/build/contracts/Types.json +1 -1
  123. package/build/contracts/UQ112x112.json +1 -1
  124. package/build/contracts/UniswapV2ERC20.json +1 -1
  125. package/build/contracts/UniswapV2Factory.json +1 -1
  126. package/build/contracts/UniswapV2Library.json +1 -1
  127. package/build/contracts/UniswapV2Pair.json +1 -1
  128. package/build/contracts/UniswapV2Router02.json +1 -1
  129. package/build/contracts/WETH9.json +1 -1
  130. package/dist/src/modules/operate/AccountOperation.js +1 -3
  131. package/dist/src/modules/operate/AccountOperation.js.map +1 -1
  132. package/dist/src/types.d.ts +0 -1
  133. package/dist/src/types.js.map +1 -1
  134. package/package.json +3 -2
@@ -393,7 +393,7 @@
393
393
  },
394
394
  "networks": {},
395
395
  "schemaVersion": "3.0.23",
396
- "updatedAt": "2022-01-29T00:31:29.787Z",
396
+ "updatedAt": "2022-01-29T21:54:40.854Z",
397
397
  "devdoc": {
398
398
  "methods": {}
399
399
  },
@@ -1803,7 +1803,7 @@
1803
1803
  },
1804
1804
  "networks": {},
1805
1805
  "schemaVersion": "3.0.23",
1806
- "updatedAt": "2022-01-29T00:31:29.795Z",
1806
+ "updatedAt": "2022-01-29T21:54:40.855Z",
1807
1807
  "devdoc": {
1808
1808
  "methods": {}
1809
1809
  },
@@ -6402,7 +6402,7 @@
6402
6402
  },
6403
6403
  "networks": {},
6404
6404
  "schemaVersion": "3.0.23",
6405
- "updatedAt": "2022-01-29T00:31:29.797Z",
6405
+ "updatedAt": "2022-01-29T21:54:40.858Z",
6406
6406
  "devdoc": {
6407
6407
  "methods": {}
6408
6408
  },
@@ -8396,7 +8396,7 @@
8396
8396
  },
8397
8397
  "networks": {},
8398
8398
  "schemaVersion": "3.0.23",
8399
- "updatedAt": "2022-01-29T00:31:29.368Z",
8399
+ "updatedAt": "2022-01-29T21:54:40.523Z",
8400
8400
  "devdoc": {
8401
8401
  "methods": {}
8402
8402
  },
@@ -525,7 +525,7 @@
525
525
  },
526
526
  "networks": {},
527
527
  "schemaVersion": "3.0.23",
528
- "updatedAt": "2022-01-29T00:31:29.799Z",
528
+ "updatedAt": "2022-01-29T21:54:40.860Z",
529
529
  "devdoc": {
530
530
  "methods": {}
531
531
  },
@@ -8636,7 +8636,7 @@
8636
8636
  },
8637
8637
  "networks": {},
8638
8638
  "schemaVersion": "3.0.23",
8639
- "updatedAt": "2022-01-29T00:31:29.990Z",
8639
+ "updatedAt": "2022-01-29T21:54:41.024Z",
8640
8640
  "devdoc": {
8641
8641
  "author": "dYdX * Library for managing the interest rate and interest indexes of DolomiteMargin",
8642
8642
  "methods": {},
@@ -23077,7 +23077,7 @@
23077
23077
  }
23078
23078
  },
23079
23079
  "schemaVersion": "3.0.23",
23080
- "updatedAt": "2022-01-29T00:31:29.882Z",
23080
+ "updatedAt": "2022-01-29T21:54:40.928Z",
23081
23081
  "devdoc": {
23082
23082
  "methods": {}
23083
23083
  },
@@ -13944,7 +13944,7 @@
13944
13944
  },
13945
13945
  "networks": {},
13946
13946
  "schemaVersion": "3.0.23",
13947
- "updatedAt": "2022-01-29T00:31:29.330Z",
13947
+ "updatedAt": "2022-01-29T21:54:40.493Z",
13948
13948
  "devdoc": {
13949
13949
  "author": "Dolomite * Inheritable contract that allows sharing code across different liquidator proxy contracts",
13950
13950
  "methods": {},
@@ -29120,7 +29120,7 @@
29120
29120
  }
29121
29121
  },
29122
29122
  "schemaVersion": "3.0.23",
29123
- "updatedAt": "2022-01-29T00:31:29.520Z",
29123
+ "updatedAt": "2022-01-29T21:54:40.648Z",
29124
29124
  "devdoc": {
29125
29125
  "author": "dYdX * Contract for liquidating other accounts in DolomiteMargin.",
29126
29126
  "methods": {
@@ -30581,7 +30581,7 @@
30581
30581
  }
30582
30582
  },
30583
30583
  "schemaVersion": "3.0.23",
30584
- "updatedAt": "2022-01-29T00:31:29.564Z",
30584
+ "updatedAt": "2022-01-29T21:54:40.681Z",
30585
30585
  "devdoc": {
30586
30586
  "author": "Dolomite * Contract for liquidating other accounts in DolomiteMargin.",
30587
30587
  "methods": {
@@ -1874,7 +1874,7 @@
1874
1874
  },
1875
1875
  "networks": {},
1876
1876
  "schemaVersion": "3.0.23",
1877
- "updatedAt": "2022-01-29T00:31:29.996Z",
1877
+ "updatedAt": "2022-01-29T21:54:41.027Z",
1878
1878
  "devdoc": {
1879
1879
  "details": "Standard math utilities missing in the Solidity language.",
1880
1880
  "methods": {}
@@ -1412,7 +1412,7 @@
1412
1412
  }
1413
1413
  },
1414
1414
  "schemaVersion": "3.0.23",
1415
- "updatedAt": "2022-01-29T00:31:29.270Z",
1415
+ "updatedAt": "2022-01-29T21:54:40.438Z",
1416
1416
  "devdoc": {
1417
1417
  "methods": {}
1418
1418
  },
@@ -262,7 +262,7 @@
262
262
  },
263
263
  "networks": {},
264
264
  "schemaVersion": "3.0.23",
265
- "updatedAt": "2022-01-29T00:31:29.997Z",
265
+ "updatedAt": "2022-01-29T21:54:41.028Z",
266
266
  "devdoc": {
267
267
  "author": "dYdX * Library for types involving money",
268
268
  "methods": {},
@@ -8465,7 +8465,7 @@
8465
8465
  }
8466
8466
  },
8467
8467
  "schemaVersion": "3.0.23",
8468
- "updatedAt": "2022-01-29T00:31:29.815Z",
8468
+ "updatedAt": "2022-01-29T21:54:40.870Z",
8469
8469
  "devdoc": {
8470
8470
  "author": "Michael Elliot <mike@makerdao.com>Joshua Levine <joshua@makerdao.com>Nick Johnson <arachnid@notdot.net>Corey Caplan <corey@dolomite.io>",
8471
8471
  "methods": {},
@@ -26478,7 +26478,7 @@
26478
26478
  },
26479
26479
  "networks": {},
26480
26480
  "schemaVersion": "3.0.23",
26481
- "updatedAt": "2022-01-29T00:31:29.401Z",
26481
+ "updatedAt": "2022-01-29T21:54:40.558Z",
26482
26482
  "devdoc": {
26483
26483
  "author": "dYdX * Multi-Signature Wallet. Allows multiple parties to agree on transactions before execution. Adapted from Stefan George's MultiSigWallet contract. * Logic Changes: - Removed the fallback function - Ensure newOwner is notNull * Syntax Changes: - Update Solidity syntax for 0.5.X: use `emit` keyword (events), use `view` keyword (functions) - Add braces to all `if` and `for` statements - Remove named return variables - Add space before and after comparison operators - Add ADDRESS_ZERO as a constant - uint => uint256 - external_call => externalCall",
26484
26484
  "methods": {
@@ -8146,7 +8146,7 @@
8146
8146
  }
8147
8147
  },
8148
8148
  "schemaVersion": "3.0.23",
8149
- "updatedAt": "2022-01-29T00:31:30.072Z",
8149
+ "updatedAt": "2022-01-29T21:54:41.087Z",
8150
8150
  "devdoc": {
8151
8151
  "methods": {}
8152
8152
  },
@@ -1134,7 +1134,7 @@
1134
1134
  },
1135
1135
  "networks": {},
1136
1136
  "schemaVersion": "3.0.23",
1137
- "updatedAt": "2022-01-29T00:31:29.336Z",
1137
+ "updatedAt": "2022-01-29T21:54:40.498Z",
1138
1138
  "devdoc": {
1139
1139
  "author": "Dolomite * Inheritable contract that restricts the calling of certain functions to DolomiteMargin only",
1140
1140
  "methods": {},
@@ -923,7 +923,7 @@
923
923
  },
924
924
  "networks": {},
925
925
  "schemaVersion": "3.0.23",
926
- "updatedAt": "2022-01-29T00:31:29.849Z",
926
+ "updatedAt": "2022-01-29T21:54:40.901Z",
927
927
  "devdoc": {
928
928
  "author": "dYdX * Primary public function for allowing users and contracts to manage accounts within DolomiteMargin",
929
929
  "methods": {
@@ -39735,7 +39735,7 @@
39735
39735
  }
39736
39736
  },
39737
39737
  "schemaVersion": "3.0.23",
39738
- "updatedAt": "2022-01-29T00:31:29.903Z",
39738
+ "updatedAt": "2022-01-29T21:54:40.948Z",
39739
39739
  "devdoc": {
39740
39740
  "author": "dYdX * Logic for processing actions",
39741
39741
  "methods": {},
@@ -3064,7 +3064,7 @@
3064
3064
  },
3065
3065
  "networks": {},
3066
3066
  "schemaVersion": "3.0.23",
3067
- "updatedAt": "2022-01-29T00:31:30.233Z",
3067
+ "updatedAt": "2022-01-29T21:54:41.228Z",
3068
3068
  "devdoc": {
3069
3069
  "details": "Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be granted exclusive access to specific functions. * This module is used through inheritance. It will make available the modifier `onlyOwner`, which can be applied to your functions to restrict their use to the owner.",
3070
3070
  "methods": {
@@ -6599,7 +6599,7 @@
6599
6599
  },
6600
6600
  "networks": {},
6601
6601
  "schemaVersion": "3.0.23",
6602
- "updatedAt": "2022-01-29T00:31:29.413Z",
6602
+ "updatedAt": "2022-01-29T21:54:40.569Z",
6603
6603
  "devdoc": {
6604
6604
  "author": "dYdX * Multi-Signature Wallet with delay in execution except for some function selectors.",
6605
6605
  "methods": {
@@ -5649,7 +5649,7 @@
5649
5649
  }
5650
5650
  },
5651
5651
  "schemaVersion": "3.0.23",
5652
- "updatedAt": "2022-01-29T00:31:29.597Z",
5652
+ "updatedAt": "2022-01-29T21:54:40.711Z",
5653
5653
  "devdoc": {
5654
5654
  "author": "dYdX * Contract for wrapping/unwrapping ETH before/after interacting with DolomiteMargin",
5655
5655
  "methods": {},
@@ -1779,7 +1779,7 @@
1779
1779
  },
1780
1780
  "networks": {},
1781
1781
  "schemaVersion": "3.0.23",
1782
- "updatedAt": "2022-01-29T00:31:29.850Z",
1782
+ "updatedAt": "2022-01-29T21:54:40.903Z",
1783
1783
  "devdoc": {
1784
1784
  "author": "dYdX * Public function that allows other addresses to manage accounts",
1785
1785
  "methods": {
@@ -6659,7 +6659,7 @@
6659
6659
  },
6660
6660
  "networks": {},
6661
6661
  "schemaVersion": "3.0.23",
6662
- "updatedAt": "2022-01-29T00:31:29.346Z",
6662
+ "updatedAt": "2022-01-29T21:54:40.505Z",
6663
6663
  "devdoc": {
6664
6664
  "author": "dYdX * Interest setter that sets interest based on a polynomial of the usage percentage of the market.",
6665
6665
  "methods": {
@@ -32750,7 +32750,7 @@
32750
32750
  },
32751
32751
  "networks": {},
32752
32752
  "schemaVersion": "3.0.23",
32753
- "updatedAt": "2022-01-29T00:31:29.618Z",
32753
+ "updatedAt": "2022-01-29T21:54:40.722Z",
32754
32754
  "devdoc": {
32755
32755
  "author": "Dolomite * Contract for wrapping around tokens to control how they are deposited into DolomiteMargin, to be combined with \"market recycling\" so \"throwaway tokens\" like options contracts that are represented as tokens can be used with the protocol and their market IDs can be safely reclaimed. * This contract works by serving as a proxy account for a user. Meaning, a user deposits funds into DolomiteMargin using this contract's address as the `owner` and the user's address (converted to a uint) as the `number`. As a consequence and tradeoff, users can only have one margin position open per instance of this contract (per option token). * The reason why this contract works well with a recycling strategy is because all usages of the instance's `marketId` are confined to this address as the `owner`. So, if the `marketId` is reused, it doesn't impact the user's balance, since a new instance of `RecyclableTokenProxy` will be deployed for the recycled marketId. Then, the new instance of `RecyclableTokenProxy` would serve as the new address for the user to interact with DolomiteMargin, masking/hiding the user's old (potentially) non-zero balance for that `marketId`. As a visualization, balances are mapped like so: * `owner` --> `accountNumber` --> `marketId` * `owner` corresponds with `address(this)`, `accountNumber` is the user's address, and `marketId` is recycled. * Since `owner` constantly chances, the value of the mapping is able to reset, each time DolomiteMargin recycles a market. * NOTE: Contracts that reference this token and implement IExchangeWrapper must set an allowance for this contract to spend `TOKEN` on the IExchangeWrapper implementor (TOKEN.approve(RecyclableTokenProxy, uint(-1)); call from IExchangeWrapper). * Another note on balances: Part of the idea behind the implementation is to restrict usage of the recyclable token to only be held in `address(this)` owner address / Account.Info. The only time this marketId may reside in an `owner` that is NOT this contract is after a liquidation. This should not matter though, since the liquidator will withdraw the token to sell all of it for the owed collateral. So, after the liquidation transaction is over, the liquidator should have a zero balance anyway. Keeping the this token in the liquidators DolomiteMargin account, would cause catastrophic issues for the protocol when the `marketId` is recycled, since the liquidator's balance would be dirty upon reuse of the `marketId`. To mitigate this issue, a special liquidation contract should be created that purposely performs a withdrawal (down to zero) of this recyclable token's underlying `TOKEN`. Even if an implementing liquidation contract messes this up, there is a check done in `OperationImpl._verifyFinalState` that prevents this from happening.",
32756
32756
  "methods": {
@@ -737,7 +737,7 @@
737
737
  },
738
738
  "networks": {},
739
739
  "schemaVersion": "3.0.23",
740
- "updatedAt": "2022-01-29T00:31:30.241Z",
740
+ "updatedAt": "2022-01-29T21:54:41.235Z",
741
741
  "devdoc": {
742
742
  "details": "Contract module that helps prevent reentrant calls to a function. * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier available, which can be applied to functions to make sure there are no nested (reentrant) calls to them. * Note that because there is a single `nonReentrant` guard, functions marked as `nonReentrant` may not call one another. This can be worked around by making those functions `private`, and then adding `external` `nonReentrant` entry points to them. * TIP: If you would like to learn more about reentrancy and alternative ways to protect against it, check out our blog post https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. * _Since v2.5.0:_ this module is now much more gas efficient, given net gas metering changes introduced in the Istanbul hardfork.",
743
743
  "methods": {}
@@ -19670,7 +19670,7 @@
19670
19670
  },
19671
19671
  "networks": {},
19672
19672
  "schemaVersion": "3.0.23",
19673
- "updatedAt": "2022-01-29T00:31:30.005Z",
19673
+ "updatedAt": "2022-01-29T21:54:41.033Z",
19674
19674
  "devdoc": {
19675
19675
  "author": "dYdX * Stringifies parameters to pretty-print revert messages. Costs more gas than regular require()",
19676
19676
  "methods": {},
@@ -6386,7 +6386,7 @@
6386
6386
  },
6387
6387
  "networks": {},
6388
6388
  "schemaVersion": "3.0.23",
6389
- "updatedAt": "2022-01-29T00:31:30.238Z",
6389
+ "updatedAt": "2022-01-29T21:54:41.231Z",
6390
6390
  "devdoc": {
6391
6391
  "details": "Wrappers around ERC20 operations that throw on failure (when the token contract returns false). Tokens that return no value (and instead revert or throw on failure) are also supported, non-reverting calls are assumed to be successful. To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract, which allows you to call the safe operations as `token.safeTransfer(...)`, etc.",
6392
6392
  "methods": {},
@@ -842,7 +842,7 @@
842
842
  },
843
843
  "networks": {},
844
844
  "schemaVersion": "3.0.23",
845
- "updatedAt": "2022-01-29T00:31:29.800Z",
845
+ "updatedAt": "2022-01-29T21:54:40.861Z",
846
846
  "devdoc": {
847
847
  "methods": {}
848
848
  },
@@ -4882,7 +4882,7 @@
4882
4882
  },
4883
4883
  "networks": {},
4884
4884
  "schemaVersion": "3.0.23",
4885
- "updatedAt": "2022-01-29T00:31:30.231Z",
4885
+ "updatedAt": "2022-01-29T21:54:41.226Z",
4886
4886
  "devdoc": {
4887
4887
  "details": "Wrappers over Solidity's arithmetic operations with added overflow checks. * Arithmetic operations in Solidity wrap on overflow. This can easily result in bugs, because programmers usually assume that an overflow raises an error, which is the standard behavior in high level programming languages. `SafeMath` restores this intuition by reverting the transaction when an operation overflows. * Using this library instead of the unchecked operations eliminates an entire class of bugs, so it's recommended to use it always.",
4888
4888
  "methods": {}
@@ -23087,7 +23087,7 @@
23087
23087
  }
23088
23088
  },
23089
23089
  "schemaVersion": "3.0.23",
23090
- "updatedAt": "2022-01-29T00:31:29.647Z",
23090
+ "updatedAt": "2022-01-29T21:54:40.739Z",
23091
23091
  "devdoc": {
23092
23092
  "author": "dYdX * Contract for sending operations on behalf of others",
23093
23093
  "methods": {
@@ -9390,7 +9390,7 @@
9390
9390
  }
9391
9391
  },
9392
9392
  "schemaVersion": "3.0.23",
9393
- "updatedAt": "2022-01-29T00:31:29.322Z",
9393
+ "updatedAt": "2022-01-29T21:54:40.486Z",
9394
9394
  "devdoc": {
9395
9395
  "methods": {
9396
9396
  "isOwner()": {
@@ -202,7 +202,7 @@
202
202
  },
203
203
  "networks": {},
204
204
  "schemaVersion": "3.0.23",
205
- "updatedAt": "2022-01-29T00:31:29.852Z",
205
+ "updatedAt": "2022-01-29T21:54:40.904Z",
206
206
  "devdoc": {
207
207
  "author": "dYdX * Base-level contract that holds the state of DolomiteMargin",
208
208
  "methods": {},
@@ -45844,7 +45844,7 @@
45844
45844
  },
45845
45845
  "networks": {},
45846
45846
  "schemaVersion": "3.0.23",
45847
- "updatedAt": "2022-01-29T00:31:30.032Z",
45847
+ "updatedAt": "2022-01-29T21:54:41.056Z",
45848
45848
  "devdoc": {
45849
45849
  "author": "dYdX * Functions for reading, writing, and verifying state in DolomiteMargin",
45850
45850
  "methods": {},
@@ -12597,7 +12597,7 @@
12597
12597
  }
12598
12598
  },
12599
12599
  "schemaVersion": "3.0.23",
12600
- "updatedAt": "2022-01-29T00:31:30.078Z",
12600
+ "updatedAt": "2022-01-29T21:54:41.092Z",
12601
12601
  "devdoc": {
12602
12602
  "details": "The difference between this contract and `AmmRebalancerProxy` is this does not rebalance using arbitrage with another DEX. Instead, it simply swaps to price using msg.sender's funds.",
12603
12603
  "methods": {
@@ -12071,7 +12071,7 @@
12071
12071
  }
12072
12072
  },
12073
12073
  "schemaVersion": "3.0.23",
12074
- "updatedAt": "2022-01-29T00:31:30.087Z",
12074
+ "updatedAt": "2022-01-29T21:54:41.104Z",
12075
12075
  "devdoc": {
12076
12076
  "author": "dYdX * IAutoTrader for testing",
12077
12077
  "methods": {},
@@ -353,7 +353,7 @@
353
353
  }
354
354
  },
355
355
  "schemaVersion": "3.0.23",
356
- "updatedAt": "2022-01-29T00:31:30.091Z",
356
+ "updatedAt": "2022-01-29T21:54:41.108Z",
357
357
  "devdoc": {
358
358
  "details": "Gets the latest price from the Chainlink Oracle Network. Amount of decimals depends on the base.",
359
359
  "methods": {}
@@ -3504,7 +3504,7 @@
3504
3504
  }
3505
3505
  },
3506
3506
  "schemaVersion": "3.0.23",
3507
- "updatedAt": "2022-01-29T00:31:30.094Z",
3507
+ "updatedAt": "2022-01-29T21:54:41.110Z",
3508
3508
  "devdoc": {
3509
3509
  "author": "dYdX * ICallee for testing",
3510
3510
  "methods": {},
@@ -3669,7 +3669,7 @@
3669
3669
  },
3670
3670
  "networks": {},
3671
3671
  "schemaVersion": "3.0.23",
3672
- "updatedAt": "2022-01-29T00:31:29.424Z",
3672
+ "updatedAt": "2022-01-29T21:54:40.579Z",
3673
3673
  "devdoc": {
3674
3674
  "author": "Dolomite * An implementation of the dYdX IPriceOracle interface that makes Chainlink prices compatible with the protocol.",
3675
3675
  "methods": {
@@ -1421,7 +1421,7 @@
1421
1421
  },
1422
1422
  "networks": {},
1423
1423
  "schemaVersion": "3.0.23",
1424
- "updatedAt": "2022-01-29T00:31:30.096Z",
1424
+ "updatedAt": "2022-01-29T21:54:41.111Z",
1425
1425
  "devdoc": {
1426
1426
  "author": "dYdX * Counts function calls for testing",
1427
1427
  "methods": {},
@@ -353,7 +353,7 @@
353
353
  }
354
354
  },
355
355
  "schemaVersion": "3.0.23",
356
- "updatedAt": "2022-01-29T00:31:30.097Z",
356
+ "updatedAt": "2022-01-29T21:54:41.112Z",
357
357
  "devdoc": {
358
358
  "details": "Gets the latest price from the Chainlink Oracle Network. Amount of decimals depends on the base.",
359
359
  "methods": {}
@@ -5219,7 +5219,7 @@
5219
5219
  }
5220
5220
  },
5221
5221
  "schemaVersion": "3.0.23",
5222
- "updatedAt": "2022-01-29T00:31:30.101Z",
5222
+ "updatedAt": "2022-01-29T21:54:41.116Z",
5223
5223
  "devdoc": {
5224
5224
  "methods": {
5225
5225
  "isOwner()": {
@@ -1078,7 +1078,7 @@
1078
1078
  }
1079
1079
  },
1080
1080
  "schemaVersion": "3.0.23",
1081
- "updatedAt": "2022-01-29T00:31:30.105Z",
1081
+ "updatedAt": "2022-01-29T21:54:41.119Z",
1082
1082
  "devdoc": {
1083
1083
  "author": "dYdX * DoubleExponentInterestSetter for testing",
1084
1084
  "methods": {
@@ -353,7 +353,7 @@
353
353
  }
354
354
  },
355
355
  "schemaVersion": "3.0.23",
356
- "updatedAt": "2022-01-29T00:31:30.107Z",
356
+ "updatedAt": "2022-01-29T21:54:41.120Z",
357
357
  "devdoc": {
358
358
  "details": "Gets the latest price from the Chainlink Oracle Network. Amount of decimals depends on the base.",
359
359
  "methods": {}
@@ -5347,7 +5347,7 @@
5347
5347
  }
5348
5348
  },
5349
5349
  "schemaVersion": "3.0.23",
5350
- "updatedAt": "2022-01-29T00:31:30.110Z",
5350
+ "updatedAt": "2022-01-29T21:54:41.122Z",
5351
5351
  "devdoc": {
5352
5352
  "author": "dYdX * An ExchangeWrapper for testing",
5353
5353
  "methods": {},
@@ -1142,7 +1142,7 @@
1142
1142
  }
1143
1143
  },
1144
1144
  "schemaVersion": "3.0.23",
1145
- "updatedAt": "2022-01-29T00:31:30.115Z",
1145
+ "updatedAt": "2022-01-29T21:54:41.124Z",
1146
1146
  "devdoc": {
1147
1147
  "author": "dYdX * Interest setter used for testing that always returns a constant interest rate",
1148
1148
  "methods": {},
@@ -15357,7 +15357,7 @@
15357
15357
  }
15358
15358
  },
15359
15359
  "schemaVersion": "3.0.23",
15360
- "updatedAt": "2022-01-29T00:31:30.120Z",
15360
+ "updatedAt": "2022-01-29T21:54:41.128Z",
15361
15361
  "devdoc": {
15362
15362
  "author": "dYdX * Contract for testing pure library functions",
15363
15363
  "methods": {},
@@ -353,7 +353,7 @@
353
353
  }
354
354
  },
355
355
  "schemaVersion": "3.0.23",
356
- "updatedAt": "2022-01-29T00:31:30.126Z",
356
+ "updatedAt": "2022-01-29T21:54:41.133Z",
357
357
  "devdoc": {
358
358
  "details": "Gets the latest price from the Chainlink Oracle Network. Amount of decimals depends on the base.",
359
359
  "methods": {}
@@ -3400,7 +3400,7 @@
3400
3400
  },
3401
3401
  "networks": {},
3402
3402
  "schemaVersion": "3.0.23",
3403
- "updatedAt": "2022-01-29T00:31:30.128Z",
3403
+ "updatedAt": "2022-01-29T21:54:41.134Z",
3404
3404
  "devdoc": {
3405
3405
  "methods": {}
3406
3406
  },
@@ -353,7 +353,7 @@
353
353
  }
354
354
  },
355
355
  "schemaVersion": "3.0.23",
356
- "updatedAt": "2022-01-29T00:31:30.130Z",
356
+ "updatedAt": "2022-01-29T21:54:41.136Z",
357
357
  "devdoc": {
358
358
  "details": "Gets the latest price from the Chainlink Oracle Network. Amount of decimals depends on the base.",
359
359
  "methods": {}
@@ -1524,7 +1524,7 @@
1524
1524
  }
1525
1525
  },
1526
1526
  "schemaVersion": "3.0.23",
1527
- "updatedAt": "2022-01-29T00:31:30.132Z",
1527
+ "updatedAt": "2022-01-29T21:54:41.137Z",
1528
1528
  "devdoc": {
1529
1529
  "methods": {}
1530
1530
  },
@@ -353,7 +353,7 @@
353
353
  }
354
354
  },
355
355
  "schemaVersion": "3.0.23",
356
- "updatedAt": "2022-01-29T00:31:30.133Z",
356
+ "updatedAt": "2022-01-29T21:54:41.138Z",
357
357
  "devdoc": {
358
358
  "details": "Gets the latest price from the Chainlink Oracle Network. Amount of decimals depends on the base.",
359
359
  "methods": {}
@@ -74351,7 +74351,7 @@
74351
74351
  }
74352
74352
  },
74353
74353
  "schemaVersion": "3.0.23",
74354
- "updatedAt": "2022-01-29T00:31:30.158Z",
74354
+ "updatedAt": "2022-01-29T21:54:41.161Z",
74355
74355
  "devdoc": {
74356
74356
  "author": "dYdX * Contract for testing stuff against OasisDex. Removes some functionality like auth, note, and non-reentrancy protection.",
74357
74357
  "methods": {},
@@ -771,7 +771,7 @@
771
771
  }
772
772
  },
773
773
  "schemaVersion": "3.0.23",
774
- "updatedAt": "2022-01-29T00:31:30.188Z",
774
+ "updatedAt": "2022-01-29T21:54:41.186Z",
775
775
  "devdoc": {
776
776
  "details": "This is used to split apart the call to state#setPar to lessen the bytecode size of TestDolomiteMargin.sol",
777
777
  "methods": {}
@@ -1078,7 +1078,7 @@
1078
1078
  }
1079
1079
  },
1080
1080
  "schemaVersion": "3.0.23",
1081
- "updatedAt": "2022-01-29T00:31:30.189Z",
1081
+ "updatedAt": "2022-01-29T21:54:41.188Z",
1082
1082
  "devdoc": {
1083
1083
  "author": "dYdX * PolynomialInterestSetter for testing",
1084
1084
  "methods": {
@@ -1143,7 +1143,7 @@
1143
1143
  },
1144
1144
  "networks": {},
1145
1145
  "schemaVersion": "3.0.23",
1146
- "updatedAt": "2022-01-29T00:31:30.191Z",
1146
+ "updatedAt": "2022-01-29T21:54:41.189Z",
1147
1147
  "devdoc": {
1148
1148
  "methods": {
1149
1149
  "isOwner()": {
@@ -1104,7 +1104,7 @@
1104
1104
  }
1105
1105
  },
1106
1106
  "schemaVersion": "3.0.23",
1107
- "updatedAt": "2022-01-29T00:31:30.192Z",
1107
+ "updatedAt": "2022-01-29T21:54:41.190Z",
1108
1108
  "devdoc": {
1109
1109
  "author": "dYdX * Oracle used for testing",
1110
1110
  "methods": {},
@@ -1366,7 +1366,7 @@
1366
1366
  },
1367
1367
  "networks": {},
1368
1368
  "schemaVersion": "3.0.23",
1369
- "updatedAt": "2022-01-29T00:31:30.195Z",
1369
+ "updatedAt": "2022-01-29T21:54:41.194Z",
1370
1370
  "devdoc": {
1371
1371
  "methods": {
1372
1372
  "isExpired()": {
@@ -1557,7 +1557,7 @@
1557
1557
  }
1558
1558
  },
1559
1559
  "schemaVersion": "3.0.23",
1560
- "updatedAt": "2022-01-29T00:31:30.197Z",
1560
+ "updatedAt": "2022-01-29T21:54:41.196Z",
1561
1561
  "devdoc": {
1562
1562
  "author": "dYdX * ICallee for testing any data being sent",
1563
1563
  "methods": {},