@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.
- package/build/contracts/Account.json +1 -1
- package/build/contracts/Actions.json +1 -1
- package/build/contracts/Address.json +1 -1
- package/build/contracts/Admin.json +1 -1
- package/build/contracts/AdminImpl.json +1 -1
- package/build/contracts/AdvancedMath.json +1 -1
- package/build/contracts/AmmRebalancerProxy.json +1 -1
- package/build/contracts/Babylonian.json +1 -1
- package/build/contracts/Bits.json +1 -1
- package/build/contracts/Cache.json +1 -1
- package/build/contracts/ChainlinkPriceOracleV1.json +1 -1
- package/build/contracts/Context.json +1 -1
- package/build/contracts/CustomTestToken.json +1 -1
- package/build/contracts/Decimal.json +1 -1
- package/build/contracts/DelayedMultiSig.json +1 -1
- package/build/contracts/DolomiteAmmERC20.json +1 -1
- package/build/contracts/DolomiteAmmFactory.json +1 -1
- package/build/contracts/DolomiteAmmLibrary.json +1 -1
- package/build/contracts/DolomiteAmmPair.json +1 -1
- package/build/contracts/DolomiteAmmRouterProxy.json +1 -1
- package/build/contracts/DolomiteMargin.json +11 -2
- package/build/contracts/DoubleExponentInterestSetter.json +1 -1
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/ErroringOmiseToken.json +1 -1
- package/build/contracts/ErroringToken.json +1 -1
- package/build/contracts/Events.json +1 -1
- package/build/contracts/Exchange.json +1 -1
- package/build/contracts/Expiry.json +140 -1
- package/build/contracts/Getters.json +1 -1
- package/build/contracts/IAutoTrader.json +1 -1
- package/build/contracts/ICallee.json +1 -1
- package/build/contracts/IChainlinkAggregator.json +1 -1
- package/build/contracts/IDolomiteAmmERC20.json +1 -1
- package/build/contracts/IDolomiteAmmFactory.json +1 -1
- package/build/contracts/IDolomiteAmmPair.json +1 -1
- package/build/contracts/IDolomiteMargin.json +1 -1
- package/build/contracts/IERC20.json +1 -1
- package/build/contracts/IERC20Detailed.json +1 -1
- package/build/contracts/IExchangeWrapper.json +1 -1
- package/build/contracts/IExpiry.json +1 -1
- package/build/contracts/IInterestSetter.json +1 -1
- package/build/contracts/ILiquidationCallback.json +1 -1
- package/build/contracts/IMakerOracle.json +1 -1
- package/build/contracts/IOasisDex.json +1 -1
- package/build/contracts/IPriceOracle.json +1 -1
- package/build/contracts/IRecyclable.json +1 -1
- package/build/contracts/ITransferProxy.json +1 -1
- package/build/contracts/IUniswapV2Callee.json +1 -1
- package/build/contracts/IUniswapV2Factory.json +1 -1
- package/build/contracts/IUniswapV2Pair.json +1 -1
- package/build/contracts/IUniswapV2Router.json +1 -1
- package/build/contracts/IWETH.json +1 -1
- package/build/contracts/Interest.json +1 -1
- package/build/contracts/LiquidateOrVaporizeImpl.json +1 -1
- package/build/contracts/LiquidatorProxyHelper.json +1 -1
- package/build/contracts/LiquidatorProxyV1.json +1 -1
- package/build/contracts/LiquidatorProxyV1WithAmm.json +1 -1
- package/build/contracts/Math.json +1 -1
- package/build/contracts/Migrations.json +1 -1
- package/build/contracts/Monetary.json +1 -1
- package/build/contracts/MultiCall.json +1 -1
- package/build/contracts/MultiSig.json +1 -1
- package/build/contracts/OmiseToken.json +1 -1
- package/build/contracts/OnlyDolomiteMargin.json +1 -1
- package/build/contracts/Operation.json +1 -1
- package/build/contracts/OperationImpl.json +1 -1
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/PartiallyDelayedMultiSig.json +1 -1
- package/build/contracts/PayableProxy.json +1 -1
- package/build/contracts/Permission.json +1 -1
- package/build/contracts/PolynomialInterestSetter.json +1 -1
- package/build/contracts/RecyclableTokenProxy.json +1 -1
- package/build/contracts/ReentrancyGuard.json +1 -1
- package/build/contracts/Require.json +1 -1
- package/build/contracts/SafeERC20.json +1 -1
- package/build/contracts/SafeETH.json +1 -1
- package/build/contracts/SafeMath.json +1 -1
- package/build/contracts/SignedOperationProxy.json +1 -1
- package/build/contracts/SimpleFeeOwner.json +1 -1
- package/build/contracts/State.json +1 -1
- package/build/contracts/Storage.json +1 -1
- package/build/contracts/TestAmmRebalancerProxy.json +1 -1
- package/build/contracts/TestAutoTrader.json +1 -1
- package/build/contracts/TestBtcUsdChainlinkAggregator.json +1 -1
- package/build/contracts/TestCallee.json +1 -1
- package/build/contracts/TestChainlinkPriceOracleV1.json +1 -1
- package/build/contracts/TestCounter.json +1 -1
- package/build/contracts/TestDaiUsdChainlinkAggregator.json +1 -1
- package/build/contracts/TestDolomiteMargin.json +1 -1
- package/build/contracts/TestDoubleExponentInterestSetter.json +1 -1
- package/build/contracts/TestEthUsdChainlinkAggregator.json +1 -1
- package/build/contracts/TestExchangeWrapper.json +1 -1
- package/build/contracts/TestInterestSetter.json +1 -1
- package/build/contracts/TestLib.json +1 -1
- package/build/contracts/TestLinkUsdChainlinkAggregator.json +1 -1
- package/build/contracts/TestLiquidateCallback.json +1 -1
- package/build/contracts/TestLrcEthChainlinkAggregator.json +1 -1
- package/build/contracts/TestMakerOracle.json +1 -1
- package/build/contracts/TestMaticUsdChainlinkAggregator.json +1 -1
- package/build/contracts/TestOasisDex.json +1 -1
- package/build/contracts/TestOperationImpl.json +1 -1
- package/build/contracts/TestPolynomialInterestSetter.json +1 -1
- package/build/contracts/TestPriceAggregator.json +1 -1
- package/build/contracts/TestPriceOracle.json +1 -1
- package/build/contracts/TestRecyclableToken.json +1 -1
- package/build/contracts/TestSimpleCallee.json +1 -1
- package/build/contracts/TestToken.json +1 -1
- package/build/contracts/TestTrader.json +1 -1
- package/build/contracts/TestUniswapAmmRebalancerProxy.json +1 -1
- package/build/contracts/TestUsdcUsdChainlinkAggregator.json +1 -1
- package/build/contracts/TestWETH.json +1 -1
- package/build/contracts/Time.json +1 -1
- package/build/contracts/Token.json +1 -1
- package/build/contracts/TokenA.json +1 -1
- package/build/contracts/TokenB.json +1 -1
- package/build/contracts/TokenC.json +1 -1
- package/build/contracts/TokenD.json +1 -1
- package/build/contracts/TokenE.json +1 -1
- package/build/contracts/TokenF.json +1 -1
- package/build/contracts/TransferProxy.json +1 -1
- package/build/contracts/TypedSignature.json +1 -1
- package/build/contracts/Types.json +1 -1
- package/build/contracts/UQ112x112.json +1 -1
- package/build/contracts/UniswapV2ERC20.json +1 -1
- package/build/contracts/UniswapV2Factory.json +1 -1
- package/build/contracts/UniswapV2Library.json +1 -1
- package/build/contracts/UniswapV2Pair.json +1 -1
- package/build/contracts/UniswapV2Router02.json +1 -1
- package/build/contracts/WETH9.json +1 -1
- package/dist/src/modules/operate/AccountOperation.js +1 -3
- package/dist/src/modules/operate/AccountOperation.js.map +1 -1
- package/dist/src/types.d.ts +0 -1
- package/dist/src/types.js.map +1 -1
- package/package.json +3 -2
|
@@ -8636,7 +8636,7 @@
|
|
|
8636
8636
|
},
|
|
8637
8637
|
"networks": {},
|
|
8638
8638
|
"schemaVersion": "3.0.23",
|
|
8639
|
-
"updatedAt": "2022-01-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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": {}
|
|
@@ -8465,7 +8465,7 @@
|
|
|
8465
8465
|
}
|
|
8466
8466
|
},
|
|
8467
8467
|
"schemaVersion": "3.0.23",
|
|
8468
|
-
"updatedAt": "2022-01-
|
|
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-
|
|
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": {
|
|
@@ -1134,7 +1134,7 @@
|
|
|
1134
1134
|
},
|
|
1135
1135
|
"networks": {},
|
|
1136
1136
|
"schemaVersion": "3.0.23",
|
|
1137
|
-
"updatedAt": "2022-01-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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": {},
|
|
@@ -4882,7 +4882,7 @@
|
|
|
4882
4882
|
},
|
|
4883
4883
|
"networks": {},
|
|
4884
4884
|
"schemaVersion": "3.0.23",
|
|
4885
|
-
"updatedAt": "2022-01-
|
|
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-
|
|
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": {
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
},
|
|
203
203
|
"networks": {},
|
|
204
204
|
"schemaVersion": "3.0.23",
|
|
205
|
-
"updatedAt": "2022-01-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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": {}
|
|
@@ -3669,7 +3669,7 @@
|
|
|
3669
3669
|
},
|
|
3670
3670
|
"networks": {},
|
|
3671
3671
|
"schemaVersion": "3.0.23",
|
|
3672
|
-
"updatedAt": "2022-01-
|
|
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-
|
|
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-
|
|
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": {}
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
}
|
|
354
354
|
},
|
|
355
355
|
"schemaVersion": "3.0.23",
|
|
356
|
-
"updatedAt": "2022-01-
|
|
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": {}
|
|
@@ -1142,7 +1142,7 @@
|
|
|
1142
1142
|
}
|
|
1143
1143
|
},
|
|
1144
1144
|
"schemaVersion": "3.0.23",
|
|
1145
|
-
"updatedAt": "2022-01-
|
|
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-
|
|
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-
|
|
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": {}
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
}
|
|
354
354
|
},
|
|
355
355
|
"schemaVersion": "3.0.23",
|
|
356
|
-
"updatedAt": "2022-01-
|
|
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": {}
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
}
|
|
354
354
|
},
|
|
355
355
|
"schemaVersion": "3.0.23",
|
|
356
|
-
"updatedAt": "2022-01-
|
|
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-
|
|
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-
|
|
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": {}
|