@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
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"contractName": "TestOperationImpl",
|
|
3
3
|
"abi": [],
|
|
4
|
-
"metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"This is used to split apart the call to state#setPar to lessen the bytecode size of TestDolomiteMargin.sol\",\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/
|
|
5
|
-
"bytecode": "
|
|
6
|
-
"deployedBytecode": "
|
|
4
|
+
"metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"This is used to split apart the call to state#setPar to lessen the bytecode size of TestDolomiteMargin.sol\",\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestOperationImpl.sol\":\"TestOperationImpl\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[]},\"sources\":{\"/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/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/TestOperationImpl.sol\":{\"keccak256\":\"0x402c23b97d383f6b01720480cad64d36dbc5da8a216eed4a5bbe6e4688e201f6\",\"urls\":[\"bzz-raw://06bd34638734f6c944de81d059876d7f79d4e78896d8bf2c0f1f3d88a26c3f85\",\"dweb:/ipfs/QmTYRMPjQfRmHqGty16YB7b5avCHye8ZupmUZEg2KCSopm\"]},\"@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}",
|
|
5
|
+
"bytecode": "0x611071610026600b82828239805160001a60731461001957fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c806381379a5e1461003a575b600080fd5b81801561004657600080fd5b5061005a610055366004610d25565b61005c565b005b61006e8484848463ffffffff61007416565b50505050565b61007c610c60565b61008d85858563ffffffff61055316565b905061009981836105d2565b156100a4575061006e565b6100ac610c60565b6100bc868563ffffffff61064516565b8251909150156101295761010d61010883602001516fffffffffffffffffffffffffffffffff1683602001516fffffffffffffffffffffffffffffffff166106a590919063ffffffff16565b6106ee565b6fffffffffffffffffffffffffffffffff16602082015261016e565b6020820151815161015991610108916fffffffffffffffffffffffffffffffff908116911663ffffffff6106a516565b6fffffffffffffffffffffffffffffffff1681525b8251156101d3576101b761010884602001516fffffffffffffffffffffffffffffffff1683602001516fffffffffffffffffffffffffffffffff1661075990919063ffffffff16565b6fffffffffffffffffffffffffffffffff166020820152610218565b6020830151815161020391610108916fffffffffffffffffffffffffffffffff908116911663ffffffff61075916565b6fffffffffffffffffffffffffffffffff1681525b610221826107a1565b80156102315750610231836107c9565b156102ce57845173ffffffffffffffffffffffffffffffffffffffff1660009081526004870160209081526040808320828901518452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff63ffffffff61010080840482169290920116027fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ff909116179055610360565b6102d7826107c9565b80156102e757506102e7836107a1565b1561036057845173ffffffffffffffffffffffffffffffffffffffff16600090815260048701602090815260408083208289015184529091529020805463ffffffff6101008083048216600101909116027fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ff9091161790555b610369836107df565b801561037b5750610379826107df565b155b156103cf57845173ffffffffffffffffffffffffffffffffffffffff166000908152600487016020908152604080832082890151845290915290206103c9906001018563ffffffff6107f916565b50610439565b6103d8836107df565b1580156103e957506103e9826107df565b1561043957845173ffffffffffffffffffffffffffffffffffffffff16600090815260048701602090815260408083208289015184529091529020610437906001018563ffffffff6108df16565b505b6000848152600180880160209081526040808420855193018054958301516fffffffffffffffffffffffffffffffff908116700100000000000000000000000000000000029481167fffffffffffffffffffffffffffffffff0000000000000000000000000000000090971696909617861693909317909255875173ffffffffffffffffffffffffffffffffffffffff1683526004890181528183208882015184528152818320878452600301815291208451815492860151909316610100027fffffffffffffffffffffffffffffff00000000000000000000000000000000ff9315157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0090931692909217929092161790555050505050565b61055b610c60565b50815173ffffffffffffffffffffffffffffffffffffffff1660009081526004840160209081526040808320828601518452825280832084845260030182529182902082518084019093525460ff8116151583526fffffffffffffffffffffffffffffffff61010090910416908201529392505050565b600081602001516fffffffffffffffffffffffffffffffff1683602001516fffffffffffffffffffffffffffffffff16141561063b5760208301516fffffffffffffffffffffffffffffffff1661062b5750600161063f565b508051825115159015151461063f565b5060005b92915050565b61064d610c60565b506000818152600180840160209081526040928390208351808501909452909101546fffffffffffffffffffffffffffffffff8082168452700100000000000000000000000000000000909104169082015292915050565b60006106e783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610929565b9392505050565b6000816107516fffffffffffffffffffffffffffffffff821682147f4d617468000000000000000000000000000000000000000000000000000000007f556e73616665206361737420746f2075696e74313238000000000000000000008461096f565b90505b919050565b6000828201838110156106e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079890610ed9565b60405180910390fd5b60008082602001516fffffffffffffffffffffffffffffffff16118015610751575050511590565b60006107d4826107df565b806107515750505190565b602001516fffffffffffffffffffffffffffffffff161590565b600081815260018301602052604081205480156108d55783547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808301910180821461088f57600086600001828154811061085057fe5b906000526020600020015490508087600001848154811061086d57fe5b6000918252602080832090910192909255918252600188019052604090208390555b855486908061089a57fe5b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061063f565b600091505061063f565b60006108eb8383610a65565b6109215750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561063f565b50600061063f565b60008184841115610967576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107989190610ec8565b505050900390565b8361006e5761097d83610a7d565b7f3a200000000000000000000000000000000000000000000000000000000000006109a784610a7d565b7f203c0000000000000000000000000000000000000000000000000000000000006109d185610b51565b604051610a079594939291907f3e0000000000000000000000000000000000000000000000000000000000000090602001610e6a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a000000000000000000000000000000000000000000000000000000000825261079891600401610ec8565b60009081526001919091016020526040902054151590565b60608082604051602001610a919190610e55565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152919052905060205b8015610b3a5781517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90910190829082908110610afd57fe5b01602001517fff000000000000000000000000000000000000000000000000000000000000001615610b355760010181529050610754565b610ac4565b505060408051600081526020810190915292915050565b606081610b92575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610754565b8160005b8115610baa57600101600a82049150610b96565b6060816040519080825280601f01601f191660200182016040528015610bd7576020820181803883390190505b508593509050815b8015610c57577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01600a840660300160f81b828281518110610c1d57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a84049350610bdf565b50949350505050565b604080518082019091526000808252602082015290565b803561063f81610ffc565b803561063f81611013565b600060408284031215610c9f57600080fd5b610ca96040610ee9565b90506000610cb78484610c77565b8252506020610cc884848301610d0f565b60208301525092915050565b600060408284031215610ce657600080fd5b610cf06040610ee9565b90506000610cfe8484610c82565b8252506020610cc884848301610d1a565b803561063f8161101c565b803561063f81611025565b60008060008060c08587031215610d3b57600080fd5b6000610d478787610d0f565b9450506020610d5887828801610c8d565b9350506060610d6987828801610d0f565b9250506080610d7a87828801610cd4565b91505092959194509250565b610d97610d9282610f2d565b610f77565b82525050565b610d97610d9282610f52565b610d97610d9282610f77565b6000610dc082610f10565b610dca8185610754565b9350610dda818560208601610fa8565b9290920192915050565b6000610def82610f10565b610df98185610f14565b9350610e09818560208601610fa8565b610e1281610fd4565b9093019392505050565b6000610e29601b83610f14565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000815260200192915050565b6000610e618284610da9565b50602001919050565b6000610e768289610db5565b9150610e828288610d9d565b600282019150610e928287610db5565b9150610e9e8286610d9d565b600282019150610eae8285610db5565b9150610eba8284610d86565b506001019695505050505050565b602080825281016106e78184610de4565b6020808252810161075181610e1c565b60405181810167ffffffffffffffff81118282101715610f0857600080fd5b604052919050565b5190565b90815260200190565b600061075182610f8f565b151590565b7fff000000000000000000000000000000000000000000000000000000000000001690565b7fffff0000000000000000000000000000000000000000000000000000000000001690565b90565b6fffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1690565b60005b83811015610fc3578181015183820152602001610fab565b8381111561006e5750506000910152565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b61100581610f1d565b811461101057600080fd5b50565b61100581610f28565b61100581610f77565b61100581610f7a56fea365627a7a72315820916b8de9fffbac18da3845a95f3ef86c349298130594a21438713a9d5d118f356c6578706572696d656e74616cf564736f6c63430005100040",
|
|
6
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c806381379a5e1461003a575b600080fd5b81801561004657600080fd5b5061005a610055366004610d25565b61005c565b005b61006e8484848463ffffffff61007416565b50505050565b61007c610c60565b61008d85858563ffffffff61055316565b905061009981836105d2565b156100a4575061006e565b6100ac610c60565b6100bc868563ffffffff61064516565b8251909150156101295761010d61010883602001516fffffffffffffffffffffffffffffffff1683602001516fffffffffffffffffffffffffffffffff166106a590919063ffffffff16565b6106ee565b6fffffffffffffffffffffffffffffffff16602082015261016e565b6020820151815161015991610108916fffffffffffffffffffffffffffffffff908116911663ffffffff6106a516565b6fffffffffffffffffffffffffffffffff1681525b8251156101d3576101b761010884602001516fffffffffffffffffffffffffffffffff1683602001516fffffffffffffffffffffffffffffffff1661075990919063ffffffff16565b6fffffffffffffffffffffffffffffffff166020820152610218565b6020830151815161020391610108916fffffffffffffffffffffffffffffffff908116911663ffffffff61075916565b6fffffffffffffffffffffffffffffffff1681525b610221826107a1565b80156102315750610231836107c9565b156102ce57845173ffffffffffffffffffffffffffffffffffffffff1660009081526004870160209081526040808320828901518452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff63ffffffff61010080840482169290920116027fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ff909116179055610360565b6102d7826107c9565b80156102e757506102e7836107a1565b1561036057845173ffffffffffffffffffffffffffffffffffffffff16600090815260048701602090815260408083208289015184529091529020805463ffffffff6101008083048216600101909116027fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ff9091161790555b610369836107df565b801561037b5750610379826107df565b155b156103cf57845173ffffffffffffffffffffffffffffffffffffffff166000908152600487016020908152604080832082890151845290915290206103c9906001018563ffffffff6107f916565b50610439565b6103d8836107df565b1580156103e957506103e9826107df565b1561043957845173ffffffffffffffffffffffffffffffffffffffff16600090815260048701602090815260408083208289015184529091529020610437906001018563ffffffff6108df16565b505b6000848152600180880160209081526040808420855193018054958301516fffffffffffffffffffffffffffffffff908116700100000000000000000000000000000000029481167fffffffffffffffffffffffffffffffff0000000000000000000000000000000090971696909617861693909317909255875173ffffffffffffffffffffffffffffffffffffffff1683526004890181528183208882015184528152818320878452600301815291208451815492860151909316610100027fffffffffffffffffffffffffffffff00000000000000000000000000000000ff9315157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0090931692909217929092161790555050505050565b61055b610c60565b50815173ffffffffffffffffffffffffffffffffffffffff1660009081526004840160209081526040808320828601518452825280832084845260030182529182902082518084019093525460ff8116151583526fffffffffffffffffffffffffffffffff61010090910416908201529392505050565b600081602001516fffffffffffffffffffffffffffffffff1683602001516fffffffffffffffffffffffffffffffff16141561063b5760208301516fffffffffffffffffffffffffffffffff1661062b5750600161063f565b508051825115159015151461063f565b5060005b92915050565b61064d610c60565b506000818152600180840160209081526040928390208351808501909452909101546fffffffffffffffffffffffffffffffff8082168452700100000000000000000000000000000000909104169082015292915050565b60006106e783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610929565b9392505050565b6000816107516fffffffffffffffffffffffffffffffff821682147f4d617468000000000000000000000000000000000000000000000000000000007f556e73616665206361737420746f2075696e74313238000000000000000000008461096f565b90505b919050565b6000828201838110156106e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079890610ed9565b60405180910390fd5b60008082602001516fffffffffffffffffffffffffffffffff16118015610751575050511590565b60006107d4826107df565b806107515750505190565b602001516fffffffffffffffffffffffffffffffff161590565b600081815260018301602052604081205480156108d55783547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808301910180821461088f57600086600001828154811061085057fe5b906000526020600020015490508087600001848154811061086d57fe5b6000918252602080832090910192909255918252600188019052604090208390555b855486908061089a57fe5b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061063f565b600091505061063f565b60006108eb8383610a65565b6109215750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561063f565b50600061063f565b60008184841115610967576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107989190610ec8565b505050900390565b8361006e5761097d83610a7d565b7f3a200000000000000000000000000000000000000000000000000000000000006109a784610a7d565b7f203c0000000000000000000000000000000000000000000000000000000000006109d185610b51565b604051610a079594939291907f3e0000000000000000000000000000000000000000000000000000000000000090602001610e6a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a000000000000000000000000000000000000000000000000000000000825261079891600401610ec8565b60009081526001919091016020526040902054151590565b60608082604051602001610a919190610e55565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152919052905060205b8015610b3a5781517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90910190829082908110610afd57fe5b01602001517fff000000000000000000000000000000000000000000000000000000000000001615610b355760010181529050610754565b610ac4565b505060408051600081526020810190915292915050565b606081610b92575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610754565b8160005b8115610baa57600101600a82049150610b96565b6060816040519080825280601f01601f191660200182016040528015610bd7576020820181803883390190505b508593509050815b8015610c57577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01600a840660300160f81b828281518110610c1d57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a84049350610bdf565b50949350505050565b604080518082019091526000808252602082015290565b803561063f81610ffc565b803561063f81611013565b600060408284031215610c9f57600080fd5b610ca96040610ee9565b90506000610cb78484610c77565b8252506020610cc884848301610d0f565b60208301525092915050565b600060408284031215610ce657600080fd5b610cf06040610ee9565b90506000610cfe8484610c82565b8252506020610cc884848301610d1a565b803561063f8161101c565b803561063f81611025565b60008060008060c08587031215610d3b57600080fd5b6000610d478787610d0f565b9450506020610d5887828801610c8d565b9350506060610d6987828801610d0f565b9250506080610d7a87828801610cd4565b91505092959194509250565b610d97610d9282610f2d565b610f77565b82525050565b610d97610d9282610f52565b610d97610d9282610f77565b6000610dc082610f10565b610dca8185610754565b9350610dda818560208601610fa8565b9290920192915050565b6000610def82610f10565b610df98185610f14565b9350610e09818560208601610fa8565b610e1281610fd4565b9093019392505050565b6000610e29601b83610f14565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000815260200192915050565b6000610e618284610da9565b50602001919050565b6000610e768289610db5565b9150610e828288610d9d565b600282019150610e928287610db5565b9150610e9e8286610d9d565b600282019150610eae8285610db5565b9150610eba8284610d86565b506001019695505050505050565b602080825281016106e78184610de4565b6020808252810161075181610e1c565b60405181810167ffffffffffffffff81118282101715610f0857600080fd5b604052919050565b5190565b90815260200190565b600061075182610f8f565b151590565b7fff000000000000000000000000000000000000000000000000000000000000001690565b7fffff0000000000000000000000000000000000000000000000000000000000001690565b90565b6fffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1690565b60005b83811015610fc3578181015183820152602001610fab565b8381111561006e5750506000910152565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b61100581610f1d565b811461101057600080fd5b50565b61100581610f28565b61100581610f77565b61100581610f7a56fea365627a7a72315820916b8de9fffbac18da3845a95f3ef86c349298130594a21438713a9d5d118f356c6578706572696d656e74616cf564736f6c63430005100040",
|
|
7
7
|
"sourceMap": "939:291:105:-;;132:2:-1;166:7;155:9;146:7;137:37;255:7;249:14;246:1;241:23;235:4;232:33;222:2;;269:9;222:2;293:9;290:1;283:20;323:4;314:7;306:22;347:7;338;331:24",
|
|
8
8
|
"deployedSourceMap": "939:291:105:-;;;;;;;;;;;;;;;;;;;;;;;;1009:218;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1009:218:105;;;;;;;;:::i;:::-;;;1181:39;:5;1194:7;1203:8;1213:6;1181:39;:12;:39;:::i;:::-;1009:218;;;;:::o;20750:2061:79:-;20936:23;;:::i;:::-;20962:31;:5;20975:7;20984:8;20962:31;:12;:31;:::i;:::-;20936:57;;21008:28;21021:6;21029;21008:12;:28::i;:::-;21004:96;;;21083:7;;;21004:96;21136:30;;:::i;:::-;21169:27;:5;21187:8;21169:27;:17;:27;:::i;:::-;21239:11;;21136:60;;-1:-1:-1;21235:209:79;;;21284:50;:42;21313:6;:12;;;21284:42;;21292:8;:15;;;21284:24;;:28;;:42;;;;:::i;:::-;:48;:50::i;:::-;21266:68;;:15;;;:68;21235:209;;;21412:12;;;;21391:15;;21383:50;;:42;;;:24;;;;:42;;:28;:42;:::i;:50::-;21365:68;;;;21235:209;21489:11;;21485:209;;;21534:50;:42;21563:6;:12;;;21534:42;;21542:8;:15;;;21534:24;;:28;;:42;;;;:::i;:50::-;21516:68;;:15;;;:68;21485:209;;;21662:12;;;;21641:15;;21633:50;;:42;;;:24;;;;:42;;:28;:42;:::i;:50::-;21615:68;;;;21485:209;21708:23;:6;:21;:23::i;:::-;:62;;;;;21735:35;:6;:33;:35::i;:::-;21704:468;;;21865:13;;21850:29;;;;;;:14;;;:29;;;;;;;;21880:14;;;;21850:45;;;;;;;:76;;;;;;;;;;;;;;;;;;;;;;;21704:468;;;21947:35;:6;:33;:35::i;:::-;:62;;;;;21986:23;:6;:21;:23::i;:::-;21943:229;;;22100:13;;22085:29;;;;;;:14;;;:29;;;;;;;;22115:14;;;;22085:45;;;;;;;:76;;;;;;;;;22160:1;22085:76;;;;;;;;;;;;21943:229;22186:15;:6;:13;:15::i;:::-;:37;;;;;22207:15;:6;:13;:15::i;:::-;22206:16;22186:37;22182:486;;;22344:13;;22329:29;;;;;;:14;;;:29;;;;;;;;22359:14;;;;22329:45;;;;;;;:91;;:74;;22411:8;22329:91;:81;:91;:::i;:::-;;22182:486;;;22443:15;:6;:13;:15::i;:::-;22442:16;22441:37;;;;;22463:15;:6;:13;:15::i;:::-;22437:231;;;22584:13;;22569:29;;;;;;:14;;;:29;;;;;;;;22599:14;;;;22569:45;;;;;;;:88;;:74;;22648:8;22569:88;:78;:88;:::i;:::-;;22437:231;22678:23;;;;:13;;;;:23;;;;;;;;:43;;:32;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22746:13;;22731:29;;;;:14;;;:29;;;;;22761:14;;;;22731:45;;;;;;;:64;;;:54;;:64;;;;:73;;;;;;;;;;;22678:43;22731:73;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20750:2061:79;;;;:::o;8620:279::-;8789:16;;:::i;:::-;-1:-1:-1;8843:13:79;;8828:29;;;;;;:14;;;:29;;;;;;;;8858:14;;;;8828:45;;;;;;;:64;;;:54;;:64;;;;;;8821:71;;;;;;;;;;;;;;;;;;;;;;;;;;8620:279;;;;;:::o;2886:308:82:-;2999:4;3034:1;:7;;;3023:18;;:1;:7;;;:18;;;3019:147;;;3061:7;;;;:12;;3057:62;;-1:-1:-1;3100:4:82;3093:11;;3057:62;-1:-1:-1;3149:6:82;;3139;;:16;;;;;;3132:23;;3019:147;-1:-1:-1;3182:5:82;2886:308;;;;;:::o;7126:220:79:-;7263:21;;:::i;:::-;-1:-1:-1;7307:23:79;;;;:13;;;;:23;;;;;;;;;7300:39;;;;;;;;7307:32;;;7300:39;;;;;;;;;;;;;;;;7126:220;;;;:::o;1274:134:124:-;1332:7;1358:43;1362:1;1365;1358:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1351:50;1274:134;-1:-1:-1;;;1274:134:124:o;2789:315:75:-;2881:7;2929:6;2946:128;2972:16;;;;;3002:4;2946:128;2929:6;2946:12;:128::i;:::-;3091:6;-1:-1:-1;2789:315:75;;;;:::o;834:176:124:-;892:7;923:5;;;946:6;;;;938:46;;;;;;;;;;;;;;;;;;;;;3865:155:82;3964:4;4001:1;3991;:7;;;:11;;;:22;;;;-1:-1:-1;;4007:6:82;4006:7;;3865:155::o;4026:164::-;4137:4;4164:9;4171:1;4164:6;:9::i;:::-;:19;;;-1:-1:-1;;4177:6:82;;4026:164::o;3722:137::-;3840:7;;;:12;;;;3722:137::o;1656:1437:70:-;1722:4;1859:27;;;:20;;;:27;;;;;;1901:15;;1897:1190;;2342:18;;2294:14;;;;;2342:22;2383:26;;;2379:406;;2429:17;2449:3;:11;;2461:9;2449:22;;;;;;;;;;;;;;;;2429:42;;2600:9;2571:3;:11;;2583:13;2571:26;;;;;;;;;;;;;;;;;;;:38;;;;2683:31;;;:20;;;:31;;;;;:44;;;2379:406;2888:17;;:3;;:17;;;;;;;;;;;;;;;;;;;;;;2980:3;:20;;:27;3001:5;2980:27;;;;;;;;;;;2973:34;;;3029:4;3022:11;;;;;;;1897:1190;3071:5;3064:12;;;;;1084:411;1147:4;1168:20;1177:3;1182:5;1168:8;:20::i;:::-;1163:326;;-1:-1:-1;27:10;;39:1;23:18;;;45:23;;1204:11:70;:23;;;;;;;;;;;;;1392:18;;1362:27;;;:20;;;:27;;;;;;:48;;;;1424:11;;1163:326;-1:-1:-1;1473:5:70;1466:12;;1732:187:124;1818:7;1853:12;1845:6;;;;1837:29;;;;;;;;;;;;;;;-1:-1:-1;;;1888:5:124;;;1732:187::o;1726:561:77:-;1886:4;1881:400;;2000:24;2019:4;2000:18;:24::i;:::-;2050:5;2081:26;2100:6;2081:18;:26::i;:::-;2133:6;2165:19;2175:8;2165:9;:19::i;:::-;1958:280;;;;;;;;;2210:6;;1958:280;;;;;;;;22:32:-1;26:21;;;22:32;6:49;;1958:280:77;;;;1906:364;;;;;;;;;3174:135:70;3247:4;3270:27;;;:20;;;;;:27;;;;;;:32;;;3174:135::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;-1:-1:-1;;6359:966:77:o;7331:912::-;7425:12;7457:10;7453:51;;-1:-1:-1;7483:10:77;;;;;;;;;;;;;;;;;;;7453:51;7565:5;7553:9;7604:69;7611:6;;7604:69;;7633:8;;7660:2;7655:7;;;;7604:69;;;7714:17;7744:6;7734:17;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;104:10;7734:17:77;87:34:-1;135:17;;-1:-1;7734:17:77;-1:-1:-1;7843:5:77;;-1:-1:-1;7714:37:77;-1:-1:-1;7875:6:77;7858:357;7883:5;;7858:357;;8036:3;;8132:2;8128:1;:6;902:2;8114:21;8103:34;;8093:4;8098:1;8093:7;;;;;;;;;;;:44;;;;;;;;;;-1:-1:-1;8202:2:77;8197:7;;;;7858:357;;;-1:-1:-1;8232:4:77;7331:912;-1:-1:-1;;;;7331:912:77:o;939:291:105:-;;;;;;;;;;-1:-1:-1;939:291:105;;;;;;;;:::o;5:130:-1:-;72:20;;97:33;72:20;97:33;;142:124;206:20;;231:30;206:20;231:30;;299:468;;411:4;399:9;394:3;390:19;386:30;383:2;;;429:1;426;419:12;383:2;447:20;462:4;447:20;;;438:29;-1:-1;518:1;550:49;595:3;575:9;550:49;;;525:75;;-1:-1;663:2;696:49;741:3;717:22;;;696:49;;;689:4;682:5;678:16;671:75;621:136;377:390;;;;;797:462;;908:4;896:9;891:3;887:19;883:30;880:2;;;926:1;923;916:12;880:2;944:20;959:4;944:20;;;935:29;-1:-1;1014:1;1046:46;1088:3;1068:9;1046:46;;;1021:72;;-1:-1;1155:2;1188:49;1233:3;1209:22;;;1188:49;;1266:180;1358:20;;1383:58;1358:20;1383:58;;1453:130;1520:20;;1545:33;1520:20;1545:33;;1727:758;;;;;1952:3;1940:9;1931:7;1927:23;1923:33;1920:2;;;1969:1;1966;1959:12;1920:2;2004:1;2021:78;2091:7;2071:9;2021:78;;;2011:88;;1983:122;2136:2;2154:76;2222:7;2213:6;2202:9;2198:22;2154:76;;;2144:86;;2115:121;2267:2;2285:53;2330:7;2321:6;2310:9;2306:22;2285:53;;;2275:63;;2246:98;2375:3;2394:75;2461:7;2452:6;2441:9;2437:22;2394:75;;;2384:85;;2354:121;1914:571;;;;;;;;2492:148;2591:43;2610:23;2627:5;2610:23;;;2591:43;;;2586:3;2579:56;2573:67;;;2647:148;2746:43;2765:23;2782:5;2765:23;;2802:152;2903:45;2923:24;2941:5;2923:24;;2961:356;;3089:38;3121:5;3089:38;;;3139:88;3220:6;3215:3;3139:88;;;3132:95;;3232:52;3277:6;3272:3;3265:4;3258:5;3254:16;3232:52;;;3296:16;;;;;3069:248;-1:-1;;3069:248;3324:347;;3436:39;3469:5;3436:39;;;3487:71;3551:6;3546:3;3487:71;;;3480:78;;3563:52;3608:6;3603:3;3596:4;3589:5;3585:16;3563:52;;;3636:29;3658:6;3636:29;;;3627:39;;;;3416:255;-1:-1;;;3416:255;3679:327;;3839:67;3903:2;3898:3;3839:67;;;3939:29;3919:50;;3997:2;3988:12;;3825:181;-1:-1;;3825:181;4014:244;;4133:75;4204:3;4195:6;4133:75;;;-1:-1;4230:2;4221:12;;4121:137;-1:-1;4121:137;4265:978;;4579:93;4668:3;4659:6;4579:93;;;4572:100;;4683:73;4752:3;4743:6;4683:73;;;4778:1;4773:3;4769:11;4762:18;;4798:93;4887:3;4878:6;4798:93;;;4791:100;;4902:73;4971:3;4962:6;4902:73;;;4997:1;4992:3;4988:11;4981:18;;5017:93;5106:3;5097:6;5017:93;;;5010:100;;5121:73;5190:3;5181:6;5121:73;;;-1:-1;5216:1;5207:11;;4560:683;-1:-1;;;;;;4560:683;5250:301;5388:2;5402:47;;;5373:18;;5463:78;5373:18;5527:6;5463:78;;5558:407;5749:2;5763:47;;;5734:18;;5824:131;5734:18;5824:131;;5972:256;6034:2;6028:9;6060:17;;;6135:18;6120:34;;6156:22;;;6117:62;6114:2;;;6192:1;6189;6182:12;6114:2;6208;6201:22;6012:216;;-1:-1;6012:216;6235:121;6322:12;;6293:63;6646:163;6749:19;;;6798:4;6789:14;;6742:67;6817:91;;6879:24;6897:5;6879:24;;6915:85;6981:13;6974:21;;6957:43;7007:144;7079:66;7068:78;;7051:100;7158:144;7230:66;7219:78;;7202:100;7309:72;7371:5;7354:27;7492:113;7565:34;7554:46;;7537:68;7612:121;7685:42;7674:54;;7657:76;7820:268;7885:1;7892:101;7906:6;7903:1;7900:13;7892:101;;;7973:11;;;7967:18;7954:11;;;7947:39;7928:2;7921:10;7892:101;;;8008:6;8005:1;8002:13;7999:2;;;-1:-1;;8073:1;8055:16;;8048:27;7869:219;8337:97;8425:2;8405:14;8421:7;8401:28;;8385:49;8442:117;8511:24;8529:5;8511:24;;;8504:5;8501:35;8491:2;;8550:1;8547;8540:12;8491:2;8485:74;;8566:111;8632:21;8647:5;8632:21;;8684:167;8778:49;8821:5;8778:49;;8858:117;8927:24;8945:5;8927:24;",
|
|
9
9
|
"source": "/*\n\n Copyright 2021 Dolomite.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma solidity ^0.5.7;\npragma experimental ABIEncoderV2;\n\nimport { Account } from \"../protocol/lib/Account.sol\";\nimport { Storage } from \"../protocol/lib/Storage.sol\";\nimport { Types } from \"../protocol/lib/Types.sol\";\n\n/**\n * @dev This is used to split apart the call to state#setPar to lessen the bytecode size of TestDolomiteMargin.sol\n */\nlibrary TestOperationImpl {\n using Storage for Storage.State;\n\n function setPar(\n Storage.State storage state,\n Account.Info memory account,\n uint256 marketId,\n Types.Par memory newPar\n ) public {\n state.setPar(account, marketId, newPar);\n }\n\n}",
|
|
10
|
-
"sourcePath": "/
|
|
10
|
+
"sourcePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestOperationImpl.sol",
|
|
11
11
|
"ast": {
|
|
12
|
-
"absolutePath": "/
|
|
12
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestOperationImpl.sol",
|
|
13
13
|
"exportedSymbols": {
|
|
14
14
|
"TestOperationImpl": [
|
|
15
15
|
39580
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"src": "619:33:105"
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
|
-
"absolutePath": "/
|
|
42
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Account.sol",
|
|
43
43
|
"file": "../protocol/lib/Account.sol",
|
|
44
44
|
"id": 39552,
|
|
45
45
|
"nodeType": "ImportDirective",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"unitAlias": ""
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
|
-
"absolutePath": "/
|
|
58
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Storage.sol",
|
|
59
59
|
"file": "../protocol/lib/Storage.sol",
|
|
60
60
|
"id": 39554,
|
|
61
61
|
"nodeType": "ImportDirective",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"unitAlias": ""
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
|
-
"absolutePath": "/
|
|
74
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Types.sol",
|
|
75
75
|
"file": "../protocol/lib/Types.sol",
|
|
76
76
|
"id": 39556,
|
|
77
77
|
"nodeType": "ImportDirective",
|
|
@@ -384,7 +384,7 @@
|
|
|
384
384
|
"src": "595:635:105"
|
|
385
385
|
},
|
|
386
386
|
"legacyAST": {
|
|
387
|
-
"absolutePath": "/
|
|
387
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestOperationImpl.sol",
|
|
388
388
|
"exportedSymbols": {
|
|
389
389
|
"TestOperationImpl": [
|
|
390
390
|
39580
|
|
@@ -414,7 +414,7 @@
|
|
|
414
414
|
"src": "619:33:105"
|
|
415
415
|
},
|
|
416
416
|
{
|
|
417
|
-
"absolutePath": "/
|
|
417
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Account.sol",
|
|
418
418
|
"file": "../protocol/lib/Account.sol",
|
|
419
419
|
"id": 39552,
|
|
420
420
|
"nodeType": "ImportDirective",
|
|
@@ -430,7 +430,7 @@
|
|
|
430
430
|
"unitAlias": ""
|
|
431
431
|
},
|
|
432
432
|
{
|
|
433
|
-
"absolutePath": "/
|
|
433
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Storage.sol",
|
|
434
434
|
"file": "../protocol/lib/Storage.sol",
|
|
435
435
|
"id": 39554,
|
|
436
436
|
"nodeType": "ImportDirective",
|
|
@@ -446,7 +446,7 @@
|
|
|
446
446
|
"unitAlias": ""
|
|
447
447
|
},
|
|
448
448
|
{
|
|
449
|
-
"absolutePath": "/
|
|
449
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/protocol/lib/Types.sol",
|
|
450
450
|
"file": "../protocol/lib/Types.sol",
|
|
451
451
|
"id": 39556,
|
|
452
452
|
"nodeType": "ImportDirective",
|
|
@@ -767,11 +767,11 @@
|
|
|
767
767
|
"events": {},
|
|
768
768
|
"links": {},
|
|
769
769
|
"address": "0x5f8e26fAcC23FA4cbd87b8d9Dbbd33D5047abDE1",
|
|
770
|
-
"transactionHash": "
|
|
770
|
+
"transactionHash": "0x566c57c98798a136fad78324808014b0a0d12165f71d8a21a6800ad1120a6e2c"
|
|
771
771
|
}
|
|
772
772
|
},
|
|
773
773
|
"schemaVersion": "3.0.23",
|
|
774
|
-
"updatedAt": "2022-02-
|
|
774
|
+
"updatedAt": "2022-02-07T07:18:45.472Z",
|
|
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": {}
|
|
@@ -154,15 +154,15 @@
|
|
|
154
154
|
"type": "function"
|
|
155
155
|
}
|
|
156
156
|
],
|
|
157
|
-
"metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"maxAPR\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"coefficients\",\"type\":\"uint128\"}],\"internalType\":\"struct PolynomialInterestSetter.PolyStorage\",\"name\":\"parameters\",\"type\":\"tuple\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"constant\":false,\"inputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"maxAPR\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"coefficients\",\"type\":\"uint128\"}],\"internalType\":\"struct PolynomialInterestSetter.PolyStorage\",\"name\":\"parameters\",\"type\":\"tuple\"}],\"name\":\"createNew\",\"outputs\":[{\"internalType\":\"contract PolynomialInterestSetter\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getCoefficients\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"borrowWei\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"supplyWei\",\"type\":\"uint256\"}],\"name\":\"getInterestRate\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"internalType\":\"struct Interest.Rate\",\"name\":\"\",\"type\":\"tuple\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getMaxAPR\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"maxAPR\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"coefficients\",\"type\":\"uint128\"}],\"internalType\":\"struct PolynomialInterestSetter.PolyStorage\",\"name\":\"parameters\",\"type\":\"tuple\"}],\"name\":\"setParameters\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"dYdX * PolynomialInterestSetter for testing\",\"methods\":{\"getCoefficients()\":{\"return\":\"The coefficients\"},\"getInterestRate(address,uint256,uint256)\":{\"return\":\"The interest rate per second (times 10 ** 18)\"},\"getMaxAPR()\":{\"return\":\"The maximum APR\"}},\"title\":\"TestPolynomialInterestSetter\"},\"userdoc\":{\"methods\":{\"getCoefficients()\":{\"notice\":\"Get all of the coefficients of the interest calculation, starting from the coefficient for the first-order utilization variable.\"},\"getInterestRate(address,uint256,uint256)\":{\"notice\":\"Get the interest rate given some borrowed and supplied amounts. The interest function is a polynomial function of the utilization (borrowWei / supplyWei) of the market. * - If borrowWei > supplyWei then the utilization is considered to be equal to 1. - If both are zero, then the utilization is considered to be equal to 0.\"},\"getMaxAPR()\":{\"notice\":\"Get the maximum APR that this interestSetter will return. The actual APY may be higher depending on how often the interest is compounded.\"}}}},\"settings\":{\"compilationTarget\":{\"/
|
|
158
|
-
"bytecode": "
|
|
159
|
-
"deployedBytecode": "
|
|
157
|
+
"metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"maxAPR\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"coefficients\",\"type\":\"uint128\"}],\"internalType\":\"struct PolynomialInterestSetter.PolyStorage\",\"name\":\"parameters\",\"type\":\"tuple\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"constant\":false,\"inputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"maxAPR\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"coefficients\",\"type\":\"uint128\"}],\"internalType\":\"struct PolynomialInterestSetter.PolyStorage\",\"name\":\"parameters\",\"type\":\"tuple\"}],\"name\":\"createNew\",\"outputs\":[{\"internalType\":\"contract PolynomialInterestSetter\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getCoefficients\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"borrowWei\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"supplyWei\",\"type\":\"uint256\"}],\"name\":\"getInterestRate\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"internalType\":\"struct Interest.Rate\",\"name\":\"\",\"type\":\"tuple\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getMaxAPR\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"maxAPR\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"coefficients\",\"type\":\"uint128\"}],\"internalType\":\"struct PolynomialInterestSetter.PolyStorage\",\"name\":\"parameters\",\"type\":\"tuple\"}],\"name\":\"setParameters\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"dYdX * PolynomialInterestSetter for testing\",\"methods\":{\"getCoefficients()\":{\"return\":\"The coefficients\"},\"getInterestRate(address,uint256,uint256)\":{\"return\":\"The interest rate per second (times 10 ** 18)\"},\"getMaxAPR()\":{\"return\":\"The maximum APR\"}},\"title\":\"TestPolynomialInterestSetter\"},\"userdoc\":{\"methods\":{\"getCoefficients()\":{\"notice\":\"Get all of the coefficients of the interest calculation, starting from the coefficient for the first-order utilization variable.\"},\"getInterestRate(address,uint256,uint256)\":{\"notice\":\"Get the interest rate given some borrowed and supplied amounts. The interest function is a polynomial function of the utilization (borrowWei / supplyWei) of the market. * - If borrowWei > supplyWei then the utilization is considered to be equal to 1. - If both are zero, then the utilization is considered to be equal to 0.\"},\"getMaxAPR()\":{\"notice\":\"Get the maximum APR that this interestSetter will return. The actual APY may be higher depending on how often the interest is compounded.\"}}}},\"settings\":{\"compilationTarget\":{\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestPolynomialInterestSetter.sol\":\"TestPolynomialInterestSetter\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[]},\"sources\":{\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/external/interestsetters/PolynomialInterestSetter.sol\":{\"keccak256\":\"0xad061d70877c65f713c33f0ad22a29282a7c88da0c83de4aae2c1a29bf09dbc1\",\"urls\":[\"bzz-raw://88911cb44ac03d60975a37852287b276e43db545ee18f8365c71064bc508bb1f\",\"dweb:/ipfs/Qma45CTSQyEyuUjwqFVS74fkm2ZXsGTztPDMdhHL7DfHqn\"]},\"/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/lib/Decimal.sol\":{\"keccak256\":\"0x66990bbe3c58d0edf57d3f67ab5280e2a53958ce44f75c335c4c50542321bccb\",\"urls\":[\"bzz-raw://724cfdb5c99121aab5262679e46766a2883e344749870d7dbfa92d1617f68bf2\",\"dweb:/ipfs/QmYjAsS45f6UG2u3zuTks2HVfMYtyFCVMgUvD7Gt7XtU3R\"]},\"/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/Require.sol\":{\"keccak256\":\"0xe641662503ea29ca959e84674188c3e9deaaf64c5623fb9560a4301c521ca1d3\",\"urls\":[\"bzz-raw://b10a04c7d014b99eb792c8c774e203c846d070b30cf0b715325fc07838ed6a6d\",\"dweb:/ipfs/QmUqZWnbchfEY9jM647yQamHe4GzspfUeRQF9k2nn1Hixd\"]},\"/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/Types.sol\":{\"keccak256\":\"0xab134538648a2e223a7fe61db03c14f687657a5d37147f93c9088f11735aa311\",\"urls\":[\"bzz-raw://79dc7d2b30576d2349b99267642ac8d5fb7939c920b8d8045379d3614238bdc3\",\"dweb:/ipfs/QmaQJYg1nirHoWSC6G38Cjsk9pZBzEaNrGXKqTsvAzbyES\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestPolynomialInterestSetter.sol\":{\"keccak256\":\"0x7463682e1bfb3e3f7c3c0d8f526811ec6a08643adf14f0f5171723dadc636911\",\"urls\":[\"bzz-raw://a203988e8f808f1cdb688cb1d1a54b5f12b067cf1842e103ba4a0302e034361d\",\"dweb:/ipfs/QmYZeqh9eqmCtoXe7yhEjjQjvPiXRX1eZzA14wVw9nPHsB\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x640b6dee7a4b830bdfd52b5031a07fc2b12209f5b2e29e5d364a7d37f69d8076\",\"urls\":[\"bzz-raw://31113152e1ddb78fe7a4197f247591ca894e93f916867beb708d8e747b6cc74f\",\"dweb:/ipfs/QmbZaJyXdpsYGykVhHH9qpVGQg9DGCxE2QufbCUy3daTgq\"]}},\"version\":1}",
|
|
158
|
+
"bytecode": "0x608060405234801561001057600080fd5b506040516110cc3803806110cc83398101604081905261002f9161011a565b602081015181906000906001600160801b03165b801561005b576101008106919091019060081c610043565b50606481146100855760405162461bcd60e51b815260040161007c90610179565b60405180910390fd5b508051600080546020909301516001600160801b03908116600160801b029281166001600160801b031990941693909317909216179055506101db565b6000604082840312156100d457600080fd5b6100de6040610189565b905060006100ec8484610109565b82525060206100fd84848301610109565b60208301525092915050565b8051610114816101c4565b92915050565b60006040828403121561012c57600080fd5b600061013884846100c2565b949350505050565b600061014d601c836101af565b7f436f656666696369656e7473206d7573742073756d20746f2031303000000000815260200192915050565b6020808252810161011481610140565b6040518181016001600160401b03811182821017156101a757600080fd5b604052919050565b90815260200190565b6001600160801b031690565b6101cd816101b8565b81146101d857600080fd5b50565b610ee2806101ea6000396000f3fe60806040523480156200001157600080fd5b5060043610620000705760003560e01c8063afd4c8d61162000057578063afd4c8d614620000bd578063b3adafcf14620000d6578063e8177dcf14620000ef5762000070565b80631e68607a1462000075578063a524d8fb1462000097575b600080fd5b6200007f62000115565b6040516200008e9190620006cf565b60405180910390f35b620000ae620000a83660046200050d565b6200012d565b6040516200008e91906200068d565b620000c76200016e565b6040516200008e91906200067a565b620000ed620000e73660046200050d565b620001fe565b005b6200010662000100366004620004b9565b62000264565b6040516200008e9190620006bf565b6000546fffffffffffffffffffffffffffffffff1690565b6000816040516200013e906200040c565b6200014a9190620006af565b604051809103906000f08015801562000167573d6000803e3d6000fd5b5092915050565b604080516010808252610220820190925260609182919060208201610200803883395050600080549293509170010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1690505b8015620001f6576101008106838381518110620001dc57fe5b602090810291909101015260019091019060081c620001c3565b508152905090565b8051600080546020909301516fffffffffffffffffffffffffffffffff908116700100000000000000000000000000000000029281167fffffffffffffffffffffffffffffffff0000000000000000000000000000000090941693909317909216179055565b6200026e6200041a565b826200028a575060408051602081019091526000815262000399565b620002946200042d565b50604080518082019091526000546fffffffffffffffffffffffffffffffff808216808452700100000000000000000000000000000000909204166020830152838510620003035760405180602001604052806301e133808381620002f557fe5b048152509250505062000399565b6020820151600090670de0b6b3a7640000906fffffffffffffffffffffffffffffffff165b60ff811680156200034a5782810284019350818114156200034a575062000372565b876200035d848b63ffffffff620003a016565b816200036557fe5b0492505060081c62000328565b6040805160208101909152806b0a3098c68eb9427db8000000858702049052955050505050505b9392505050565b600082620003b15750600062000406565b82820282848281620003bf57fe5b041462000403576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003fa906200069d565b60405180910390fd5b90505b92915050565b61070a806200079683390190565b6040518060200160405280600081525090565b604080518082019091526000808252602082015290565b8035620004068162000765565b6000604082840312156200046457600080fd5b620004706040620006df565b905060006200048084846200049f565b825250602062000493848483016200049f565b60208301525092915050565b803562000406816200077f565b803562000406816200078a565b600080600060608486031215620004cf57600080fd5b6000620004dd868662000444565b9350506020620004f086828701620004ac565b92505060406200050386828701620004ac565b9150509250925092565b6000604082840312156200052057600080fd5b60006200052e848462000451565b949350505050565b60006200054483836200066f565b505060200190565b600062000559826200070d565b62000565818562000711565b9350620005728362000707565b8060005b83811015620005a65781516200058d888262000536565b97506200059a8362000707565b92505060010162000576565b509495945050505050565b620005bc8162000758565b82525050565b6000620005d160218362000711565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f81527f7700000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b8051604083019062000636848262000664565b5060208201516200064b602085018262000664565b50505050565b805160208301906200064b84826200066f565b620005bc8162000727565b620005bc8162000755565b602080825281016200039981846200054c565b60208101620004068284620005b1565b602080825281016200040681620005c2565b6040810162000406828462000623565b6020810162000406828462000651565b602081016200040682846200066f565b60405181810167ffffffffffffffff81118282101715620006ff57600080fd5b604052919050565b60200190565b5190565b90815260200190565b600062000406826200073c565b6fffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1690565b90565b600062000406826200071a565b62000770816200071a565b81146200077c57600080fd5b50565b620007708162000727565b62000770816200075556fe608060405234801561001057600080fd5b5060405161070a38038061070a83398101604081905261002f91610117565b60208101516000906001600160801b03165b8015610059576101008106919091019060081c610041565b50606481146100835760405162461bcd60e51b815260040161007a90610176565b60405180910390fd5b508051600080546020909301516001600160801b03908116600160801b029281166001600160801b0319909416939093179092161790556101d8565b6000604082840312156100d157600080fd5b6100db6040610186565b905060006100e98484610106565b82525060206100fa84848301610106565b60208301525092915050565b8051610111816101c1565b92915050565b60006040828403121561012957600080fd5b600061013584846100bf565b949350505050565b600061014a601c836101ac565b7f436f656666696369656e7473206d7573742073756d20746f2031303000000000815260200192915050565b602080825281016101118161013d565b6040518181016001600160401b03811182821017156101a457600080fd5b604052919050565b90815260200190565b6001600160801b031690565b6101ca816101b5565b81146101d557600080fd5b50565b610523806101e76000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80631e68607a14610046578063afd4c8d614610064578063e8177dcf14610079575b600080fd5b61004e610099565b60405161005b919061047e565b60405180910390f35b61006c6100b1565b60405161005b919061044f565b61008c610087366004610310565b61013e565b60405161005b9190610470565b6000546fffffffffffffffffffffffffffffffff1690565b604080516010808252610220820190925260609182919060208201610200803883395050600080549293509170010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1690505b801561013657610100810683838151811061011d57fe5b602090810291909101015260019091019060081c610106565b508152905090565b6101466102d0565b826101605750604080516020810190915260008152610263565b6101686102e3565b50604080518082019091526000546fffffffffffffffffffffffffffffffff8082168084527001000000000000000000000000000000009092041660208301528385106101d45760405180602001604052806301e1338083816101c757fe5b0481525092505050610263565b6020820151600090670de0b6b3a7640000906fffffffffffffffffffffffffffffffff165b60ff81168015610218578281028401935081811415610218575061023c565b87610229848b63ffffffff61026a16565b8161023057fe5b0492505060081c6101f9565b6040805160208101909152806b0a3098c68eb9427db8000000858702049052955050505050505b9392505050565b600082610279575060006102ca565b8282028284828161028657fe5b04146102c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102be90610460565b60405180910390fd5b90505b92915050565b6040518060200160405280600081525090565b604080518082019091526000808252602082015290565b80356102ca816104c0565b80356102ca816104d7565b60008060006060848603121561032557600080fd5b600061033186866102fa565b935050602061034286828701610305565b925050604061035386828701610305565b9150509250925092565b60006103698383610440565b505060200190565b600061037c82610492565b6103868185610496565b93506103918361048c565b8060005b838110156103bf5781516103a9888261035d565b97506103b48361048c565b925050600101610395565b509495945050505050565b60006103d7602183610496565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f81527f7700000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b8051602083019061043a8482610440565b50505050565b610449816104bd565b82525050565b602080825281016102638184610371565b602080825281016102ca816103ca565b602081016102ca8284610429565b602081016102ca8284610440565b60200190565b5190565b90815260200190565b600073ffffffffffffffffffffffffffffffffffffffff82166102ca565b90565b6104c98161049f565b81146104d457600080fd5b50565b6104c9816104bd56fea365627a7a723158209c6ee13b6bf619ef6c70419db5415fd62ff5e2f3e5830a5db195ca96b737b3ec6c6578706572696d656e74616cf564736f6c63430005100040a365627a7a7231582092fee90e09ca5d0c22a657b5dfd4701f7e9a9a4a377593ed012b28b5b7945ea86c6578706572696d656e74616cf564736f6c63430005100040",
|
|
159
|
+
"deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620000705760003560e01c8063afd4c8d61162000057578063afd4c8d614620000bd578063b3adafcf14620000d6578063e8177dcf14620000ef5762000070565b80631e68607a1462000075578063a524d8fb1462000097575b600080fd5b6200007f62000115565b6040516200008e9190620006cf565b60405180910390f35b620000ae620000a83660046200050d565b6200012d565b6040516200008e91906200068d565b620000c76200016e565b6040516200008e91906200067a565b620000ed620000e73660046200050d565b620001fe565b005b6200010662000100366004620004b9565b62000264565b6040516200008e9190620006bf565b6000546fffffffffffffffffffffffffffffffff1690565b6000816040516200013e906200040c565b6200014a9190620006af565b604051809103906000f08015801562000167573d6000803e3d6000fd5b5092915050565b604080516010808252610220820190925260609182919060208201610200803883395050600080549293509170010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1690505b8015620001f6576101008106838381518110620001dc57fe5b602090810291909101015260019091019060081c620001c3565b508152905090565b8051600080546020909301516fffffffffffffffffffffffffffffffff908116700100000000000000000000000000000000029281167fffffffffffffffffffffffffffffffff0000000000000000000000000000000090941693909317909216179055565b6200026e6200041a565b826200028a575060408051602081019091526000815262000399565b620002946200042d565b50604080518082019091526000546fffffffffffffffffffffffffffffffff808216808452700100000000000000000000000000000000909204166020830152838510620003035760405180602001604052806301e133808381620002f557fe5b048152509250505062000399565b6020820151600090670de0b6b3a7640000906fffffffffffffffffffffffffffffffff165b60ff811680156200034a5782810284019350818114156200034a575062000372565b876200035d848b63ffffffff620003a016565b816200036557fe5b0492505060081c62000328565b6040805160208101909152806b0a3098c68eb9427db8000000858702049052955050505050505b9392505050565b600082620003b15750600062000406565b82820282848281620003bf57fe5b041462000403576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003fa906200069d565b60405180910390fd5b90505b92915050565b61070a806200079683390190565b6040518060200160405280600081525090565b604080518082019091526000808252602082015290565b8035620004068162000765565b6000604082840312156200046457600080fd5b620004706040620006df565b905060006200048084846200049f565b825250602062000493848483016200049f565b60208301525092915050565b803562000406816200077f565b803562000406816200078a565b600080600060608486031215620004cf57600080fd5b6000620004dd868662000444565b9350506020620004f086828701620004ac565b92505060406200050386828701620004ac565b9150509250925092565b6000604082840312156200052057600080fd5b60006200052e848462000451565b949350505050565b60006200054483836200066f565b505060200190565b600062000559826200070d565b62000565818562000711565b9350620005728362000707565b8060005b83811015620005a65781516200058d888262000536565b97506200059a8362000707565b92505060010162000576565b509495945050505050565b620005bc8162000758565b82525050565b6000620005d160218362000711565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f81527f7700000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b8051604083019062000636848262000664565b5060208201516200064b602085018262000664565b50505050565b805160208301906200064b84826200066f565b620005bc8162000727565b620005bc8162000755565b602080825281016200039981846200054c565b60208101620004068284620005b1565b602080825281016200040681620005c2565b6040810162000406828462000623565b6020810162000406828462000651565b602081016200040682846200066f565b60405181810167ffffffffffffffff81118282101715620006ff57600080fd5b604052919050565b60200190565b5190565b90815260200190565b600062000406826200073c565b6fffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1690565b90565b600062000406826200071a565b62000770816200071a565b81146200077c57600080fd5b50565b620007708162000727565b62000770816200075556fe608060405234801561001057600080fd5b5060405161070a38038061070a83398101604081905261002f91610117565b60208101516000906001600160801b03165b8015610059576101008106919091019060081c610041565b50606481146100835760405162461bcd60e51b815260040161007a90610176565b60405180910390fd5b508051600080546020909301516001600160801b03908116600160801b029281166001600160801b0319909416939093179092161790556101d8565b6000604082840312156100d157600080fd5b6100db6040610186565b905060006100e98484610106565b82525060206100fa84848301610106565b60208301525092915050565b8051610111816101c1565b92915050565b60006040828403121561012957600080fd5b600061013584846100bf565b949350505050565b600061014a601c836101ac565b7f436f656666696369656e7473206d7573742073756d20746f2031303000000000815260200192915050565b602080825281016101118161013d565b6040518181016001600160401b03811182821017156101a457600080fd5b604052919050565b90815260200190565b6001600160801b031690565b6101ca816101b5565b81146101d557600080fd5b50565b610523806101e76000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80631e68607a14610046578063afd4c8d614610064578063e8177dcf14610079575b600080fd5b61004e610099565b60405161005b919061047e565b60405180910390f35b61006c6100b1565b60405161005b919061044f565b61008c610087366004610310565b61013e565b60405161005b9190610470565b6000546fffffffffffffffffffffffffffffffff1690565b604080516010808252610220820190925260609182919060208201610200803883395050600080549293509170010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1690505b801561013657610100810683838151811061011d57fe5b602090810291909101015260019091019060081c610106565b508152905090565b6101466102d0565b826101605750604080516020810190915260008152610263565b6101686102e3565b50604080518082019091526000546fffffffffffffffffffffffffffffffff8082168084527001000000000000000000000000000000009092041660208301528385106101d45760405180602001604052806301e1338083816101c757fe5b0481525092505050610263565b6020820151600090670de0b6b3a7640000906fffffffffffffffffffffffffffffffff165b60ff81168015610218578281028401935081811415610218575061023c565b87610229848b63ffffffff61026a16565b8161023057fe5b0492505060081c6101f9565b6040805160208101909152806b0a3098c68eb9427db8000000858702049052955050505050505b9392505050565b600082610279575060006102ca565b8282028284828161028657fe5b04146102c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102be90610460565b60405180910390fd5b90505b92915050565b6040518060200160405280600081525090565b604080518082019091526000808252602082015290565b80356102ca816104c0565b80356102ca816104d7565b60008060006060848603121561032557600080fd5b600061033186866102fa565b935050602061034286828701610305565b925050604061035386828701610305565b9150509250925092565b60006103698383610440565b505060200190565b600061037c82610492565b6103868185610496565b93506103918361048c565b8060005b838110156103bf5781516103a9888261035d565b97506103b48361048c565b925050600101610395565b509495945050505050565b60006103d7602183610496565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f81527f7700000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b8051602083019061043a8482610440565b50505050565b610449816104bd565b82525050565b602080825281016102638184610371565b602080825281016102ca816103ca565b602081016102ca8284610429565b602081016102ca8284610440565b60200190565b5190565b90815260200190565b600073ffffffffffffffffffffffffffffffffffffffff82166102ca565b90565b6104c98161049f565b81146104d457600080fd5b50565b6104c9816104bd56fea365627a7a723158209c6ee13b6bf619ef6c70419db5415fd62ff5e2f3e5830a5db195ca96b737b3ec6c6578706572696d656e74616cf564736f6c63430005100040a365627a7a7231582092fee90e09ca5d0c22a657b5dfd4701f7e9a9a4a377593ed012b28b5b7945ea86c6578706572696d656e74616cf564736f6c63430005100040",
|
|
160
160
|
"sourceMap": "871:534:106:-;;;947:128;8:9:-1;5:2;;;30:1;27;20:12;5:2;947:128:106;;;;;;;;;;;;;;;;;;;;;1887:19:8;;;;1052:10:106;;1807:25:8;;-1:-1:-1;;;;;1864:42:8;1846:201;1920:17;;1846:201;;2033:3;2018:12;:18;1997:39;;;;;1418:1;1951:21;1846:201;;;;1283:3;2077:17;:28;2056:103;;;;-1:-1:-1;;;2056:103:8;;;;;;;;;;;;;;;;;-1:-1:-1;2198:18:8;;:9;:18;;;;;;;-1:-1:-1;;;;;2198:18:8;;;-1:-1:-1;;;2198:18:8;;;;-1:-1:-1;;;;;;2198:18:8;;;;;;;;;;;;;-1:-1:-1;871:534:106;;55:514:-1;;184:4;172:9;167:3;163:19;159:30;156:2;;;202:1;199;192:12;156:2;220:20;235:4;220:20;;;211:29;-1:-1;292:1;324:60;380:3;360:9;324:60;;;299:86;;-1:-1;454:2;487:60;543:3;519:22;;;487:60;;;480:4;473:5;469:16;462:86;406:153;150:419;;;;;576:134;654:13;;672:33;654:13;672:33;;;639:71;;;;;717:321;;861:2;849:9;840:7;836:23;832:32;829:2;;;877:1;874;867:12;829:2;912:1;929:93;1014:7;994:9;929:93;;;919:103;823:215;-1:-1;;;;823:215;1046:328;;1206:67;1270:2;1265:3;1206:67;;;1306:30;1286:51;;1365:2;1356:12;;1192:182;-1:-1;;1192:182;1382:407;1573:2;1587:47;;;1558:18;;1648:131;1558:18;1648:131;;1796:256;1858:2;1852:9;1884:17;;;-1:-1;;;;;1944:34;;1980:22;;;1941:62;1938:2;;;2016:1;2013;2006:12;1938:2;2032;2025:22;1836:216;;-1:-1;1836:216;2060:163;2163:19;;;2212:4;2203:14;;2156:67;2231:113;-1:-1;;;;;2293:46;;2276:68;2351:117;2420:24;2438:5;2420:24;;;2413:5;2410:35;2400:2;;2459:1;2456;2449:12;2400:2;2394:74;;;871:534:106;;;;;;",
|
|
161
161
|
"deployedSourceMap": "871:534:106:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;871:534:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4797:121:8;;;:::i;:::-;;;;;;;;;;;;;;;;1213:190:106;;;;;;;;;:::i;:::-;;;;;;;;5122:772:8;;;:::i;:::-;;;;;;;;1081:126:106;;;;;;;;;:::i;:::-;;2725:1860:8;;;;;;;;;:::i;:::-;;;;;;;;4797:121;4865:7;4895:16;;;4797:121;:::o;1213:190:106:-;1309:24;1385:10;1356:40;;;;;:::i;:::-;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;1349:47:106;1213:190;-1:-1:-1;;1213:190:106:o;5122:772:8:-;5316:17;;;5330:2;5316:17;;;;;;;;;5196:16;;;;5316:17;;;;17:15:-1;;105:10;5316:17:8;88:34:-1;-1:-1;;5389:23:8;5467:22;;5290:43;;-1:-1:-1;5389:23:8;5467:22;;;;;;-1:-1:-1;5426:240:8;5503:17;;5426:240;;5621:3;5606:12;:18;5580:6;5587:15;5580:23;;;;;;;;;;;;;;;;;:44;5638:17;;;;;1418:1;5534:21;5426:240;;;-1:-1:-1;5823:31:8;;5830:6;-1:-1:-1;5122:772:8;:::o;1081:126:106:-;1178:22;;:9;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1081:126::o;2725:1860:8:-;2886:20;;:::i;:::-;2926:14;2922:107;;-1:-1:-1;2963:55:8;;;;;;;;;-1:-1:-1;2963:55:8;;2956:62;;2922:107;3039:20;;:::i;:::-;-1:-1:-1;3039:32:8;;;;;;;;;3062:9;3039:32;;;;;;;;;;;;;;;;;3121:22;;;3117:140;;3166:80;;;;;;;;1369:18;3205:6;:26;;;;;;3166:80;;;3159:87;;;;;;3117:140;3398:14;;;;3267;;1317:8;;3375:37;;3422:857;3513:18;;;3592:16;;3588:402;;3802:10;3788:11;:24;3778:34;;;;3916:12;3901:11;:27;3897:79;;;3952:5;;;3897:79;4183:9;4155:25;:10;4170:9;4155:25;:14;:25;:::i;:::-;:37;;;;;;;-1:-1:-1;;1418:1:8;4247:21;3422:857;;;4478:100;;;;;;;;;;4532:34;4513:15;;;:54;4478:100;;4471:107;-1:-1:-1;;;;;;2725:1860:8;;;;;;:::o;2159:459:124:-;2217:7;2458:6;2454:45;;-1:-1:-1;2487:1:124;2480:8;;2454:45;2521:5;;;2525:1;2521;:5;:1;2544:5;;;;;:10;2536:56;;;;;;;;;;;;;;;;;;;;;;2610:1;-1:-1:-1;2159:459:124;;;;;:::o;871:534:106:-;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;-1:-1:-1;871:534:106;;;;;;;;:::o;5:130:-1:-;72:20;;97:33;72:20;97:33;;192:481;;310:4;298:9;293:3;289:19;285:30;282:2;;;328:1;325;318:12;282:2;346:20;361:4;346:20;;;337:29;-1:-1;418:1;450:49;495:3;475:9;450:49;;;425:75;;-1:-1;569:2;602:49;647:3;623:22;;;602:49;;;595:4;588:5;584:16;577:75;521:142;276:397;;;;;680:130;747:20;;772:33;747:20;772:33;;817:130;884:20;;909:33;884:20;909:33;;954:491;;;;1092:2;1080:9;1071:7;1067:23;1063:32;1060:2;;;1108:1;1105;1098:12;1060:2;1143:1;1160:53;1205:7;1185:9;1160:53;;;1150:63;;1122:97;1250:2;1268:53;1313:7;1304:6;1293:9;1289:22;1268:53;;;1258:63;;1229:98;1358:2;1376:53;1421:7;1412:6;1401:9;1397:22;1376:53;;;1366:63;;1337:98;1054:391;;;;;;1452:299;;1585:2;1573:9;1564:7;1560:23;1556:32;1553:2;;;1601:1;1598;1591:12;1553:2;1636:1;1653:82;1727:7;1707:9;1653:82;;;1643:92;1547:204;-1:-1;;;;1547:204;1759:173;;1846:46;1888:3;1880:6;1846:46;;;-1:-1;;1921:4;1912:14;;1839:93;1971:690;;2116:54;2164:5;2116:54;;;2183:86;2262:6;2257:3;2183:86;;;2176:93;;2290:56;2340:5;2290:56;;;2366:7;2394:1;2379:260;2404:6;2401:1;2398:13;2379:260;;;2471:6;2465:13;2492:63;2551:3;2536:13;2492:63;;;2485:70;;2572:60;2625:6;2572:60;;;2562:70;-1:-1;;2426:1;2419:9;2379:260;;;-1:-1;2652:3;;2095:566;-1:-1;;;;;2095:566;2669:192;2785:70;2849:5;2785:70;;;2780:3;2773:83;2767:94;;;2869:370;;3029:67;3093:2;3088:3;3029:67;;;3129:34;3109:55;;3198:3;3193:2;3184:12;;3177:25;3230:2;3221:12;;3015:224;-1:-1;;3015:224;3344:494;3563:23;;3495:4;3486:14;;;3592:63;3490:3;3563:23;3592:63;;;3515:146;3742:4;3735:5;3731:16;3725:23;3754:63;3811:4;3806:3;3802:14;3788:12;3754:63;;;3671:152;3468:370;;;;3896:319;4102:23;;4035:4;4026:14;;;4131:63;4030:3;4102:23;4131:63;;4222:103;4295:24;4313:5;4295:24;;4332:103;4405:24;4423:5;4405:24;;4562:361;4730:2;4744:47;;;4715:18;;4805:108;4715:18;4899:6;4805:108;;4930:279;5081:2;5066:18;;5095:104;5070:9;5172:6;5095:104;;5216:407;5407:2;5421:47;;;5392:18;;5482:131;5392:18;5482:131;;5630:329;5806:2;5791:18;;5820:129;5795:9;5922:6;5820:129;;5966:305;6130:2;6115:18;;6144:117;6119:9;6234:6;6144:117;;6278:213;6396:2;6381:18;;6410:71;6385:9;6454:6;6410:71;;6498:256;6560:2;6554:9;6586:17;;;6661:18;6646:34;;6682:22;;;6643:62;6640:2;;;6718:1;6715;6708:12;6640:2;6734;6727:22;6538:216;;-1:-1;6538:216;6761:151;6885:4;6876:14;;6833:79;6919:137;7022:12;;6993:63;7179:178;7297:19;;;7346:4;7337:14;;7290:67;7537:91;;7599:24;7617:5;7599:24;;7635:113;7708:34;7697:46;;7680:68;7755:121;7828:42;7817:54;;7800:76;7883:72;7945:5;7928:27;7962:187;;8074:70;8138:5;8074:70;;8304:117;8373:24;8391:5;8373:24;;;8366:5;8363:35;8353:2;;8412:1;8409;8402:12;8353:2;8347:74;;8428:117;8497:24;8515:5;8497:24;;8552:117;8621:24;8639:5;8621:24;",
|
|
162
162
|
"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 { PolynomialInterestSetter } from \"../external/interestsetters/PolynomialInterestSetter.sol\";\n\n\n/**\n * @title TestPolynomialInterestSetter\n * @author dYdX\n *\n * PolynomialInterestSetter for testing\n */\ncontract TestPolynomialInterestSetter is\n PolynomialInterestSetter\n{\n constructor(\n PolyStorage memory parameters\n )\n public\n PolynomialInterestSetter(parameters)\n {\n }\n\n function setParameters(\n PolyStorage memory parameters\n )\n public\n {\n g_storage = parameters;\n }\n\n function createNew(\n PolyStorage memory parameters\n )\n public\n returns (PolynomialInterestSetter)\n {\n return new PolynomialInterestSetter(parameters);\n }\n}\n",
|
|
163
|
-
"sourcePath": "/
|
|
163
|
+
"sourcePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestPolynomialInterestSetter.sol",
|
|
164
164
|
"ast": {
|
|
165
|
-
"absolutePath": "/
|
|
165
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestPolynomialInterestSetter.sol",
|
|
166
166
|
"exportedSymbols": {
|
|
167
167
|
"TestPolynomialInterestSetter": [
|
|
168
168
|
39620
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
"src": "627:33:106"
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
|
-
"absolutePath": "/
|
|
195
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/external/interestsetters/PolynomialInterestSetter.sol",
|
|
196
196
|
"file": "../external/interestsetters/PolynomialInterestSetter.sol",
|
|
197
197
|
"id": 39585,
|
|
198
198
|
"nodeType": "ImportDirective",
|
|
@@ -614,7 +614,7 @@
|
|
|
614
614
|
"src": "603:803:106"
|
|
615
615
|
},
|
|
616
616
|
"legacyAST": {
|
|
617
|
-
"absolutePath": "/
|
|
617
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestPolynomialInterestSetter.sol",
|
|
618
618
|
"exportedSymbols": {
|
|
619
619
|
"TestPolynomialInterestSetter": [
|
|
620
620
|
39620
|
|
@@ -644,7 +644,7 @@
|
|
|
644
644
|
"src": "627:33:106"
|
|
645
645
|
},
|
|
646
646
|
{
|
|
647
|
-
"absolutePath": "/
|
|
647
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/external/interestsetters/PolynomialInterestSetter.sol",
|
|
648
648
|
"file": "../external/interestsetters/PolynomialInterestSetter.sol",
|
|
649
649
|
"id": 39585,
|
|
650
650
|
"nodeType": "ImportDirective",
|
|
@@ -1074,11 +1074,11 @@
|
|
|
1074
1074
|
"events": {},
|
|
1075
1075
|
"links": {},
|
|
1076
1076
|
"address": "0x26b4AFb60d6C903165150C6F0AA14F8016bE4aec",
|
|
1077
|
-
"transactionHash": "
|
|
1077
|
+
"transactionHash": "0x7ae566a5c142ef08866b5ffa7d1877a9886f9376cfa8b05bd51b916062bcb019"
|
|
1078
1078
|
}
|
|
1079
1079
|
},
|
|
1080
1080
|
"schemaVersion": "3.0.23",
|
|
1081
|
-
"updatedAt": "2022-02-
|
|
1081
|
+
"updatedAt": "2022-02-07T07:18:45.473Z",
|
|
1082
1082
|
"devdoc": {
|
|
1083
1083
|
"author": "dYdX * PolynomialInterestSetter for testing",
|
|
1084
1084
|
"methods": {
|
|
@@ -132,15 +132,15 @@
|
|
|
132
132
|
"type": "function"
|
|
133
133
|
}
|
|
134
134
|
],
|
|
135
|
-
"metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[],\"name\":\"isOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"latestAnswer\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"int256\",\"name\":\"__latestAnswer\",\"type\":\"int256\"}],\"name\":\"setLatestAnswer\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{\"isOwner()\":{\"details\":\"Returns true if the caller is the current owner.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. * NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/
|
|
136
|
-
"bytecode": "
|
|
137
|
-
"deployedBytecode": "
|
|
135
|
+
"metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[],\"name\":\"isOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"latestAnswer\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"int256\",\"name\":\"__latestAnswer\",\"type\":\"int256\"}],\"name\":\"setLatestAnswer\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{\"isOwner()\":{\"details\":\"Returns true if the caller is the current owner.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. * NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestPriceAggregator.sol\":\"TestPriceAggregator\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[]},\"sources\":{\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/external/interfaces/IChainlinkAggregator.sol\":{\"keccak256\":\"0xc8c16d8fb7fe57637d33bac84af3ea4c087896612ee629357735c6afe4802a75\",\"urls\":[\"bzz-raw://560ddc4d72da39030111a3ae74dc5f38f0a83eeb30a07bc49c5b6ba3ba07f981\",\"dweb:/ipfs/QmRdYwQRcWHnHmNi6Xuy139AP1SZit5u2NdvmauYjC48V6\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestPriceAggregator.sol\":{\"keccak256\":\"0xe09397a1ece857f5a4398f985b8869f15df7817a8220c3ca41243b79efaa54e2\",\"urls\":[\"bzz-raw://a537dee9098f65f23ffb84db4f5a086f2369ccb8c98837f7f55118ccde125bb8\",\"dweb:/ipfs/Qmarwwj2jjFs3QKWrMroN7oWEmttBAnhSag9cnPuB5ZguN\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0x90a3995645af7562d84b9d69363ffa5ae7217714ab61e951bf7bc450f40e4061\",\"urls\":[\"bzz-raw://216ef9d6b614db4eb46970b4e84903f2534a45572dd30a79f0041f1a5830f436\",\"dweb:/ipfs/QmNPrJ4MWKUAWzKXpUqeyKRUfosaoANZAqXgvepdrCwZAG\"]},\"@openzeppelin/contracts/ownership/Ownable.sol\":{\"keccak256\":\"0x6fb9d7889769d7cc161225f9ef7a90e468ba9788b253816f8d8b6894d3472c24\",\"urls\":[\"bzz-raw://cf4c00fc3c37cc5acf0c82ec6fd97bab67d72c2567fdc0ebf023d9c09b30a08e\",\"dweb:/ipfs/Qmb7TChG6DsEDX7LooJ4vmxot19f7VXX8S1zUGPeJTWbwZ\"]}},\"version\":1}",
|
|
136
|
+
"bytecode": "0x608060405234801561001057600080fd5b5060405161093e38038061093e83398101604081905261002f91610197565b60006100426001600160e01b036100a616565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350805161009f9060019060208401906100ab565b5050610250565b335b90565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100ec57805160ff1916838001178555610119565b82800160010185558215610119579182015b828111156101195782518255916020019190600101906100fe565b50610125929150610129565b5090565b6100a891905b80821115610125576000815560010161012f565b600082601f83011261015457600080fd5b8151610167610162826101f9565b6101d3565b9150808252602083016020830185838301111561018357600080fd5b61018e838284610220565b50505092915050565b6000602082840312156101a957600080fd5b81516001600160401b038111156101bf57600080fd5b6101cb84828501610143565b949350505050565b6040518181016001600160401b03811182821017156101f157600080fd5b604052919050565b60006001600160401b0382111561020f57600080fd5b506020601f91909101601f19160190565b60005b8381101561023b578181015183820152602001610223565b8381111561024a576000848401525b50505050565b6106df8061025f6000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80638da5cb5b1161005b5780638da5cb5b146100bd5780638f32d59b146100d257806395d89b41146100e7578063f2fde38b146100fc5761007d565b806304ea97b01461008257806350d25bcd14610097578063715018a6146100b5575b600080fd5b61009561009036600461047d565b61010f565b005b61009f61015b565b6040516100ac91906105a8565b60405180910390f35b610095610161565b6100c561020e565b6040516100ac919061058c565b6100da61022a565b6040516100ac919061059a565b6100ef610268565b6040516100ac91906105b6565b61009561010a366004610457565b610313565b61011761022a565b610156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161014d906105de565b60405180910390fd5b600255565b60025490565b61016961022a565b61019f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161014d906105de565b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b6000805473ffffffffffffffffffffffffffffffffffffffff1661024c61035d565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60018054604080516020600284861615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152929183018282801561030b5780601f106102e05761010080835404028352916020019161030b565b820191906000526020600020905b8154815290600101906020018083116102ee57829003601f168201915b505050505081565b61031b61022a565b610351576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161014d906105de565b61035a81610361565b50565b3390565b73ffffffffffffffffffffffffffffffffffffffff81166103ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161014d906105ce565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b80356104468161067f565b92915050565b803561044681610693565b60006020828403121561046957600080fd5b6000610475848461043b565b949350505050565b60006020828403121561048f57600080fd5b6000610475848461044c565b6104a4816105fb565b82525050565b6104a481610606565b6104a48161060b565b60006104c7826105ee565b6104d181856105f2565b93506104e1818560208601610627565b6104ea81610657565b9093019392505050565b60006105016026836105f2565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181527f6464726573730000000000000000000000000000000000000000000000000000602082015260400192915050565b60006105606020836105f2565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572815260200192915050565b60208101610446828461049b565b6020810161044682846104aa565b6020810161044682846104b3565b602080825281016105c781846104bc565b9392505050565b60208082528101610446816104f4565b6020808252810161044681610553565b5190565b90815260200190565b60006104468261060e565b151590565b90565b73ffffffffffffffffffffffffffffffffffffffff1690565b60005b8381101561064257818101518382015260200161062a565b83811115610651576000848401525b50505050565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b610688816105fb565b811461035a57600080fd5b6106888161060b56fea365627a7a723158206a12c97263c0bff75a40c0f0c020abc96ae9092f78ed1ade118cc3e7df2174db6c6578706572696d656e74616cf564736f6c63430005100040",
|
|
137
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80638da5cb5b1161005b5780638da5cb5b146100bd5780638f32d59b146100d257806395d89b41146100e7578063f2fde38b146100fc5761007d565b806304ea97b01461008257806350d25bcd14610097578063715018a6146100b5575b600080fd5b61009561009036600461047d565b61010f565b005b61009f61015b565b6040516100ac91906105a8565b60405180910390f35b610095610161565b6100c561020e565b6040516100ac919061058c565b6100da61022a565b6040516100ac919061059a565b6100ef610268565b6040516100ac91906105b6565b61009561010a366004610457565b610313565b61011761022a565b610156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161014d906105de565b60405180910390fd5b600255565b60025490565b61016961022a565b61019f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161014d906105de565b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b6000805473ffffffffffffffffffffffffffffffffffffffff1661024c61035d565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60018054604080516020600284861615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152929183018282801561030b5780601f106102e05761010080835404028352916020019161030b565b820191906000526020600020905b8154815290600101906020018083116102ee57829003601f168201915b505050505081565b61031b61022a565b610351576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161014d906105de565b61035a81610361565b50565b3390565b73ffffffffffffffffffffffffffffffffffffffff81166103ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161014d906105ce565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b80356104468161067f565b92915050565b803561044681610693565b60006020828403121561046957600080fd5b6000610475848461043b565b949350505050565b60006020828403121561048f57600080fd5b6000610475848461044c565b6104a4816105fb565b82525050565b6104a481610606565b6104a48161060b565b60006104c7826105ee565b6104d181856105f2565b93506104e1818560208601610627565b6104ea81610657565b9093019392505050565b60006105016026836105f2565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181527f6464726573730000000000000000000000000000000000000000000000000000602082015260400192915050565b60006105606020836105f2565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572815260200192915050565b60208101610446828461049b565b6020810161044682846104aa565b6020810161044682846104b3565b602080825281016105c781846104bc565b9392505050565b60208082528101610446816104f4565b6020808252810161044681610553565b5190565b90815260200190565b60006104468261060e565b151590565b90565b73ffffffffffffffffffffffffffffffffffffffff1690565b60005b8381101561064257818101518382015260200161062a565b83811115610651576000848401525b50505050565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b610688816105fb565b811461035a57600080fd5b6106888161060b56fea365627a7a723158206a12c97263c0bff75a40c0f0c020abc96ae9092f78ed1ade118cc3e7df2174db6c6578706572696d656e74616cf564736f6c63430005100040",
|
|
138
138
|
"sourceMap": "769:477:107:-;;;900:107;8:9:-1;5:2;;;30:1;27;20:12;5:2;900:107:107;;;;;;;;;;;;;;;;;;;;;698:17:125;718:12;-1:-1:-1;;;;;718:10:125;:12;:::i;:::-;740:6;:18;;-1:-1:-1;;;;;;740:18:125;-1:-1:-1;;;;;740:18:125;;;;;;;773:43;;740:18;;-1:-1:-1;740:18:125;773:43;;740:6;;773:43;-1:-1:-1;984:16:107;;;;:6;;:16;;;;;:::i;:::-;;900:107;769:477;;788:96:122;867:10;788:96;;:::o;769:477:107:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;769:477:107;;;-1:-1:-1;769:477:107;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;6:444:-1;;119:3;112:4;104:6;100:17;96:27;86:2;;137:1;134;127:12;86:2;167:6;161:13;189:65;204:49;246:6;204:49;;;189:65;;;180:74;;274:6;267:5;260:21;310:4;302:6;298:17;343:4;336:5;332:16;378:3;369:6;364:3;360:16;357:25;354:2;;;395:1;392;385:12;354:2;405:39;437:6;432:3;427;405:39;;;79:371;;;;;;;;458:362;;583:2;571:9;562:7;558:23;554:32;551:2;;;599:1;596;589:12;551:2;634:24;;-1:-1;;;;;667:30;;664:2;;;710:1;707;700:12;664:2;730:74;796:7;787:6;776:9;772:22;730:74;;;720:84;545:275;-1:-1;;;;545:275;827:256;889:2;883:9;915:17;;;-1:-1;;;;;975:34;;1011:22;;;972:62;969:2;;;1047:1;1044;1037:12;969:2;1063;1056:22;867:216;;-1:-1;867:216;1090:322;;-1:-1;;;;;1226:6;1223:30;1220:2;;;1266:1;1263;1256:12;1220:2;-1:-1;1397:4;1333;1310:17;;;;-1:-1;;1306:33;1387:15;;1157:255;1420:268;1485:1;1492:101;1506:6;1503:1;1500:13;1492:101;;;1573:11;;;1567:18;1554:11;;;1547:39;1528:2;1521:10;1492:101;;;1608:6;1605:1;1602:13;1599:2;;;1673:1;1664:6;1659:3;1655:16;1648:27;1599:2;1469:219;;;;;;769:477:107;;;;;;",
|
|
139
139
|
"deployedSourceMap": "769:477:107:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;769:477:107;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1109:134;;;;;;;;;:::i;:::-;;1013:90;;;:::i;:::-;;;;;;;;;;;;;;;;1684:137:125;;;:::i;899:77::-;;;:::i;:::-;;;;;;;;1250:92;;;:::i;:::-;;;;;;;;838:20:107;;;:::i;:::-;;;;;;;;1970:107:125;;;;;;;;;:::i;1109:134:107:-;1103:9:125;:7;:9::i;:::-;1095:54;;;;;;;;;;;;;;;;;;;;;;1206:13:107;:30;1109:134::o;1013:90::-;1083:13;;1013:90;:::o;1684:137:125:-;1103:9;:7;:9::i;:::-;1095:54;;;;;;;;;;;;;;1782:1;1766:6;;1745:40;;;1766:6;;;;1745:40;;1782:1;;1745:40;1812:1;1795:19;;;;;;1684:137::o;899:77::-;937:7;963:6;;;899:77;:::o;1250:92::-;1290:4;1329:6;;;;1313:12;:10;:12::i;:::-;:22;;;1306:29;;1250:92;:::o;838:20:107:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1970:107:125:-;1103:9;:7;:9::i;:::-;1095:54;;;;;;;;;;;;;;2042:28;2061:8;2042:18;:28::i;:::-;1970:107;:::o;788:96:122:-;867:10;788:96;:::o;2178:225:125:-;2251:22;;;2243:73;;;;;;;;;;;;;;2352:6;;;2331:38;;;;;;;2352:6;;;2331:38;;;2379:6;:17;;;;;;;;;;;;;;;2178:225::o;5:130:-1:-;72:20;;97:33;72:20;97:33;;;57:78;;;;;142:128;208:20;;233:32;208:20;233:32;;277:241;;381:2;369:9;360:7;356:23;352:32;349:2;;;397:1;394;387:12;349:2;432:1;449:53;494:7;474:9;449:53;;;439:63;343:175;-1:-1;;;;343:175;525:239;;628:2;616:9;607:7;603:23;599:32;596:2;;;644:1;641;634:12;596:2;679:1;696:52;740:7;720:9;696:52;;771:113;854:24;872:5;854:24;;;849:3;842:37;836:48;;;891:104;968:21;983:5;968:21;;1002:110;1083:23;1100:5;1083:23;;1119:339;;1227:35;1256:5;1227:35;;;1274:71;1338:6;1333:3;1274:71;;;1267:78;;1350:52;1395:6;1390:3;1383:4;1376:5;1372:16;1350:52;;;1423:29;1445:6;1423:29;;;1414:39;;;;1207:251;-1:-1;;;1207:251;1466:375;;1626:67;1690:2;1685:3;1626:67;;;1726:34;1706:55;;1795:8;1790:2;1781:12;;1774:30;1832:2;1823:12;;1612:229;-1:-1;;1612:229;1850:332;;2010:67;2074:2;2069:3;2010:67;;;2110:34;2090:55;;2173:2;2164:12;;1996:186;-1:-1;;1996:186;2190:213;2308:2;2293:18;;2322:71;2297:9;2366:6;2322:71;;2410:201;2522:2;2507:18;;2536:65;2511:9;2574:6;2536:65;;2618:209;2734:2;2719:18;;2748:69;2723:9;2790:6;2748:69;;2834:293;2968:2;2982:47;;;2953:18;;3043:74;2953:18;3103:6;3043:74;;;3035:82;2939:188;-1:-1;;;2939:188;3134:407;3325:2;3339:47;;;3310:18;;3400:131;3310:18;3400:131;;3548:407;3739:2;3753:47;;;3724:18;;3814:131;3724:18;3814:131;;3962:118;4046:12;;4017:63;4088:163;4191:19;;;4240:4;4231:14;;4184:67;4259:91;;4321:24;4339:5;4321:24;;4357:85;4423:13;4416:21;;4399:43;4449:71;4510:5;4493:27;4527:121;4600:42;4589:54;;4572:76;4656:268;4721:1;4728:101;4742:6;4739:1;4736:13;4728:101;;;4809:11;;;4803:18;4790:11;;;4783:39;4764:2;4757:10;4728:101;;;4844:6;4841:1;4838:13;4835:2;;;4909:1;4900:6;4895:3;4891:16;4884:27;4835:2;4705:219;;;;;4932:97;5020:2;5000:14;5016:7;4996:28;;4980:49;5037:117;5106:24;5124:5;5106:24;;;5099:5;5096:35;5086:2;;5145:1;5142;5135:12;5161:115;5229:23;5246:5;5229:23;",
|
|
140
140
|
"source": "/*\n\n Copyright 2020 Dolomite.\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 \"@openzeppelin/contracts/ownership/Ownable.sol\";\nimport \"../external/interfaces/IChainlinkAggregator.sol\";\n\ncontract TestPriceAggregator is IChainlinkAggregator, Ownable {\n\n string public symbol;\n int256 internal _latestAnswer;\n\n constructor(\n string memory _symbol\n )\n public\n Ownable() {\n symbol = _symbol;\n }\n\n function latestAnswer() public view returns (int256) {\n return _latestAnswer;\n }\n\n function setLatestAnswer(\n int256 __latestAnswer\n )\n public\n onlyOwner {\n _latestAnswer = __latestAnswer;\n }\n\n}\n",
|
|
141
|
-
"sourcePath": "/
|
|
141
|
+
"sourcePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestPriceAggregator.sol",
|
|
142
142
|
"ast": {
|
|
143
|
-
"absolutePath": "/
|
|
143
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestPriceAggregator.sol",
|
|
144
144
|
"exportedSymbols": {
|
|
145
145
|
"TestPriceAggregator": [
|
|
146
146
|
39666
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
"unitAlias": ""
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
|
-
"absolutePath": "/
|
|
184
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/external/interfaces/IChainlinkAggregator.sol",
|
|
185
185
|
"file": "../external/interfaces/IChainlinkAggregator.sol",
|
|
186
186
|
"id": 39625,
|
|
187
187
|
"nodeType": "ImportDirective",
|
|
@@ -639,7 +639,7 @@
|
|
|
639
639
|
"src": "595:652:107"
|
|
640
640
|
},
|
|
641
641
|
"legacyAST": {
|
|
642
|
-
"absolutePath": "/
|
|
642
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestPriceAggregator.sol",
|
|
643
643
|
"exportedSymbols": {
|
|
644
644
|
"TestPriceAggregator": [
|
|
645
645
|
39666
|
|
@@ -680,7 +680,7 @@
|
|
|
680
680
|
"unitAlias": ""
|
|
681
681
|
},
|
|
682
682
|
{
|
|
683
|
-
"absolutePath": "/
|
|
683
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/external/interfaces/IChainlinkAggregator.sol",
|
|
684
684
|
"file": "../external/interfaces/IChainlinkAggregator.sol",
|
|
685
685
|
"id": 39625,
|
|
686
686
|
"nodeType": "ImportDirective",
|
|
@@ -1143,7 +1143,7 @@
|
|
|
1143
1143
|
},
|
|
1144
1144
|
"networks": {},
|
|
1145
1145
|
"schemaVersion": "3.0.23",
|
|
1146
|
-
"updatedAt": "2022-02-
|
|
1146
|
+
"updatedAt": "2022-02-07T07:18:45.474Z",
|
|
1147
1147
|
"devdoc": {
|
|
1148
1148
|
"methods": {
|
|
1149
1149
|
"isOwner()": {
|