@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
|
@@ -428,15 +428,15 @@
|
|
|
428
428
|
"type": "function"
|
|
429
429
|
}
|
|
430
430
|
],
|
|
431
|
-
"metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"chainlinkAggregators\",\"type\":\"address[]\"},{\"internalType\":\"uint8[]\",\"name\":\"tokenDecimals\",\"type\":\"uint8[]\"},{\"internalType\":\"address[]\",\"name\":\"tokenPairs\",\"type\":\"address[]\"},{\"internalType\":\"uint8[]\",\"name\":\"aggregatorDecimals\",\"type\":\"uint8[]\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"percent\",\"type\":\"uint8\"}],\"name\":\"OverrideOraclePrice\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"aggregator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenPair\",\"type\":\"address\"}],\"name\":\"TokenInsertedOrUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"UnsetOverrideOraclePrice\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[],\"name\":\"CHAINLINK_ETH_DECIMALS\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"CHAINLINK_USD_DECIMALS\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"ONE_DOLLAR\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"percent\",\"type\":\"uint8\"}],\"name\":\"changeOraclePrice\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getPrice\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"internalType\":\"struct Monetary.Price\",\"name\":\"\",\"type\":\"tuple\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"tokenDecimals\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"chainlinkAggregator\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"aggregatorDecimals\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"tokenPair\",\"type\":\"address\"}],\"name\":\"insertOrUpdateOracleToken\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"isOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"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\":true,\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"tokenDecimals\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"valueDecimals\",\"type\":\"uint8\"}],\"name\":\"standardizeNumberOfDecimals\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenToAggregatorDecimalsMap\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenToAggregatorMap\",\"outputs\":[{\"internalType\":\"contract IChainlinkAggregator\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenToDecimalsMap\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenToPairingMap\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenToPercentChange\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"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\":{\"author\":\"Dolomite * An implementation of the dYdX IPriceOracle interface that makes Chainlink prices compatible with the protocol.\",\"methods\":{\"changeOraclePrice(address,uint8)\":{\"params\":{\"percent\":\"The percent that should be applied to the current oracle price. Use 0 to unset. A value of 100 indicates no change. 90 is a 10% drop (0.9 times the price) and 110 is a 10% increase (1.1 times the price).\",\"token\":\"The token whose price should change\"}},\"constructor\":{\"params\":{\"aggregatorDecimals\":\"The number of decimals that the value has that comes back from the corresponding Chainlink Aggregator.\",\"chainlinkAggregators\":\"The Chainlink aggregators that have on-chain prices.\",\"tokenDecimals\":\"The number of decimals that each token has.\",\"tokenPairs\":\"The token against which this token's value is compared using the aggregator. The zero address means USD.\",\"tokens\":\"The tokens that are supported by this adapter.\"}},\"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.\"}},\"title\":\"ChainlinkPriceOracleV1\"},\"userdoc\":{\"methods\":{\"constructor\":\"Note, these arrays are set up, such that each index corresponds with one-another.\",\"standardizeNumberOfDecimals(uint8,uint256,uint8)\":{\"notice\":\"Standardizes `value` to have `ONE_DOLLAR` - `tokenDecimals` number of decimals.\"}}}},\"settings\":{\"compilationTarget\":{\"/home/cdc218/projects/dolomite-protocol-v2/contracts/external/oracles/TestChainlinkPriceOracleV1.sol\":\"TestChainlinkPriceOracleV1\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[]},\"sources\":{\"/home/cdc218/projects/dolomite-protocol-v2/contracts/external/interfaces/IChainlinkAggregator.sol\":{\"keccak256\":\"0xc8c16d8fb7fe57637d33bac84af3ea4c087896612ee629357735c6afe4802a75\",\"urls\":[\"bzz-raw://560ddc4d72da39030111a3ae74dc5f38f0a83eeb30a07bc49c5b6ba3ba07f981\",\"dweb:/ipfs/QmRdYwQRcWHnHmNi6Xuy139AP1SZit5u2NdvmauYjC48V6\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/external/oracles/ChainlinkPriceOracleV1.sol\":{\"keccak256\":\"0x3d4f8c6c9c44c4029140619500882da0ad09cc2fb7fefe9c4fd0833f0248729e\",\"urls\":[\"bzz-raw://6e8c7014113d5bd5665bea6bb11e3545ba0c50c24d2b9a638481bf13004d9ccc\",\"dweb:/ipfs/QmQLQUL8azWi2ZoHmSaL7MqMU55BQkDsPEUhGHy1rFjTu9\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/external/oracles/TestChainlinkPriceOracleV1.sol\":{\"keccak256\":\"0x7d9ffb9d53fef62b725ce9b1ffe751cf79a5a52b32b8a127d7de06ffbaa49b05\",\"urls\":[\"bzz-raw://38958d8ab10f8a3a273c4de13c4abfb2b7a29c96bfd5a40e1133b95187de30a1\",\"dweb:/ipfs/QmaFfbq9zskpdN3KVEF6CWDpbFRy3uRMh88Wz1U4YepWrh\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/interfaces/IPriceOracle.sol\":{\"keccak256\":\"0x3f7c3d1397390ea44c6d5e5730d49476431c3df3b28334fe38218de5edc31138\",\"urls\":[\"bzz-raw://63ebf926fca9ce33aaabaf93805686acc25daded1648d6dab59c8c4d05116918\",\"dweb:/ipfs/QmeGkDp7ycYstpfqCYBiqoCYwy876gabx8r42o5koj3H5A\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Monetary.sol\":{\"keccak256\":\"0x5257274f2d4d3605f3e97ec45fb902111fe9a22506f0b4cf308ea933bc81bfe2\",\"urls\":[\"bzz-raw://85b8023b78805063a2ec8d376f1f5983994eabd96efd8ceadb0224dbb71c5678\",\"dweb:/ipfs/QmaDhzCzRqsuHuJfhToEC4pATQHwhh7yWWsjwfuRzFT1kG\"]},\"/home/cdc218/projects/dolomite-protocol-v2/contracts/protocol/lib/Require.sol\":{\"keccak256\":\"0xe641662503ea29ca959e84674188c3e9deaaf64c5623fb9560a4301c521ca1d3\",\"urls\":[\"bzz-raw://b10a04c7d014b99eb792c8c774e203c846d070b30cf0b715325fc07838ed6a6d\",\"dweb:/ipfs/QmUqZWnbchfEY9jM647yQamHe4GzspfUeRQF9k2nn1Hixd\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0x90a3995645af7562d84b9d69363ffa5ae7217714ab61e951bf7bc450f40e4061\",\"urls\":[\"bzz-raw://216ef9d6b614db4eb46970b4e84903f2534a45572dd30a79f0041f1a5830f436\",\"dweb:/ipfs/QmNPrJ4MWKUAWzKXpUqeyKRUfosaoANZAqXgvepdrCwZAG\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x640b6dee7a4b830bdfd52b5031a07fc2b12209f5b2e29e5d364a7d37f69d8076\",\"urls\":[\"bzz-raw://31113152e1ddb78fe7a4197f247591ca894e93f916867beb708d8e747b6cc74f\",\"dweb:/ipfs/QmbZaJyXdpsYGykVhHH9qpVGQg9DGCxE2QufbCUy3daTgq\"]},\"@openzeppelin/contracts/ownership/Ownable.sol\":{\"keccak256\":\"0x6fb9d7889769d7cc161225f9ef7a90e468ba9788b253816f8d8b6894d3472c24\",\"urls\":[\"bzz-raw://cf4c00fc3c37cc5acf0c82ec6fd97bab67d72c2567fdc0ebf023d9c09b30a08e\",\"dweb:/ipfs/Qmb7TChG6DsEDX7LooJ4vmxot19f7VXX8S1zUGPeJTWbwZ\"]}},\"version\":1}",
|
|
432
|
-
"bytecode": "0x608060405260058054600860ff199091161761ff0019166112001790553480156200002957600080fd5b5060405162001cd338038062001cd38339810160408190526200004c91620003ef565b84848484846000620000666001600160e01b03620001e916565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508351855114620000dd5760405162461bcd60e51b8152600401620000d49062000646565b60405180910390fd5b8251845114620001015760405162461bcd60e51b8152600401620000d49062000634565b8151835114620001255760405162461bcd60e51b8152600401620000d49062000610565b8051825114620001495760405162461bcd60e51b8152600401620000d49062000622565b60005b8551811015620001d857620001cf8682815181106200016757fe5b60200260200101518583815181106200017c57fe5b60200260200101518784815181106200019157fe5b6020026020010151858581518110620001a657fe5b6020026020010151878681518110620001bb57fe5b6020026020010151620001ed60201b60201c565b6001016200014c565b5050505050505050505050620006e6565b3390565b6001600160a01b03858116600090815260016020908152604080832080546001600160a01b03191688861617905560029091529020805460ff191660ff87161790558116156200027c576001600160a01b03858116600090815260036020908152604080832080546001600160a01b031916948616949094179093556004905220805460ff191660ff84161790555b806001600160a01b0316836001600160a01b0316866001600160a01b03167ff6dcff57d435662a867049d43b76e51e72ffba006347ec701ce100b59ee6da3760405160405180910390a45050505050565b8051620002da81620006c1565b92915050565b600082601f830112620002f257600080fd5b81516200030962000303826200067f565b62000658565b915081818352602084019350602081019050838560208402820111156200032f57600080fd5b60005b838110156200035f5781620003488882620002cd565b845250602092830192919091019060010162000332565b5050505092915050565b600082601f8301126200037b57600080fd5b81516200038c62000303826200067f565b91508181835260208401935060208101905083856020840282011115620003b257600080fd5b60005b838110156200035f5781620003cb8882620003e2565b8452506020928301929190910190600101620003b5565b8051620002da81620006db565b600080600080600060a086880312156200040857600080fd5b85516001600160401b038111156200041f57600080fd5b6200042d88828901620002e0565b95505060208601516001600160401b038111156200044a57600080fd5b6200045888828901620002e0565b94505060408601516001600160401b038111156200047557600080fd5b620004838882890162000369565b93505060608601516001600160401b03811115620004a057600080fd5b620004ae88828901620002e0565b92505060808601516001600160401b03811115620004cb57600080fd5b620004d98882890162000369565b9150509295509295909350565b6000620004f5603283620006a0565b60008051602062001cb38339815191528152710e8ded6cadc40e0c2d2e4e640d8cadccee8d60731b602082015260400192915050565b60006200053a603a83620006a0565b60008051602062001cb383398151915281527f61676772656761746f7220646563696d616c73206c656e677468000000000000602082015260400192915050565b60006200058a603583620006a0565b60008051602062001cb383398151915281527f746f6b656e20646563696d616c73206c656e6774680000000000000000000000602082015260400192915050565b6000620005da603283620006a0565b60008051602062001cb38339815191528152710c2cecee4cacec2e8dee4e640d8cadccee8d60731b602082015260400192915050565b60208082528101620002da81620004e6565b60208082528101620002da816200052b565b60208082528101620002da816200057b565b60208082528101620002da81620005cb565b6040518181016001600160401b03811182821017156200067757600080fd5b604052919050565b60006001600160401b038211156200069657600080fd5b5060209081020190565b90815260200190565b60006001600160a01b038216620002da565b60ff1690565b620006cc81620006a9565b8114620006d857600080fd5b50565b620006cc81620006bb565b6115bd80620006f66000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806378f875b411610097578063d08f994211610066578063d08f9942146101fe578063dc2614f01461021e578063f042c09414610231578063f2fde38b1461023957610100565b806378f875b4146101bb5780638da5cb5b146101ce5780638f32d59b146101d6578063a9c12c84146101eb57610100565b80633e30c051116100d35780633e30c0511461016b57806341976e091461017e578063572ca9e71461019e578063715018a6146101b357610100565b806309359d021461010557806321fff1c31461012e57806323c77b9e146101435780632f4abe921461014b575b600080fd5b61011861011336600461105d565b61024c565b604051610125919061145e565b60405180910390f35b61014161013c3660046110bd565b610261565b005b6101186102bc565b61015e61015936600461105d565b6102c5565b60405161012591906113d7565b610141610179366004611083565b6102ed565b61019161018c36600461105d565b61042b565b6040516101259190611442565b6101a66104cf565b6040516101259190611450565b6101416104e2565b6101a66101c9366004611150565b61058f565b61015e6105e0565b6101de6105fc565b60405161012591906113e5565b6101186101f936600461105d565b61063a565b61021161020c36600461105d565b61064f565b60405161012591906113f3565b61011861022c36600461105d565b610677565b61011861068c565b61014161024736600461105d565b61069a565b60046020526000908152604090205460ff1681565b6102696105fc565b6102a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611432565b60405180910390fd5b6102b585858585856106e4565b5050505050565b60055460ff1681565b60036020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b6102f56105fc565b61032b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611432565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260066020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff8316908117909155158061038d57508060ff166064145b156103d85760405173ffffffffffffffffffffffffffffffffffffffff8316907f5bf2ffcc89d60b76e34b290097d34468c102a3a2cbd7757fd1020963f016489d90600090a2610427565b8173ffffffffffffffffffffffffffffffffffffffff167fbc19bc42cf4b0260201ddccdd4058cef16ad086b114834e10d3049abedd6d6418260405161041e919061145e565b60405180910390a25b5050565b61043361101e565b61043b61101e565b61044483610870565b73ffffffffffffffffffffffffffffffffffffffff841660009081526006602052604090205490915060ff1680158061048057508060ff166064145b1561048d575090506104ca565b60405180602001604052806104c360646104b78560ff168760000151610ae390919063ffffffff16565b9063ffffffff610b4016565b9052925050505b919050565b6ec097ce7bc90715b34b9f100000000081565b6104ea6105fc565b610520576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611432565b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600060ff8416600a0a816105b86ec097ce7bc90715b34b9f10000000008363ffffffff610b4016565b905060ff8416600a0a6105d5816104b7888563ffffffff610ae316565b979650505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b6000805473ffffffffffffffffffffffffffffffffffffffff1661061e610b82565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60026020526000908152604090205460ff1681565b60016020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60066020526000908152604090205460ff1681565b600554610100900460ff1681565b6106a26105fc565b6106d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611432565b6106e181610b86565b50565b73ffffffffffffffffffffffffffffffffffffffff858116600090815260016020908152604080832080547fffffffffffffffffffffffff0000000000000000000000000000000000000000168886161790556002909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff87161790558116156107f85773ffffffffffffffffffffffffffffffffffffffff858116600090815260036020908152604080832080547fffffffffffffffffffffffff00000000000000000000000000000000000000001694861694909417909355600490522080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff84161790555b8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167ff6dcff57d435662a867049d43b76e51e72ffba006347ec701ce100b59ee6da3760405160405180910390a45050505050565b61087861101e565b73ffffffffffffffffffffffffffffffffffffffff8281166000908152600160205260409020546108ee911615157f436861696e6c696e6b50726963654f7261636c655631000000000000000000007f696e76616c696420746f6b656e0000000000000000000000000000000000000085610c60565b73ffffffffffffffffffffffffffffffffffffffff80831660009081526001602090815260408083205481517f50d25bcd0000000000000000000000000000000000000000000000000000000081529151939416926350d25bcd92600480840193919291829003018186803b15801561096657600080fd5b505afa15801561097a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061099e9190810190611132565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260036020908152604080832054600290925282205493945090911691610a1e9060ff16848415610a135773ffffffffffffffffffffffffffffffffffffffff881660009081526004602052604090205460ff166101c9565b60055460ff1661058f565b905073ffffffffffffffffffffffffffffffffffffffff8216610a545760405180602001604052808281525093505050506104ca565b6000610a5f8361042b565b5173ffffffffffffffffffffffffffffffffffffffff841660009081526002602052604081205491925090610aa190839060ff16600a0a63ffffffff610ae316565b90506040518060200160405280610ad46ec097ce7bc90715b34b9f10000000006104b78588610ae390919063ffffffff16565b815250955050505050506104ca565b600082610af257506000610b3a565b82820282848281610aff57fe5b0414610b37576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611422565b90505b92915050565b6000610b3783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610d5c565b3390565b73ffffffffffffffffffffffffffffffffffffffff8116610bd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611412565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b83610d5657610c6e83610dad565b7f3a20000000000000000000000000000000000000000000000000000000000000610c9884610dad565b7f203c000000000000000000000000000000000000000000000000000000000000610cc285610e85565b604051610cf89594939291907f3e0000000000000000000000000000000000000000000000000000000000000090602001611379565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a000000000000000000000000000000000000000000000000000000000825261029f91600401611401565b50505050565b60008183610d97576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f9190611401565b506000838581610da357fe5b0495945050505050565b60608082604051602001610dc19190611364565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152919052905060205b8015610e6a5781517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90910190829082908110610e2d57fe5b01602001517fff000000000000000000000000000000000000000000000000000000000000001615610e6557600101815290506104ca565b610df4565b5060408051600080825260208201909252905b509392505050565b60408051602a808252606082810190935273ffffffffffffffffffffffffffffffffffffffff8416918391602082018180388339019050509050603060f81b81600081518110610ed157fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350607860f81b81600181518110610f1257fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b6014811015610e7d5760028102610f5d600f8516610ffc565b838260290381518110610f6c57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600484901c9350610fae600f8516610ffc565b838260280381518110610fbd57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505060049290921c91600101610f44565b6000600a82101561101457506030810160f81b6104ca565b5060570160f81b90565b6040518060200160405280600081525090565b8035610b3a81611554565b8051610b3a81611568565b8035610b3a81611568565b8035610b3a81611571565b60006020828403121561106f57600080fd5b600061107b8484611031565b949350505050565b6000806040838503121561109657600080fd5b60006110a28585611031565b92505060206110b385828601611052565b9150509250929050565b600080600080600060a086880312156110d557600080fd5b60006110e18888611031565b95505060206110f288828901611052565b945050604061110388828901611031565b935050606061111488828901611052565b925050608061112588828901611031565b9150509295509295909350565b60006020828403121561114457600080fd5b600061107b848461103c565b60008060006060848603121561116557600080fd5b60006111718686611052565b935050602061118286828701611047565b925050604061119386828701611052565b9150509250925092565b6111a681611479565b82525050565b6111a681611484565b6111a66111c182611489565b6114d3565b6111a66111c1826114ae565b6111a66111c1826114d3565b60006111e98261146c565b6111f381856104ca565b9350611203818560208601611500565b9290920192915050565b6111a6816114f5565b60006112218261146c565b61122b8185611470565b935061123b818560208601611500565b6112448161152c565b9093019392505050565b600061125b602683611470565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181527f6464726573730000000000000000000000000000000000000000000000000000602082015260400192915050565b60006112ba602183611470565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f81527f7700000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000611319602083611470565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572815260200192915050565b80516020830190610d5684825b6111a6816114d3565b6111a6816114ef565b600061137082846111d2565b50602001919050565b600061138582896111de565b915061139182886111c6565b6002820191506113a182876111de565b91506113ad82866111c6565b6002820191506113bd82856111de565b91506113c982846111b5565b506001019695505050505050565b60208101610b3a828461119d565b60208101610b3a82846111ac565b60208101610b3a828461120d565b60208082528101610b378184611216565b60208082528101610b3a8161124e565b60208082528101610b3a816112ad565b60208082528101610b3a8161130c565b60208101610b3a8284611345565b60208101610b3a8284611352565b60208101610b3a828461135b565b5190565b90815260200190565b6000610b3a826114d6565b151590565b7fff000000000000000000000000000000000000000000000000000000000000001690565b7fffff0000000000000000000000000000000000000000000000000000000000001690565b90565b73ffffffffffffffffffffffffffffffffffffffff1690565b60ff1690565b6000610b3a82611479565b60005b8381101561151b578181015183820152602001611503565b83811115610d565750506000910152565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b61155d81611479565b81146106e157600080fd5b61155d816114d3565b61155d816114ef56fea365627a7a72315820d9104ff4674f9c14631bc2a29c223fe99a1e6cf9e41ed9256c30eccfa13b5b426c6578706572696d656e74616cf564736f6c63430005100040436861696e6c696e6b50726963654f7261636c6556313a20696e76616c696420",
|
|
433
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101005760003560e01c806378f875b411610097578063d08f994211610066578063d08f9942146101fe578063dc2614f01461021e578063f042c09414610231578063f2fde38b1461023957610100565b806378f875b4146101bb5780638da5cb5b146101ce5780638f32d59b146101d6578063a9c12c84146101eb57610100565b80633e30c051116100d35780633e30c0511461016b57806341976e091461017e578063572ca9e71461019e578063715018a6146101b357610100565b806309359d021461010557806321fff1c31461012e57806323c77b9e146101435780632f4abe921461014b575b600080fd5b61011861011336600461105d565b61024c565b604051610125919061145e565b60405180910390f35b61014161013c3660046110bd565b610261565b005b6101186102bc565b61015e61015936600461105d565b6102c5565b60405161012591906113d7565b610141610179366004611083565b6102ed565b61019161018c36600461105d565b61042b565b6040516101259190611442565b6101a66104cf565b6040516101259190611450565b6101416104e2565b6101a66101c9366004611150565b61058f565b61015e6105e0565b6101de6105fc565b60405161012591906113e5565b6101186101f936600461105d565b61063a565b61021161020c36600461105d565b61064f565b60405161012591906113f3565b61011861022c36600461105d565b610677565b61011861068c565b61014161024736600461105d565b61069a565b60046020526000908152604090205460ff1681565b6102696105fc565b6102a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611432565b60405180910390fd5b6102b585858585856106e4565b5050505050565b60055460ff1681565b60036020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b6102f56105fc565b61032b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611432565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260066020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff8316908117909155158061038d57508060ff166064145b156103d85760405173ffffffffffffffffffffffffffffffffffffffff8316907f5bf2ffcc89d60b76e34b290097d34468c102a3a2cbd7757fd1020963f016489d90600090a2610427565b8173ffffffffffffffffffffffffffffffffffffffff167fbc19bc42cf4b0260201ddccdd4058cef16ad086b114834e10d3049abedd6d6418260405161041e919061145e565b60405180910390a25b5050565b61043361101e565b61043b61101e565b61044483610870565b73ffffffffffffffffffffffffffffffffffffffff841660009081526006602052604090205490915060ff1680158061048057508060ff166064145b1561048d575090506104ca565b60405180602001604052806104c360646104b78560ff168760000151610ae390919063ffffffff16565b9063ffffffff610b4016565b9052925050505b919050565b6ec097ce7bc90715b34b9f100000000081565b6104ea6105fc565b610520576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611432565b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600060ff8416600a0a816105b86ec097ce7bc90715b34b9f10000000008363ffffffff610b4016565b905060ff8416600a0a6105d5816104b7888563ffffffff610ae316565b979650505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b6000805473ffffffffffffffffffffffffffffffffffffffff1661061e610b82565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60026020526000908152604090205460ff1681565b60016020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60066020526000908152604090205460ff1681565b600554610100900460ff1681565b6106a26105fc565b6106d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611432565b6106e181610b86565b50565b73ffffffffffffffffffffffffffffffffffffffff858116600090815260016020908152604080832080547fffffffffffffffffffffffff0000000000000000000000000000000000000000168886161790556002909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff87161790558116156107f85773ffffffffffffffffffffffffffffffffffffffff858116600090815260036020908152604080832080547fffffffffffffffffffffffff00000000000000000000000000000000000000001694861694909417909355600490522080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff84161790555b8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167ff6dcff57d435662a867049d43b76e51e72ffba006347ec701ce100b59ee6da3760405160405180910390a45050505050565b61087861101e565b73ffffffffffffffffffffffffffffffffffffffff8281166000908152600160205260409020546108ee911615157f436861696e6c696e6b50726963654f7261636c655631000000000000000000007f696e76616c696420746f6b656e0000000000000000000000000000000000000085610c60565b73ffffffffffffffffffffffffffffffffffffffff80831660009081526001602090815260408083205481517f50d25bcd0000000000000000000000000000000000000000000000000000000081529151939416926350d25bcd92600480840193919291829003018186803b15801561096657600080fd5b505afa15801561097a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061099e9190810190611132565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260036020908152604080832054600290925282205493945090911691610a1e9060ff16848415610a135773ffffffffffffffffffffffffffffffffffffffff881660009081526004602052604090205460ff166101c9565b60055460ff1661058f565b905073ffffffffffffffffffffffffffffffffffffffff8216610a545760405180602001604052808281525093505050506104ca565b6000610a5f8361042b565b5173ffffffffffffffffffffffffffffffffffffffff841660009081526002602052604081205491925090610aa190839060ff16600a0a63ffffffff610ae316565b90506040518060200160405280610ad46ec097ce7bc90715b34b9f10000000006104b78588610ae390919063ffffffff16565b815250955050505050506104ca565b600082610af257506000610b3a565b82820282848281610aff57fe5b0414610b37576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611422565b90505b92915050565b6000610b3783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610d5c565b3390565b73ffffffffffffffffffffffffffffffffffffffff8116610bd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611412565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b83610d5657610c6e83610dad565b7f3a20000000000000000000000000000000000000000000000000000000000000610c9884610dad565b7f203c000000000000000000000000000000000000000000000000000000000000610cc285610e85565b604051610cf89594939291907f3e0000000000000000000000000000000000000000000000000000000000000090602001611379565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a000000000000000000000000000000000000000000000000000000000825261029f91600401611401565b50505050565b60008183610d97576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f9190611401565b506000838581610da357fe5b0495945050505050565b60608082604051602001610dc19190611364565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152919052905060205b8015610e6a5781517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90910190829082908110610e2d57fe5b01602001517fff000000000000000000000000000000000000000000000000000000000000001615610e6557600101815290506104ca565b610df4565b5060408051600080825260208201909252905b509392505050565b60408051602a808252606082810190935273ffffffffffffffffffffffffffffffffffffffff8416918391602082018180388339019050509050603060f81b81600081518110610ed157fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350607860f81b81600181518110610f1257fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b6014811015610e7d5760028102610f5d600f8516610ffc565b838260290381518110610f6c57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600484901c9350610fae600f8516610ffc565b838260280381518110610fbd57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505060049290921c91600101610f44565b6000600a82101561101457506030810160f81b6104ca565b5060570160f81b90565b6040518060200160405280600081525090565b8035610b3a81611554565b8051610b3a81611568565b8035610b3a81611568565b8035610b3a81611571565b60006020828403121561106f57600080fd5b600061107b8484611031565b949350505050565b6000806040838503121561109657600080fd5b60006110a28585611031565b92505060206110b385828601611052565b9150509250929050565b600080600080600060a086880312156110d557600080fd5b60006110e18888611031565b95505060206110f288828901611052565b945050604061110388828901611031565b935050606061111488828901611052565b925050608061112588828901611031565b9150509295509295909350565b60006020828403121561114457600080fd5b600061107b848461103c565b60008060006060848603121561116557600080fd5b60006111718686611052565b935050602061118286828701611047565b925050604061119386828701611052565b9150509250925092565b6111a681611479565b82525050565b6111a681611484565b6111a66111c182611489565b6114d3565b6111a66111c1826114ae565b6111a66111c1826114d3565b60006111e98261146c565b6111f381856104ca565b9350611203818560208601611500565b9290920192915050565b6111a6816114f5565b60006112218261146c565b61122b8185611470565b935061123b818560208601611500565b6112448161152c565b9093019392505050565b600061125b602683611470565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181527f6464726573730000000000000000000000000000000000000000000000000000602082015260400192915050565b60006112ba602183611470565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f81527f7700000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000611319602083611470565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572815260200192915050565b80516020830190610d5684825b6111a6816114d3565b6111a6816114ef565b600061137082846111d2565b50602001919050565b600061138582896111de565b915061139182886111c6565b6002820191506113a182876111de565b91506113ad82866111c6565b6002820191506113bd82856111de565b91506113c982846111b5565b506001019695505050505050565b60208101610b3a828461119d565b60208101610b3a82846111ac565b60208101610b3a828461120d565b60208082528101610b378184611216565b60208082528101610b3a8161124e565b60208082528101610b3a816112ad565b60208082528101610b3a8161130c565b60208101610b3a8284611345565b60208101610b3a8284611352565b60208101610b3a828461135b565b5190565b90815260200190565b6000610b3a826114d6565b151590565b7fff000000000000000000000000000000000000000000000000000000000000001690565b7fffff0000000000000000000000000000000000000000000000000000000000001690565b90565b73ffffffffffffffffffffffffffffffffffffffff1690565b60ff1690565b6000610b3a82611479565b60005b8381101561151b578181015183820152602001611503565b83811115610d565750506000910152565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b61155d81611479565b81146106e157600080fd5b61155d816114d3565b61155d816114ef56fea365627a7a72315820d9104ff4674f9c14631bc2a29c223fe99a1e6cf9e41ed9256c30eccfa13b5b426c6578706572696d656e74616cf564736f6c63430005100040",
|
|
431
|
+
"metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"chainlinkAggregators\",\"type\":\"address[]\"},{\"internalType\":\"uint8[]\",\"name\":\"tokenDecimals\",\"type\":\"uint8[]\"},{\"internalType\":\"address[]\",\"name\":\"tokenPairs\",\"type\":\"address[]\"},{\"internalType\":\"uint8[]\",\"name\":\"aggregatorDecimals\",\"type\":\"uint8[]\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"percent\",\"type\":\"uint8\"}],\"name\":\"OverrideOraclePrice\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"aggregator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenPair\",\"type\":\"address\"}],\"name\":\"TokenInsertedOrUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"UnsetOverrideOraclePrice\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[],\"name\":\"CHAINLINK_ETH_DECIMALS\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"CHAINLINK_USD_DECIMALS\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"ONE_DOLLAR\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"percent\",\"type\":\"uint8\"}],\"name\":\"changeOraclePrice\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getPrice\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"internalType\":\"struct Monetary.Price\",\"name\":\"\",\"type\":\"tuple\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"tokenDecimals\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"chainlinkAggregator\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"aggregatorDecimals\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"tokenPair\",\"type\":\"address\"}],\"name\":\"insertOrUpdateOracleToken\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"isOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"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\":true,\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"tokenDecimals\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"valueDecimals\",\"type\":\"uint8\"}],\"name\":\"standardizeNumberOfDecimals\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenToAggregatorDecimalsMap\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenToAggregatorMap\",\"outputs\":[{\"internalType\":\"contract IChainlinkAggregator\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenToDecimalsMap\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenToPairingMap\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenToPercentChange\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"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\":{\"author\":\"Dolomite * An implementation of the dYdX IPriceOracle interface that makes Chainlink prices compatible with the protocol.\",\"methods\":{\"changeOraclePrice(address,uint8)\":{\"params\":{\"percent\":\"The percent that should be applied to the current oracle price. Use 0 to unset. A value of 100 indicates no change. 90 is a 10% drop (0.9 times the price) and 110 is a 10% increase (1.1 times the price).\",\"token\":\"The token whose price should change\"}},\"constructor\":{\"params\":{\"aggregatorDecimals\":\"The number of decimals that the value has that comes back from the corresponding Chainlink Aggregator.\",\"chainlinkAggregators\":\"The Chainlink aggregators that have on-chain prices.\",\"tokenDecimals\":\"The number of decimals that each token has.\",\"tokenPairs\":\"The token against which this token's value is compared using the aggregator. The zero address means USD.\",\"tokens\":\"The tokens that are supported by this adapter.\"}},\"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.\"}},\"title\":\"ChainlinkPriceOracleV1\"},\"userdoc\":{\"methods\":{\"constructor\":\"Note, these arrays are set up, such that each index corresponds with one-another.\",\"standardizeNumberOfDecimals(uint8,uint256,uint8)\":{\"notice\":\"Standardizes `value` to have `ONE_DOLLAR` - `tokenDecimals` number of decimals.\"}}}},\"settings\":{\"compilationTarget\":{\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/external/oracles/TestChainlinkPriceOracleV1.sol\":\"TestChainlinkPriceOracleV1\"},\"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/external/oracles/ChainlinkPriceOracleV1.sol\":{\"keccak256\":\"0x3d4f8c6c9c44c4029140619500882da0ad09cc2fb7fefe9c4fd0833f0248729e\",\"urls\":[\"bzz-raw://6e8c7014113d5bd5665bea6bb11e3545ba0c50c24d2b9a638481bf13004d9ccc\",\"dweb:/ipfs/QmQLQUL8azWi2ZoHmSaL7MqMU55BQkDsPEUhGHy1rFjTu9\"]},\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/external/oracles/TestChainlinkPriceOracleV1.sol\":{\"keccak256\":\"0x7d9ffb9d53fef62b725ce9b1ffe751cf79a5a52b32b8a127d7de06ffbaa49b05\",\"urls\":[\"bzz-raw://38958d8ab10f8a3a273c4de13c4abfb2b7a29c96bfd5a40e1133b95187de30a1\",\"dweb:/ipfs/QmaFfbq9zskpdN3KVEF6CWDpbFRy3uRMh88Wz1U4YepWrh\"]},\"/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/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\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0x90a3995645af7562d84b9d69363ffa5ae7217714ab61e951bf7bc450f40e4061\",\"urls\":[\"bzz-raw://216ef9d6b614db4eb46970b4e84903f2534a45572dd30a79f0041f1a5830f436\",\"dweb:/ipfs/QmNPrJ4MWKUAWzKXpUqeyKRUfosaoANZAqXgvepdrCwZAG\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x640b6dee7a4b830bdfd52b5031a07fc2b12209f5b2e29e5d364a7d37f69d8076\",\"urls\":[\"bzz-raw://31113152e1ddb78fe7a4197f247591ca894e93f916867beb708d8e747b6cc74f\",\"dweb:/ipfs/QmbZaJyXdpsYGykVhHH9qpVGQg9DGCxE2QufbCUy3daTgq\"]},\"@openzeppelin/contracts/ownership/Ownable.sol\":{\"keccak256\":\"0x6fb9d7889769d7cc161225f9ef7a90e468ba9788b253816f8d8b6894d3472c24\",\"urls\":[\"bzz-raw://cf4c00fc3c37cc5acf0c82ec6fd97bab67d72c2567fdc0ebf023d9c09b30a08e\",\"dweb:/ipfs/Qmb7TChG6DsEDX7LooJ4vmxot19f7VXX8S1zUGPeJTWbwZ\"]}},\"version\":1}",
|
|
432
|
+
"bytecode": "0x608060405260058054600860ff199091161761ff0019166112001790553480156200002957600080fd5b5060405162001cd338038062001cd38339810160408190526200004c91620003ef565b84848484846000620000666001600160e01b03620001e916565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508351855114620000dd5760405162461bcd60e51b8152600401620000d49062000646565b60405180910390fd5b8251845114620001015760405162461bcd60e51b8152600401620000d49062000634565b8151835114620001255760405162461bcd60e51b8152600401620000d49062000610565b8051825114620001495760405162461bcd60e51b8152600401620000d49062000622565b60005b8551811015620001d857620001cf8682815181106200016757fe5b60200260200101518583815181106200017c57fe5b60200260200101518784815181106200019157fe5b6020026020010151858581518110620001a657fe5b6020026020010151878681518110620001bb57fe5b6020026020010151620001ed60201b60201c565b6001016200014c565b5050505050505050505050620006e6565b3390565b6001600160a01b03858116600090815260016020908152604080832080546001600160a01b03191688861617905560029091529020805460ff191660ff87161790558116156200027c576001600160a01b03858116600090815260036020908152604080832080546001600160a01b031916948616949094179093556004905220805460ff191660ff84161790555b806001600160a01b0316836001600160a01b0316866001600160a01b03167ff6dcff57d435662a867049d43b76e51e72ffba006347ec701ce100b59ee6da3760405160405180910390a45050505050565b8051620002da81620006c1565b92915050565b600082601f830112620002f257600080fd5b81516200030962000303826200067f565b62000658565b915081818352602084019350602081019050838560208402820111156200032f57600080fd5b60005b838110156200035f5781620003488882620002cd565b845250602092830192919091019060010162000332565b5050505092915050565b600082601f8301126200037b57600080fd5b81516200038c62000303826200067f565b91508181835260208401935060208101905083856020840282011115620003b257600080fd5b60005b838110156200035f5781620003cb8882620003e2565b8452506020928301929190910190600101620003b5565b8051620002da81620006db565b600080600080600060a086880312156200040857600080fd5b85516001600160401b038111156200041f57600080fd5b6200042d88828901620002e0565b95505060208601516001600160401b038111156200044a57600080fd5b6200045888828901620002e0565b94505060408601516001600160401b038111156200047557600080fd5b620004838882890162000369565b93505060608601516001600160401b03811115620004a057600080fd5b620004ae88828901620002e0565b92505060808601516001600160401b03811115620004cb57600080fd5b620004d98882890162000369565b9150509295509295909350565b6000620004f5603283620006a0565b60008051602062001cb38339815191528152710e8ded6cadc40e0c2d2e4e640d8cadccee8d60731b602082015260400192915050565b60006200053a603a83620006a0565b60008051602062001cb383398151915281527f61676772656761746f7220646563696d616c73206c656e677468000000000000602082015260400192915050565b60006200058a603583620006a0565b60008051602062001cb383398151915281527f746f6b656e20646563696d616c73206c656e6774680000000000000000000000602082015260400192915050565b6000620005da603283620006a0565b60008051602062001cb38339815191528152710c2cecee4cacec2e8dee4e640d8cadccee8d60731b602082015260400192915050565b60208082528101620002da81620004e6565b60208082528101620002da816200052b565b60208082528101620002da816200057b565b60208082528101620002da81620005cb565b6040518181016001600160401b03811182821017156200067757600080fd5b604052919050565b60006001600160401b038211156200069657600080fd5b5060209081020190565b90815260200190565b60006001600160a01b038216620002da565b60ff1690565b620006cc81620006a9565b8114620006d857600080fd5b50565b620006cc81620006bb565b6115bd80620006f66000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806378f875b411610097578063d08f994211610066578063d08f9942146101fe578063dc2614f01461021e578063f042c09414610231578063f2fde38b1461023957610100565b806378f875b4146101bb5780638da5cb5b146101ce5780638f32d59b146101d6578063a9c12c84146101eb57610100565b80633e30c051116100d35780633e30c0511461016b57806341976e091461017e578063572ca9e71461019e578063715018a6146101b357610100565b806309359d021461010557806321fff1c31461012e57806323c77b9e146101435780632f4abe921461014b575b600080fd5b61011861011336600461105d565b61024c565b604051610125919061145e565b60405180910390f35b61014161013c3660046110bd565b610261565b005b6101186102bc565b61015e61015936600461105d565b6102c5565b60405161012591906113d7565b610141610179366004611083565b6102ed565b61019161018c36600461105d565b61042b565b6040516101259190611442565b6101a66104cf565b6040516101259190611450565b6101416104e2565b6101a66101c9366004611150565b61058f565b61015e6105e0565b6101de6105fc565b60405161012591906113e5565b6101186101f936600461105d565b61063a565b61021161020c36600461105d565b61064f565b60405161012591906113f3565b61011861022c36600461105d565b610677565b61011861068c565b61014161024736600461105d565b61069a565b60046020526000908152604090205460ff1681565b6102696105fc565b6102a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611432565b60405180910390fd5b6102b585858585856106e4565b5050505050565b60055460ff1681565b60036020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b6102f56105fc565b61032b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611432565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260066020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff8316908117909155158061038d57508060ff166064145b156103d85760405173ffffffffffffffffffffffffffffffffffffffff8316907f5bf2ffcc89d60b76e34b290097d34468c102a3a2cbd7757fd1020963f016489d90600090a2610427565b8173ffffffffffffffffffffffffffffffffffffffff167fbc19bc42cf4b0260201ddccdd4058cef16ad086b114834e10d3049abedd6d6418260405161041e919061145e565b60405180910390a25b5050565b61043361101e565b61043b61101e565b61044483610870565b73ffffffffffffffffffffffffffffffffffffffff841660009081526006602052604090205490915060ff1680158061048057508060ff166064145b1561048d575090506104ca565b60405180602001604052806104c360646104b78560ff168760000151610ae390919063ffffffff16565b9063ffffffff610b4016565b9052925050505b919050565b6ec097ce7bc90715b34b9f100000000081565b6104ea6105fc565b610520576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611432565b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600060ff8416600a0a816105b86ec097ce7bc90715b34b9f10000000008363ffffffff610b4016565b905060ff8416600a0a6105d5816104b7888563ffffffff610ae316565b979650505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b6000805473ffffffffffffffffffffffffffffffffffffffff1661061e610b82565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60026020526000908152604090205460ff1681565b60016020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60066020526000908152604090205460ff1681565b600554610100900460ff1681565b6106a26105fc565b6106d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611432565b6106e181610b86565b50565b73ffffffffffffffffffffffffffffffffffffffff858116600090815260016020908152604080832080547fffffffffffffffffffffffff0000000000000000000000000000000000000000168886161790556002909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff87161790558116156107f85773ffffffffffffffffffffffffffffffffffffffff858116600090815260036020908152604080832080547fffffffffffffffffffffffff00000000000000000000000000000000000000001694861694909417909355600490522080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff84161790555b8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167ff6dcff57d435662a867049d43b76e51e72ffba006347ec701ce100b59ee6da3760405160405180910390a45050505050565b61087861101e565b73ffffffffffffffffffffffffffffffffffffffff8281166000908152600160205260409020546108ee911615157f436861696e6c696e6b50726963654f7261636c655631000000000000000000007f696e76616c696420746f6b656e0000000000000000000000000000000000000085610c60565b73ffffffffffffffffffffffffffffffffffffffff80831660009081526001602090815260408083205481517f50d25bcd0000000000000000000000000000000000000000000000000000000081529151939416926350d25bcd92600480840193919291829003018186803b15801561096657600080fd5b505afa15801561097a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061099e9190810190611132565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260036020908152604080832054600290925282205493945090911691610a1e9060ff16848415610a135773ffffffffffffffffffffffffffffffffffffffff881660009081526004602052604090205460ff166101c9565b60055460ff1661058f565b905073ffffffffffffffffffffffffffffffffffffffff8216610a545760405180602001604052808281525093505050506104ca565b6000610a5f8361042b565b5173ffffffffffffffffffffffffffffffffffffffff841660009081526002602052604081205491925090610aa190839060ff16600a0a63ffffffff610ae316565b90506040518060200160405280610ad46ec097ce7bc90715b34b9f10000000006104b78588610ae390919063ffffffff16565b815250955050505050506104ca565b600082610af257506000610b3a565b82820282848281610aff57fe5b0414610b37576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611422565b90505b92915050565b6000610b3783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610d5c565b3390565b73ffffffffffffffffffffffffffffffffffffffff8116610bd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611412565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b83610d5657610c6e83610dad565b7f3a20000000000000000000000000000000000000000000000000000000000000610c9884610dad565b7f203c000000000000000000000000000000000000000000000000000000000000610cc285610e85565b604051610cf89594939291907f3e0000000000000000000000000000000000000000000000000000000000000090602001611379565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a000000000000000000000000000000000000000000000000000000000825261029f91600401611401565b50505050565b60008183610d97576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f9190611401565b506000838581610da357fe5b0495945050505050565b60608082604051602001610dc19190611364565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152919052905060205b8015610e6a5781517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90910190829082908110610e2d57fe5b01602001517fff000000000000000000000000000000000000000000000000000000000000001615610e6557600101815290506104ca565b610df4565b5060408051600080825260208201909252905b509392505050565b60408051602a808252606082810190935273ffffffffffffffffffffffffffffffffffffffff8416918391602082018180388339019050509050603060f81b81600081518110610ed157fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350607860f81b81600181518110610f1257fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b6014811015610e7d5760028102610f5d600f8516610ffc565b838260290381518110610f6c57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600484901c9350610fae600f8516610ffc565b838260280381518110610fbd57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505060049290921c91600101610f44565b6000600a82101561101457506030810160f81b6104ca565b5060570160f81b90565b6040518060200160405280600081525090565b8035610b3a81611554565b8051610b3a81611568565b8035610b3a81611568565b8035610b3a81611571565b60006020828403121561106f57600080fd5b600061107b8484611031565b949350505050565b6000806040838503121561109657600080fd5b60006110a28585611031565b92505060206110b385828601611052565b9150509250929050565b600080600080600060a086880312156110d557600080fd5b60006110e18888611031565b95505060206110f288828901611052565b945050604061110388828901611031565b935050606061111488828901611052565b925050608061112588828901611031565b9150509295509295909350565b60006020828403121561114457600080fd5b600061107b848461103c565b60008060006060848603121561116557600080fd5b60006111718686611052565b935050602061118286828701611047565b925050604061119386828701611052565b9150509250925092565b6111a681611479565b82525050565b6111a681611484565b6111a66111c182611489565b6114d3565b6111a66111c1826114ae565b6111a66111c1826114d3565b60006111e98261146c565b6111f381856104ca565b9350611203818560208601611500565b9290920192915050565b6111a6816114f5565b60006112218261146c565b61122b8185611470565b935061123b818560208601611500565b6112448161152c565b9093019392505050565b600061125b602683611470565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181527f6464726573730000000000000000000000000000000000000000000000000000602082015260400192915050565b60006112ba602183611470565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f81527f7700000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000611319602083611470565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572815260200192915050565b80516020830190610d5684825b6111a6816114d3565b6111a6816114ef565b600061137082846111d2565b50602001919050565b600061138582896111de565b915061139182886111c6565b6002820191506113a182876111de565b91506113ad82866111c6565b6002820191506113bd82856111de565b91506113c982846111b5565b506001019695505050505050565b60208101610b3a828461119d565b60208101610b3a82846111ac565b60208101610b3a828461120d565b60208082528101610b378184611216565b60208082528101610b3a8161124e565b60208082528101610b3a816112ad565b60208082528101610b3a8161130c565b60208101610b3a8284611345565b60208101610b3a8284611352565b60208101610b3a828461135b565b5190565b90815260200190565b6000610b3a826114d6565b151590565b7fff000000000000000000000000000000000000000000000000000000000000001690565b7fffff0000000000000000000000000000000000000000000000000000000000001690565b90565b73ffffffffffffffffffffffffffffffffffffffff1690565b60ff1690565b6000610b3a82611479565b60005b8381101561151b578181015183820152602001611503565b83811115610d565750506000910152565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b61155d81611479565b81146106e157600080fd5b61155d816114d3565b61155d816114ef56fea365627a7a723158200c4275207e9d599cb1a9b87fb42048a425c74120eeda4c4da7a8fbe1653ede446c6578706572696d656e74616cf564736f6c63430005100040436861696e6c696e6b50726963654f7261636c6556313a20696e76616c696420",
|
|
433
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101005760003560e01c806378f875b411610097578063d08f994211610066578063d08f9942146101fe578063dc2614f01461021e578063f042c09414610231578063f2fde38b1461023957610100565b806378f875b4146101bb5780638da5cb5b146101ce5780638f32d59b146101d6578063a9c12c84146101eb57610100565b80633e30c051116100d35780633e30c0511461016b57806341976e091461017e578063572ca9e71461019e578063715018a6146101b357610100565b806309359d021461010557806321fff1c31461012e57806323c77b9e146101435780632f4abe921461014b575b600080fd5b61011861011336600461105d565b61024c565b604051610125919061145e565b60405180910390f35b61014161013c3660046110bd565b610261565b005b6101186102bc565b61015e61015936600461105d565b6102c5565b60405161012591906113d7565b610141610179366004611083565b6102ed565b61019161018c36600461105d565b61042b565b6040516101259190611442565b6101a66104cf565b6040516101259190611450565b6101416104e2565b6101a66101c9366004611150565b61058f565b61015e6105e0565b6101de6105fc565b60405161012591906113e5565b6101186101f936600461105d565b61063a565b61021161020c36600461105d565b61064f565b60405161012591906113f3565b61011861022c36600461105d565b610677565b61011861068c565b61014161024736600461105d565b61069a565b60046020526000908152604090205460ff1681565b6102696105fc565b6102a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611432565b60405180910390fd5b6102b585858585856106e4565b5050505050565b60055460ff1681565b60036020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b6102f56105fc565b61032b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611432565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260066020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff8316908117909155158061038d57508060ff166064145b156103d85760405173ffffffffffffffffffffffffffffffffffffffff8316907f5bf2ffcc89d60b76e34b290097d34468c102a3a2cbd7757fd1020963f016489d90600090a2610427565b8173ffffffffffffffffffffffffffffffffffffffff167fbc19bc42cf4b0260201ddccdd4058cef16ad086b114834e10d3049abedd6d6418260405161041e919061145e565b60405180910390a25b5050565b61043361101e565b61043b61101e565b61044483610870565b73ffffffffffffffffffffffffffffffffffffffff841660009081526006602052604090205490915060ff1680158061048057508060ff166064145b1561048d575090506104ca565b60405180602001604052806104c360646104b78560ff168760000151610ae390919063ffffffff16565b9063ffffffff610b4016565b9052925050505b919050565b6ec097ce7bc90715b34b9f100000000081565b6104ea6105fc565b610520576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611432565b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600060ff8416600a0a816105b86ec097ce7bc90715b34b9f10000000008363ffffffff610b4016565b905060ff8416600a0a6105d5816104b7888563ffffffff610ae316565b979650505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b6000805473ffffffffffffffffffffffffffffffffffffffff1661061e610b82565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60026020526000908152604090205460ff1681565b60016020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60066020526000908152604090205460ff1681565b600554610100900460ff1681565b6106a26105fc565b6106d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611432565b6106e181610b86565b50565b73ffffffffffffffffffffffffffffffffffffffff858116600090815260016020908152604080832080547fffffffffffffffffffffffff0000000000000000000000000000000000000000168886161790556002909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff87161790558116156107f85773ffffffffffffffffffffffffffffffffffffffff858116600090815260036020908152604080832080547fffffffffffffffffffffffff00000000000000000000000000000000000000001694861694909417909355600490522080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff84161790555b8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167ff6dcff57d435662a867049d43b76e51e72ffba006347ec701ce100b59ee6da3760405160405180910390a45050505050565b61087861101e565b73ffffffffffffffffffffffffffffffffffffffff8281166000908152600160205260409020546108ee911615157f436861696e6c696e6b50726963654f7261636c655631000000000000000000007f696e76616c696420746f6b656e0000000000000000000000000000000000000085610c60565b73ffffffffffffffffffffffffffffffffffffffff80831660009081526001602090815260408083205481517f50d25bcd0000000000000000000000000000000000000000000000000000000081529151939416926350d25bcd92600480840193919291829003018186803b15801561096657600080fd5b505afa15801561097a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061099e9190810190611132565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260036020908152604080832054600290925282205493945090911691610a1e9060ff16848415610a135773ffffffffffffffffffffffffffffffffffffffff881660009081526004602052604090205460ff166101c9565b60055460ff1661058f565b905073ffffffffffffffffffffffffffffffffffffffff8216610a545760405180602001604052808281525093505050506104ca565b6000610a5f8361042b565b5173ffffffffffffffffffffffffffffffffffffffff841660009081526002602052604081205491925090610aa190839060ff16600a0a63ffffffff610ae316565b90506040518060200160405280610ad46ec097ce7bc90715b34b9f10000000006104b78588610ae390919063ffffffff16565b815250955050505050506104ca565b600082610af257506000610b3a565b82820282848281610aff57fe5b0414610b37576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611422565b90505b92915050565b6000610b3783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610d5c565b3390565b73ffffffffffffffffffffffffffffffffffffffff8116610bd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611412565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b83610d5657610c6e83610dad565b7f3a20000000000000000000000000000000000000000000000000000000000000610c9884610dad565b7f203c000000000000000000000000000000000000000000000000000000000000610cc285610e85565b604051610cf89594939291907f3e0000000000000000000000000000000000000000000000000000000000000090602001611379565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a000000000000000000000000000000000000000000000000000000000825261029f91600401611401565b50505050565b60008183610d97576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f9190611401565b506000838581610da357fe5b0495945050505050565b60608082604051602001610dc19190611364565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152919052905060205b8015610e6a5781517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90910190829082908110610e2d57fe5b01602001517fff000000000000000000000000000000000000000000000000000000000000001615610e6557600101815290506104ca565b610df4565b5060408051600080825260208201909252905b509392505050565b60408051602a808252606082810190935273ffffffffffffffffffffffffffffffffffffffff8416918391602082018180388339019050509050603060f81b81600081518110610ed157fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350607860f81b81600181518110610f1257fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b6014811015610e7d5760028102610f5d600f8516610ffc565b838260290381518110610f6c57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600484901c9350610fae600f8516610ffc565b838260280381518110610fbd57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505060049290921c91600101610f44565b6000600a82101561101457506030810160f81b6104ca565b5060570160f81b90565b6040518060200160405280600081525090565b8035610b3a81611554565b8051610b3a81611568565b8035610b3a81611568565b8035610b3a81611571565b60006020828403121561106f57600080fd5b600061107b8484611031565b949350505050565b6000806040838503121561109657600080fd5b60006110a28585611031565b92505060206110b385828601611052565b9150509250929050565b600080600080600060a086880312156110d557600080fd5b60006110e18888611031565b95505060206110f288828901611052565b945050604061110388828901611031565b935050606061111488828901611052565b925050608061112588828901611031565b9150509295509295909350565b60006020828403121561114457600080fd5b600061107b848461103c565b60008060006060848603121561116557600080fd5b60006111718686611052565b935050602061118286828701611047565b925050604061119386828701611052565b9150509250925092565b6111a681611479565b82525050565b6111a681611484565b6111a66111c182611489565b6114d3565b6111a66111c1826114ae565b6111a66111c1826114d3565b60006111e98261146c565b6111f381856104ca565b9350611203818560208601611500565b9290920192915050565b6111a6816114f5565b60006112218261146c565b61122b8185611470565b935061123b818560208601611500565b6112448161152c565b9093019392505050565b600061125b602683611470565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181527f6464726573730000000000000000000000000000000000000000000000000000602082015260400192915050565b60006112ba602183611470565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f81527f7700000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000611319602083611470565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572815260200192915050565b80516020830190610d5684825b6111a6816114d3565b6111a6816114ef565b600061137082846111d2565b50602001919050565b600061138582896111de565b915061139182886111c6565b6002820191506113a182876111de565b91506113ad82866111c6565b6002820191506113bd82856111de565b91506113c982846111b5565b506001019695505050505050565b60208101610b3a828461119d565b60208101610b3a82846111ac565b60208101610b3a828461120d565b60208082528101610b378184611216565b60208082528101610b3a8161124e565b60208082528101610b3a816112ad565b60208082528101610b3a8161130c565b60208101610b3a8284611345565b60208101610b3a8284611352565b60208101610b3a828461135b565b5190565b90815260200190565b6000610b3a826114d6565b151590565b7fff000000000000000000000000000000000000000000000000000000000000001690565b7fffff0000000000000000000000000000000000000000000000000000000000001690565b90565b73ffffffffffffffffffffffffffffffffffffffff1690565b60ff1690565b6000610b3a82611479565b60005b8381101561151b578181015183820152602001611503565b83811115610d565750506000910152565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b61155d81611479565b81146106e157600080fd5b61155d816114d3565b61155d816114ef56fea365627a7a723158200c4275207e9d599cb1a9b87fb42048a425c74120eeda4c4da7a8fbe1653ede446c6578706572696d656e74616cf564736f6c63430005100040",
|
|
434
434
|
"sourceMap": "873:2548:26:-;;;1811:39:25;;;1849:1;-1:-1:-1;;1811:39:25;;;;-1:-1:-1;;1856:40:25;;;;;1848:385:26;5:2:-1;;;;30:1;27;20:12;5:2;1848:385:26;;;;;;;;;;;;;;;;;;;;;2102:6;2110:20;2132:13;2147:10;2159:18;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;664:159;2979:20:25;:27;2962:6;:13;:44;2941:141;;;;-1:-1:-1;;;2941:141:25;;;;;;;;;;;;;;;;;3144:13;:20;3113;:27;:51;3092:151;;;;-1:-1:-1;;;3092:151:25;;;;;;;;;3298:10;:17;3274:13;:20;:41;3253:138;;;;-1:-1:-1;;;3253:138:25;;;;;;;;;3443:18;:25;3422:10;:17;:46;3401:151;;;;-1:-1:-1;;;3401:151:25;;;;;;;;;3568:6;3563:278;3584:6;:13;3580:1;:17;3563:278;;;3618:212;3662:6;3669:1;3662:9;;;;;;;;;;;;;;3689:13;3703:1;3689:16;;;;;;;;;;;;;;3723:20;3744:1;3723:23;;;;;;;;;;;;;;3764:18;3783:1;3764:21;;;;;;;;;;;;;;3803:10;3814:1;3803:13;;;;;;;;;;;;;;3618:26;;;:212;;:::i;:::-;3599:3;;3563:278;;;;2619:1228;;;;;1848:385:26;;;;;873:2548;;788:96:122;867:10;788:96;:::o;6571:761:25:-;-1:-1:-1;;;;;6782:27:25;;;;;;;:20;:27;;;;;;;;:71;;-1:-1:-1;;;;;;6782:71:25;;;;;;;6863:18;:25;;;;;:41;;-1:-1:-1;;6863:41:25;;;;;;;6918:23;;;6914:336;;-1:-1:-1;;;;;7133:24:25;;;;;;;:17;:24;;;;;;;;:36;;-1:-1:-1;;;;;;7133:36:25;;;;;;;;;;;7183:28;:35;;;:56;;-1:-1:-1;;7183:56:25;;;;;;;6914:336;7315:9;-1:-1:-1;;;;;7264:61:25;7294:19;-1:-1:-1;;;;;7264:61:25;7287:5;-1:-1:-1;;;;;7264:61:25;;;;;;;;;;;6571:761;;;;;:::o;5:134:-1:-;83:13;;101:33;83:13;101:33;;;68:71;;;;;164:722;;292:3;285:4;277:6;273:17;269:27;259:2;;310:1;307;300:12;259:2;340:6;334:13;362:80;377:64;434:6;377:64;;;362:80;;;353:89;;459:5;484:6;477:5;470:21;514:4;506:6;502:17;492:27;;536:4;531:3;527:14;520:21;;589:6;636:3;628:4;620:6;616:17;611:3;607:27;604:36;601:2;;;653:1;650;643:12;601:2;678:1;663:217;688:6;685:1;682:13;663:217;;;746:3;768:48;812:3;800:10;768:48;;;756:61;;-1:-1;840:4;831:14;;;;859;;;;;710:1;703:9;663:217;;;667:14;252:634;;;;;;;;910:716;;1036:3;1029:4;1021:6;1017:17;1013:27;1003:2;;1054:1;1051;1044:12;1003:2;1084:6;1078:13;1106:78;1121:62;1176:6;1121:62;;1106:78;1097:87;;1201:5;1226:6;1219:5;1212:21;1256:4;1248:6;1244:17;1234:27;;1278:4;1273:3;1269:14;1262:21;;1331:6;1378:3;1370:4;1362:6;1358:17;1353:3;1349:27;1346:36;1343:2;;;1395:1;1392;1385:12;1343:2;1420:1;1405:215;1430:6;1427:1;1424:13;1405:215;;;1488:3;1510:46;1552:3;1540:10;1510:46;;;1498:59;;-1:-1;1580:4;1571:14;;;;1599;;;;;1452:1;1445:9;1405:215;;1634:130;1710:13;;1728:31;1710:13;1728:31;;1771:1446;;;;;;2075:3;2063:9;2054:7;2050:23;2046:33;2043:2;;;2092:1;2089;2082:12;2043:2;2127:24;;-1:-1;;;;;2160:30;;2157:2;;;2203:1;2200;2193:12;2157:2;2223:89;2304:7;2295:6;2284:9;2280:22;2223:89;;;2213:99;;2106:212;2370:2;2359:9;2355:18;2349:25;-1:-1;;;;;2386:6;2383:30;2380:2;;;2426:1;2423;2416:12;2380:2;2446:89;2527:7;2518:6;2507:9;2503:22;2446:89;;;2436:99;;2328:213;2593:2;2582:9;2578:18;2572:25;-1:-1;;;;;2609:6;2606:30;2603:2;;;2649:1;2646;2639:12;2603:2;2669:87;2748:7;2739:6;2728:9;2724:22;2669:87;;;2659:97;;2551:211;2814:2;2803:9;2799:18;2793:25;-1:-1;;;;;2830:6;2827:30;2824:2;;;2870:1;2867;2860:12;2824:2;2890:89;2971:7;2962:6;2951:9;2947:22;2890:89;;;2880:99;;2772:213;3037:3;3026:9;3022:19;3016:26;-1:-1;;;;;3054:6;3051:30;3048:2;;;3094:1;3091;3084:12;3048:2;3114:87;3193:7;3184:6;3173:9;3169:22;3114:87;;;3104:97;;2995:212;2037:1180;;;;;;;;;3225:387;;3385:67;3449:2;3444:3;3385:67;;;-1:-1;;;;;;;;;;;3465:55;;-1:-1;;;3549:2;3540:12;;3533:42;3603:2;3594:12;;3371:241;-1:-1;;3371:241;3621:395;;3781:67;3845:2;3840:3;3781:67;;;-1:-1;;;;;;;;;;;3861:55;;3950:28;3945:2;3936:12;;3929:50;4007:2;3998:12;;3767:249;-1:-1;;3767:249;4025:390;;4185:67;4249:2;4244:3;4185:67;;;-1:-1;;;;;;;;;;;4265:55;;4354:23;4349:2;4340:12;;4333:45;4406:2;4397:12;;4171:244;-1:-1;;4171:244;4424:387;;4584:67;4648:2;4643:3;4584:67;;;-1:-1;;;;;;;;;;;4664:55;;-1:-1;;;4748:2;4739:12;;4732:42;4802:2;4793:12;;4570:241;-1:-1;;4570:241;4819:407;5010:2;5024:47;;;4995:18;;5085:131;4995:18;5085:131;;5233:407;5424:2;5438:47;;;5409:18;;5499:131;5409:18;5499:131;;5647:407;5838:2;5852:47;;;5823:18;;5913:131;5823:18;5913:131;;6061:407;6252:2;6266:47;;;6237:18;;6327:131;6237:18;6327:131;;6475:256;6537:2;6531:9;6563:17;;;-1:-1;;;;;6623:34;;6659:22;;;6620:62;6617:2;;;6695:1;6692;6685:12;6617:2;6711;6704:22;6515:216;;-1:-1;6515:216;6738:304;;-1:-1;;;;;6889:6;6886:30;6883:2;;;6929:1;6926;6919:12;6883:2;-1:-1;6964:4;6952:17;;;7017:15;;6820:222;7359:163;7462:19;;;7511:4;7502:14;;7455:67;7530:91;;-1:-1;;;;;7690:54;;7592:24;7673:76;7756:81;7827:4;7816:16;;7799:38;7844:117;7913:24;7931:5;7913:24;;;7906:5;7903:35;7893:2;;7952:1;7949;7942:12;7893:2;7887:74;;7968:113;8035:22;8051:5;8035:22;;8009:72;873:2548:26;;;;;;",
|
|
435
435
|
"deployedSourceMap": "873:2548:26:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;873:2548:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1743:61:25;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;3903:395;;;;;;;;;:::i;:::-;;1811:39;;;:::i;1616:52::-;;;;;;;;;:::i;:::-;;;;;;;;2641:327:26;;;;;;;;;:::i;3025:393::-;;;;;;;;;:::i;:::-;;;;;;;;928:45:63;;;:::i;:::-;;;;;;;;1684:137:125;;;:::i;6108:404:25:-;;;;;;;;;:::i;899:77:125:-;;;:::i;1250:92::-;;;:::i;:::-;;;;;;;;1502:51:25;;;;;;;;;:::i;1428:68::-;;;;;;;;;:::i;:::-;;;;;;;;1071:54:26;;;;;;;;;:::i;1856:40:25:-;;;:::i;1970:107:125:-;;;;;;;;;:::i;1743:61:25:-;;;;;;;;;;;;;;;:::o;3903:395::-;1103:9:125;:7;:9::i;:::-;1095:54;;;;;;;;;;;;;;;;;;;;;;4121:170:25;4161:5;4180:13;4207:19;4240:18;4272:9;4121:26;:170::i;:::-;3903:395;;;;;:::o;1811:39::-;;;;;;:::o;1616:52::-;;;;;;;;;;;;;;;:::o;2641:327:26:-;1103:9:125;:7;:9::i;:::-;1095:54;;;;;;;;;;;;;;2747:27:26;;;;;;;:20;:27;;;;;:37;;;;;;;;;;;;;2798:12;;:30;;;2814:7;:14;;2825:3;2814:14;2798:30;2794:168;;;2849:31;;;;;;;;;;;2794:168;;;2936:5;2916:35;;;2943:7;2916:35;;;;;;;;;;;;;;;2794:168;2641:327;;:::o;3025:393::-;3105:21;;:::i;:::-;3138:27;;:::i;:::-;3168:21;3183:5;3168:14;:21::i;:::-;3215:27;;;3199:13;3215:27;;;:20;:27;;;;;;3138:51;;-1:-1:-1;3215:27:26;;3256:12;;;:30;;;3272:7;:14;;3283:3;3272:14;3256:30;3252:160;;;-1:-1:-1;3309:5:26;-1:-1:-1;3302:12:26;;3252:160;3352:49;;;;;;;;3367:33;3396:3;3367:24;3383:7;3367:24;;:5;:11;;;:15;;:24;;;;:::i;:::-;:28;:33;:28;:33;:::i;:::-;3352:49;;3345:56;-1:-1:-1;;;3025:393:26;;;;:::o;928:45:63:-;965:8;928:45;:::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;6108:404:25:-;6250:4;6299:19;;;6293:2;:25;6250:4;6347:48;965:8:63;6293:25:25;6347:48;:27;:48;:::i;:::-;6328:67;-1:-1:-1;6430:19:25;;;6424:2;:25;6466:39;6424:25;6466:22;:5;6328:67;6466:22;:9;:22;:::i;:39::-;6459:46;6108:404;-1:-1:-1;;;;;;;6108:404:25:o;899:77:125:-;937:7;963:6;;;899:77;:::o;1250:92::-;1290:4;1329:6;;;;1313:12;:10;:12::i;:::-;:22;;;1306:29;;1250:92;:::o;1502:51:25:-;;;;;;;;;;;;;;;:::o;1428:68::-;;;;;;;;;;;;;;;:::o;1071:54:26:-;;;;;;;;;;;;;;;:::o;1856:40:25:-;;;;;;;;;:::o;1970:107:125:-;1103:9;:7;:9::i;:::-;1095:54;;;;;;;;;;;;;;2042:28;2061:8;2042:18;:28::i;:::-;1970:107;:::o;6571:761:25:-;6782:27;;;;;;;;:20;:27;;;;;;;;:71;;;;;;;;;;6863:18;:25;;;;;:41;;;;;;;;;;6918:23;;;6914:336;;7133:24;;;;;;;;:17;:24;;;;;;;;:36;;;;;;;;;;;;;;7183:28;:35;;;:56;;;;;;;;;;6914:336;7315:9;7264:61;;7294:19;7264:61;;7287:5;7264:61;;;;;;;;;;;;6571:761;;;;;:::o;4355:1644::-;4435:21;;:::i;:::-;4494:50;4502:27;;;4542:1;4502:27;;;:20;:27;;;;;;4468:152;;4502:27;4494:50;;4558:4;4468:152;4523:5;4468:12;:152::i;:::-;4661:27;;;;4631:22;4661:27;;;:20;:27;;;;;;;;;:42;;;;;;;4631:22;;4661:27;;:40;;:42;;;;;:27;;:42;;;;;;:27;:42;;;5:2:-1;;;;30:1;27;20:12;5:2;4661:42:25;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4661:42:25;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;4661:42:25;;;;;;;;;4734:24;;;;4714:17;4734:24;;;:17;:24;;;;;;;;;4938:18;:25;;;;;;4631:73;;-1:-1:-1;4734:24:25;;;;4897:207;;4938:25;;4631:73;5008:23;;:86;;5059:35;;;;;;;:28;:35;;;;;;;;5008:86;;;5034:22;;;;4897:27;:207::i;:::-;4872:232;-1:-1:-1;5119:23:25;;;5115:878;;5218:43;;;;;;;;5242:17;5218:43;;;5211:50;;;;;;;5115:878;5531:31;5565:19;5574:9;5565:8;:19::i;:::-;:25;5734:29;;;5565:25;5734:29;;;:18;:29;;;;;;5565:25;;-1:-1:-1;5565:25:25;5692:73;;5565:25;;5734:29;;5723:2;:41;5692:73;:30;:73;:::i;:::-;5661:104;;5894:88;;;;;;;;5918:62;965:8:63;5918:46:25;5940:23;5918:17;:21;;:46;;;;:::i;:62::-;5894:88;;;5887:95;;;;;;;;;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;3073:130::-;3131:7;3157:39;3161:1;3164;3157:39;;;;;;;;;;;;;;;;;:3;:39::i;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;2962:561:77:-;3122:4;3117:400;;3236:24;3255:4;3236:18;:24::i;:::-;3286:5;3317:26;3336:6;3317:18;:26::i;:::-;3369:6;3401:19;3411:8;3401:9;:19::i;:::-;3194:280;;;;;;;;;3446:6;;3194:280;;;;;;;;22:32:-1;26:21;;;22:32;6:49;;3194:280:77;;;;3142:364;;;;;;;;;3117:400;2962:561;;;;:::o;3718:338:124:-;3804:7;3904:12;3897:5;3889:28;;;;;;;;;;;;;;;;3927:9;3943:1;3939;:5;;;;;;;3718:338;-1:-1:-1;;;;;3718:338:124: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;;;;;;;;;;;-1:-1:-1;7299:19:77;6359:966;-1:-1:-1;;;6359:966:77:o;8249:962::-;8521:13;;;8531:2;8521:13;;;8343:12;8521:13;;;;;;8383:14;;;;8343:12;;8521:13;;;21:6:-1;;104:10;8521:13:77;87:34:-1;135:17;;-1:-1;8521:13:77;8499:35;;902:2;8598:23;;8586:6;8593:1;8586:9;;;;;;;;;;;:35;;;;;;;;;;;1010:3;8643:27;;8631:6;8638:1;8631:9;;;;;;;;;;;:39;;;;;;;;;;-1:-1:-1;8784:9:77;8779:402;8803:2;8799:1;:6;8779:402;;;8892:1;8888:5;;8985:23;1232:3;8990:17;;8985:4;:23::i;:::-;8964:6;8976:5;8971:2;:10;8964:18;;;;;;;;;;;:44;;;;;;;;;;;9031:1;9026;:6;;9022:10;;9123:23;1232:3;9128:1;:17;9123:4;:23::i;:::-;9102:6;9114:5;9109:2;:10;9102:18;;;;;;;;;;;:44;;;;;;;;;;-1:-1:-1;;9169:1:77;9164:6;;;;;8807:3;;8779:402;;10183:325;10272:4;10340:2;10332:5;:10;10328:79;;;-1:-1:-1;902:2:77;10376:18;;10365:31;;10358:38;;10328:79;-1:-1:-1;956:2:77;10472:27;10461:40;;;10183:325::o;873:2548:26:-;;;;;;;;;;;;;;:::o;5:130:-1:-;72:20;;97:33;72:20;97:33;;142:132;219:13;;237:32;219:13;237:32;;281:130;348:20;;373:33;348:20;373:33;;418:126;483:20;;508:31;483:20;508:31;;551:241;;655:2;643:9;634:7;630:23;626:32;623:2;;;671:1;668;661:12;623:2;706:1;723:53;768:7;748:9;723:53;;;713:63;617:175;-1:-1;;;;617:175;799:362;;;918:2;906:9;897:7;893:23;889:32;886:2;;;934:1;931;924:12;886:2;969:1;986:53;1031:7;1011:9;986:53;;;976:63;;948:97;1076:2;1094:51;1137:7;1128:6;1117:9;1113:22;1094:51;;;1084:61;;1055:96;880:281;;;;;;1168:735;;;;;;1336:3;1324:9;1315:7;1311:23;1307:33;1304:2;;;1353:1;1350;1343:12;1304:2;1388:1;1405:53;1450:7;1430:9;1405:53;;;1395:63;;1367:97;1495:2;1513:51;1556:7;1547:6;1536:9;1532:22;1513:51;;;1503:61;;1474:96;1601:2;1619:53;1664:7;1655:6;1644:9;1640:22;1619:53;;;1609:63;;1580:98;1709:2;1727:51;1770:7;1761:6;1750:9;1746:22;1727:51;;;1717:61;;1688:96;1815:3;1834:53;1879:7;1870:6;1859:9;1855:22;1834:53;;;1824:63;;1794:99;1298:605;;;;;;;;;1910:261;;2024:2;2012:9;2003:7;1999:23;1995:32;1992:2;;;2040:1;2037;2030:12;1992:2;2075:1;2092:63;2147:7;2127:9;2092:63;;2178:483;;;;2312:2;2300:9;2291:7;2287:23;2283:32;2280:2;;;2328:1;2325;2318:12;2280:2;2363:1;2380:51;2423:7;2403:9;2380:51;;;2370:61;;2342:95;2468:2;2486:53;2531:7;2522:6;2511:9;2507:22;2486:53;;;2476:63;;2447:98;2576:2;2594:51;2637:7;2628:6;2617:9;2613:22;2594:51;;;2584:61;;2555:96;2274:387;;;;;;2668:113;2751:24;2769:5;2751:24;;;2746:3;2739:37;2733:48;;;2788:104;2865:21;2880:5;2865:21;;2899:148;2998:43;3017:23;3034:5;3017:23;;;2998:43;;3054:148;3153:43;3172:23;3189:5;3172:23;;3209:152;3310:45;3330:24;3348:5;3330:24;;3368:356;;3496:38;3528:5;3496:38;;;3546:88;3627:6;3622:3;3546:88;;;3539:95;;3639:52;3684:6;3679:3;3672:4;3665:5;3661:16;3639:52;;;3703:16;;;;;3476:248;-1:-1;;3476:248;3731:184;3843:66;3903:5;3843:66;;3922:347;;4034:39;4067:5;4034:39;;;4085:71;4149:6;4144:3;4085:71;;;4078:78;;4161:52;4206:6;4201:3;4194:4;4187:5;4183:16;4161:52;;;4234:29;4256:6;4234:29;;;4225:39;;;;4014:255;-1:-1;;;4014:255;4277:375;;4437:67;4501:2;4496:3;4437:67;;;4537:34;4517:55;;4606:8;4601:2;4592:12;;4585:30;4643:2;4634:12;;4423:229;-1:-1;;4423:229;4661:370;;4821:67;4885:2;4880:3;4821:67;;;4921:34;4901:55;;4990:3;4985:2;4976:12;;4969:25;5022:2;5013:12;;4807:224;-1:-1;;4807:224;5040:332;;5200:67;5264:2;5259:3;5200:67;;;5300:34;5280:55;;5363:2;5354:12;;5186:186;-1:-1;;5186:186;5433:321;5641:23;;5574:4;5565:14;;;5670:63;5569:3;5641:23;5761:103;5834:24;5852:5;5834:24;;5991:107;6070:22;6086:5;6070:22;;6105:244;;6224:75;6295:3;6286:6;6224:75;;;-1:-1;6321:2;6312:12;;6212:137;-1:-1;6212:137;6356:978;;6670:93;6759:3;6750:6;6670:93;;;6663:100;;6774:73;6843:3;6834:6;6774:73;;;6869:1;6864:3;6860:11;6853:18;;6889:93;6978:3;6969:6;6889:93;;;6882:100;;6993:73;7062:3;7053:6;6993:73;;;7088:1;7083:3;7079:11;7072:18;;7108:93;7197:3;7188:6;7108:93;;;7101:100;;7212:73;7281:3;7272:6;7212:73;;;-1:-1;7307:1;7298:11;;6651:683;-1:-1;;;;;;6651:683;7341:213;7459:2;7444:18;;7473:71;7448:9;7517:6;7473:71;;7561:201;7673:2;7658:18;;7687:65;7662:9;7725:6;7687:65;;7769:271;7916:2;7901:18;;7930:100;7905:9;8003:6;7930:100;;8047:301;8185:2;8199:47;;;8170:18;;8260:78;8170:18;8324:6;8260:78;;8355:407;8546:2;8560:47;;;8531:18;;8621:131;8531:18;8621:131;;8769:407;8960:2;8974:47;;;8945:18;;9035:131;8945:18;9035:131;;9183:407;9374:2;9388:47;;;9359:18;;9449:131;9359:18;9449:131;;9597:309;9763:2;9748:18;;9777:119;9752:9;9869:6;9777:119;;9913:213;10031:2;10016:18;;10045:71;10020:9;10089:6;10045:71;;10133:205;10247:2;10232:18;;10261:67;10236:9;10301:6;10261:67;;10345:121;10432:12;;10403:63;10756:163;10859:19;;;10908:4;10899:14;;10852:67;10927:91;;10989:24;11007:5;10989:24;;11025:85;11091:13;11084:21;;11067:43;11117:144;11189:66;11178:78;;11161:100;11268:144;11340:66;11329:78;;11312:100;11419:72;11481:5;11464:27;11576:121;11649:42;11638:54;;11621:76;11783:81;11854:4;11843:16;;11826:38;11871:179;;11979:66;12039:5;11979:66;;12202:268;12267:1;12274:101;12288:6;12285:1;12282:13;12274:101;;;12355:11;;;12349:18;12336:11;;;12329:39;12310:2;12303:10;12274:101;;;12390:6;12387:1;12384:13;12381:2;;;-1:-1;;12455:1;12437:16;;12430:27;12251:219;12719:97;12807:2;12787:14;12803:7;12783:28;;12767:49;12824:117;12893:24;12911:5;12893:24;;;12886:5;12883:35;12873:2;;12932:1;12929;12922:12;12948:115;13016:23;13033:5;13016:23;;13194:113;13261:22;13277:5;13261:22;",
|
|
436
436
|
"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 \"./ChainlinkPriceOracleV1.sol\";\n\n\n/**\n * @title ChainlinkPriceOracleV1\n * @author Dolomite\n *\n * An implementation of the dYdX IPriceOracle interface that makes Chainlink prices compatible with the protocol.\n */\ncontract TestChainlinkPriceOracleV1 is ChainlinkPriceOracleV1 {\n\n event OverrideOraclePrice(address indexed token, uint8 percent);\n event UnsetOverrideOraclePrice(address indexed token);\n\n mapping (address => uint8) public tokenToPercentChange;\n\n /**\n * Note, these arrays are set up, such that each index corresponds with one-another.\n *\n * @param tokens The tokens that are supported by this adapter.\n * @param chainlinkAggregators The Chainlink aggregators that have on-chain prices.\n * @param tokenDecimals The number of decimals that each token has.\n * @param tokenPairs The token against which this token's value is compared using the aggregator. The\n * zero address means USD.\n * @param aggregatorDecimals The number of decimals that the value has that comes back from the corresponding\n * Chainlink Aggregator.\n */\n constructor(\n address[] memory tokens,\n address[] memory chainlinkAggregators,\n uint8[] memory tokenDecimals,\n address[] memory tokenPairs,\n uint8[] memory aggregatorDecimals\n )\n public\n ChainlinkPriceOracleV1(tokens, chainlinkAggregators, tokenDecimals, tokenPairs, aggregatorDecimals) {\n // solium-disable-line no-empty-blocks\n }\n\n // ============ Admin Functions ============\n\n /**\n * @param token The token whose price should change\n * @param percent The percent that should be applied to the current oracle price. Use 0 to unset. A value of 100\n * indicates no change. 90 is a 10% drop (0.9 times the price) and 110 is a 10% increase (1.1\n * times the price).\n */\n function changeOraclePrice(\n address token,\n uint8 percent\n ) public onlyOwner {\n tokenToPercentChange[token] = percent;\n if (percent == 0 || percent == 100) {\n emit UnsetOverrideOraclePrice(token);\n } else {\n emit OverrideOraclePrice(token, percent);\n }\n }\n\n // ============ Public Functions ============\n\n function getPrice(\n address token\n )\n public\n view\n returns (Monetary.Price memory) {\n Monetary.Price memory price = super.getPrice(token);\n uint8 percent = tokenToPercentChange[token];\n if (percent == 0 || percent == 100) {\n return price;\n } else {\n return Monetary.Price(price.value.mul(percent).div(100));\n }\n }\n\n}\n",
|
|
437
|
-
"sourcePath": "/
|
|
437
|
+
"sourcePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/external/oracles/TestChainlinkPriceOracleV1.sol",
|
|
438
438
|
"ast": {
|
|
439
|
-
"absolutePath": "/
|
|
439
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/external/oracles/TestChainlinkPriceOracleV1.sol",
|
|
440
440
|
"exportedSymbols": {
|
|
441
441
|
"TestChainlinkPriceOracleV1": [
|
|
442
442
|
8276
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
"src": "619:33:26"
|
|
467
467
|
},
|
|
468
468
|
{
|
|
469
|
-
"absolutePath": "/
|
|
469
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/external/oracles/ChainlinkPriceOracleV1.sol",
|
|
470
470
|
"file": "./ChainlinkPriceOracleV1.sol",
|
|
471
471
|
"id": 8151,
|
|
472
472
|
"nodeType": "ImportDirective",
|
|
@@ -2050,7 +2050,7 @@
|
|
|
2050
2050
|
"src": "595:2827:26"
|
|
2051
2051
|
},
|
|
2052
2052
|
"legacyAST": {
|
|
2053
|
-
"absolutePath": "/
|
|
2053
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/external/oracles/TestChainlinkPriceOracleV1.sol",
|
|
2054
2054
|
"exportedSymbols": {
|
|
2055
2055
|
"TestChainlinkPriceOracleV1": [
|
|
2056
2056
|
8276
|
|
@@ -2080,7 +2080,7 @@
|
|
|
2080
2080
|
"src": "619:33:26"
|
|
2081
2081
|
},
|
|
2082
2082
|
{
|
|
2083
|
-
"absolutePath": "/
|
|
2083
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/external/oracles/ChainlinkPriceOracleV1.sol",
|
|
2084
2084
|
"file": "./ChainlinkPriceOracleV1.sol",
|
|
2085
2085
|
"id": 8151,
|
|
2086
2086
|
"nodeType": "ImportDirective",
|
|
@@ -3667,93 +3667,9 @@
|
|
|
3667
3667
|
"name": "solc",
|
|
3668
3668
|
"version": "0.5.16+commit.9c3226ce.Linux.g++"
|
|
3669
3669
|
},
|
|
3670
|
-
"networks": {
|
|
3671
|
-
"80001": {
|
|
3672
|
-
"events": {
|
|
3673
|
-
"0xbc19bc42cf4b0260201ddccdd4058cef16ad086b114834e10d3049abedd6d641": {
|
|
3674
|
-
"anonymous": false,
|
|
3675
|
-
"inputs": [
|
|
3676
|
-
{
|
|
3677
|
-
"indexed": true,
|
|
3678
|
-
"internalType": "address",
|
|
3679
|
-
"name": "token",
|
|
3680
|
-
"type": "address"
|
|
3681
|
-
},
|
|
3682
|
-
{
|
|
3683
|
-
"indexed": false,
|
|
3684
|
-
"internalType": "uint8",
|
|
3685
|
-
"name": "percent",
|
|
3686
|
-
"type": "uint8"
|
|
3687
|
-
}
|
|
3688
|
-
],
|
|
3689
|
-
"name": "OverrideOraclePrice",
|
|
3690
|
-
"type": "event"
|
|
3691
|
-
},
|
|
3692
|
-
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": {
|
|
3693
|
-
"anonymous": false,
|
|
3694
|
-
"inputs": [
|
|
3695
|
-
{
|
|
3696
|
-
"indexed": true,
|
|
3697
|
-
"internalType": "address",
|
|
3698
|
-
"name": "previousOwner",
|
|
3699
|
-
"type": "address"
|
|
3700
|
-
},
|
|
3701
|
-
{
|
|
3702
|
-
"indexed": true,
|
|
3703
|
-
"internalType": "address",
|
|
3704
|
-
"name": "newOwner",
|
|
3705
|
-
"type": "address"
|
|
3706
|
-
}
|
|
3707
|
-
],
|
|
3708
|
-
"name": "OwnershipTransferred",
|
|
3709
|
-
"type": "event"
|
|
3710
|
-
},
|
|
3711
|
-
"0xf6dcff57d435662a867049d43b76e51e72ffba006347ec701ce100b59ee6da37": {
|
|
3712
|
-
"anonymous": false,
|
|
3713
|
-
"inputs": [
|
|
3714
|
-
{
|
|
3715
|
-
"indexed": true,
|
|
3716
|
-
"internalType": "address",
|
|
3717
|
-
"name": "token",
|
|
3718
|
-
"type": "address"
|
|
3719
|
-
},
|
|
3720
|
-
{
|
|
3721
|
-
"indexed": true,
|
|
3722
|
-
"internalType": "address",
|
|
3723
|
-
"name": "aggregator",
|
|
3724
|
-
"type": "address"
|
|
3725
|
-
},
|
|
3726
|
-
{
|
|
3727
|
-
"indexed": true,
|
|
3728
|
-
"internalType": "address",
|
|
3729
|
-
"name": "tokenPair",
|
|
3730
|
-
"type": "address"
|
|
3731
|
-
}
|
|
3732
|
-
],
|
|
3733
|
-
"name": "TokenInsertedOrUpdated",
|
|
3734
|
-
"type": "event"
|
|
3735
|
-
},
|
|
3736
|
-
"0x5bf2ffcc89d60b76e34b290097d34468c102a3a2cbd7757fd1020963f016489d": {
|
|
3737
|
-
"anonymous": false,
|
|
3738
|
-
"inputs": [
|
|
3739
|
-
{
|
|
3740
|
-
"indexed": true,
|
|
3741
|
-
"internalType": "address",
|
|
3742
|
-
"name": "token",
|
|
3743
|
-
"type": "address"
|
|
3744
|
-
}
|
|
3745
|
-
],
|
|
3746
|
-
"name": "UnsetOverrideOraclePrice",
|
|
3747
|
-
"type": "event"
|
|
3748
|
-
}
|
|
3749
|
-
},
|
|
3750
|
-
"links": {},
|
|
3751
|
-
"address": "0x27167EDda48917fc38eC6c5616e22EBe759dfFCb",
|
|
3752
|
-
"transactionHash": "0xbde273af30b0f497b0559dda64e9ea80e4ec1929c57968b253b83dcef4b2206a"
|
|
3753
|
-
}
|
|
3754
|
-
},
|
|
3670
|
+
"networks": {},
|
|
3755
3671
|
"schemaVersion": "3.0.23",
|
|
3756
|
-
"updatedAt": "2022-02-
|
|
3672
|
+
"updatedAt": "2022-02-07T07:18:44.895Z",
|
|
3757
3673
|
"devdoc": {
|
|
3758
3674
|
"author": "Dolomite * An implementation of the dYdX IPriceOracle interface that makes Chainlink prices compatible with the protocol.",
|
|
3759
3675
|
"methods": {
|
|
@@ -128,15 +128,15 @@
|
|
|
128
128
|
"type": "function"
|
|
129
129
|
}
|
|
130
130
|
],
|
|
131
|
-
"metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"constant\":true,\"inputs\":[],\"name\":\"counterFallback\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"counterOne\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"counterThree\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"counterTwo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"functionOne\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"input1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"input2\",\"type\":\"uint256\"}],\"name\":\"functionThree\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"input\",\"type\":\"uint256\"}],\"name\":\"functionTwo\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"dYdX * Counts function calls for testing\",\"methods\":{},\"title\":\"TestCounter\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/
|
|
132
|
-
"bytecode": "
|
|
133
|
-
"deployedBytecode": "
|
|
131
|
+
"metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"constant\":true,\"inputs\":[],\"name\":\"counterFallback\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"counterOne\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"counterThree\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"counterTwo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"functionOne\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"input1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"input2\",\"type\":\"uint256\"}],\"name\":\"functionThree\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"input\",\"type\":\"uint256\"}],\"name\":\"functionTwo\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"dYdX * Counts function calls for testing\",\"methods\":{},\"title\":\"TestCounter\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestCounter.sol\":\"TestCounter\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[]},\"sources\":{\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestCounter.sol\":{\"keccak256\":\"0xcb68f4dd3f93440087e43c201a2979bae3259bf1eeefed709b2f2a9afddff457\",\"urls\":[\"bzz-raw://2480e0f768ca68de343d8e3a9d3a97a3beacf175fb437b312f37c94b5ae409bb\",\"dweb:/ipfs/QmWBWKW2o8tAAyxyJNb6moN6ybsDVKRA8dDbs5H1gCstzp\"]}},\"version\":1}",
|
|
132
|
+
"bytecode": "0x608060405234801561001057600080fd5b506102bb806100206000396000f3fe6080604052600436106100705760003560e01c80639c65a4001161004e5780639c65a400146100d2578063c1e19882146100fd578063ced0f9fd1461011d578063d7215e7a1461013257610070565b8063181b3bb31461007b5780638e0137b914610092578063935272a2146100b2575b600080546001019055005b34801561008757600080fd5b50610090610152565b005b34801561009e57600080fd5b506100906100ad366004610207565b61015c565b3480156100be57600080fd5b506100906100cd3660046101e1565b61017e565b3480156100de57600080fd5b506100e7610195565b6040516100f49190610250565b60405180910390f35b34801561010957600080fd5b506100e7610118366004610207565b61019b565b34801561012957600080fd5b506100e76101b8565b34801561013e57600080fd5b506100e761014d3660046101e1565b6101be565b6001805481019055565b6000918252600360209081526040808420928452919052902080546001019055565b600090815260026020526040902080546001019055565b60015481565b600360209081526000928352604080842090915290825290205481565b60005481565b60026020526000908152604090205481565b80356101db81610261565b92915050565b6000602082840312156101f357600080fd5b60006101ff84846101d0565b949350505050565b6000806040838503121561021a57600080fd5b600061022685856101d0565b9250506020610237858286016101d0565b9150509250929050565b61024a8161025e565b82525050565b602081016101db8284610241565b90565b61026a8161025e565b811461027557600080fd5b5056fea365627a7a72315820d887ac34d06eeeafab6e05b811947c7b5bebbd2ab835b049d15ac6822efcf9c76c6578706572696d656e74616cf564736f6c63430005100040",
|
|
133
|
+
"deployedBytecode": "0x6080604052600436106100705760003560e01c80639c65a4001161004e5780639c65a400146100d2578063c1e19882146100fd578063ced0f9fd1461011d578063d7215e7a1461013257610070565b8063181b3bb31461007b5780638e0137b914610092578063935272a2146100b2575b600080546001019055005b34801561008757600080fd5b50610090610152565b005b34801561009e57600080fd5b506100906100ad366004610207565b61015c565b3480156100be57600080fd5b506100906100cd3660046101e1565b61017e565b3480156100de57600080fd5b506100e7610195565b6040516100f49190610250565b60405180910390f35b34801561010957600080fd5b506100e7610118366004610207565b61019b565b34801561012957600080fd5b506100e76101b8565b34801561013e57600080fd5b506100e761014d3660046101e1565b6101be565b6001805481019055565b6000918252600360209081526040808420928452919052902080546001019055565b600090815260026020526040902080546001019055565b60015481565b600360209081526000928352604080842090915290825290205481565b60005481565b60026020526000908152604090205481565b80356101db81610261565b92915050565b6000602082840312156101f357600080fd5b60006101ff84846101d0565b949350505050565b6000806040838503121561021a57600080fd5b600061022685856101d0565b9250506020610237858286016101d0565b9150509250929050565b61024a8161025e565b82525050565b602081016101db8284610241565b90565b61026a8161025e565b811461027557600080fd5b5056fea365627a7a72315820d887ac34d06eeeafab6e05b811947c7b5bebbd2ab835b049d15ac6822efcf9c76c6578706572696d656e74616cf564736f6c63430005100040",
|
|
134
134
|
"sourceMap": "748:732:91:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;748:732:91;;;;;;;",
|
|
135
135
|
"deployedSourceMap": "748:732:91:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1117:15;:17;;;;;;748:732;1147:71;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1147:71:91;;;:::i;:::-;;1335:143;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1335:143:91;;;;;;;;:::i;1224:105::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1224:105:91;;;;;;;;:::i;854:25::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;854:25:91;;;:::i;:::-;;;;;;;;;;;;;;;;939:69;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;939:69:91;;;;;;;;:::i;817:30::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;817:30:91;;;:::i;886:46::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;886:46:91;;;;;;;;:::i;1147:71::-;1199:10;:12;;;;;;1147:71::o;1335:143::-;1441:20;;;;:12;:20;;;;;;;;:28;;;;;;;;:30;;;;;;1335:143::o;1224:105::-;1303:17;;;;:10;:17;;;;;:19;;;;;;1224:105::o;854:25::-;;;;:::o;939:69::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;817:30::-;;;;:::o;886:46::-;;;;;;;;;;;;;:::o;5:130:-1:-;72:20;;97:33;72:20;97:33;;;57:78;;;;;142:241;;246:2;234:9;225:7;221:23;217:32;214:2;;;262:1;259;252:12;214:2;297:1;314:53;359:7;339:9;314:53;;;304:63;208:175;-1:-1;;;;208:175;390:366;;;511:2;499:9;490:7;486:23;482:32;479:2;;;527:1;524;517:12;479:2;562:1;579:53;624:7;604:9;579:53;;;569:63;;541:97;669:2;687:53;732:7;723:6;712:9;708:22;687:53;;;677:63;;648:98;473:283;;;;;;763:113;846:24;864:5;846:24;;;841:3;834:37;828:48;;;883:213;1001:2;986:18;;1015:71;990:9;1059:6;1015:71;;1103:72;1165:5;1148:27;1182:117;1251:24;1269:5;1251:24;;;1244:5;1241:35;1231:2;;1290:1;1287;1280:12;1231:2;1225:74;",
|
|
136
136
|
"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\n/**\n * @title TestCounter\n * @author dYdX\n *\n * Counts function calls for testing\n */\ncontract TestCounter\n{\n // ============ Storage ============\n\n uint256 public counterFallback;\n\n uint256 public counterOne;\n\n mapping (uint256 => uint256) public counterTwo;\n\n mapping (uint256 => mapping (uint256 => uint256)) public counterThree;\n\n // ============ Functions ============\n\n function()\n external\n payable\n {\n counterFallback++;\n }\n\n function functionOne()\n public\n {\n counterOne++;\n }\n\n function functionTwo(\n uint256 input\n )\n public\n {\n counterTwo[input]++;\n }\n\n function functionThree(\n uint256 input1,\n uint256 input2\n )\n public\n {\n counterThree[input1][input2]++;\n }\n}\n",
|
|
137
|
-
"sourcePath": "/
|
|
137
|
+
"sourcePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestCounter.sol",
|
|
138
138
|
"ast": {
|
|
139
|
-
"absolutePath": "/
|
|
139
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestCounter.sol",
|
|
140
140
|
"exportedSymbols": {
|
|
141
141
|
"TestCounter": [
|
|
142
142
|
35586
|
|
@@ -776,7 +776,7 @@
|
|
|
776
776
|
"src": "603:878:91"
|
|
777
777
|
},
|
|
778
778
|
"legacyAST": {
|
|
779
|
-
"absolutePath": "/
|
|
779
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestCounter.sol",
|
|
780
780
|
"exportedSymbols": {
|
|
781
781
|
"TestCounter": [
|
|
782
782
|
35586
|
|
@@ -1421,7 +1421,7 @@
|
|
|
1421
1421
|
},
|
|
1422
1422
|
"networks": {},
|
|
1423
1423
|
"schemaVersion": "3.0.23",
|
|
1424
|
-
"updatedAt": "2022-02-
|
|
1424
|
+
"updatedAt": "2022-02-07T07:18:45.402Z",
|
|
1425
1425
|
"devdoc": {
|
|
1426
1426
|
"author": "dYdX * Counts function calls for testing",
|
|
1427
1427
|
"methods": {},
|
|
@@ -17,15 +17,15 @@
|
|
|
17
17
|
"type": "function"
|
|
18
18
|
}
|
|
19
19
|
],
|
|
20
|
-
"metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[],\"name\":\"latestAnswer\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Gets the latest price from the Chainlink Oracle Network. Amount of decimals depends on the base.\",\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/
|
|
21
|
-
"bytecode": "
|
|
22
|
-
"deployedBytecode": "
|
|
20
|
+
"metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[],\"name\":\"latestAnswer\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Gets the latest price from the Chainlink Oracle Network. Amount of decimals depends on the base.\",\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestDaiEthChainlinkAggregator.sol\":\"TestDaiUsdChainlinkAggregator\"},\"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/TestDaiEthChainlinkAggregator.sol\":{\"keccak256\":\"0xd8f4c98f9c4dfe2f32601c0768783a1bc1d0f34dd1f194d5c61ff0b14f3e3006\",\"urls\":[\"bzz-raw://4f9d02f8dacbeec4eb8fbb4188d31494581852df3699f9b42303aae33bbee3d3\",\"dweb:/ipfs/QmZbCbsQ2Z3Tebwcbzx3yEQevKh6jsFFh94vftke2oqgXA\"]}},\"version\":1}",
|
|
21
|
+
"bytecode": "0x6080604052348015600f57600080fd5b5060828061001e6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806350d25bcd14602d575b600080fd5b60336045565b60408051918252519081900360200190f35b6305f767a09056fea265627a7a723158202d5b7234a252c7b39f8cf27a7ef2e1cb12d4f812397e82197750a6034941269164736f6c63430005100032",
|
|
22
|
+
"deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060285760003560e01c806350d25bcd14602d575b600080fd5b60336045565b60408051918252519081900360200190f35b6305f767a09056fea265627a7a723158202d5b7234a252c7b39f8cf27a7ef2e1cb12d4f812397e82197750a6034941269164736f6c63430005100032",
|
|
23
23
|
"sourceMap": "792:177:92:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;792:177:92;;;;;;;",
|
|
24
24
|
"deployedSourceMap": "792:177:92:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;792:177:92;;;;;;;;;;;;;;;;;;;862:104;;;:::i;:::-;;;;;;;;;;;;;;;;;950:9;862:104;:::o",
|
|
25
25
|
"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;\n\nimport \"../external/interfaces/IChainlinkAggregator.sol\";\n\n/**\n * @dev Gets the latest price from the Chainlink Oracle Network. Amount of decimals depends on the base.\n */\ncontract TestDaiUsdChainlinkAggregator is IChainlinkAggregator {\n\n function latestAnswer() public view returns (int256) {\n // $1.001\n return 100100000;\n }\n\n}\n",
|
|
26
|
-
"sourcePath": "/
|
|
26
|
+
"sourcePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestDaiEthChainlinkAggregator.sol",
|
|
27
27
|
"ast": {
|
|
28
|
-
"absolutePath": "/
|
|
28
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestDaiEthChainlinkAggregator.sol",
|
|
29
29
|
"exportedSymbols": {
|
|
30
30
|
"TestDaiUsdChainlinkAggregator": [
|
|
31
31
|
35600
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"src": "595:23:92"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
|
-
"absolutePath": "/
|
|
49
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/external/interfaces/IChainlinkAggregator.sol",
|
|
50
50
|
"file": "../external/interfaces/IChainlinkAggregator.sol",
|
|
51
51
|
"id": 35589,
|
|
52
52
|
"nodeType": "ImportDirective",
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
"src": "595:375:92"
|
|
184
184
|
},
|
|
185
185
|
"legacyAST": {
|
|
186
|
-
"absolutePath": "/
|
|
186
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/testing/TestDaiEthChainlinkAggregator.sol",
|
|
187
187
|
"exportedSymbols": {
|
|
188
188
|
"TestDaiUsdChainlinkAggregator": [
|
|
189
189
|
35600
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
"src": "595:23:92"
|
|
205
205
|
},
|
|
206
206
|
{
|
|
207
|
-
"absolutePath": "/
|
|
207
|
+
"absolutePath": "/Users/corey/Leavitt-Innovations/dolomite-v2-protocol/contracts/external/interfaces/IChainlinkAggregator.sol",
|
|
208
208
|
"file": "../external/interfaces/IChainlinkAggregator.sol",
|
|
209
209
|
"id": 35589,
|
|
210
210
|
"nodeType": "ImportDirective",
|
|
@@ -348,12 +348,12 @@
|
|
|
348
348
|
"1001": {
|
|
349
349
|
"events": {},
|
|
350
350
|
"links": {},
|
|
351
|
-
"address": "
|
|
352
|
-
"transactionHash": "
|
|
351
|
+
"address": "0xFF6049B87215476aBf744eaA3a476cBAd46fB1cA",
|
|
352
|
+
"transactionHash": "0xb39ebea8133f7fda52cc8a60fdd7fb78484d662e9d49e9fe8675cfcd89949753"
|
|
353
353
|
}
|
|
354
354
|
},
|
|
355
355
|
"schemaVersion": "3.0.23",
|
|
356
|
-
"updatedAt": "2022-02-
|
|
356
|
+
"updatedAt": "2022-02-07T07:18:45.403Z",
|
|
357
357
|
"devdoc": {
|
|
358
358
|
"details": "Gets the latest price from the Chainlink Oracle Network. Amount of decimals depends on the base.",
|
|
359
359
|
"methods": {}
|