@dolomite-exchange/dolomite-margin 0.2.6 → 0.2.7
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 +11 -11
- package/build/contracts/Actions.json +11 -11
- package/build/contracts/Address.json +1 -1
- package/build/contracts/Admin.json +23 -23
- package/build/contracts/AdminImpl.json +35 -307
- package/build/contracts/AdvancedMath.json +7 -7
- package/build/contracts/AmmRebalancerProxy.json +577 -621
- package/build/contracts/AmmRebalancerProxyV1.json +78 -32
- package/build/contracts/Babylonian.json +1 -1
- package/build/contracts/Bits.json +9 -9
- package/build/contracts/Cache.json +13 -13
- package/build/contracts/ChainlinkPriceOracleV1.json +16 -16
- package/build/contracts/Context.json +1 -1
- package/build/contracts/CustomTestToken.json +9 -9
- package/build/contracts/Decimal.json +9 -9
- package/build/contracts/DelayedMultiSig.json +9 -9
- package/build/contracts/DolomiteAmmERC20.json +11 -11
- package/build/contracts/DolomiteAmmFactory.json +14 -52
- package/build/contracts/DolomiteAmmLibrary.json +24 -24
- package/build/contracts/DolomiteAmmPair.json +27 -27
- package/build/contracts/DolomiteAmmRouterProxy.json +30 -363
- package/build/contracts/DolomiteMargin.json +21 -67
- package/build/contracts/DoubleExponentInterestSetter.json +15 -21
- package/build/contracts/EnumerableSet.json +7 -7
- package/build/contracts/ErroringOmiseToken.json +9 -9
- package/build/contracts/ErroringToken.json +10 -10
- package/build/contracts/Events.json +17 -17
- package/build/contracts/ExcessivelySafeCall.json +35 -35
- package/build/contracts/Exchange.json +15 -15
- package/build/contracts/Expiry.json +36 -36
- package/build/contracts/Getters.json +33 -33
- package/build/contracts/IAutoTrader.json +9 -9
- package/build/contracts/ICallee.json +7 -7
- package/build/contracts/IChainlinkAggregator.json +5 -5
- package/build/contracts/IDolomiteAmmERC20.json +5 -5
- package/build/contracts/IDolomiteAmmFactory.json +9 -9
- package/build/contracts/IDolomiteAmmPair.json +9 -9
- package/build/contracts/IDolomiteMargin.json +23 -23
- package/build/contracts/IERC20.json +1 -1
- package/build/contracts/IERC20Detailed.json +5 -5
- package/build/contracts/IExchangeWrapper.json +5 -5
- package/build/contracts/IExpiry.json +9 -9
- package/build/contracts/IInterestSetter.json +7 -7
- package/build/contracts/ILiquidationCallback.json +7 -7
- package/build/contracts/IMakerOracle.json +5 -5
- package/build/contracts/IOasisDex.json +5 -5
- package/build/contracts/IPriceOracle.json +7 -7
- package/build/contracts/IRecyclable.json +9 -9
- package/build/contracts/ITransferProxy.json +5 -5
- package/build/contracts/IUniswapV2Callee.json +5 -5
- package/build/contracts/IUniswapV2Factory.json +5 -5
- package/build/contracts/IUniswapV2Pair.json +5 -5
- package/build/contracts/IUniswapV2Router.json +5 -5
- package/build/contracts/IWETH.json +5 -5
- package/build/contracts/Interest.json +15 -15
- package/build/contracts/LiquidateOrVaporizeImpl.json +32 -83
- package/build/contracts/LiquidatorProxyHelper.json +23 -23
- package/build/contracts/LiquidatorProxyV1.json +30 -36
- package/build/contracts/LiquidatorProxyV1WithAmm.json +49 -105
- package/build/contracts/Math.json +1 -1
- package/build/contracts/Migrations.json +8 -14
- package/build/contracts/Monetary.json +7 -7
- package/build/contracts/MultiCall.json +8 -14
- package/build/contracts/MultiSig.json +7 -7
- package/build/contracts/OmiseToken.json +8 -8
- package/build/contracts/OnlyDolomiteMargin.json +11 -11
- package/build/contracts/Operation.json +15 -15
- package/build/contracts/OperationImpl.json +39 -47
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/PartiallyDelayedMultiSig.json +9 -9
- package/build/contracts/PayableProxy.json +17 -23
- package/build/contracts/Permission.json +11 -11
- package/build/contracts/PolynomialInterestSetter.json +13 -13
- package/build/contracts/RecyclableTokenProxy.json +25 -25
- package/build/contracts/ReentrancyGuard.json +1 -1
- package/build/contracts/Require.json +7 -7
- package/build/contracts/SafeERC20.json +1 -1
- package/build/contracts/SafeETH.json +7 -7
- package/build/contracts/SafeLiquidationCallback.json +17 -17
- package/build/contracts/SafeMath.json +1 -1
- package/build/contracts/SignedOperationProxy.json +21 -104
- package/build/contracts/SimpleFeeOwner.json +18 -63
- package/build/contracts/State.json +9 -9
- package/build/contracts/Storage.json +37 -37
- package/build/contracts/TestAmmRebalancerProxy.json +32 -58
- package/build/contracts/TestAutoTrader.json +22 -22
- package/build/contracts/TestBtcUsdChainlinkAggregator.json +10 -10
- package/build/contracts/TestCallee.json +19 -19
- package/build/contracts/TestChainlinkPriceOracleV1.json +10 -94
- package/build/contracts/TestCounter.json +7 -7
- package/build/contracts/TestDaiUsdChainlinkAggregator.json +11 -11
- package/build/contracts/TestDolomiteMargin.json +22 -22
- package/build/contracts/TestDoubleExponentInterestSetter.json +10 -10
- package/build/contracts/TestEthUsdChainlinkAggregator.json +11 -11
- package/build/contracts/TestExchangeWrapper.json +28 -28
- package/build/contracts/TestInterestSetter.json +13 -13
- package/build/contracts/TestLib.json +22 -22
- package/build/contracts/TestLinkUsdChainlinkAggregator.json +11 -11
- package/build/contracts/TestLiquidateCallback.json +719 -719
- package/build/contracts/TestLiquidationCallback.json +13 -13
- package/build/contracts/TestLrcEthChainlinkAggregator.json +11 -11
- package/build/contracts/TestMakerOracle.json +10 -10
- package/build/contracts/TestMaticUsdChainlinkAggregator.json +10 -10
- package/build/contracts/TestOasisDex.json +12 -12
- package/build/contracts/TestOperationImpl.json +14 -14
- package/build/contracts/TestPolynomialInterestSetter.json +10 -10
- package/build/contracts/TestPriceAggregator.json +9 -9
- package/build/contracts/TestPriceOracle.json +13 -13
- package/build/contracts/TestRecyclableToken.json +9 -9
- package/build/contracts/TestSimpleCallee.json +15 -15
- package/build/contracts/TestToken.json +9 -9
- package/build/contracts/TestTrader.json +17 -17
- package/build/contracts/TestUniswapAmmRebalancerProxy.json +16 -16
- package/build/contracts/TestUsdcUsdChainlinkAggregator.json +11 -11
- package/build/contracts/TestWETH.json +9 -9
- package/build/contracts/Time.json +9 -9
- package/build/contracts/Token.json +9 -9
- package/build/contracts/TokenA.json +10 -10
- package/build/contracts/TokenB.json +10 -10
- package/build/contracts/TokenC.json +10 -10
- package/build/contracts/TokenD.json +10 -10
- package/build/contracts/TokenE.json +10 -10
- package/build/contracts/TokenF.json +10 -10
- package/build/contracts/TransferProxy.json +22 -28
- package/build/contracts/TypedSignature.json +9 -9
- package/build/contracts/Types.json +9 -9
- package/build/contracts/UQ112x112.json +7 -7
- package/build/contracts/UniswapV2ERC20.json +7 -7
- package/build/contracts/UniswapV2Factory.json +12 -12
- package/build/contracts/UniswapV2Library.json +20 -20
- package/build/contracts/UniswapV2Pair.json +17 -17
- package/build/contracts/UniswapV2Router02.json +16 -16
- package/build/contracts/WETH9.json +1 -1
- package/contracts/external/amm/DolomiteAmmERC20.sol +135 -0
- package/contracts/external/amm/DolomiteAmmFactory.sol +122 -0
- package/contracts/external/amm/DolomiteAmmPair.sol +573 -0
- package/contracts/external/amm/SimpleFeeOwner.sol +107 -0
- package/contracts/external/helpers/LiquidatorProxyHelper.sol +252 -0
- package/contracts/external/helpers/OnlyDolomiteMargin.sol +63 -0
- package/contracts/external/interestsetters/DoubleExponentInterestSetter.sol +212 -0
- package/contracts/external/interestsetters/PolynomialInterestSetter.sol +205 -0
- package/contracts/external/interfaces/IChainlinkAggregator.sol +33 -0
- package/contracts/external/interfaces/IDolomiteAmmERC20.sol +52 -0
- package/contracts/external/interfaces/IDolomiteAmmFactory.sol +42 -0
- package/contracts/external/interfaces/IDolomiteAmmPair.sol +116 -0
- package/contracts/external/interfaces/IExpiry.sol +70 -0
- package/contracts/external/interfaces/IMakerOracle.sol +52 -0
- package/contracts/external/interfaces/IOasisDex.sol +326 -0
- package/contracts/external/interfaces/ITransferProxy.sol +53 -0
- package/contracts/external/interfaces/IUniswapV2Router.sol +134 -0
- package/contracts/external/lib/AdvancedMath.sol +23 -0
- package/contracts/external/lib/DolomiteAmmLibrary.sol +323 -0
- package/contracts/external/lib/TypedSignature.sol +120 -0
- package/contracts/external/lib/UQ112x112.sol +22 -0
- package/contracts/external/multisig/DelayedMultiSig.sol +206 -0
- package/contracts/external/multisig/MultiSig.sol +571 -0
- package/contracts/external/multisig/PartiallyDelayedMultiSig.sol +174 -0
- package/contracts/external/oracles/ChainlinkPriceOracleV1.sol +197 -0
- package/contracts/external/oracles/TestChainlinkPriceOracleV1.sol +98 -0
- package/contracts/external/proxies/AmmRebalancerProxyV1.sol +465 -0
- package/contracts/external/proxies/DolomiteAmmRouterProxy.sol +877 -0
- package/contracts/external/proxies/LiquidatorProxyV1.sol +507 -0
- package/contracts/external/proxies/LiquidatorProxyV1WithAmm.sol +574 -0
- package/contracts/external/proxies/PayableProxy.sol +146 -0
- package/contracts/external/proxies/RecyclableTokenProxy.sol +463 -0
- package/contracts/external/proxies/SignedOperationProxy.sol +553 -0
- package/contracts/external/proxies/TransferProxy.sol +207 -0
- package/contracts/external/traders/Expiry.sol +532 -0
- package/contracts/external/uniswap-v2/UniswapV2ERC20.sol +118 -0
- package/contracts/external/uniswap-v2/UniswapV2Factory.sol +67 -0
- package/contracts/external/uniswap-v2/UniswapV2Pair.sol +283 -0
- package/contracts/external/uniswap-v2/UniswapV2Router02.sol +566 -0
- package/contracts/external/uniswap-v2/interfaces/IUniswapV2Callee.sol +13 -0
- package/contracts/external/uniswap-v2/interfaces/IUniswapV2Factory.sol +18 -0
- package/contracts/external/uniswap-v2/interfaces/IUniswapV2Pair.sol +67 -0
- package/contracts/external/uniswap-v2/interfaces/IWETH.sol +7 -0
- package/contracts/external/uniswap-v2/libraries/SafeETH.sol +29 -0
- package/contracts/external/uniswap-v2/libraries/UniswapV2Library.sol +117 -0
- package/contracts/external/utils/MultiCall.sol +95 -0
- package/contracts/protocol/impl/artifacts/OperationImpl.json +80 -0
- package/contracts/protocol/impl/artifacts/OperationImpl_metadata.json +193 -0
- package/dist/build/published_contracts/AdminImpl.json +2 -2
- package/dist/build/published_contracts/AmmRebalancerProxyV1.json +5 -0
- package/dist/build/published_contracts/ChainlinkPriceOracleV1.json +1 -1
- package/dist/build/published_contracts/DolomiteAmmFactory.json +1 -1
- package/dist/build/published_contracts/DolomiteAmmRouterProxy.json +1 -1
- package/dist/build/published_contracts/DoubleExponentInterestSetter.json +2 -2
- package/dist/build/published_contracts/Expiry.json +1 -1
- package/dist/build/published_contracts/LiquidatorProxyV1.json +1 -1
- package/dist/build/published_contracts/LiquidatorProxyV1WithAmm.json +1 -1
- package/dist/build/published_contracts/MultiCall.json +1 -1
- package/dist/build/published_contracts/PayableProxy.json +2 -2
- package/dist/build/published_contracts/SignedOperationProxy.json +2 -2
- package/dist/build/published_contracts/SimpleFeeOwner.json +1 -1
- package/dist/build/published_contracts/TestUniswapAmmRebalancerProxy.json +140 -0
- package/dist/build/published_contracts/TransferProxy.json +1 -1
- package/dist/src/lib/Contracts.d.ts +3 -1
- package/dist/src/lib/Contracts.js +7 -3
- package/dist/src/lib/Contracts.js.map +1 -1
- package/package.json +2 -1
|
@@ -150,15 +150,15 @@
|
|
|
150
150
|
"type": "function"
|
|
151
151
|
}
|
|
152
152
|
],
|
|
153
|
-
"metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"dolomiteMargin\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"accountOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"accountNumber\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"accountData\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"senderData\",\"type\":\"uint256\"}],\"name\":\"Called\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[],\"name\":\"DOLOMITE_MARGIN\",\"outputs\":[{\"internalType\":\"contract IDolomiteMargin\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"accountData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"number\",\"type\":\"uint256\"}],\"internalType\":\"struct Account.Info\",\"name\":\"account\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"callFunction\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"senderData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"dYdX * ICallee for testing\",\"methods\":{},\"title\":\"TestCallee\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/home/cdc218/projects/dolomite-protocol-v2/contracts/testing/TestCallee.sol\":\"TestCallee\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[]},\"sources\":{\"/home/cdc218/projects/dolomite-protocol-v2/contracts/external/helpers/OnlyDolomiteMargin.sol\":{\"keccak256\":\"0xfc9ce2f5a274ec66668c133f09fe213bc1a6a739f9147f4357a3493094de8deb\",\"urls\":[\"bzz-raw://e45442587f111fa0d85dd85a4e07993f5fecd1afce4f457ed21441f8b0abb937\",\"dweb:/ipfs/QmaNq3j3PUwb8Wrx2gEmFFsVa2GByDEkDCPGdwo2qvMeKh\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/interfaces/IAutoTrader.sol\":{\"keccak256\":\"0x62cbb936c4abdfc1ab33bb3ee5505279cc7354f9404bedf74ee3d099623a6dfa\",\"urls\":[\"bzz-raw://91ab2bd45600b1d3268a5592deb8b396d0fc4bba05a00d1aa4b4b785a6ee46ad\",\"dweb:/ipfs/QmVmBdFGFuA6XzaWxVAxxFDH81mhomg6uJvnYi4NYRHfDk\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/interfaces/ICallee.sol\":{\"keccak256\":\"0x0b65209369307041e67c28634fc17a19e953199ac42a88198b76578f7fa9b0f8\",\"urls\":[\"bzz-raw://46618851882c2bc5a6212bb0a8ad095e0f38049f24ecf404163ad6b493c728a1\",\"dweb:/ipfs/QmRx4VabTaXTGSyMt8NCTZ7nMiWCHfrvqZjRaKNRir3zEe\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/interfaces/IDolomiteMargin.sol\":{\"keccak256\":\"0x1e73364879c267fdd2bfd871e62ee58ee3d65fbef3b71e3cc104fbff499eca6c\",\"urls\":[\"bzz-raw://e3b1327980a5949afd52cff4713f47ee4fdee9a8b376ceaa3402f5c9696b8c1b\",\"dweb:/ipfs/QmbhQzVEdaraPJizT5DTtk6CDzH3guHNipHW5T23uTtFkX\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/interfaces/IERC20Detailed.sol\":{\"keccak256\":\"0x22a62e2a8155e70300773721902f4b9118e17aa0bb5d9d1b046050a014cfb223\",\"urls\":[\"bzz-raw://03af737a33c552fbe58f6f1fbd5496854fdc28dd57be4365d56663725c083a18\",\"dweb:/ipfs/QmbgLqGAQEd6tXsZB8QaPNCAMiU6nNzP75wNbKdS65BuUF\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/interfaces/IInterestSetter.sol\":{\"keccak256\":\"0x546825f65490a30e29d0f6446acec49c1e895ce6b33d48ca5c05092725a63a57\",\"urls\":[\"bzz-raw://6ad3013aed985bdf6e6234ae0f7f37e6bba76c3470c33bfa24678cf19b3b412c\",\"dweb:/ipfs/QmfYaSBzxGpgiHoR7ontMJY66S5L26XwkLYoEuzsEjpbQH\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/interfaces/IPriceOracle.sol\":{\"keccak256\":\"0x3f7c3d1397390ea44c6d5e5730d49476431c3df3b28334fe38218de5edc31138\",\"urls\":[\"bzz-raw://63ebf926fca9ce33aaabaf93805686acc25daded1648d6dab59c8c4d05116918\",\"dweb:/ipfs/QmeGkDp7ycYstpfqCYBiqoCYwy876gabx8r42o5koj3H5A\"]},\"/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/Bits.sol\":{\"keccak256\":\"0x425bf5764368faca16cc30a64b79d9bbe01fd8150444b58a464971c32450bd85\",\"urls\":[\"bzz-raw://064baf3155da634c5c80cea70bba0dda7a33af934b34f75f596961b4ab9aeafe\",\"dweb:/ipfs/QmTUHXoi9L6CkERyfhFs1jhxU66u2sbc6XRR5cH4TeHEqL\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Cache.sol\":{\"keccak256\":\"0x1e6ff383f285e311d07374edda353e14ac4f29201726b0062a2f046c1a2b482c\",\"urls\":[\"bzz-raw://fd11c5db01039bf2c95f3561b08d271b80b7b1cb9fd7f75da887f7609807c5a7\",\"dweb:/ipfs/QmcY6CugdEHaYUa8ZKSnUDhvtVuoLfpDscZcmC91koAn1t\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Decimal.sol\":{\"keccak256\":\"0x66990bbe3c58d0edf57d3f67ab5280e2a53958ce44f75c335c4c50542321bccb\",\"urls\":[\"bzz-raw://724cfdb5c99121aab5262679e46766a2883e344749870d7dbfa92d1617f68bf2\",\"dweb:/ipfs/QmYjAsS45f6UG2u3zuTks2HVfMYtyFCVMgUvD7Gt7XtU3R\"]},\"/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/Interest.sol\":{\"keccak256\":\"0x73e75454568c5dfc3bdcf7dbf2ddce6ab8d3d317618bc1f1957f7667e15d3799\",\"urls\":[\"bzz-raw://7b1c8a9a79c8ffdbb0fa633f713ae3dfeac93b31d2b1639614ac32d473fb8250\",\"dweb:/ipfs/QmfARP93W2mgeVwD9Lkd3yVmbCLF2Mos7o8HJ1x6WYQmxZ\"]},\"/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/Monetary.sol\":{\"keccak256\":\"0x5257274f2d4d3605f3e97ec45fb902111fe9a22506f0b4cf308ea933bc81bfe2\",\"urls\":[\"bzz-raw://85b8023b78805063a2ec8d376f1f5983994eabd96efd8ceadb0224dbb71c5678\",\"dweb:/ipfs/QmaDhzCzRqsuHuJfhToEC4pATQHwhh7yWWsjwfuRzFT1kG\"]},\"/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/Storage.sol\":{\"keccak256\":\"0xf930fbde3ab43ec8f079dbad062453b502542f53b7eec670c8e86c7a2e47dd9a\",\"urls\":[\"bzz-raw://e1c402fc55471e8372be478e99f91c28373f096e31f0ef1d5072dfdb81541c29\",\"dweb:/ipfs/QmTc8WSfFCbxNQqNpq1vptUVFxteKQ8HWEhyXREyPZ2neu\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Time.sol\":{\"keccak256\":\"0x233d6ebf965711bf980f4bb2e672fb1a11b4b879fd41c884b3c2b704417d0d0c\",\"urls\":[\"bzz-raw://6478ff81706d531f9438b96274a7b904abbbd9c631540c68c6a89c3accf27abf\",\"dweb:/ipfs/QmWe9vkz3qwVjrcbmcTL8wgkjLPsrEqxcqPJL9ujM8PPbp\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Token.sol\":{\"keccak256\":\"0xd7bcae9e3c570544fc946a00cc7695106a64c20bc130d0183612c0410a531d19\",\"urls\":[\"bzz-raw://0ff5ffd6abb9ed223a64128c131afd962bec07fb9867cb62593906b339c76920\",\"dweb:/ipfs/QmbTrJL4bekvBqqaw6wXnBhYzS9uAqULSWF2VzW4cdfsM5\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Types.sol\":{\"keccak256\":\"0xab134538648a2e223a7fe61db03c14f687657a5d37147f93c9088f11735aa311\",\"urls\":[\"bzz-raw://79dc7d2b30576d2349b99267642ac8d5fb7939c920b8d8045379d3614238bdc3\",\"dweb:/ipfs/QmaQJYg1nirHoWSC6G38Cjsk9pZBzEaNrGXKqTsvAzbyES\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/testing/TestCallee.sol\":{\"keccak256\":\"0xc0ef0ba221d722aa9ce8d42bc583f12af2bf89468bbfc38d8a634644b604dec5\",\"urls\":[\"bzz-raw://c9e9de54d137c811a9fc67953e4974408bc15b3245475b0e40bc9100d1b87d5e\",\"dweb:/ipfs/QmYePp4UwNtvcVHSHoDtjWy3LzziNJaj4jHmJWpEANxHCb\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x640b6dee7a4b830bdfd52b5031a07fc2b12209f5b2e29e5d364a7d37f69d8076\",\"urls\":[\"bzz-raw://31113152e1ddb78fe7a4197f247591ca894e93f916867beb708d8e747b6cc74f\",\"dweb:/ipfs/QmbZaJyXdpsYGykVhHH9qpVGQg9DGCxE2QufbCUy3daTgq\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe5bb0f57cff3e299f360052ba50f1ea0fff046df2be070b6943e0e3c3fdad8a9\",\"urls\":[\"bzz-raw://59fd025151435da35faa8093a5c7a17de02de9d08ad27275c5cdf05050820d91\",\"dweb:/ipfs/QmQMvwEcPhoRXzbXyrdoeRtvLoifUW9Qh7Luho7bmUPRkc\"]}},\"version\":1}",
|
|
154
|
-
"bytecode": "
|
|
155
|
-
"deployedBytecode": "
|
|
153
|
+
"metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"dolomiteMargin\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"accountOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"accountNumber\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"accountData\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"senderData\",\"type\":\"uint256\"}],\"name\":\"Called\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[],\"name\":\"DOLOMITE_MARGIN\",\"outputs\":[{\"internalType\":\"contract IDolomiteMargin\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"accountData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"number\",\"type\":\"uint256\"}],\"internalType\":\"struct Account.Info\",\"name\":\"account\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"callFunction\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"senderData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"dYdX * ICallee for testing\",\"methods\":{},\"title\":\"TestCallee\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestCallee.sol\":\"TestCallee\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[]},\"sources\":{\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/external/helpers/OnlyDolomiteMargin.sol\":{\"keccak256\":\"0xfc9ce2f5a274ec66668c133f09fe213bc1a6a739f9147f4357a3493094de8deb\",\"urls\":[\"bzz-raw://e45442587f111fa0d85dd85a4e07993f5fecd1afce4f457ed21441f8b0abb937\",\"dweb:/ipfs/QmaNq3j3PUwb8Wrx2gEmFFsVa2GByDEkDCPGdwo2qvMeKh\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/interfaces/IAutoTrader.sol\":{\"keccak256\":\"0x62cbb936c4abdfc1ab33bb3ee5505279cc7354f9404bedf74ee3d099623a6dfa\",\"urls\":[\"bzz-raw://91ab2bd45600b1d3268a5592deb8b396d0fc4bba05a00d1aa4b4b785a6ee46ad\",\"dweb:/ipfs/QmVmBdFGFuA6XzaWxVAxxFDH81mhomg6uJvnYi4NYRHfDk\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/interfaces/ICallee.sol\":{\"keccak256\":\"0x0b65209369307041e67c28634fc17a19e953199ac42a88198b76578f7fa9b0f8\",\"urls\":[\"bzz-raw://46618851882c2bc5a6212bb0a8ad095e0f38049f24ecf404163ad6b493c728a1\",\"dweb:/ipfs/QmRx4VabTaXTGSyMt8NCTZ7nMiWCHfrvqZjRaKNRir3zEe\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/interfaces/IDolomiteMargin.sol\":{\"keccak256\":\"0x1e73364879c267fdd2bfd871e62ee58ee3d65fbef3b71e3cc104fbff499eca6c\",\"urls\":[\"bzz-raw://e3b1327980a5949afd52cff4713f47ee4fdee9a8b376ceaa3402f5c9696b8c1b\",\"dweb:/ipfs/QmbhQzVEdaraPJizT5DTtk6CDzH3guHNipHW5T23uTtFkX\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/interfaces/IERC20Detailed.sol\":{\"keccak256\":\"0x22a62e2a8155e70300773721902f4b9118e17aa0bb5d9d1b046050a014cfb223\",\"urls\":[\"bzz-raw://03af737a33c552fbe58f6f1fbd5496854fdc28dd57be4365d56663725c083a18\",\"dweb:/ipfs/QmbgLqGAQEd6tXsZB8QaPNCAMiU6nNzP75wNbKdS65BuUF\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/interfaces/IInterestSetter.sol\":{\"keccak256\":\"0x546825f65490a30e29d0f6446acec49c1e895ce6b33d48ca5c05092725a63a57\",\"urls\":[\"bzz-raw://6ad3013aed985bdf6e6234ae0f7f37e6bba76c3470c33bfa24678cf19b3b412c\",\"dweb:/ipfs/QmfYaSBzxGpgiHoR7ontMJY66S5L26XwkLYoEuzsEjpbQH\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/interfaces/IPriceOracle.sol\":{\"keccak256\":\"0x3f7c3d1397390ea44c6d5e5730d49476431c3df3b28334fe38218de5edc31138\",\"urls\":[\"bzz-raw://63ebf926fca9ce33aaabaf93805686acc25daded1648d6dab59c8c4d05116918\",\"dweb:/ipfs/QmeGkDp7ycYstpfqCYBiqoCYwy876gabx8r42o5koj3H5A\"]},\"/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/Bits.sol\":{\"keccak256\":\"0x425bf5764368faca16cc30a64b79d9bbe01fd8150444b58a464971c32450bd85\",\"urls\":[\"bzz-raw://064baf3155da634c5c80cea70bba0dda7a33af934b34f75f596961b4ab9aeafe\",\"dweb:/ipfs/QmTUHXoi9L6CkERyfhFs1jhxU66u2sbc6XRR5cH4TeHEqL\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Cache.sol\":{\"keccak256\":\"0x1e6ff383f285e311d07374edda353e14ac4f29201726b0062a2f046c1a2b482c\",\"urls\":[\"bzz-raw://fd11c5db01039bf2c95f3561b08d271b80b7b1cb9fd7f75da887f7609807c5a7\",\"dweb:/ipfs/QmcY6CugdEHaYUa8ZKSnUDhvtVuoLfpDscZcmC91koAn1t\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Decimal.sol\":{\"keccak256\":\"0x66990bbe3c58d0edf57d3f67ab5280e2a53958ce44f75c335c4c50542321bccb\",\"urls\":[\"bzz-raw://724cfdb5c99121aab5262679e46766a2883e344749870d7dbfa92d1617f68bf2\",\"dweb:/ipfs/QmYjAsS45f6UG2u3zuTks2HVfMYtyFCVMgUvD7Gt7XtU3R\"]},\"/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/Interest.sol\":{\"keccak256\":\"0x73e75454568c5dfc3bdcf7dbf2ddce6ab8d3d317618bc1f1957f7667e15d3799\",\"urls\":[\"bzz-raw://7b1c8a9a79c8ffdbb0fa633f713ae3dfeac93b31d2b1639614ac32d473fb8250\",\"dweb:/ipfs/QmfARP93W2mgeVwD9Lkd3yVmbCLF2Mos7o8HJ1x6WYQmxZ\"]},\"/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/Monetary.sol\":{\"keccak256\":\"0x5257274f2d4d3605f3e97ec45fb902111fe9a22506f0b4cf308ea933bc81bfe2\",\"urls\":[\"bzz-raw://85b8023b78805063a2ec8d376f1f5983994eabd96efd8ceadb0224dbb71c5678\",\"dweb:/ipfs/QmaDhzCzRqsuHuJfhToEC4pATQHwhh7yWWsjwfuRzFT1kG\"]},\"/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/Storage.sol\":{\"keccak256\":\"0xf930fbde3ab43ec8f079dbad062453b502542f53b7eec670c8e86c7a2e47dd9a\",\"urls\":[\"bzz-raw://e1c402fc55471e8372be478e99f91c28373f096e31f0ef1d5072dfdb81541c29\",\"dweb:/ipfs/QmTc8WSfFCbxNQqNpq1vptUVFxteKQ8HWEhyXREyPZ2neu\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Time.sol\":{\"keccak256\":\"0x233d6ebf965711bf980f4bb2e672fb1a11b4b879fd41c884b3c2b704417d0d0c\",\"urls\":[\"bzz-raw://6478ff81706d531f9438b96274a7b904abbbd9c631540c68c6a89c3accf27abf\",\"dweb:/ipfs/QmWe9vkz3qwVjrcbmcTL8wgkjLPsrEqxcqPJL9ujM8PPbp\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Token.sol\":{\"keccak256\":\"0xd7bcae9e3c570544fc946a00cc7695106a64c20bc130d0183612c0410a531d19\",\"urls\":[\"bzz-raw://0ff5ffd6abb9ed223a64128c131afd962bec07fb9867cb62593906b339c76920\",\"dweb:/ipfs/QmbTrJL4bekvBqqaw6wXnBhYzS9uAqULSWF2VzW4cdfsM5\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Types.sol\":{\"keccak256\":\"0xab134538648a2e223a7fe61db03c14f687657a5d37147f93c9088f11735aa311\",\"urls\":[\"bzz-raw://79dc7d2b30576d2349b99267642ac8d5fb7939c920b8d8045379d3614238bdc3\",\"dweb:/ipfs/QmaQJYg1nirHoWSC6G38Cjsk9pZBzEaNrGXKqTsvAzbyES\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestCallee.sol\":{\"keccak256\":\"0xc0ef0ba221d722aa9ce8d42bc583f12af2bf89468bbfc38d8a634644b604dec5\",\"urls\":[\"bzz-raw://c9e9de54d137c811a9fc67953e4974408bc15b3245475b0e40bc9100d1b87d5e\",\"dweb:/ipfs/QmYePp4UwNtvcVHSHoDtjWy3LzziNJaj4jHmJWpEANxHCb\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x640b6dee7a4b830bdfd52b5031a07fc2b12209f5b2e29e5d364a7d37f69d8076\",\"urls\":[\"bzz-raw://31113152e1ddb78fe7a4197f247591ca894e93f916867beb708d8e747b6cc74f\",\"dweb:/ipfs/QmbZaJyXdpsYGykVhHH9qpVGQg9DGCxE2QufbCUy3daTgq\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe5bb0f57cff3e299f360052ba50f1ea0fff046df2be070b6943e0e3c3fdad8a9\",\"urls\":[\"bzz-raw://59fd025151435da35faa8093a5c7a17de02de9d08ad27275c5cdf05050820d91\",\"dweb:/ipfs/QmQMvwEcPhoRXzbXyrdoeRtvLoifUW9Qh7Luho7bmUPRkc\"]}},\"version\":1}",
|
|
154
|
+
"bytecode": "0x608060405234801561001057600080fd5b50604051610c05380380610c0583398101604081905261002f91610065565b600080546001600160a01b0319166001600160a01b03929092169190911790556100b3565b805161005f8161009c565b92915050565b60006020828403121561007757600080fd5b60006100838484610054565b949350505050565b60006001600160a01b03821661005f565b6100a58161008b565b81146100b057600080fd5b50565b610b43806100c26000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806315c14a4a146100515780632137c0e51461006f5780638b4187131461008f578063b33b9cc0146100a4575b600080fd5b6100596100b7565b604051610066919061092e565b60405180910390f35b61008261007d3660046107a8565b6100d3565b6040516100669190610954565b6100a261009d366004610743565b6100f0565b005b6100826100b236600461071d565b61022a565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b600160209081526000928352604080842090915290825290205481565b60005433906101599073ffffffffffffffffffffffffffffffffffffffff1682147f4f6e6c79446f6c6f6d6974654d617267696e00000000000000000000000000007f4f6e6c7920446f6c6f6d6974652063616e2063616c6c2066756e6374696f6e008461023c565b60008061016584610341565b91509150846000015173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167f4c3c182d38f9efecd4bc09ba9ff16cf39e0b4c71b7f0286d0306f9ef91a5a6a8876020015185856040516101d293929190610962565b60405180910390a3845173ffffffffffffffffffffffffffffffffffffffff90811660009081526001602090815260408083209882015183529781528782209490945596168652600290915292909320919091555050565b60026020526000908152604090205481565b8361033b5761024a836103a4565b7f3a20000000000000000000000000000000000000000000000000000000000000610274846103a4565b7f203c00000000000000000000000000000000000000000000000000000000000061029e8561047e565b6040516102d49594939291907f3e00000000000000000000000000000000000000000000000000000000000000906020016108d0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a00000000000000000000000000000000000000000000000000000000082526103329160040161093c565b60405180910390fd5b50505050565b60008061039383516040147f5465737443616c6c6565000000000000000000000000000000000000000000007f43616c6c206461746120696e76616c6964206c656e67746800000000000000006105f5565b505060208101516040820151915091565b606080826040516020016103b8919061088a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152919052905060205b80156104615781517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9091019082908290811061042457fe5b01602001517fff00000000000000000000000000000000000000000000000000000000000000161561045c5760010181529050610479565b6103eb565b5060408051600080825260208201909252905b509150505b919050565b60408051602a808252606082810190935273ffffffffffffffffffffffffffffffffffffffff8416918391602082018180388339019050509050603060f81b816000815181106104ca57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350607860f81b8160018151811061050b57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b60148110156104745760028102610556600f8516610644565b83826029038151811061056557fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600484901c93506105a7600f8516610644565b8382602803815181106105b657fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505060049290921c9160010161053d565b8261063f57610603826103a4565b7f3a2000000000000000000000000000000000000000000000000000000000000061062d836103a4565b6040516020016102d49392919061089f565b505050565b6000600a82101561065c57506030810160f81b610479565b5060570160f81b90565b803561067181610ae0565b92915050565b600082601f83011261068857600080fd5b813561069b610696826109b1565b61098a565b915080825260208301602083018583830111156106b757600080fd5b6106c2838284610a80565b50505092915050565b6000604082840312156106dd57600080fd5b6106e7604061098a565b905060006106f58484610666565b825250602061070684848301610712565b60208301525092915050565b803561067181610af7565b60006020828403121561072f57600080fd5b600061073b8484610666565b949350505050565b60008060006080848603121561075857600080fd5b60006107648686610666565b9350506020610775868287016106cb565b925050606084013567ffffffffffffffff81111561079257600080fd5b61079e86828701610677565b9150509250925092565b600080604083850312156107bb57600080fd5b60006107c78585610666565b92505060206107d885828601610712565b9150509250929050565b6107f36107ee82610a0f565b610a59565b82525050565b6107f36107ee82610a34565b6107f36107ee82610a59565b600061081c826109f7565b6108268185610479565b9350610836818560208601610a8c565b9290920192915050565b6107f381610a75565b6000610854826109f7565b61085e81856109fb565b935061086e818560208601610a8c565b61087781610ab8565b9093019392505050565b6107f381610a59565b60006108968284610805565b50602001919050565b60006108ab8286610811565b91506108b782856107f9565b6002820191506108c78284610811565b95945050505050565b60006108dc8289610811565b91506108e882886107f9565b6002820191506108f88287610811565b915061090482866107f9565b6002820191506109148285610811565b915061092082846107e2565b506001019695505050505050565b602081016106718284610840565b6020808252810161094d8184610849565b9392505050565b602081016106718284610881565b606081016109708286610881565b61097d6020830185610881565b61073b6040830184610881565b60405181810167ffffffffffffffff811182821017156109a957600080fd5b604052919050565b600067ffffffffffffffff8211156109c857600080fd5b506020601f919091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160190565b5190565b90815260200190565b600061067182610a5c565b7fff000000000000000000000000000000000000000000000000000000000000001690565b7fffff0000000000000000000000000000000000000000000000000000000000001690565b90565b73ffffffffffffffffffffffffffffffffffffffff1690565b600061067182610a04565b82818337506000910152565b60005b83811015610aa7578181015183820152602001610a8f565b8381111561033b5750506000910152565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b610ae981610a04565b8114610af457600080fd5b50565b610ae981610a5956fea365627a7a723158205be79378aa0be3116c853c7dea79ef227990e0bd78a2ce5cd5d7fcbe4c058a9a6c6578706572696d656e74616cf564736f6c63430005100040",
|
|
155
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806315c14a4a146100515780632137c0e51461006f5780638b4187131461008f578063b33b9cc0146100a4575b600080fd5b6100596100b7565b604051610066919061092e565b60405180910390f35b61008261007d3660046107a8565b6100d3565b6040516100669190610954565b6100a261009d366004610743565b6100f0565b005b6100826100b236600461071d565b61022a565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b600160209081526000928352604080842090915290825290205481565b60005433906101599073ffffffffffffffffffffffffffffffffffffffff1682147f4f6e6c79446f6c6f6d6974654d617267696e00000000000000000000000000007f4f6e6c7920446f6c6f6d6974652063616e2063616c6c2066756e6374696f6e008461023c565b60008061016584610341565b91509150846000015173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167f4c3c182d38f9efecd4bc09ba9ff16cf39e0b4c71b7f0286d0306f9ef91a5a6a8876020015185856040516101d293929190610962565b60405180910390a3845173ffffffffffffffffffffffffffffffffffffffff90811660009081526001602090815260408083209882015183529781528782209490945596168652600290915292909320919091555050565b60026020526000908152604090205481565b8361033b5761024a836103a4565b7f3a20000000000000000000000000000000000000000000000000000000000000610274846103a4565b7f203c00000000000000000000000000000000000000000000000000000000000061029e8561047e565b6040516102d49594939291907f3e00000000000000000000000000000000000000000000000000000000000000906020016108d0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a00000000000000000000000000000000000000000000000000000000082526103329160040161093c565b60405180910390fd5b50505050565b60008061039383516040147f5465737443616c6c6565000000000000000000000000000000000000000000007f43616c6c206461746120696e76616c6964206c656e67746800000000000000006105f5565b505060208101516040820151915091565b606080826040516020016103b8919061088a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152919052905060205b80156104615781517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9091019082908290811061042457fe5b01602001517fff00000000000000000000000000000000000000000000000000000000000000161561045c5760010181529050610479565b6103eb565b5060408051600080825260208201909252905b509150505b919050565b60408051602a808252606082810190935273ffffffffffffffffffffffffffffffffffffffff8416918391602082018180388339019050509050603060f81b816000815181106104ca57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350607860f81b8160018151811061050b57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b60148110156104745760028102610556600f8516610644565b83826029038151811061056557fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600484901c93506105a7600f8516610644565b8382602803815181106105b657fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505060049290921c9160010161053d565b8261063f57610603826103a4565b7f3a2000000000000000000000000000000000000000000000000000000000000061062d836103a4565b6040516020016102d49392919061089f565b505050565b6000600a82101561065c57506030810160f81b610479565b5060570160f81b90565b803561067181610ae0565b92915050565b600082601f83011261068857600080fd5b813561069b610696826109b1565b61098a565b915080825260208301602083018583830111156106b757600080fd5b6106c2838284610a80565b50505092915050565b6000604082840312156106dd57600080fd5b6106e7604061098a565b905060006106f58484610666565b825250602061070684848301610712565b60208301525092915050565b803561067181610af7565b60006020828403121561072f57600080fd5b600061073b8484610666565b949350505050565b60008060006080848603121561075857600080fd5b60006107648686610666565b9350506020610775868287016106cb565b925050606084013567ffffffffffffffff81111561079257600080fd5b61079e86828701610677565b9150509250925092565b600080604083850312156107bb57600080fd5b60006107c78585610666565b92505060206107d885828601610712565b9150509250929050565b6107f36107ee82610a0f565b610a59565b82525050565b6107f36107ee82610a34565b6107f36107ee82610a59565b600061081c826109f7565b6108268185610479565b9350610836818560208601610a8c565b9290920192915050565b6107f381610a75565b6000610854826109f7565b61085e81856109fb565b935061086e818560208601610a8c565b61087781610ab8565b9093019392505050565b6107f381610a59565b60006108968284610805565b50602001919050565b60006108ab8286610811565b91506108b782856107f9565b6002820191506108c78284610811565b95945050505050565b60006108dc8289610811565b91506108e882886107f9565b6002820191506108f88287610811565b915061090482866107f9565b6002820191506109148285610811565b915061092082846107e2565b506001019695505050505050565b602081016106718284610840565b6020808252810161094d8184610849565b9392505050565b602081016106718284610881565b606081016109708286610881565b61097d6020830185610881565b61073b6040830184610881565b60405181810167ffffffffffffffff811182821017156109a957600080fd5b604052919050565b600067ffffffffffffffff8211156109c857600080fd5b506020601f919091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160190565b5190565b90815260200190565b600061067182610a5c565b7fff000000000000000000000000000000000000000000000000000000000000001690565b7fffff0000000000000000000000000000000000000000000000000000000000001690565b90565b73ffffffffffffffffffffffffffffffffffffffff1690565b600061067182610a04565b82818337506000910152565b60005b83811015610aa7578181015183820152602001610a8f565b8381111561033b5750506000910152565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b610ae981610a04565b8114610af457600080fd5b50565b610ae981610a5956fea365627a7a723158205be79378aa0be3116c853c7dea79ef227990e0bd78a2ce5cd5d7fcbe4c058a9a6c6578706572696d656e74616cf564736f6c63430005100040",
|
|
156
156
|
"sourceMap": "1056:1964:90:-;;;1697:114;8:9:-1;5:2;;;30:1;27;20:12;5:2;1697:114:90;;;;;;;;;;;;;;;;;;;;;1293:15:6;:49;;-1:-1:-1;;;;;;1293:49:6;-1:-1:-1;;;;;1293:49:6;;;;;;;;;;1056:1964:90;;5:134:-1;83:13;;101:33;83:13;101:33;;;68:71;;;;;146:263;;261:2;249:9;240:7;236:23;232:32;229:2;;;277:1;274;267:12;229:2;312:1;329:64;385:7;365:9;329:64;;;319:74;223:186;-1:-1;;;;223:186;416:91;;-1:-1;;;;;576:54;;478:24;559:76;642:117;711:24;729:5;711:24;;;704:5;701:35;691:2;;750:1;747;740:12;691:2;685:74;;;1056:1964:90;;;;;;",
|
|
157
157
|
"deployedSourceMap": "1056:1964:90:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1056:1964:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1122:38:6;;;:::i;:::-;;;;;;;;;;;;;;;;1501:68:90;;;;;;;;;:::i;:::-;;;;;;;;1869:515;;;;;;;;;:::i;:::-;;1598:46;;;;;;;;;:::i;1122:38:6:-;;;;;;:::o;1501:68:90:-;;;;;;;;;;;;;;;;;;;;;;;;:::o;1869:515::-;1493:15:6;;2027:10:90;;1451:151:6;;1493:15;;1477:32;;1523:4;1451:151;2027:10:90;1451:12:6;:151::i;:::-;2067:13:90;2094;2120:15;2130:4;2120:9;:15::i;:::-;2053:82;;;;2191:7;:13;;;2151:129;;2171:6;2151:129;;;2218:7;:14;;;2246:5;2265;2151:129;;;;;;;;;;;;;;;;;2303:13;;2291:26;;;;;;;;:11;:26;;;;;;;;2318:14;;;;2291:42;;;;;;;;:50;;;;2351:18;;;;:10;:18;;;;;;;:26;;;;-1:-1:-1;;1869:515:90:o;1598:46::-;;;;;;;;;;;;;:::o;2962:561:77:-;3122:4;3117:400;;3236:24;3255:4;3236:18;:24::i;:::-;3286:5;3317:26;3336:6;3317:18;:26::i;:::-;3369:6;3401:19;3411:8;3401:9;:19::i;:::-;3194:280;;;;;;;;;3446:6;;3194:280;;;;;;;;22:32:-1;26:21;;;22:32;6:49;;3194:280:77;;;;3142:364;;;;;;;;;;;;;;;;;3117:400;2962:561;;;;:::o;2442:576:90:-;2553:7;2574;2606:111;2632:4;:11;2647:2;2632:17;2663:4;2606:111;:12;:111::i;:::-;-1:-1:-1;;2890:2:90;2880:13;;2874:20;2932:2;2922:13;;2916:20;2442:576;;;:::o;6359:966:77:-;6462:12;6537:19;6576:5;6559:23;;;;;;;;;;;;;22:32:-1;26:21;;;22:32;6:49;;6559:23:77;;;;-1:-1:-1;49:4;6688:571:77;6709:5;;6688:571;;6960:9;;6862:3;;;;;6960:6;;6862:3;;6960:9;;;;;;;;;;;;:14;6956:293;;7015:1;7011:5;7141:22;;7148:6;-1:-1:-1;7221:13:77;;6956:293;6688:571;;;-1:-1:-1;7306:12:77;;;7316:1;7306:12;;;;;;;;;;;;7299:19;;;6359:966;;;;:::o;8249:962::-;8521:13;;;8531:2;8521:13;;;8343:12;8521:13;;;;;;8383:14;;;;8343:12;;8521:13;;;21:6:-1;;104:10;8521:13:77;87:34:-1;135:17;;-1:-1;8521:13:77;8499:35;;902:2;8598:23;;8586:6;8593:1;8586:9;;;;;;;;;;;:35;;;;;;;;;;;1010:3;8643:27;;8631:6;8638:1;8631:9;;;;;;;;;;;:39;;;;;;;;;;-1:-1:-1;8784:9:77;8779:402;8803:2;8799:1;:6;8779:402;;;8892:1;8888:5;;8985:23;1232:3;8990:17;;8985:4;:23::i;:::-;8964:6;8976:5;8971:2;:10;8964:18;;;;;;;;;;;:44;;;;;;;;;;;9031:1;9026;:6;;9022:10;;9123:23;1232:3;9128:1;:17;9123:4;:23::i;:::-;9102:6;9114:5;9109:2;:10;9102:18;;;;;;;;;;;:44;;;;;;;;;;-1:-1:-1;;9169:1:77;9164:6;;;;;8807:3;;8779:402;;1294:426;1428:4;1423:291;;1542:24;1561:4;1542:18;:24::i;:::-;1592:5;1623:26;1642:6;1623:18;:26::i;:::-;1500:171;;;;;;;;;;;1423:291;1294:426;;;:::o;10183:325::-;10272:4;10340:2;10332:5;:10;10328:79;;;-1:-1:-1;902:2:77;10376:18;;10365:31;;10358:38;;10328:79;-1:-1:-1;956:2:77;10472:27;10461:40;;;10183:325::o;5:130:-1:-;72:20;;97:33;72:20;97:33;;;57:78;;;;;143:440;;244:3;237:4;229:6;225:17;221:27;211:2;;262:1;259;252:12;211:2;299:6;286:20;321:64;336:48;377:6;336:48;;;321:64;;;312:73;;405:6;398:5;391:21;441:4;433:6;429:17;474:4;467:5;463:16;509:3;500:6;495:3;491:16;488:25;485:2;;;526:1;523;516:12;485:2;536:41;570:6;565:3;560;536:41;;;204:379;;;;;;;;617:468;;729:4;717:9;712:3;708:19;704:30;701:2;;;747:1;744;737:12;701:2;765:20;780:4;765:20;;;756:29;-1:-1;836:1;868:49;913:3;893:9;868:49;;;843:75;;-1:-1;981:2;1014:49;1059:3;1035:22;;;1014:49;;;1007:4;1000:5;996:16;989:75;939:136;695:390;;;;;1092:130;1159:20;;1184:33;1159:20;1184:33;;1229:241;;1333:2;1321:9;1312:7;1308:23;1304:32;1301:2;;;1349:1;1346;1339:12;1301:2;1384:1;1401:53;1446:7;1426:9;1401:53;;;1391:63;1295:175;-1:-1;;;;1295:175;1477:642;;;;1647:3;1635:9;1626:7;1622:23;1618:33;1615:2;;;1664:1;1661;1654:12;1615:2;1699:1;1716:53;1761:7;1741:9;1716:53;;;1706:63;;1678:97;1806:2;1824:76;1892:7;1883:6;1872:9;1868:22;1824:76;;;1814:86;;1785:121;1965:2;1954:9;1950:18;1937:32;1989:18;1981:6;1978:30;1975:2;;;2021:1;2018;2011:12;1975:2;2041:62;2095:7;2086:6;2075:9;2071:22;2041:62;;;2031:72;;1916:193;1609:510;;;;;;2126:366;;;2247:2;2235:9;2226:7;2222:23;2218:32;2215:2;;;2263:1;2260;2253:12;2215:2;2298:1;2315:53;2360:7;2340:9;2315:53;;;2305:63;;2277:97;2405:2;2423:53;2468:7;2459:6;2448:9;2444:22;2423:53;;;2413:63;;2384:98;2209:283;;;;;;2499:148;2598:43;2617:23;2634:5;2617:23;;;2598:43;;;2593:3;2586:56;2580:67;;;2654:148;2753:43;2772:23;2789:5;2772:23;;2809:152;2910:45;2930:24;2948:5;2930:24;;2968:356;;3096:38;3128:5;3096:38;;;3146:88;3227:6;3222:3;3146:88;;;3139:95;;3239:52;3284:6;3279:3;3272:4;3265:5;3261:16;3239:52;;;3303:16;;;;;3076:248;-1:-1;;3076:248;3331:176;3439:62;3495:5;3439:62;;3514:347;;3626:39;3659:5;3626:39;;;3677:71;3741:6;3736:3;3677:71;;;3670:78;;3753:52;3798:6;3793:3;3786:4;3779:5;3775:16;3753:52;;;3826:29;3848:6;3826:29;;;3817:39;;;;3606:255;-1:-1;;;3606:255;3868:113;3951:24;3969:5;3951:24;;3988:244;;4107:75;4178:3;4169:6;4107:75;;;-1:-1;4204:2;4195:12;;4095:137;-1:-1;4095:137;4239:553;;4455:93;4544:3;4535:6;4455:93;;;4448:100;;4559:73;4628:3;4619:6;4559:73;;;4654:1;4649:3;4645:11;4638:18;;4674:93;4763:3;4754:6;4674:93;;;4667:100;4436:356;-1:-1;;;;;4436:356;4799:978;;5113:93;5202:3;5193:6;5113:93;;;5106:100;;5217:73;5286:3;5277:6;5217:73;;;5312:1;5307:3;5303:11;5296:18;;5332:93;5421:3;5412:6;5332:93;;;5325:100;;5436:73;5505:3;5496:6;5436:73;;;5531:1;5526:3;5522:11;5515:18;;5551:93;5640:3;5631:6;5551:93;;;5544:100;;5655:73;5724:3;5715:6;5655:73;;;-1:-1;5750:1;5741:11;;5094:683;-1:-1;;;;;;5094:683;5784:263;5927:2;5912:18;;5941:96;5916:9;6010:6;5941:96;;6054:301;6192:2;6206:47;;;6177:18;;6267:78;6177:18;6331:6;6267:78;;;6259:86;6163:192;-1:-1;;;6163:192;6362:213;6480:2;6465:18;;6494:71;6469:9;6538:6;6494:71;;6582:435;6756:2;6741:18;;6770:71;6745:9;6814:6;6770:71;;;6852:72;6920:2;6909:9;6905:18;6896:6;6852:72;;;6935;7003:2;6992:9;6988:18;6979:6;6935:72;;7024:256;7086:2;7080:9;7112:17;;;7187:18;7172:34;;7208:22;;;7169:62;7166:2;;;7244:1;7241;7234:12;7166:2;7260;7253:22;7064:216;;-1:-1;7064:216;7287:321;;7430:18;7422:6;7419:30;7416:2;;;7462:1;7459;7452:12;7416:2;-1:-1;7593:4;7529;7506:17;;;;7525:9;7502:33;7583:15;;7353:255;7615:121;7702:12;;7673:63;8026:163;8129:19;;;8178:4;8169:14;;8122:67;8197:91;;8259:24;8277:5;8259:24;;8295:144;8367:66;8356:78;;8339:100;8446:144;8518:66;8507:78;;8490:100;8597:72;8659:5;8642:27;8676:121;8749:42;8738:54;;8721:76;8883:171;;8987:62;9043:5;8987:62;;9202:145;9283:6;9278:3;9273;9260:30;-1:-1;9339:1;9321:16;;9314:27;9253:94;9356:268;9421:1;9428:101;9442:6;9439:1;9436:13;9428:101;;;9509:11;;;9503:18;9490:11;;;9483:39;9464:2;9457:10;9428:101;;;9544:6;9541:1;9538:13;9535:2;;;-1:-1;;9609:1;9591:16;;9584:27;9405:219;9873:97;9961:2;9941:14;9957:7;9937:28;;9921:49;9978:117;10047:24;10065:5;10047:24;;;10040:5;10037:35;10027:2;;10086:1;10083;10076:12;10027:2;10021:74;;10102:117;10171:24;10189:5;10171:24;",
|
|
158
158
|
"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 {OnlyDolomiteMargin} from \"../external/helpers/OnlyDolomiteMargin.sol\";\nimport { ICallee } from \"../protocol/interfaces/ICallee.sol\";\nimport { IAutoTrader } from \"../protocol/interfaces/IAutoTrader.sol\";\nimport { Account } from \"../protocol/lib/Account.sol\";\nimport { Require } from \"../protocol/lib/Require.sol\";\n\n\n/**\n * @title TestCallee\n * @author dYdX\n *\n * ICallee for testing\n */\ncontract TestCallee is\n ICallee,\nOnlyDolomiteMargin\n{\n // ============ Constants ============\n\n bytes32 constant FILE = \"TestCallee\";\n\n // ============ Events ============\n\n event Called(\n address indexed sender,\n address indexed accountOwner,\n uint256 accountNumber,\n uint256 accountData,\n uint256 senderData\n );\n\n // ============ Storage ============\n\n // owner => number => data\n mapping (address => mapping (uint256 => uint256)) public accountData;\n\n // sender => data\n mapping (address => uint256) public senderData;\n\n // ============ Constructor ============\n\n constructor(\n address dolomiteMargin\n )\n public\n OnlyDolomiteMargin(dolomiteMargin)\n {}\n\n // ============ ICallee Functions ============\n\n function callFunction(\n address sender,\n Account.Info memory account,\n bytes memory data\n )\n public\n onlyDolomiteMargin(msg.sender)\n {\n (\n uint256 aData,\n uint256 sData\n ) = parseData(data);\n\n emit Called(\n sender,\n account.owner,\n account.number,\n aData,\n sData\n );\n\n accountData[account.owner][account.number] = aData;\n senderData[sender] = sData;\n }\n\n // ============ Private Functions ============\n\n function parseData(\n bytes memory data\n )\n private\n pure\n returns (\n uint256,\n uint256\n )\n {\n Require.that(\n data.length == 64,\n FILE,\n \"Call data invalid length\"\n );\n\n uint256 aData;\n uint256 sData;\n\n /* solium-disable-next-line security/no-inline-assembly */\n assembly {\n aData := mload(add(data, 32))\n sData := mload(add(data, 64))\n }\n\n return (\n aData,\n sData\n );\n }\n}\n",
|
|
159
|
-
"sourcePath": "/
|
|
159
|
+
"sourcePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestCallee.sol",
|
|
160
160
|
"ast": {
|
|
161
|
-
"absolutePath": "/
|
|
161
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestCallee.sol",
|
|
162
162
|
"exportedSymbols": {
|
|
163
163
|
"TestCallee": [
|
|
164
164
|
35528
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
"src": "627:33:90"
|
|
189
189
|
},
|
|
190
190
|
{
|
|
191
|
-
"absolutePath": "/
|
|
191
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/external/helpers/OnlyDolomiteMargin.sol",
|
|
192
192
|
"file": "../external/helpers/OnlyDolomiteMargin.sol",
|
|
193
193
|
"id": 35401,
|
|
194
194
|
"nodeType": "ImportDirective",
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
"unitAlias": ""
|
|
205
205
|
},
|
|
206
206
|
{
|
|
207
|
-
"absolutePath": "/
|
|
207
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/interfaces/ICallee.sol",
|
|
208
208
|
"file": "../protocol/interfaces/ICallee.sol",
|
|
209
209
|
"id": 35403,
|
|
210
210
|
"nodeType": "ImportDirective",
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
"unitAlias": ""
|
|
221
221
|
},
|
|
222
222
|
{
|
|
223
|
-
"absolutePath": "/
|
|
223
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/interfaces/IAutoTrader.sol",
|
|
224
224
|
"file": "../protocol/interfaces/IAutoTrader.sol",
|
|
225
225
|
"id": 35405,
|
|
226
226
|
"nodeType": "ImportDirective",
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
"unitAlias": ""
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
|
-
"absolutePath": "/
|
|
239
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Account.sol",
|
|
240
240
|
"file": "../protocol/lib/Account.sol",
|
|
241
241
|
"id": 35407,
|
|
242
242
|
"nodeType": "ImportDirective",
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
"unitAlias": ""
|
|
253
253
|
},
|
|
254
254
|
{
|
|
255
|
-
"absolutePath": "/
|
|
255
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Require.sol",
|
|
256
256
|
"file": "../protocol/lib/Require.sol",
|
|
257
257
|
"id": 35409,
|
|
258
258
|
"nodeType": "ImportDirective",
|
|
@@ -1806,7 +1806,7 @@
|
|
|
1806
1806
|
"src": "603:2418:90"
|
|
1807
1807
|
},
|
|
1808
1808
|
"legacyAST": {
|
|
1809
|
-
"absolutePath": "/
|
|
1809
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestCallee.sol",
|
|
1810
1810
|
"exportedSymbols": {
|
|
1811
1811
|
"TestCallee": [
|
|
1812
1812
|
35528
|
|
@@ -1836,7 +1836,7 @@
|
|
|
1836
1836
|
"src": "627:33:90"
|
|
1837
1837
|
},
|
|
1838
1838
|
{
|
|
1839
|
-
"absolutePath": "/
|
|
1839
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/external/helpers/OnlyDolomiteMargin.sol",
|
|
1840
1840
|
"file": "../external/helpers/OnlyDolomiteMargin.sol",
|
|
1841
1841
|
"id": 35401,
|
|
1842
1842
|
"nodeType": "ImportDirective",
|
|
@@ -1852,7 +1852,7 @@
|
|
|
1852
1852
|
"unitAlias": ""
|
|
1853
1853
|
},
|
|
1854
1854
|
{
|
|
1855
|
-
"absolutePath": "/
|
|
1855
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/interfaces/ICallee.sol",
|
|
1856
1856
|
"file": "../protocol/interfaces/ICallee.sol",
|
|
1857
1857
|
"id": 35403,
|
|
1858
1858
|
"nodeType": "ImportDirective",
|
|
@@ -1868,7 +1868,7 @@
|
|
|
1868
1868
|
"unitAlias": ""
|
|
1869
1869
|
},
|
|
1870
1870
|
{
|
|
1871
|
-
"absolutePath": "/
|
|
1871
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/interfaces/IAutoTrader.sol",
|
|
1872
1872
|
"file": "../protocol/interfaces/IAutoTrader.sol",
|
|
1873
1873
|
"id": 35405,
|
|
1874
1874
|
"nodeType": "ImportDirective",
|
|
@@ -1884,7 +1884,7 @@
|
|
|
1884
1884
|
"unitAlias": ""
|
|
1885
1885
|
},
|
|
1886
1886
|
{
|
|
1887
|
-
"absolutePath": "/
|
|
1887
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Account.sol",
|
|
1888
1888
|
"file": "../protocol/lib/Account.sol",
|
|
1889
1889
|
"id": 35407,
|
|
1890
1890
|
"nodeType": "ImportDirective",
|
|
@@ -1900,7 +1900,7 @@
|
|
|
1900
1900
|
"unitAlias": ""
|
|
1901
1901
|
},
|
|
1902
1902
|
{
|
|
1903
|
-
"absolutePath": "/
|
|
1903
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Require.sol",
|
|
1904
1904
|
"file": "../protocol/lib/Require.sol",
|
|
1905
1905
|
"id": 35409,
|
|
1906
1906
|
"nodeType": "ImportDirective",
|
|
@@ -3499,12 +3499,12 @@
|
|
|
3499
3499
|
}
|
|
3500
3500
|
},
|
|
3501
3501
|
"links": {},
|
|
3502
|
-
"address": "
|
|
3503
|
-
"transactionHash": "
|
|
3502
|
+
"address": "0xaD888d0Ade988EbEe74B8D4F39BF29a8d0fe8A8D",
|
|
3503
|
+
"transactionHash": "0xcde5859bcbc2ccc1f7f968a01ccdb8bdfa388398fd28aa796388674773087a76"
|
|
3504
3504
|
}
|
|
3505
3505
|
},
|
|
3506
3506
|
"schemaVersion": "3.0.23",
|
|
3507
|
-
"updatedAt": "2022-02-
|
|
3507
|
+
"updatedAt": "2022-02-07T07:18:45.401Z",
|
|
3508
3508
|
"devdoc": {
|
|
3509
3509
|
"author": "dYdX * ICallee for testing",
|
|
3510
3510
|
"methods": {},
|