diff --git a/artifacts/@chainlink/contracts/src/v0.6/Chainlink.sol/Chainlink.dbg.json b/artifacts/@chainlink/contracts/src/v0.6/Chainlink.sol/Chainlink.dbg.json index 503d1932..688dd071 100644 --- a/artifacts/@chainlink/contracts/src/v0.6/Chainlink.sol/Chainlink.dbg.json +++ b/artifacts/@chainlink/contracts/src/v0.6/Chainlink.sol/Chainlink.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@chainlink/contracts/src/v0.6/ChainlinkClient.sol/ChainlinkClient.dbg.json b/artifacts/@chainlink/contracts/src/v0.6/ChainlinkClient.sol/ChainlinkClient.dbg.json index 503d1932..688dd071 100644 --- a/artifacts/@chainlink/contracts/src/v0.6/ChainlinkClient.sol/ChainlinkClient.dbg.json +++ b/artifacts/@chainlink/contracts/src/v0.6/ChainlinkClient.sol/ChainlinkClient.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@chainlink/contracts/src/v0.6/LinkTokenReceiver.sol/LinkTokenReceiver.dbg.json b/artifacts/@chainlink/contracts/src/v0.6/LinkTokenReceiver.sol/LinkTokenReceiver.dbg.json index 503d1932..688dd071 100644 --- a/artifacts/@chainlink/contracts/src/v0.6/LinkTokenReceiver.sol/LinkTokenReceiver.dbg.json +++ b/artifacts/@chainlink/contracts/src/v0.6/LinkTokenReceiver.sol/LinkTokenReceiver.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@chainlink/contracts/src/v0.6/Median.sol/Median.dbg.json b/artifacts/@chainlink/contracts/src/v0.6/Median.sol/Median.dbg.json index 503d1932..688dd071 100644 --- a/artifacts/@chainlink/contracts/src/v0.6/Median.sol/Median.dbg.json +++ b/artifacts/@chainlink/contracts/src/v0.6/Median.sol/Median.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@chainlink/contracts/src/v0.6/Oracle.sol/Oracle.dbg.json b/artifacts/@chainlink/contracts/src/v0.6/Oracle.sol/Oracle.dbg.json index 503d1932..688dd071 100644 --- a/artifacts/@chainlink/contracts/src/v0.6/Oracle.sol/Oracle.dbg.json +++ b/artifacts/@chainlink/contracts/src/v0.6/Oracle.sol/Oracle.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@chainlink/contracts/src/v0.6/PreCoordinator.sol/PreCoordinator.dbg.json b/artifacts/@chainlink/contracts/src/v0.6/PreCoordinator.sol/PreCoordinator.dbg.json index 503d1932..688dd071 100644 --- a/artifacts/@chainlink/contracts/src/v0.6/PreCoordinator.sol/PreCoordinator.dbg.json +++ b/artifacts/@chainlink/contracts/src/v0.6/PreCoordinator.sol/PreCoordinator.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@chainlink/contracts/src/v0.6/SignedSafeMath.sol/SignedSafeMath.dbg.json b/artifacts/@chainlink/contracts/src/v0.6/SignedSafeMath.sol/SignedSafeMath.dbg.json index 503d1932..688dd071 100644 --- a/artifacts/@chainlink/contracts/src/v0.6/SignedSafeMath.sol/SignedSafeMath.dbg.json +++ b/artifacts/@chainlink/contracts/src/v0.6/SignedSafeMath.sol/SignedSafeMath.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@chainlink/contracts/src/v0.6/interfaces/ChainlinkRequestInterface.sol/ChainlinkRequestInterface.dbg.json b/artifacts/@chainlink/contracts/src/v0.6/interfaces/ChainlinkRequestInterface.sol/ChainlinkRequestInterface.dbg.json index 2d524749..8f63911c 100644 --- a/artifacts/@chainlink/contracts/src/v0.6/interfaces/ChainlinkRequestInterface.sol/ChainlinkRequestInterface.dbg.json +++ b/artifacts/@chainlink/contracts/src/v0.6/interfaces/ChainlinkRequestInterface.sol/ChainlinkRequestInterface.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@chainlink/contracts/src/v0.6/interfaces/ENSInterface.sol/ENSInterface.dbg.json b/artifacts/@chainlink/contracts/src/v0.6/interfaces/ENSInterface.sol/ENSInterface.dbg.json index 2d524749..8f63911c 100644 --- a/artifacts/@chainlink/contracts/src/v0.6/interfaces/ENSInterface.sol/ENSInterface.dbg.json +++ b/artifacts/@chainlink/contracts/src/v0.6/interfaces/ENSInterface.sol/ENSInterface.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@chainlink/contracts/src/v0.6/interfaces/LinkTokenInterface.sol/LinkTokenInterface.dbg.json b/artifacts/@chainlink/contracts/src/v0.6/interfaces/LinkTokenInterface.sol/LinkTokenInterface.dbg.json index 2d524749..8f63911c 100644 --- a/artifacts/@chainlink/contracts/src/v0.6/interfaces/LinkTokenInterface.sol/LinkTokenInterface.dbg.json +++ b/artifacts/@chainlink/contracts/src/v0.6/interfaces/LinkTokenInterface.sol/LinkTokenInterface.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@chainlink/contracts/src/v0.6/interfaces/OracleInterface.sol/OracleInterface.dbg.json b/artifacts/@chainlink/contracts/src/v0.6/interfaces/OracleInterface.sol/OracleInterface.dbg.json index 2d524749..8f63911c 100644 --- a/artifacts/@chainlink/contracts/src/v0.6/interfaces/OracleInterface.sol/OracleInterface.dbg.json +++ b/artifacts/@chainlink/contracts/src/v0.6/interfaces/OracleInterface.sol/OracleInterface.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@chainlink/contracts/src/v0.6/interfaces/PointerInterface.sol/PointerInterface.dbg.json b/artifacts/@chainlink/contracts/src/v0.6/interfaces/PointerInterface.sol/PointerInterface.dbg.json index 2d524749..8f63911c 100644 --- a/artifacts/@chainlink/contracts/src/v0.6/interfaces/PointerInterface.sol/PointerInterface.dbg.json +++ b/artifacts/@chainlink/contracts/src/v0.6/interfaces/PointerInterface.sol/PointerInterface.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@chainlink/contracts/src/v0.6/interfaces/WithdrawalInterface.sol/WithdrawalInterface.dbg.json b/artifacts/@chainlink/contracts/src/v0.6/interfaces/WithdrawalInterface.sol/WithdrawalInterface.dbg.json index 2d524749..8f63911c 100644 --- a/artifacts/@chainlink/contracts/src/v0.6/interfaces/WithdrawalInterface.sol/WithdrawalInterface.dbg.json +++ b/artifacts/@chainlink/contracts/src/v0.6/interfaces/WithdrawalInterface.sol/WithdrawalInterface.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@chainlink/contracts/src/v0.6/vendor/BufferChainlink.sol/BufferChainlink.dbg.json b/artifacts/@chainlink/contracts/src/v0.6/vendor/BufferChainlink.sol/BufferChainlink.dbg.json index 2d524749..8f63911c 100644 --- a/artifacts/@chainlink/contracts/src/v0.6/vendor/BufferChainlink.sol/BufferChainlink.dbg.json +++ b/artifacts/@chainlink/contracts/src/v0.6/vendor/BufferChainlink.sol/BufferChainlink.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@chainlink/contracts/src/v0.6/vendor/CBORChainlink.sol/CBORChainlink.dbg.json b/artifacts/@chainlink/contracts/src/v0.6/vendor/CBORChainlink.sol/CBORChainlink.dbg.json index 2d524749..8f63911c 100644 --- a/artifacts/@chainlink/contracts/src/v0.6/vendor/CBORChainlink.sol/CBORChainlink.dbg.json +++ b/artifacts/@chainlink/contracts/src/v0.6/vendor/CBORChainlink.sol/CBORChainlink.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@chainlink/contracts/src/v0.6/vendor/ENSResolver.sol/ENSResolver.dbg.json b/artifacts/@chainlink/contracts/src/v0.6/vendor/ENSResolver.sol/ENSResolver.dbg.json index 2d524749..8f63911c 100644 --- a/artifacts/@chainlink/contracts/src/v0.6/vendor/ENSResolver.sol/ENSResolver.dbg.json +++ b/artifacts/@chainlink/contracts/src/v0.6/vendor/ENSResolver.sol/ENSResolver.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@chainlink/contracts/src/v0.6/vendor/Ownable.sol/Ownable.dbg.json b/artifacts/@chainlink/contracts/src/v0.6/vendor/Ownable.sol/Ownable.dbg.json index 2d524749..8f63911c 100644 --- a/artifacts/@chainlink/contracts/src/v0.6/vendor/Ownable.sol/Ownable.dbg.json +++ b/artifacts/@chainlink/contracts/src/v0.6/vendor/Ownable.sol/Ownable.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@chainlink/contracts/src/v0.6/vendor/SafeMathChainlink.sol/SafeMathChainlink.dbg.json b/artifacts/@chainlink/contracts/src/v0.6/vendor/SafeMathChainlink.sol/SafeMathChainlink.dbg.json index 2d524749..8f63911c 100644 --- a/artifacts/@chainlink/contracts/src/v0.6/vendor/SafeMathChainlink.sol/SafeMathChainlink.dbg.json +++ b/artifacts/@chainlink/contracts/src/v0.6/vendor/SafeMathChainlink.sol/SafeMathChainlink.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.dbg.json b/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.dbg.json index 2d1b3bba..0383765d 100644 --- a/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.dbg.json +++ b/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json b/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json index 2d1b3bba..0383765d 100644 --- a/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +++ b/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@openzeppelin/contracts/math/SafeMath.sol/SafeMath.dbg.json b/artifacts/@openzeppelin/contracts/math/SafeMath.sol/SafeMath.dbg.json index 2d1b3bba..0383765d 100644 --- a/artifacts/@openzeppelin/contracts/math/SafeMath.sol/SafeMath.dbg.json +++ b/artifacts/@openzeppelin/contracts/math/SafeMath.sol/SafeMath.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@openzeppelin/contracts/presets/ERC20PresetMinterPauser.sol/ERC20PresetMinterPauser.dbg.json b/artifacts/@openzeppelin/contracts/presets/ERC20PresetMinterPauser.sol/ERC20PresetMinterPauser.dbg.json index 2d1b3bba..0383765d 100644 --- a/artifacts/@openzeppelin/contracts/presets/ERC20PresetMinterPauser.sol/ERC20PresetMinterPauser.dbg.json +++ b/artifacts/@openzeppelin/contracts/presets/ERC20PresetMinterPauser.sol/ERC20PresetMinterPauser.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json b/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json index 503d1932..688dd071 100644 --- a/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +++ b/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol/ERC20Burnable.dbg.json b/artifacts/@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol/ERC20Burnable.dbg.json index 503d1932..688dd071 100644 --- a/artifacts/@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol/ERC20Burnable.dbg.json +++ b/artifacts/@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol/ERC20Burnable.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@openzeppelin/contracts/token/ERC20/ERC20Pausable.sol/ERC20Pausable.dbg.json b/artifacts/@openzeppelin/contracts/token/ERC20/ERC20Pausable.sol/ERC20Pausable.dbg.json index 503d1932..688dd071 100644 --- a/artifacts/@openzeppelin/contracts/token/ERC20/ERC20Pausable.sol/ERC20Pausable.dbg.json +++ b/artifacts/@openzeppelin/contracts/token/ERC20/ERC20Pausable.sol/ERC20Pausable.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json b/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json index 503d1932..688dd071 100644 --- a/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +++ b/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@openzeppelin/contracts/token/ERC20/SafeERC20.sol/SafeERC20.dbg.json b/artifacts/@openzeppelin/contracts/token/ERC20/SafeERC20.sol/SafeERC20.dbg.json index 503d1932..688dd071 100644 --- a/artifacts/@openzeppelin/contracts/token/ERC20/SafeERC20.sol/SafeERC20.dbg.json +++ b/artifacts/@openzeppelin/contracts/token/ERC20/SafeERC20.sol/SafeERC20.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json b/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json index 2d1b3bba..0383765d 100644 --- a/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json +++ b/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json b/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json index 2d1b3bba..0383765d 100644 --- a/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +++ b/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@openzeppelin/contracts/utils/EnumerableSet.sol/EnumerableSet.dbg.json b/artifacts/@openzeppelin/contracts/utils/EnumerableSet.sol/EnumerableSet.dbg.json index 2d1b3bba..0383765d 100644 --- a/artifacts/@openzeppelin/contracts/utils/EnumerableSet.sol/EnumerableSet.dbg.json +++ b/artifacts/@openzeppelin/contracts/utils/EnumerableSet.sol/EnumerableSet.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@openzeppelin/contracts/utils/Pausable.sol/Pausable.dbg.json b/artifacts/@openzeppelin/contracts/utils/Pausable.sol/Pausable.dbg.json index 2d1b3bba..0383765d 100644 --- a/artifacts/@openzeppelin/contracts/utils/Pausable.sol/Pausable.dbg.json +++ b/artifacts/@openzeppelin/contracts/utils/Pausable.sol/Pausable.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@openzeppelin/contracts/utils/ReentrancyGuard.sol/ReentrancyGuard.dbg.json b/artifacts/@openzeppelin/contracts/utils/ReentrancyGuard.sol/ReentrancyGuard.dbg.json index 2d1b3bba..0383765d 100644 --- a/artifacts/@openzeppelin/contracts/utils/ReentrancyGuard.sol/ReentrancyGuard.dbg.json +++ b/artifacts/@openzeppelin/contracts/utils/ReentrancyGuard.sol/ReentrancyGuard.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@stacktical/dsla-protocol/contracts/Details.sol/Details.dbg.json b/artifacts/@stacktical/dsla-protocol/contracts/Details.sol/Details.dbg.json index 2d1b3bba..0383765d 100644 --- a/artifacts/@stacktical/dsla-protocol/contracts/Details.sol/Details.dbg.json +++ b/artifacts/@stacktical/dsla-protocol/contracts/Details.sol/Details.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@stacktical/dsla-protocol/contracts/MessengerRegistry.sol/MessengerRegistry.dbg.json b/artifacts/@stacktical/dsla-protocol/contracts/MessengerRegistry.sol/MessengerRegistry.dbg.json index 2d1b3bba..0383765d 100644 --- a/artifacts/@stacktical/dsla-protocol/contracts/MessengerRegistry.sol/MessengerRegistry.dbg.json +++ b/artifacts/@stacktical/dsla-protocol/contracts/MessengerRegistry.sol/MessengerRegistry.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@stacktical/dsla-protocol/contracts/PeriodRegistry.sol/PeriodRegistry.dbg.json b/artifacts/@stacktical/dsla-protocol/contracts/PeriodRegistry.sol/PeriodRegistry.dbg.json index 2d1b3bba..0383765d 100644 --- a/artifacts/@stacktical/dsla-protocol/contracts/PeriodRegistry.sol/PeriodRegistry.dbg.json +++ b/artifacts/@stacktical/dsla-protocol/contracts/PeriodRegistry.sol/PeriodRegistry.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@stacktical/dsla-protocol/contracts/SLA.sol/SLA.dbg.json b/artifacts/@stacktical/dsla-protocol/contracts/SLA.sol/SLA.dbg.json index 2d1b3bba..0383765d 100644 --- a/artifacts/@stacktical/dsla-protocol/contracts/SLA.sol/SLA.dbg.json +++ b/artifacts/@stacktical/dsla-protocol/contracts/SLA.sol/SLA.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@stacktical/dsla-protocol/contracts/SLARegistry.sol/SLARegistry.dbg.json b/artifacts/@stacktical/dsla-protocol/contracts/SLARegistry.sol/SLARegistry.dbg.json index 2d1b3bba..0383765d 100644 --- a/artifacts/@stacktical/dsla-protocol/contracts/SLARegistry.sol/SLARegistry.dbg.json +++ b/artifacts/@stacktical/dsla-protocol/contracts/SLARegistry.sol/SLARegistry.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@stacktical/dsla-protocol/contracts/SLORegistry.sol/SLORegistry.dbg.json b/artifacts/@stacktical/dsla-protocol/contracts/SLORegistry.sol/SLORegistry.dbg.json index 2d1b3bba..0383765d 100644 --- a/artifacts/@stacktical/dsla-protocol/contracts/SLORegistry.sol/SLORegistry.dbg.json +++ b/artifacts/@stacktical/dsla-protocol/contracts/SLORegistry.sol/SLORegistry.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@stacktical/dsla-protocol/contracts/StakeRegistry.sol/StakeRegistry.dbg.json b/artifacts/@stacktical/dsla-protocol/contracts/StakeRegistry.sol/StakeRegistry.dbg.json index 2d1b3bba..0383765d 100644 --- a/artifacts/@stacktical/dsla-protocol/contracts/StakeRegistry.sol/StakeRegistry.dbg.json +++ b/artifacts/@stacktical/dsla-protocol/contracts/StakeRegistry.sol/StakeRegistry.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@stacktical/dsla-protocol/contracts/Staking.sol/Staking.dbg.json b/artifacts/@stacktical/dsla-protocol/contracts/Staking.sol/Staking.dbg.json index 2d1b3bba..0383765d 100644 --- a/artifacts/@stacktical/dsla-protocol/contracts/Staking.sol/Staking.dbg.json +++ b/artifacts/@stacktical/dsla-protocol/contracts/Staking.sol/Staking.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@stacktical/dsla-protocol/contracts/StringUtils.sol/StringUtils.dbg.json b/artifacts/@stacktical/dsla-protocol/contracts/StringUtils.sol/StringUtils.dbg.json index 2d1b3bba..0383765d 100644 --- a/artifacts/@stacktical/dsla-protocol/contracts/StringUtils.sol/StringUtils.dbg.json +++ b/artifacts/@stacktical/dsla-protocol/contracts/StringUtils.sol/StringUtils.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/@stacktical/dsla-protocol/contracts/messenger/IMessenger.sol/IMessenger.dbg.json b/artifacts/@stacktical/dsla-protocol/contracts/messenger/IMessenger.sol/IMessenger.dbg.json index 503d1932..688dd071 100644 --- a/artifacts/@stacktical/dsla-protocol/contracts/messenger/IMessenger.sol/IMessenger.dbg.json +++ b/artifacts/@stacktical/dsla-protocol/contracts/messenger/IMessenger.sol/IMessenger.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/build-info/d6d030e19809afb07d0f1b774cdfb9ac.json b/artifacts/build-info/b72170c1da43a51079648d607119c060.json similarity index 96% rename from artifacts/build-info/d6d030e19809afb07d0f1b774cdfb9ac.json rename to artifacts/build-info/b72170c1da43a51079648d607119c060.json index 252a08d1..a16b48c0 100644 --- a/artifacts/build-info/d6d030e19809afb07d0f1b774cdfb9ac.json +++ b/artifacts/build-info/b72170c1da43a51079648d607119c060.json @@ -1,5 +1,5 @@ { - "id": "d6d030e19809afb07d0f1b774cdfb9ac", + "id": "b72170c1da43a51079648d607119c060", "_format": "hh-sol-build-info-1", "solcVersion": "0.6.6", "solcLongVersion": "0.6.6+commit.6c089d02", @@ -64,7 +64,7 @@ "content": "pragma solidity ^0.6.0;\n\n/**\n* @dev A library for working with mutable byte buffers in Solidity.\n*\n* Byte buffers are mutable and expandable, and provide a variety of primitives\n* for writing to them. At any time you can fetch a bytes object containing the\n* current contents of the buffer. The bytes object should not be stored between\n* operations, as it may change due to resizing of the buffer.\n*/\nlibrary BufferChainlink {\n /**\n * @dev Represents a mutable buffer. Buffers have a current value (buf) and\n * a capacity. The capacity may be longer than the current value, in\n * which case it can be extended without the need to allocate more memory.\n */\n struct buffer {\n bytes buf;\n uint capacity;\n }\n\n /**\n * @dev Initializes a buffer with an initial capacity.\n * @param buf The buffer to initialize.\n * @param capacity The number of bytes of space to allocate the buffer.\n * @return The buffer, for chaining.\n */\n function init(buffer memory buf, uint capacity) internal pure returns(buffer memory) {\n if (capacity % 32 != 0) {\n capacity += 32 - (capacity % 32);\n }\n // Allocate space for the buffer data\n buf.capacity = capacity;\n assembly {\n let ptr := mload(0x40)\n mstore(buf, ptr)\n mstore(ptr, 0)\n mstore(0x40, add(32, add(ptr, capacity)))\n }\n return buf;\n }\n\n /**\n * @dev Initializes a new buffer from an existing bytes object.\n * Changes to the buffer may mutate the original value.\n * @param b The bytes object to initialize the buffer with.\n * @return A new buffer.\n */\n function fromBytes(bytes memory b) internal pure returns(buffer memory) {\n buffer memory buf;\n buf.buf = b;\n buf.capacity = b.length;\n return buf;\n }\n\n function resize(buffer memory buf, uint capacity) private pure {\n bytes memory oldbuf = buf.buf;\n init(buf, capacity);\n append(buf, oldbuf);\n }\n\n function max(uint a, uint b) private pure returns(uint) {\n if (a > b) {\n return a;\n }\n return b;\n }\n\n /**\n * @dev Sets buffer length to 0.\n * @param buf The buffer to truncate.\n * @return The original buffer, for chaining..\n */\n function truncate(buffer memory buf) internal pure returns (buffer memory) {\n assembly {\n let bufptr := mload(buf)\n mstore(bufptr, 0)\n }\n return buf;\n }\n\n /**\n * @dev Writes a byte string to a buffer. Resizes if doing so would exceed\n * the capacity of the buffer.\n * @param buf The buffer to append to.\n * @param off The start offset to write to.\n * @param data The data to append.\n * @param len The number of bytes to copy.\n * @return The original buffer, for chaining.\n */\n function write(buffer memory buf, uint off, bytes memory data, uint len) internal pure returns(buffer memory) {\n require(len <= data.length);\n\n if (off + len > buf.capacity) {\n resize(buf, max(buf.capacity, len + off) * 2);\n }\n\n uint dest;\n uint src;\n assembly {\n // Memory address of the buffer data\n let bufptr := mload(buf)\n // Length of existing buffer data\n let buflen := mload(bufptr)\n // Start address = buffer address + offset + sizeof(buffer length)\n dest := add(add(bufptr, 32), off)\n // Update buffer length if we're extending it\n if gt(add(len, off), buflen) {\n mstore(bufptr, add(len, off))\n }\n src := add(data, 32)\n }\n\n // Copy word-length chunks while possible\n for (; len >= 32; len -= 32) {\n assembly {\n mstore(dest, mload(src))\n }\n dest += 32;\n src += 32;\n }\n\n // Copy remaining bytes\n uint mask = 256 ** (32 - len) - 1;\n assembly {\n let srcpart := and(mload(src), not(mask))\n let destpart := and(mload(dest), mask)\n mstore(dest, or(destpart, srcpart))\n }\n\n return buf;\n }\n\n /**\n * @dev Appends a byte string to a buffer. Resizes if doing so would exceed\n * the capacity of the buffer.\n * @param buf The buffer to append to.\n * @param data The data to append.\n * @param len The number of bytes to copy.\n * @return The original buffer, for chaining.\n */\n function append(buffer memory buf, bytes memory data, uint len) internal pure returns (buffer memory) {\n return write(buf, buf.buf.length, data, len);\n }\n\n /**\n * @dev Appends a byte string to a buffer. Resizes if doing so would exceed\n * the capacity of the buffer.\n * @param buf The buffer to append to.\n * @param data The data to append.\n * @return The original buffer, for chaining.\n */\n function append(buffer memory buf, bytes memory data) internal pure returns (buffer memory) {\n return write(buf, buf.buf.length, data, data.length);\n }\n\n /**\n * @dev Writes a byte to the buffer. Resizes if doing so would exceed the\n * capacity of the buffer.\n * @param buf The buffer to append to.\n * @param off The offset to write the byte at.\n * @param data The data to append.\n * @return The original buffer, for chaining.\n */\n function writeUint8(buffer memory buf, uint off, uint8 data) internal pure returns(buffer memory) {\n if (off >= buf.capacity) {\n resize(buf, buf.capacity * 2);\n }\n\n assembly {\n // Memory address of the buffer data\n let bufptr := mload(buf)\n // Length of existing buffer data\n let buflen := mload(bufptr)\n // Address = buffer address + sizeof(buffer length) + off\n let dest := add(add(bufptr, off), 32)\n mstore8(dest, data)\n // Update buffer length if we extended it\n if eq(off, buflen) {\n mstore(bufptr, add(buflen, 1))\n }\n }\n return buf;\n }\n\n /**\n * @dev Appends a byte to the buffer. Resizes if doing so would exceed the\n * capacity of the buffer.\n * @param buf The buffer to append to.\n * @param data The data to append.\n * @return The original buffer, for chaining.\n */\n function appendUint8(buffer memory buf, uint8 data) internal pure returns(buffer memory) {\n return writeUint8(buf, buf.buf.length, data);\n }\n\n /**\n * @dev Writes up to 32 bytes to the buffer. Resizes if doing so would\n * exceed the capacity of the buffer.\n * @param buf The buffer to append to.\n * @param off The offset to write at.\n * @param data The data to append.\n * @param len The number of bytes to write (left-aligned).\n * @return The original buffer, for chaining.\n */\n function write(buffer memory buf, uint off, bytes32 data, uint len) private pure returns(buffer memory) {\n if (len + off > buf.capacity) {\n resize(buf, (len + off) * 2);\n }\n\n uint mask = 256 ** len - 1;\n // Right-align data\n data = data >> (8 * (32 - len));\n assembly {\n // Memory address of the buffer data\n let bufptr := mload(buf)\n // Address = buffer address + sizeof(buffer length) + off + len\n let dest := add(add(bufptr, off), len)\n mstore(dest, or(and(mload(dest), not(mask)), data))\n // Update buffer length if we extended it\n if gt(add(off, len), mload(bufptr)) {\n mstore(bufptr, add(off, len))\n }\n }\n return buf;\n }\n\n /**\n * @dev Writes a bytes20 to the buffer. Resizes if doing so would exceed the\n * capacity of the buffer.\n * @param buf The buffer to append to.\n * @param off The offset to write at.\n * @param data The data to append.\n * @return The original buffer, for chaining.\n */\n function writeBytes20(buffer memory buf, uint off, bytes20 data) internal pure returns (buffer memory) {\n return write(buf, off, bytes32(data), 20);\n }\n\n /**\n * @dev Appends a bytes20 to the buffer. Resizes if doing so would exceed\n * the capacity of the buffer.\n * @param buf The buffer to append to.\n * @param data The data to append.\n * @return The original buffer, for chhaining.\n */\n function appendBytes20(buffer memory buf, bytes20 data) internal pure returns (buffer memory) {\n return write(buf, buf.buf.length, bytes32(data), 20);\n }\n\n /**\n * @dev Appends a bytes32 to the buffer. Resizes if doing so would exceed\n * the capacity of the buffer.\n * @param buf The buffer to append to.\n * @param data The data to append.\n * @return The original buffer, for chaining.\n */\n function appendBytes32(buffer memory buf, bytes32 data) internal pure returns (buffer memory) {\n return write(buf, buf.buf.length, data, 32);\n }\n\n /**\n * @dev Writes an integer to the buffer. Resizes if doing so would exceed\n * the capacity of the buffer.\n * @param buf The buffer to append to.\n * @param off The offset to write at.\n * @param data The data to append.\n * @param len The number of bytes to write (right-aligned).\n * @return The original buffer, for chaining.\n */\n function writeInt(buffer memory buf, uint off, uint data, uint len) private pure returns(buffer memory) {\n if (len + off > buf.capacity) {\n resize(buf, (len + off) * 2);\n }\n\n uint mask = 256 ** len - 1;\n assembly {\n // Memory address of the buffer data\n let bufptr := mload(buf)\n // Address = buffer address + off + sizeof(buffer length) + len\n let dest := add(add(bufptr, off), len)\n mstore(dest, or(and(mload(dest), not(mask)), data))\n // Update buffer length if we extended it\n if gt(add(off, len), mload(bufptr)) {\n mstore(bufptr, add(off, len))\n }\n }\n return buf;\n }\n\n /**\n * @dev Appends a byte to the end of the buffer. Resizes if doing so would\n * exceed the capacity of the buffer.\n * @param buf The buffer to append to.\n * @param data The data to append.\n * @return The original buffer.\n */\n function appendInt(buffer memory buf, uint data, uint len) internal pure returns(buffer memory) {\n return writeInt(buf, buf.buf.length, data, len);\n }\n}\n" }, "contracts/messengers/staking-efficiency/SEMessenger.sol": { - "content": "pragma solidity 0.6.6;\n\npragma experimental ABIEncoderV2;\n\nimport '@chainlink/contracts/src/v0.6/ChainlinkClient.sol';\n\nimport '@stacktical/dsla-protocol/contracts/messenger/IMessenger.sol';\nimport '@stacktical/dsla-protocol/contracts/SLA.sol';\nimport '@stacktical/dsla-protocol/contracts/PeriodRegistry.sol';\nimport '@stacktical/dsla-protocol/contracts/StringUtils.sol';\nimport '@stacktical/dsla-protocol/contracts/StakeRegistry.sol';\n\nimport '@openzeppelin/contracts/token/ERC20/ERC20.sol';\nimport '@openzeppelin/contracts/token/ERC20/SafeERC20.sol';\n\n/**\n * @title SEMessenger\n * @dev Staking efficiency Messenger\n */\n\ncontract SEMessenger is ChainlinkClient, IMessenger, ReentrancyGuard {\n using SafeERC20 for ERC20;\n\n /// @dev Mapping that stores chainlink sli request information\n mapping(bytes32 => SLIRequest) public requestIdToSLIRequest;\n /// @dev Array with all request IDs\n bytes32[] public requests;\n /// @dev The address of the SLARegistry contract\n address private _slaRegistryAddress;\n /// @dev Chainlink oracle address\n address private immutable _oracle;\n /// @dev chainlink jobId\n bytes32 private _jobId;\n // @dev fee for Chainlink querys. Currently 0.1 LINK\n uint256 private constant _baseFee = 0.1 ether;\n /// @dev fee for Chainlink querys. Currently 0.1 LINK\n uint256 private _fee;\n /// @dev to multiply the SLI value and get better precision. Useful to deploy SLO correctly\n uint256 private constant _messengerPrecision = 10**3;\n\n uint256 private _requestsCounter;\n uint256 private _fulfillsCounter;\n PeriodRegistry private periodRegistry;\n StakeRegistry private stakeRegistry;\n bool private retry = false;\n\n /**\n * @dev parameterize the variables according to network\n * @notice sets the Chainlink parameters (oracle address, token address, jobId) and sets the SLARegistry to 0x0 address\n * @param _messengerChainlinkOracle 1. the address of the oracle to create requests to\n * @param _messengerChainlinkToken 2. the address of LINK token contract\n * @param _messengerJobId 3. the job id for Staking efficiency job\n * @param _feeMultiplier 6. states the amount of paid nodes running behind the precoordinator, to set the fee\n */\n constructor(\n address _messengerChainlinkOracle,\n address _messengerChainlinkToken,\n bytes32 _messengerJobId,\n uint256 _feeMultiplier,\n PeriodRegistry _periodRegistry,\n StakeRegistry _stakeRegistry\n ) public {\n _jobId = _messengerJobId;\n setChainlinkToken(_messengerChainlinkToken);\n _oracle = _messengerChainlinkOracle;\n _fee = _feeMultiplier * _baseFee;\n periodRegistry = _periodRegistry;\n stakeRegistry = _stakeRegistry;\n }\n\n /**\n * @dev event emitted when modifying the jobId\n * @param owner 1. -\n * @param jobId 2. -\n * @param fee 3. -\n */\n event JobIdModified(address indexed owner, bytes32 jobId, uint256 fee);\n\n /**\n * @dev event emitted when modifying the jobId\n * @param caller 1. -\n * @param requestsCounter 2. -\n * @param requestId 3. -\n */\n event SLIRequested(\n address indexed caller,\n uint256 requestsCounter,\n bytes32 requestId\n );\n\n /// @dev Throws if called by any address other than the SLARegistry contract or Chainlink Oracle.\n modifier onlySLARegistry() {\n if (!retry) {\n require(\n msg.sender == _slaRegistryAddress,\n 'Can only be called by SLARegistry'\n );\n }\n _;\n }\n\n modifier retryLock() {\n retry = true;\n _;\n retry = false;\n }\n\n /**\n * @dev sets the SLARegistry contract address and can only be called\n * once\n */\n function setSLARegistry() public override {\n // Only able to trigger this function once\n require(\n _slaRegistryAddress == address(0),\n 'SLARegistry address has already been set'\n );\n\n _slaRegistryAddress = msg.sender;\n }\n\n /**\n * @dev creates a ChainLink request to get a new SLI value for the\n * given params. Can only be called by the SLARegistry contract or Chainlink Oracle.\n * @param _periodId 1. value of the period id\n * @param _slaAddress 2. SLA Address\n * @param _messengerOwnerApproval 3. if approval by owner or msg sender\n */\n function requestSLI(\n uint256 _periodId,\n address _slaAddress,\n bool _messengerOwnerApproval,\n address _callerAddress\n ) public override onlySLARegistry nonReentrant {\n SLA sla = SLA(_slaAddress);\n if (_messengerOwnerApproval) {\n ERC20(chainlinkTokenAddress()).safeTransferFrom(\n owner(),\n address(this),\n _fee\n );\n } else {\n ERC20(chainlinkTokenAddress()).safeTransferFrom(\n _callerAddress,\n address(this),\n _fee\n );\n }\n Chainlink.Request memory request =\n buildChainlinkRequest(\n _jobId,\n address(this),\n this.fulfillSLI.selector\n );\n (uint256 sla_monitoring_start, uint256 sla_monitoring_end) =\n periodRegistry.getPeriodStartAndEnd(sla.periodType(), _periodId);\n request.add('job_type', 'staking_efficiency');\n request.add(\n 'sla_monitoring_start',\n StringUtils.uintToStr(sla_monitoring_start)\n );\n request.add(\n 'sla_monitoring_end',\n StringUtils.uintToStr(sla_monitoring_end)\n );\n request.add('sla_address', StringUtils.addressToString(_slaAddress));\n\n // Sends the request with 0.1 LINK to the oracle contract\n bytes32 requestId = sendChainlinkRequestTo(_oracle, request, _fee);\n\n requests.push(requestId);\n\n requestIdToSLIRequest[requestId] = SLIRequest({\n slaAddress: _slaAddress,\n periodId: _periodId\n });\n\n _requestsCounter += 1;\n emit SLIRequested(_callerAddress, _requestsCounter, requestId);\n }\n\n /**\n * @dev callback function for the Chainlink SLI request which stores\n * the SLI in the SLA contract\n * @param _requestId the ID of the ChainLink request\n * @param _chainlinkResponseUint256 response object from Chainlink Oracles\n */\n function fulfillSLI(bytes32 _requestId, uint256 _chainlinkResponseUint256)\n external\n override\n nonReentrant\n recordChainlinkFulfillment(_requestId)\n {\n bytes32 _chainlinkResponse = bytes32(_chainlinkResponseUint256);\n SLIRequest memory request = requestIdToSLIRequest[_requestId];\n emit SLIReceived(\n request.slaAddress,\n request.periodId,\n _requestId,\n _chainlinkResponse\n );\n (uint256 hits, uint256 misses) = parseSLIData(_chainlinkResponse);\n uint256 total = hits.add(misses);\n uint256 stakingEfficiency =\n hits.mul(100 * _messengerPrecision).div(total);\n SLA(request.slaAddress).registerSLI(\n stakingEfficiency,\n request.periodId\n );\n\n _fulfillsCounter += 1;\n }\n\n /**\n * @dev recieves a string of \"hits,misses\" data and returns hits and misses as uint256\n * @param sliData the ID of the ChainLink request\n */\n function parseSLIData(bytes32 sliData)\n public\n pure\n returns (uint256, uint256)\n {\n bytes memory bytesSLIData = bytes(StringUtils.bytes32ToStr(sliData));\n uint256 sliDataLength = bytesSLIData.length;\n bytes memory bytesHits = new bytes(sliDataLength);\n bytes memory bytesMisses = new bytes(sliDataLength);\n for (uint256 index; index < sliDataLength; index++) {\n if (bytesSLIData[index] == bytes1(',')) {\n for (uint256 index2 = 0; index2 < index; index2++) {\n bytesHits[index2] = bytesSLIData[index2];\n }\n for (\n uint256 index3 = 0;\n index3 < sliDataLength - index - 1;\n index3++\n ) {\n bytesMisses[index3] = bytesSLIData[index + 1 + index3];\n }\n }\n }\n uint256 hits = StringUtils.bytesToUint(bytesHits);\n uint256 misses = StringUtils.bytesToUint(bytesMisses);\n return (hits, misses);\n }\n\n function retryRequest(address _slaAddress, uint256 _periodId)\n external\n override\n retryLock\n {\n require(\n stakeRegistry.periodIsVerified(_slaAddress, _periodId),\n 'StakeRegistry: not verified'\n );\n SLA sla = SLA(_slaAddress);\n (, , SLA.Status status) = sla.periodSLIs(_periodId);\n require(status == SLA.Status.NotVerified, 'SLA: verified');\n requestSLI(_periodId, _slaAddress, false, msg.sender);\n }\n\n /**\n * @dev sets a new jobId, which is a agreement Id of a PreCoordinator contract\n * @param _newJobId the id of the PreCoordinator agreement\n * @param _feeMultiplier how many Chainlink nodes would be paid on the agreement id, to set the fee value\n */\n function setChainlinkJobID(bytes32 _newJobId, uint256 _feeMultiplier)\n external\n override\n onlyOwner\n {\n _jobId = _newJobId;\n _fee = _feeMultiplier * _baseFee;\n emit JobIdModified(msg.sender, _newJobId, _fee);\n }\n\n /**\n * @dev returns the value of the sla registry address\n */\n function slaRegistryAddress() external view override returns (address) {\n return _slaRegistryAddress;\n }\n\n /**\n * @dev returns the value of the messenger precision\n */\n function messengerPrecision() external view override returns (uint256) {\n return _messengerPrecision;\n }\n\n /**\n * @dev returns the chainlink oracle contract address\n */\n function oracle() external view override returns (address) {\n return _oracle;\n }\n\n /**\n * @dev returns the chainlink job id\n */\n function jobId() external view override returns (bytes32) {\n return _jobId;\n }\n\n /**\n * @dev returns the chainlink fee value on LINK tokens\n */\n function fee() external view override returns (uint256) {\n return _fee;\n }\n\n /**\n * @dev returns the requestsCounter\n */\n function requestsCounter() external view override returns (uint256) {\n return _requestsCounter;\n }\n\n /**\n * @dev returns the fulfillsCounter\n */\n function fulfillsCounter() external view override returns (uint256) {\n return _fulfillsCounter;\n }\n}\n" + "content": "pragma solidity 0.6.6;\n\npragma experimental ABIEncoderV2;\n\nimport '@chainlink/contracts/src/v0.6/ChainlinkClient.sol';\n\nimport '@stacktical/dsla-protocol/contracts/messenger/IMessenger.sol';\nimport '@stacktical/dsla-protocol/contracts/SLA.sol';\nimport '@stacktical/dsla-protocol/contracts/PeriodRegistry.sol';\nimport '@stacktical/dsla-protocol/contracts/StringUtils.sol';\nimport '@stacktical/dsla-protocol/contracts/StakeRegistry.sol';\n\nimport '@openzeppelin/contracts/token/ERC20/ERC20.sol';\nimport '@openzeppelin/contracts/token/ERC20/SafeERC20.sol';\n\n/**\n * @title SEMessenger\n * @dev Staking efficiency Messenger\n */\n\ncontract SEMessenger is ChainlinkClient, IMessenger, ReentrancyGuard {\n using SafeERC20 for ERC20;\n\n /// @dev Mapping that stores chainlink sli request information\n mapping(bytes32 => SLIRequest) public requestIdToSLIRequest;\n /// @dev Array with all request IDs\n bytes32[] public requests;\n /// @dev The address of the SLARegistry contract\n address private _slaRegistryAddress;\n /// @dev Chainlink oracle address\n address private immutable _oracle;\n /// @dev chainlink jobId\n bytes32 private _jobId;\n // @dev fee for Chainlink querys. Currently 0.1 LINK\n uint256 private constant _baseFee = 0.1 ether;\n /// @dev fee for Chainlink querys. Currently 0.1 LINK\n uint256 private _fee;\n /// @dev to multiply the SLI value and get better precision. Useful to deploy SLO correctly\n uint256 private constant _messengerPrecision = 10**3;\n\n uint256 private _requestsCounter;\n uint256 private _fulfillsCounter;\n PeriodRegistry private periodRegistry;\n StakeRegistry private stakeRegistry;\n bool private retry = false;\n\n /**\n * @dev parameterize the variables according to network\n * @notice sets the Chainlink parameters (oracle address, token address, jobId) and sets the SLARegistry to 0x0 address\n * @param _messengerChainlinkOracle 1. the address of the oracle to create requests to\n * @param _messengerChainlinkToken 2. the address of LINK token contract\n * @param _messengerJobId 3. the job id for Staking efficiency job\n * @param _feeMultiplier 6. states the amount of paid nodes running behind the precoordinator, to set the fee\n */\n constructor(\n address _messengerChainlinkOracle,\n address _messengerChainlinkToken,\n bytes32 _messengerJobId,\n uint256 _feeMultiplier,\n PeriodRegistry _periodRegistry,\n StakeRegistry _stakeRegistry\n ) public {\n _jobId = _messengerJobId;\n setChainlinkToken(_messengerChainlinkToken);\n _oracle = _messengerChainlinkOracle;\n _fee = _feeMultiplier * _baseFee;\n periodRegistry = _periodRegistry;\n stakeRegistry = _stakeRegistry;\n }\n\n /**\n * @dev event emitted when modifying the jobId\n * @param owner 1. -\n * @param jobId 2. -\n * @param fee 3. -\n */\n event JobIdModified(address indexed owner, bytes32 jobId, uint256 fee);\n\n /**\n * @dev event emitted when modifying the jobId\n * @param caller 1. -\n * @param requestsCounter 2. -\n * @param requestId 3. -\n */\n event SLIRequested(\n address indexed caller,\n uint256 requestsCounter,\n bytes32 requestId\n );\n\n /// @dev Throws if called by any address other than the SLARegistry contract or Chainlink Oracle.\n modifier onlySLARegistry() {\n if (!retry) {\n require(\n msg.sender == _slaRegistryAddress,\n 'Can only be called by SLARegistry'\n );\n }\n _;\n }\n\n modifier retryLock() {\n retry = true;\n _;\n retry = false;\n }\n\n /**\n * @dev sets the SLARegistry contract address and can only be called\n * once\n */\n function setSLARegistry() public override {\n // Only able to trigger this function once\n require(\n _slaRegistryAddress == address(0),\n 'SLARegistry address has already been set'\n );\n\n _slaRegistryAddress = msg.sender;\n }\n\n /**\n * @dev creates a ChainLink request to get a new SLI value for the\n * given params. Can only be called by the SLARegistry contract or Chainlink Oracle.\n * @param _periodId 1. value of the period id\n * @param _slaAddress 2. SLA Address\n * @param _messengerOwnerApproval 3. if approval by owner or msg sender\n */\n function requestSLI(\n uint256 _periodId,\n address _slaAddress,\n bool _messengerOwnerApproval,\n address _callerAddress\n ) public override onlySLARegistry nonReentrant {\n SLA sla = SLA(_slaAddress);\n if (_messengerOwnerApproval) {\n ERC20(chainlinkTokenAddress()).safeTransferFrom(\n owner(),\n address(this),\n _fee\n );\n } else {\n ERC20(chainlinkTokenAddress()).safeTransferFrom(\n _callerAddress,\n address(this),\n _fee\n );\n }\n Chainlink.Request memory request = buildChainlinkRequest(\n _jobId,\n address(this),\n this.fulfillSLI.selector\n );\n (\n uint256 sla_monitoring_start,\n uint256 sla_monitoring_end\n ) = periodRegistry.getPeriodStartAndEnd(sla.periodType(), _periodId);\n request.add(\n 'sla_monitoring_start',\n StringUtils.uintToStr(sla_monitoring_start)\n );\n request.add(\n 'sla_monitoring_end',\n StringUtils.uintToStr(sla_monitoring_end)\n );\n request.add('sla_address', StringUtils.addressToString(_slaAddress));\n\n // Sends the request with 0.1 LINK to the oracle contract\n bytes32 requestId = sendChainlinkRequestTo(_oracle, request, _fee);\n\n requests.push(requestId);\n\n requestIdToSLIRequest[requestId] = SLIRequest({\n slaAddress: _slaAddress,\n periodId: _periodId\n });\n\n _requestsCounter += 1;\n emit SLIRequested(_callerAddress, _requestsCounter, requestId);\n }\n\n /**\n * @dev callback function for the Chainlink SLI request which stores\n * the SLI in the SLA contract\n * @param _requestId the ID of the ChainLink request\n * @param _chainlinkResponse response object from Chainlink Oracles\n */\n function fulfillSLI(bytes32 _requestId, uint256 _chainlinkResponse)\n external\n override\n nonReentrant\n recordChainlinkFulfillment(_requestId)\n {\n SLIRequest memory request = requestIdToSLIRequest[_requestId];\n emit SLIReceived(\n request.slaAddress,\n request.periodId,\n _requestId,\n bytes32(_chainlinkResponse)\n );\n _fulfillsCounter += 1;\n SLA(request.slaAddress).registerSLI(\n _chainlinkResponse,\n request.periodId\n );\n }\n\n function retryRequest(address _slaAddress, uint256 _periodId)\n external\n override\n retryLock\n {\n require(\n stakeRegistry.periodIsVerified(_slaAddress, _periodId),\n 'StakeRegistry: not verified'\n );\n SLA sla = SLA(_slaAddress);\n (, , SLA.Status status) = sla.periodSLIs(_periodId);\n require(status == SLA.Status.NotVerified, 'SLA: verified');\n requestSLI(_periodId, _slaAddress, false, msg.sender);\n }\n\n /**\n * @dev sets a new jobId, which is a agreement Id of a PreCoordinator contract\n * @param _newJobId the id of the PreCoordinator agreement\n * @param _feeMultiplier how many Chainlink nodes would be paid on the agreement id, to set the fee value\n */\n function setChainlinkJobID(bytes32 _newJobId, uint256 _feeMultiplier)\n external\n override\n onlyOwner\n {\n _jobId = _newJobId;\n _fee = _feeMultiplier * _baseFee;\n emit JobIdModified(msg.sender, _newJobId, _fee);\n }\n\n /**\n * @dev returns the value of the sla registry address\n */\n function slaRegistryAddress() external view override returns (address) {\n return _slaRegistryAddress;\n }\n\n /**\n * @dev returns the value of the messenger precision\n */\n function messengerPrecision() external view override returns (uint256) {\n return _messengerPrecision;\n }\n\n /**\n * @dev returns the chainlink oracle contract address\n */\n function oracle() external view override returns (address) {\n return _oracle;\n }\n\n /**\n * @dev returns the chainlink job id\n */\n function jobId() external view override returns (bytes32) {\n return _jobId;\n }\n\n /**\n * @dev returns the chainlink fee value on LINK tokens\n */\n function fee() external view override returns (uint256) {\n return _fee;\n }\n\n /**\n * @dev returns the requestsCounter\n */\n function requestsCounter() external view override returns (uint256) {\n return _requestsCounter;\n }\n\n /**\n * @dev returns the fulfillsCounter\n */\n function fulfillsCounter() external view override returns (uint256) {\n return _fulfillsCounter;\n }\n}\n" }, "@stacktical/dsla-protocol/contracts/messenger/IMessenger.sol": { "content": "pragma solidity 0.6.6;\n\nimport '@openzeppelin/contracts/access/Ownable.sol';\n\n/**\n * @title IMessenger\n * @dev Interface to create new Messenger contract to add lo Messenger lists\n */\n\nabstract contract IMessenger is Ownable {\n struct SLIRequest {\n address slaAddress;\n uint256 periodId;\n }\n\n /**\n * @dev event emitted when having a response from Chainlink with the SLI\n * @param slaAddress 1. SLA address to store the SLI\n * @param periodId 2. id of the Chainlink request\n * @param requestId 3. id of the Chainlink request\n * @param chainlinkResponse 4. response from Chainlink\n */\n event SLIReceived(\n address indexed slaAddress,\n uint256 periodId,\n bytes32 indexed requestId,\n bytes32 chainlinkResponse\n );\n\n /**\n * @dev sets the SLARegistry contract address and can only be called once\n */\n function setSLARegistry() external virtual;\n\n /**\n * @dev creates a ChainLink request to get a new SLI value for the\n * given params. Can only be called by the SLARegistry contract or Chainlink Oracle.\n * @param _periodId 1. id of the period to be queried\n * @param _slaAddress 2. address of the receiver SLA\n * @param _slaAddress 2. if approval by owner or msg.sender\n */\n\n function requestSLI(\n uint256 _periodId,\n address _slaAddress,\n bool _ownerApproval,\n address _callerAddress\n ) external virtual;\n\n /**\n * @dev callback function for the Chainlink SLI request which stores\n * the SLI in the SLA contract\n * @param _requestId the ID of the ChainLink request\n * @param _chainlinkResponseUint256 response object from Chainlink Oracles\n */\n function fulfillSLI(bytes32 _requestId, uint256 _chainlinkResponseUint256)\n external\n virtual;\n\n /**\n * @dev gets the messenger precision\n */\n function messengerPrecision() external view virtual returns (uint256);\n\n /**\n * @dev gets the slaRegistryAddress\n */\n function slaRegistryAddress() external view virtual returns (address);\n\n /**\n * @dev gets the chainlink oracle contract address\n */\n function oracle() external view virtual returns (address);\n\n /**\n * @dev gets the chainlink job id\n */\n function jobId() external view virtual returns (bytes32);\n\n /**\n * @dev gets the fee amount of LINK token\n */\n function fee() external view virtual returns (uint256);\n\n /**\n * @dev returns the requestsCounter\n */\n function requestsCounter() external view virtual returns (uint256);\n\n /**\n * @dev returns the fulfillsCounter\n */\n function fulfillsCounter() external view virtual returns (uint256);\n\n function setChainlinkJobID(bytes32 _newJobId, uint256 _feeMultiplier)\n external\n virtual;\n\n function retryRequest(address _slaAddress, uint256 _periodId)\n external\n virtual;\n}\n" @@ -13389,7 +13389,7 @@ }, { "internalType": "uint256", - "name": "_chainlinkResponseUint256", + "name": "_chainlinkResponse", "type": "uint256" } ], @@ -13463,30 +13463,6 @@ "stateMutability": "view", "type": "function" }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "sliData", - "type": "bytes32" - } - ], - "name": "parseSLIData", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, { "inputs": [], "name": "renounceOwnership", @@ -13666,7 +13642,7 @@ "fulfillSLI(bytes32,uint256)": { "details": "callback function for the Chainlink SLI request which stores the SLI in the SLA contract", "params": { - "_chainlinkResponseUint256": "response object from Chainlink Oracles", + "_chainlinkResponse": "response object from Chainlink Oracles", "_requestId": "the ID of the ChainLink request" } }, @@ -13685,12 +13661,6 @@ "owner()": { "details": "Returns the address of the current owner." }, - "parseSLIData(bytes32)": { - "details": "recieves a string of \"hits,misses\" data and returns hits and misses as uint256", - "params": { - "sliData": "the ID of the ChainLink request" - } - }, "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." }, @@ -13731,45 +13701,33 @@ "StringUtils": [ { "length": 20, - "start": 1098 - }, - { - "length": 20, - "start": 1635 - }, - { - "length": 20, - "start": 1761 - }, - { - "length": 20, - "start": 2928 + "start": 1959 }, { "length": 20, - "start": 3125 + "start": 2169 }, { "length": 20, - "start": 3217 + "start": 2261 } ] } }, - "object": "60a060405260016004556010805460ff60a01b191690553480156200002357600080fd5b50604051620022ea380380620022ea833981016040819052620000469162000147565b60006200005b6001600160e01b036200012116565b600680546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600755600b849055620000c7856001600160e01b036200012516565b60609590951b6001600160601b03191660805267016345785d8a000091909102600c55600f80546001600160a01b03199081166001600160a01b039384161790915560108054909116919094161790925550620001dc9050565b3390565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60008060008060008060c0878903121562000160578182fd5b86516200016d81620001c3565b60208801519096506200018081620001c3565b8095505060408701519350606087015192506080870151620001a281620001c3565b60a0880151909250620001b581620001c3565b809150509295509295509295565b6001600160a01b0381168114620001d957600080fd5b50565b60805160601c6120eb620001ff600039806106b25280610ac152506120eb6000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c8063a50c5425116100a2578063c9b0cb2211610071578063c9b0cb2214610206578063ddca3f431461020e578063e450f06114610216578063f2fde38b14610229578063f38815891461023c57610116565b8063a50c5425146101c2578063ae401eb9146101ca578063bc0bfc00146101eb578063c2939d97146101fe57610116565b8063715018a6116100e9578063715018a6146101845780637dc0d1d01461018c57806381d12c58146101945780638da5cb5b146101a757806397a82192146101af57610116565b806304e4fc011461011b578063292733bf14610145578063663c22691461015a5780636e71890d1461016f575b600080fd5b61012e610129366004611979565b610244565b60405161013c929190611c90565b60405180910390f35b610158610153366004611991565b610577565b005b610162610612565b60405161013c9190611c87565b610177610618565b60405161013c9190611b9e565b610158610627565b6101776106b0565b6101626101a2366004611979565b6106d4565b6101776106f2565b6101586101bd366004611a84565b610701565b610162610bba565b6101dd6101d8366004611979565b610bc0565b60405161013c929190611bd6565b6101586101f9366004611991565b610be5565b610162610dcd565b610162610dd3565b610162610dd9565b610158610224366004611933565b610ddf565b610158610237366004611918565b610f66565b610158611027565b600080606073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__63ef0b2368856040518263ffffffff1660e01b81526004016102809190611c87565b60006040518083038186803b15801561029857600080fd5b505af41580156102ac573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102d491908101906119d1565b805190915060608167ffffffffffffffff811180156102f257600080fd5b506040519080825280601f01601f19166020018201604052801561031d576020820181803683370190505b50905060608267ffffffffffffffff8111801561033957600080fd5b506040519080825280601f01601f191660200182016040528015610364576020820181803683370190505b50905060005b8381101561045157600b60fa1b6001600160f81b03191685828151811061038d57fe5b01602001516001600160f81b03191614156104495760005b818110156103ef578581815181106103b957fe5b602001015160f81c60f81b8482815181106103d057fe5b60200101906001600160f81b031916908160001a9053506001016103a5565b5060005b60018286030381101561044757858183600101018151811061041157fe5b602001015160f81c60f81b83828151811061042857fe5b60200101906001600160f81b031916908160001a9053506001016103f3565b505b60010161036a565b506040516302d06d0560e01b815260009073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__906302d06d059061048c908690600401611c9e565b60206040518083038186803b1580156104a457600080fd5b505af41580156104b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dc9190611a6c565b9050600073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__6302d06d05846040518263ffffffff1660e01b81526004016105179190611c9e565b60206040518083038186803b15801561052f57600080fd5b505af4158015610543573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105679190611a6c565b9197509095505050505050915091565b61057f611064565b6001600160a01b03166105906106f2565b6001600160a01b0316146105bf5760405162461bcd60e51b81526004016105b690611f2e565b60405180910390fd5b600b82905567016345785d8a00008102600c81905560405133917f8e7e22d2820965fa1a8fa3ad76db76127e2f1baaf65f50c4e267f28b2254f7cb91610606918691611c90565b60405180910390a25050565b600d5490565b600a546001600160a01b031690565b61062f611064565b6001600160a01b03166106406106f2565b6001600160a01b0316146106665760405162461bcd60e51b81526004016105b690611f2e565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b7f000000000000000000000000000000000000000000000000000000000000000090565b600981815481106106e157fe5b600091825260209091200154905081565b6006546001600160a01b031690565b601054600160a01b900460ff1661073c57600a546001600160a01b0316331461073c5760405162461bcd60e51b81526004016105b690611eac565b6002600754141561075f5760405162461bcd60e51b81526004016105b69061202c565b600260075582821561079e576107996107766106f2565b30600c54610782611068565b6001600160a01b031692919063ffffffff61107716565b6107ae565b6107ae8230600c54610782611068565b6107b661189b565b600b546107ca9030622f02ff60ea1b6110d5565b9050600080600f60009054906101000a90046001600160a01b03166001600160a01b031663ffa61235856001600160a01b03166346e0fbae6040518163ffffffff1660e01b815260040160206040518083038186803b15801561082c57600080fd5b505afa158015610840573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086491906119b2565b8a6040518363ffffffff1660e01b8152600401610882929190611cb1565b604080518083038186803b15801561089957600080fd5b505afa1580156108ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d19190611ad6565b91509150610934604051806040016040528060088152602001676a6f625f7479706560c01b815250604051806040016040528060128152602001717374616b696e675f656666696369656e637960701b815250856111029092919063ffffffff16565b60408051808201825260148152731cdb1857db5bdb9a5d1bdc9a5b99d7dcdd185c9d60621b6020820152905163fc966d4560e01b81526109fb919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__9063fc966d4590610999908790600401611c87565b60006040518083038186803b1580156109b157600080fd5b505af41580156109c5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109ed91908101906119d1565b85919063ffffffff61110216565b60408051808201825260128152711cdb1857db5bdb9a5d1bdc9a5b99d7d95b9960721b6020820152905163fc966d4560e01b8152610a5e919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__9063fc966d4590610999908690600401611c87565b604080518082018252600b81526a736c615f6164647265737360a81b60208201529051635e57966d60e01b8152610aba919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__90635e57966d90610999908c90600401611b9e565b6000610ae97f000000000000000000000000000000000000000000000000000000000000000085600c54611131565b6009805460018082019092557f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af018290556040805180820182526001600160a01b038c8116825260208083018f81526000878152600890925290849020925183546001600160a01b0319169083161783555191840191909155600d80549093019283905590519293508816917feab5eb77e722078f3fab7eb6a77c74f7001181e1e3a74d51b7b5747ee1b31cb991610ba2918590611c90565b60405180910390a25050600160075550505050505050565b600e5490565b600860205260009081526040902080546001909101546001600160a01b039091169082565b60026007541415610c085760405162461bcd60e51b81526004016105b69061202c565b600260075560008281526005602052604090205482906001600160a01b03163314610c455760405162461bcd60e51b81526004016105b690611f9a565b60008181526005602052604080822080546001600160a01b03191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a281610c916118d0565b506000848152600860209081526040918290208251808401845281546001600160a01b0316808252600190920154928101839052925187927f56514ef6e1ffd0f970ebf32dc181e476384e6e53a8351719040b4030318a933b91610cf791908790611c90565b60405180910390a3600080610d0b84610244565b90925090506000610d22838363ffffffff61127016565b90506000610d4982610d3d86620186a063ffffffff61129e16565b9063ffffffff6112d816565b85516020870151604051636bd2e21160e11b81529293506001600160a01b039091169163d7a5c42291610d8191859190600401611c90565b600060405180830381600087803b158015610d9b57600080fd5b505af1158015610daf573d6000803e3d6000fd5b5050600e805460019081019091556007555050505050505050505050565b600b5490565b6103e890565b600c5490565b6010805460ff60a01b1916600160a01b179081905560405163ab9a81a560e01b81526001600160a01b039091169063ab9a81a590610e239085908590600401611bd6565b60206040518083038186803b158015610e3b57600080fd5b505afa158015610e4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e73919061195d565b610e8f5760405162461bcd60e51b81526004016105b690611d89565b6040516320c876ef60e11b815282906000906001600160a01b03831690634190edde90610ec0908690600401611c87565b60606040518083038186803b158015610ed857600080fd5b505afa158015610eec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f109190611af9565b925060009150610f1d9050565b816002811115610f2957fe5b14610f465760405162461bcd60e51b81526004016105b690611dc0565b610f538385600033610701565b50506010805460ff60a01b191690555050565b610f6e611064565b6001600160a01b0316610f7f6106f2565b6001600160a01b031614610fa55760405162461bcd60e51b81526004016105b690611f2e565b6001600160a01b038116610fcb5760405162461bcd60e51b81526004016105b690611cc9565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b0316156110505760405162461bcd60e51b81526004016105b690611e64565b600a80546001600160a01b03191633179055565b3390565b6002546001600160a01b031690565b6110cf846323b872dd60e01b85858560405160240161109893929190611bb2565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261130d565b50505050565b6110dd61189b565b6110e561189b565b6110f78186868663ffffffff61139c16565b9150505b9392505050565b6080830151611117908363ffffffff6113d916565b608083015161112c908263ffffffff6113d916565b505050565b600030600454604051602001611148929190611b7c565b60408051808303601f19018152918152815160209283012060045460608701526000818152600590935281832080546001600160a01b0319166001600160a01b038916179055905190925082917fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af991a26002546001600160a01b0316634000aea085846111d4876113f6565b6040518463ffffffff1660e01b81526004016111f293929190611c57565b602060405180830381600087803b15801561120c57600080fd5b505af1158015611220573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611244919061195d565b6112605760405162461bcd60e51b81526004016105b690611d46565b6004805460010190559392505050565b6000828201838110156112955760405162461bcd60e51b81526004016105b690611d0f565b90505b92915050565b6000826112ad57506000611298565b828202828482816112ba57fe5b04146112955760405162461bcd60e51b81526004016105b690611eed565b60008082116112f95760405162461bcd60e51b81526004016105b690611e2d565b600082848161130457fe5b04949350505050565b6060611362826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114729092919063ffffffff16565b80519091501561112c5780806020019051810190611380919061195d565b61112c5760405162461bcd60e51b81526004016105b690611fe2565b6113a461189b565b6113b48560800151610100611489565b50509183526001600160a01b031660208301526001600160e01b031916604082015290565b6113e682600383516114c3565b61112c828263ffffffff6115cd16565b6060634042994660e01b60008084600001518560200151866040015187606001516001896080015160000151604051602401611439989796959493929190611bef565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091529050919050565b606061148184846000856115e7565b949350505050565b6114916118e7565b60208206156114a65760208206602003820191505b506020828101829052604080518085526000815290920101905290565b601781116114ea576114e48360e0600585901b16831763ffffffff6116a816565b5061112c565b60ff81116115205761150d836018611fe0600586901b161763ffffffff6116a816565b506114e48382600163ffffffff6116c016565b61ffff811161155757611544836019611fe0600586901b161763ffffffff6116a816565b506114e48382600263ffffffff6116c016565b63ffffffff81116115905761157d83601a611fe0600586901b161763ffffffff6116a816565b506114e48382600463ffffffff6116c016565b67ffffffffffffffff811161112c576115ba83601b611fe0600586901b161763ffffffff6116a816565b506110cf8382600863ffffffff6116c016565b6115d56118e7565b611295838460000151518485516116d9565b6060824710156116095760405162461bcd60e51b81526004016105b690611de7565b61161285611785565b61162e5760405162461bcd60e51b81526004016105b690611f63565b60006060866001600160a01b0316858760405161164b9190611b60565b60006040518083038185875af1925050503d8060008114611688576040519150601f19603f3d011682016040523d82523d6000602084013e61168d565b606091505b509150915061169d82828661178b565b979650505050505050565b6116b06118e7565b61129583846000015151846117c4565b6116c86118e7565b61148184856000015151858561180f565b6116e16118e7565b82518211156116ef57600080fd5b846020015182850111156117195761171985611711876020015187860161186d565b600202611884565b6000808651805187602083010193508088870111156117385787860182525b505050602084015b6020841061175f5780518252601f199093019260209182019101611740565b51815160001960208690036101000a019081169019919091161790525083949350505050565b3b151590565b6060831561179a5750816110fb565b8251156117aa5782518084602001fd5b8160405162461bcd60e51b81526004016105b69190611c9e565b6117cc6118e7565b836020015183106117e8576117e8848560200151600202611884565b835180516020858301018481535080851415611805576001810182525b5093949350505050565b6118176118e7565b846020015184830111156118345761183485858401600202611884565b60006001836101000a0390508551838682010185831982511617815250805184870111156118625783860181525b509495945050505050565b60008183111561187e575081611298565b50919050565b81516118908383611489565b506110cf83826115cd565b6040805160a0810182526000808252602082018190529181018290526060810191909152608081016118cb6118e7565b905290565b604080518082019091526000808252602082015290565b604051806040016040528060608152602001600081525090565b80356001600160a01b038116811461129857600080fd5b600060208284031215611929578081fd5b6112958383611901565b60008060408385031215611945578081fd5b61194f8484611901565b946020939093013593505050565b60006020828403121561196e578081fd5b8151611295816120a7565b60006020828403121561198a578081fd5b5035919050565b600080604083850312156119a3578182fd5b50508035926020909101359150565b6000602082840312156119c3578081fd5b815160068110611295578182fd5b6000602082840312156119e2578081fd5b815167ffffffffffffffff808211156119f9578283fd5b81840185601f820112611a0a578384fd5b8051925081831115611a1a578384fd5b604051601f8401601f191681016020018381118282101715611a3a578586fd5b604052838152818401602001871015611a51578485fd5b611a62846020830160208501612063565b9695505050505050565b600060208284031215611a7d578081fd5b5051919050565b60008060008060808587031215611a99578182fd5b843593506020850135611aab8161208f565b92506040850135611abb816120a7565b91506060850135611acb8161208f565b939692955090935050565b60008060408385031215611ae8578182fd5b505080516020909101519092909150565b600080600060608486031215611b0d578283fd5b8351925060208401519150604084015160038110611b29578182fd5b809150509250925092565b60008151808452611b4c816020860160208601612063565b601f01601f19169290920160200192915050565b60008251611b72818460208701612063565b9190910192915050565b60609290921b6bffffffffffffffffffffffff19168252601482015260340190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0389811682526020820189905260408201889052861660608201526001600160e01b03198516608082015260a0810184905260c0810183905261010060e08201819052600090611c4883820185611b34565b9b9a5050505050505050505050565b600060018060a01b038516825283602083015260606040830152611c7e6060830184611b34565b95945050505050565b90815260200190565b918252602082015260400190565b6000602082526112956020830184611b34565b6040810160068410611cbf57fe5b9281526020015290565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526023908201527f756e61626c6520746f207472616e73666572416e6443616c6c20746f206f7261604082015262636c6560e81b606082015260800190565b6020808252601b908201527f5374616b6552656769737472793a206e6f742076657269666965640000000000604082015260600190565b6020808252600d908201526c14d3104e881d995c9a599a5959609a1b604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b60208082526028908201527f534c41526567697374727920616464726573732068617320616c7265616479206040820152671899595b881cd95d60c21b606082015260800190565b60208082526021908201527f43616e206f6e6c792062652063616c6c656420627920534c41526567697374726040820152607960f81b606082015260800190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526028908201527f536f75726365206d75737420626520746865206f7261636c65206f6620746865604082015267081c995c5d595cdd60c21b606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60005b8381101561207e578181015183820152602001612066565b838111156110cf5750506000910152565b6001600160a01b03811681146120a457600080fd5b50565b80151581146120a457600080fdfea2646970667358221220be1138e5e16755dbeb09faf107d72c051c7484ee288184c37ef28202f4bdd18164736f6c63430006060033", - "opcodes": "PUSH1 0xA0 PUSH1 0x40 MSTORE PUSH1 0x1 PUSH1 0x4 SSTORE PUSH1 0x10 DUP1 SLOAD PUSH1 0xFF PUSH1 0xA0 SHL NOT AND SWAP1 SSTORE CALLVALUE DUP1 ISZERO PUSH3 0x23 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x22EA CODESIZE SUB DUP1 PUSH3 0x22EA DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x46 SWAP2 PUSH3 0x147 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x5B PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB PUSH3 0x121 AND JUMP JUMPDEST PUSH1 0x6 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE PUSH1 0x40 MLOAD SWAP2 SWAP3 POP SWAP1 PUSH1 0x0 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 DUP3 SWAP1 LOG3 POP PUSH1 0x1 PUSH1 0x7 SSTORE PUSH1 0xB DUP5 SWAP1 SSTORE PUSH3 0xC7 DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB PUSH3 0x125 AND JUMP JUMPDEST PUSH1 0x60 SWAP6 SWAP1 SWAP6 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB NOT AND PUSH1 0x80 MSTORE PUSH8 0x16345785D8A0000 SWAP2 SWAP1 SWAP2 MUL PUSH1 0xC SSTORE PUSH1 0xF DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT SWAP1 DUP2 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 DUP5 AND OR SWAP1 SWAP2 SSTORE PUSH1 0x10 DUP1 SLOAD SWAP1 SWAP2 AND SWAP2 SWAP1 SWAP5 AND OR SWAP1 SWAP3 SSTORE POP PUSH3 0x1DC SWAP1 POP JUMP JUMPDEST CALLER SWAP1 JUMP JUMPDEST PUSH1 0x2 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xC0 DUP8 DUP10 SUB SLT ISZERO PUSH3 0x160 JUMPI DUP2 DUP3 REVERT JUMPDEST DUP7 MLOAD PUSH3 0x16D DUP2 PUSH3 0x1C3 JUMP JUMPDEST PUSH1 0x20 DUP9 ADD MLOAD SWAP1 SWAP7 POP PUSH3 0x180 DUP2 PUSH3 0x1C3 JUMP JUMPDEST DUP1 SWAP6 POP POP PUSH1 0x40 DUP8 ADD MLOAD SWAP4 POP PUSH1 0x60 DUP8 ADD MLOAD SWAP3 POP PUSH1 0x80 DUP8 ADD MLOAD PUSH3 0x1A2 DUP2 PUSH3 0x1C3 JUMP JUMPDEST PUSH1 0xA0 DUP9 ADD MLOAD SWAP1 SWAP3 POP PUSH3 0x1B5 DUP2 PUSH3 0x1C3 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 SWAP6 POP SWAP3 SWAP6 POP SWAP3 SWAP6 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH3 0x1D9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x80 MLOAD PUSH1 0x60 SHR PUSH2 0x20EB PUSH3 0x1FF PUSH1 0x0 CODECOPY DUP1 PUSH2 0x6B2 MSTORE DUP1 PUSH2 0xAC1 MSTORE POP PUSH2 0x20EB PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x116 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xA50C5425 GT PUSH2 0xA2 JUMPI DUP1 PUSH4 0xC9B0CB22 GT PUSH2 0x71 JUMPI DUP1 PUSH4 0xC9B0CB22 EQ PUSH2 0x206 JUMPI DUP1 PUSH4 0xDDCA3F43 EQ PUSH2 0x20E JUMPI DUP1 PUSH4 0xE450F061 EQ PUSH2 0x216 JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x229 JUMPI DUP1 PUSH4 0xF3881589 EQ PUSH2 0x23C JUMPI PUSH2 0x116 JUMP JUMPDEST DUP1 PUSH4 0xA50C5425 EQ PUSH2 0x1C2 JUMPI DUP1 PUSH4 0xAE401EB9 EQ PUSH2 0x1CA JUMPI DUP1 PUSH4 0xBC0BFC00 EQ PUSH2 0x1EB JUMPI DUP1 PUSH4 0xC2939D97 EQ PUSH2 0x1FE JUMPI PUSH2 0x116 JUMP JUMPDEST DUP1 PUSH4 0x715018A6 GT PUSH2 0xE9 JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0x184 JUMPI DUP1 PUSH4 0x7DC0D1D0 EQ PUSH2 0x18C JUMPI DUP1 PUSH4 0x81D12C58 EQ PUSH2 0x194 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x1A7 JUMPI DUP1 PUSH4 0x97A82192 EQ PUSH2 0x1AF JUMPI PUSH2 0x116 JUMP JUMPDEST DUP1 PUSH4 0x4E4FC01 EQ PUSH2 0x11B JUMPI DUP1 PUSH4 0x292733BF EQ PUSH2 0x145 JUMPI DUP1 PUSH4 0x663C2269 EQ PUSH2 0x15A JUMPI DUP1 PUSH4 0x6E71890D EQ PUSH2 0x16F JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x12E PUSH2 0x129 CALLDATASIZE PUSH1 0x4 PUSH2 0x1979 JUMP JUMPDEST PUSH2 0x244 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x13C SWAP3 SWAP2 SWAP1 PUSH2 0x1C90 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x158 PUSH2 0x153 CALLDATASIZE PUSH1 0x4 PUSH2 0x1991 JUMP JUMPDEST PUSH2 0x577 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x162 PUSH2 0x612 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x13C SWAP2 SWAP1 PUSH2 0x1C87 JUMP JUMPDEST PUSH2 0x177 PUSH2 0x618 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x13C SWAP2 SWAP1 PUSH2 0x1B9E JUMP JUMPDEST PUSH2 0x158 PUSH2 0x627 JUMP JUMPDEST PUSH2 0x177 PUSH2 0x6B0 JUMP JUMPDEST PUSH2 0x162 PUSH2 0x1A2 CALLDATASIZE PUSH1 0x4 PUSH2 0x1979 JUMP JUMPDEST PUSH2 0x6D4 JUMP JUMPDEST PUSH2 0x177 PUSH2 0x6F2 JUMP JUMPDEST PUSH2 0x158 PUSH2 0x1BD CALLDATASIZE PUSH1 0x4 PUSH2 0x1A84 JUMP JUMPDEST PUSH2 0x701 JUMP JUMPDEST PUSH2 0x162 PUSH2 0xBBA JUMP JUMPDEST PUSH2 0x1DD PUSH2 0x1D8 CALLDATASIZE PUSH1 0x4 PUSH2 0x1979 JUMP JUMPDEST PUSH2 0xBC0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x13C SWAP3 SWAP2 SWAP1 PUSH2 0x1BD6 JUMP JUMPDEST PUSH2 0x158 PUSH2 0x1F9 CALLDATASIZE PUSH1 0x4 PUSH2 0x1991 JUMP JUMPDEST PUSH2 0xBE5 JUMP JUMPDEST PUSH2 0x162 PUSH2 0xDCD JUMP JUMPDEST PUSH2 0x162 PUSH2 0xDD3 JUMP JUMPDEST PUSH2 0x162 PUSH2 0xDD9 JUMP JUMPDEST PUSH2 0x158 PUSH2 0x224 CALLDATASIZE PUSH1 0x4 PUSH2 0x1933 JUMP JUMPDEST PUSH2 0xDDF JUMP JUMPDEST PUSH2 0x158 PUSH2 0x237 CALLDATASIZE PUSH1 0x4 PUSH2 0x1918 JUMP JUMPDEST PUSH2 0xF66 JUMP JUMPDEST PUSH2 0x158 PUSH2 0x1027 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x60 PUSH20 0x0 PUSH4 0xEF0B2368 DUP6 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x280 SWAP2 SWAP1 PUSH2 0x1C87 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x298 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS DELEGATECALL ISZERO DUP1 ISZERO PUSH2 0x2AC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD PUSH1 0x40 MSTORE PUSH2 0x2D4 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x19D1 JUMP JUMPDEST DUP1 MLOAD SWAP1 SWAP2 POP PUSH1 0x60 DUP2 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP1 ISZERO PUSH2 0x2F2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x31D JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x60 DUP3 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP1 ISZERO PUSH2 0x339 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x364 JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x451 JUMPI PUSH1 0xB PUSH1 0xFA SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND DUP6 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x38D JUMPI INVALID JUMPDEST ADD PUSH1 0x20 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND EQ ISZERO PUSH2 0x449 JUMPI PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x3EF JUMPI DUP6 DUP2 DUP2 MLOAD DUP2 LT PUSH2 0x3B9 JUMPI INVALID JUMPDEST PUSH1 0x20 ADD ADD MLOAD PUSH1 0xF8 SHR PUSH1 0xF8 SHL DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x3D0 JUMPI INVALID JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x1 ADD PUSH2 0x3A5 JUMP JUMPDEST POP PUSH1 0x0 JUMPDEST PUSH1 0x1 DUP3 DUP7 SUB SUB DUP2 LT ISZERO PUSH2 0x447 JUMPI DUP6 DUP2 DUP4 PUSH1 0x1 ADD ADD DUP2 MLOAD DUP2 LT PUSH2 0x411 JUMPI INVALID JUMPDEST PUSH1 0x20 ADD ADD MLOAD PUSH1 0xF8 SHR PUSH1 0xF8 SHL DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x428 JUMPI INVALID JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x1 ADD PUSH2 0x3F3 JUMP JUMPDEST POP JUMPDEST PUSH1 0x1 ADD PUSH2 0x36A JUMP JUMPDEST POP PUSH1 0x40 MLOAD PUSH4 0x2D06D05 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x0 SWAP1 PUSH20 0x0 SWAP1 PUSH4 0x2D06D05 SWAP1 PUSH2 0x48C SWAP1 DUP7 SWAP1 PUSH1 0x4 ADD PUSH2 0x1C9E JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS DELEGATECALL ISZERO DUP1 ISZERO PUSH2 0x4B8 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x4DC SWAP2 SWAP1 PUSH2 0x1A6C JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH20 0x0 PUSH4 0x2D06D05 DUP5 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x517 SWAP2 SWAP1 PUSH2 0x1C9E JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x52F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS DELEGATECALL ISZERO DUP1 ISZERO PUSH2 0x543 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x567 SWAP2 SWAP1 PUSH2 0x1A6C JUMP JUMPDEST SWAP2 SWAP8 POP SWAP1 SWAP6 POP POP POP POP POP POP SWAP2 POP SWAP2 JUMP JUMPDEST PUSH2 0x57F PUSH2 0x1064 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x590 PUSH2 0x6F2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x5BF JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1F2E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0xB DUP3 SWAP1 SSTORE PUSH8 0x16345785D8A0000 DUP2 MUL PUSH1 0xC DUP2 SWAP1 SSTORE PUSH1 0x40 MLOAD CALLER SWAP2 PUSH32 0x8E7E22D2820965FA1A8FA3AD76DB76127E2F1BAAF65F50C4E267F28B2254F7CB SWAP2 PUSH2 0x606 SWAP2 DUP7 SWAP2 PUSH2 0x1C90 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0xD SLOAD SWAP1 JUMP JUMPDEST PUSH1 0xA SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH2 0x62F PUSH2 0x1064 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x640 PUSH2 0x6F2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x666 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1F2E JUMP JUMPDEST PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 DUP4 SWAP1 LOG3 PUSH1 0x6 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE JUMP JUMPDEST PUSH32 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x9 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x6E1 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD SWAP1 POP DUP2 JUMP JUMPDEST PUSH1 0x6 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x10 SLOAD PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DIV PUSH1 0xFF AND PUSH2 0x73C JUMPI PUSH1 0xA SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x73C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1EAC JUMP JUMPDEST PUSH1 0x2 PUSH1 0x7 SLOAD EQ ISZERO PUSH2 0x75F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x202C JUMP JUMPDEST PUSH1 0x2 PUSH1 0x7 SSTORE DUP3 DUP3 ISZERO PUSH2 0x79E JUMPI PUSH2 0x799 PUSH2 0x776 PUSH2 0x6F2 JUMP JUMPDEST ADDRESS PUSH1 0xC SLOAD PUSH2 0x782 PUSH2 0x1068 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF PUSH2 0x1077 AND JUMP JUMPDEST PUSH2 0x7AE JUMP JUMPDEST PUSH2 0x7AE DUP3 ADDRESS PUSH1 0xC SLOAD PUSH2 0x782 PUSH2 0x1068 JUMP JUMPDEST PUSH2 0x7B6 PUSH2 0x189B JUMP JUMPDEST PUSH1 0xB SLOAD PUSH2 0x7CA SWAP1 ADDRESS PUSH3 0x2F02FF PUSH1 0xEA SHL PUSH2 0x10D5 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP1 PUSH1 0xF PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xFFA61235 DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x46E0FBAE PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x82C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x840 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x864 SWAP2 SWAP1 PUSH2 0x19B2 JUMP JUMPDEST DUP11 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x882 SWAP3 SWAP2 SWAP1 PUSH2 0x1CB1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x899 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x8AD JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x8D1 SWAP2 SWAP1 PUSH2 0x1AD6 JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH2 0x934 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x8 DUP2 MSTORE PUSH1 0x20 ADD PUSH8 0x6A6F625F74797065 PUSH1 0xC0 SHL DUP2 MSTORE POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x12 DUP2 MSTORE PUSH1 0x20 ADD PUSH18 0x7374616B696E675F656666696369656E6379 PUSH1 0x70 SHL DUP2 MSTORE POP DUP6 PUSH2 0x1102 SWAP1 SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x14 DUP2 MSTORE PUSH20 0x1CDB1857DB5BDB9A5D1BDC9A5B99D7DCDD185C9D PUSH1 0x62 SHL PUSH1 0x20 DUP3 ADD MSTORE SWAP1 MLOAD PUSH4 0xFC966D45 PUSH1 0xE0 SHL DUP2 MSTORE PUSH2 0x9FB SWAP2 SWAP1 PUSH20 0x0 SWAP1 PUSH4 0xFC966D45 SWAP1 PUSH2 0x999 SWAP1 DUP8 SWAP1 PUSH1 0x4 ADD PUSH2 0x1C87 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x9B1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS DELEGATECALL ISZERO DUP1 ISZERO PUSH2 0x9C5 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD PUSH1 0x40 MSTORE PUSH2 0x9ED SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x19D1 JUMP JUMPDEST DUP6 SWAP2 SWAP1 PUSH4 0xFFFFFFFF PUSH2 0x1102 AND JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x12 DUP2 MSTORE PUSH18 0x1CDB1857DB5BDB9A5D1BDC9A5B99D7D95B99 PUSH1 0x72 SHL PUSH1 0x20 DUP3 ADD MSTORE SWAP1 MLOAD PUSH4 0xFC966D45 PUSH1 0xE0 SHL DUP2 MSTORE PUSH2 0xA5E SWAP2 SWAP1 PUSH20 0x0 SWAP1 PUSH4 0xFC966D45 SWAP1 PUSH2 0x999 SWAP1 DUP7 SWAP1 PUSH1 0x4 ADD PUSH2 0x1C87 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0xB DUP2 MSTORE PUSH11 0x736C615F61646472657373 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE SWAP1 MLOAD PUSH4 0x5E57966D PUSH1 0xE0 SHL DUP2 MSTORE PUSH2 0xABA SWAP2 SWAP1 PUSH20 0x0 SWAP1 PUSH4 0x5E57966D SWAP1 PUSH2 0x999 SWAP1 DUP13 SWAP1 PUSH1 0x4 ADD PUSH2 0x1B9E JUMP JUMPDEST PUSH1 0x0 PUSH2 0xAE9 PUSH32 0x0 DUP6 PUSH1 0xC SLOAD PUSH2 0x1131 JUMP JUMPDEST PUSH1 0x9 DUP1 SLOAD PUSH1 0x1 DUP1 DUP3 ADD SWAP1 SWAP3 SSTORE PUSH32 0x6E1540171B6C0C960B71A7020D9F60077F6AF931A8BBF590DA0223DACF75C7AF ADD DUP3 SWAP1 SSTORE PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP13 DUP2 AND DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 ADD DUP16 DUP2 MSTORE PUSH1 0x0 DUP8 DUP2 MSTORE PUSH1 0x8 SWAP1 SWAP3 MSTORE SWAP1 DUP5 SWAP1 KECCAK256 SWAP3 MLOAD DUP4 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 DUP4 AND OR DUP4 SSTORE MLOAD SWAP2 DUP5 ADD SWAP2 SWAP1 SWAP2 SSTORE PUSH1 0xD DUP1 SLOAD SWAP1 SWAP4 ADD SWAP3 DUP4 SWAP1 SSTORE SWAP1 MLOAD SWAP3 SWAP4 POP DUP9 AND SWAP2 PUSH32 0xEAB5EB77E722078F3FAB7EB6A77C74F7001181E1E3A74D51B7B5747EE1B31CB9 SWAP2 PUSH2 0xBA2 SWAP2 DUP6 SWAP1 PUSH2 0x1C90 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP POP PUSH1 0x1 PUSH1 0x7 SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0xE SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x8 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 SWAP1 SWAP2 ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 DUP3 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x7 SLOAD EQ ISZERO PUSH2 0xC08 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x202C JUMP JUMPDEST PUSH1 0x2 PUSH1 0x7 SSTORE PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0xC45 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1F9A JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE MLOAD DUP3 SWAP2 PUSH32 0x7CC135E0CEBB02C3480AE5D74D377283180A2601F8F644EDF7987B009316C63A SWAP2 LOG2 DUP2 PUSH2 0xC91 PUSH2 0x18D0 JUMP JUMPDEST POP PUSH1 0x0 DUP5 DUP2 MSTORE PUSH1 0x8 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 DUP3 MLOAD DUP1 DUP5 ADD DUP5 MSTORE DUP2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 DUP3 MSTORE PUSH1 0x1 SWAP1 SWAP3 ADD SLOAD SWAP3 DUP2 ADD DUP4 SWAP1 MSTORE SWAP3 MLOAD DUP8 SWAP3 PUSH32 0x56514EF6E1FFD0F970EBF32DC181E476384E6E53A8351719040B4030318A933B SWAP2 PUSH2 0xCF7 SWAP2 SWAP1 DUP8 SWAP1 PUSH2 0x1C90 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH1 0x0 DUP1 PUSH2 0xD0B DUP5 PUSH2 0x244 JUMP JUMPDEST SWAP1 SWAP3 POP SWAP1 POP PUSH1 0x0 PUSH2 0xD22 DUP4 DUP4 PUSH4 0xFFFFFFFF PUSH2 0x1270 AND JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0xD49 DUP3 PUSH2 0xD3D DUP7 PUSH3 0x186A0 PUSH4 0xFFFFFFFF PUSH2 0x129E AND JUMP JUMPDEST SWAP1 PUSH4 0xFFFFFFFF PUSH2 0x12D8 AND JUMP JUMPDEST DUP6 MLOAD PUSH1 0x20 DUP8 ADD MLOAD PUSH1 0x40 MLOAD PUSH4 0x6BD2E211 PUSH1 0xE1 SHL DUP2 MSTORE SWAP3 SWAP4 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP2 PUSH4 0xD7A5C422 SWAP2 PUSH2 0xD81 SWAP2 DUP6 SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0x1C90 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xD9B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xDAF JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0xE DUP1 SLOAD PUSH1 0x1 SWAP1 DUP2 ADD SWAP1 SWAP2 SSTORE PUSH1 0x7 SSTORE POP POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0xB SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x3E8 SWAP1 JUMP JUMPDEST PUSH1 0xC SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x10 DUP1 SLOAD PUSH1 0xFF PUSH1 0xA0 SHL NOT AND PUSH1 0x1 PUSH1 0xA0 SHL OR SWAP1 DUP2 SWAP1 SSTORE PUSH1 0x40 MLOAD PUSH4 0xAB9A81A5 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xAB9A81A5 SWAP1 PUSH2 0xE23 SWAP1 DUP6 SWAP1 DUP6 SWAP1 PUSH1 0x4 ADD PUSH2 0x1BD6 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xE3B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xE4F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xE73 SWAP2 SWAP1 PUSH2 0x195D JUMP JUMPDEST PUSH2 0xE8F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1D89 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x20C876EF PUSH1 0xE1 SHL DUP2 MSTORE DUP3 SWAP1 PUSH1 0x0 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH4 0x4190EDDE SWAP1 PUSH2 0xEC0 SWAP1 DUP7 SWAP1 PUSH1 0x4 ADD PUSH2 0x1C87 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xED8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xEEC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xF10 SWAP2 SWAP1 PUSH2 0x1AF9 JUMP JUMPDEST SWAP3 POP PUSH1 0x0 SWAP2 POP PUSH2 0xF1D SWAP1 POP JUMP JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0xF29 JUMPI INVALID JUMPDEST EQ PUSH2 0xF46 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1DC0 JUMP JUMPDEST PUSH2 0xF53 DUP4 DUP6 PUSH1 0x0 CALLER PUSH2 0x701 JUMP JUMPDEST POP POP PUSH1 0x10 DUP1 SLOAD PUSH1 0xFF PUSH1 0xA0 SHL NOT AND SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH2 0xF6E PUSH2 0x1064 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0xF7F PUSH2 0x6F2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0xFA5 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1F2E JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0xFCB JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1CC9 JUMP JUMPDEST PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP5 AND SWAP3 AND SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 PUSH1 0x6 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0xA SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO PUSH2 0x1050 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1E64 JUMP JUMPDEST PUSH1 0xA DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND CALLER OR SWAP1 SSTORE JUMP JUMPDEST CALLER SWAP1 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH2 0x10CF DUP5 PUSH4 0x23B872DD PUSH1 0xE0 SHL DUP6 DUP6 DUP6 PUSH1 0x40 MLOAD PUSH1 0x24 ADD PUSH2 0x1098 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1BB2 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 SWAP1 MSTORE PUSH1 0x20 DUP2 ADD DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP1 SWAP4 AND SWAP3 SWAP1 SWAP3 OR SWAP1 SWAP2 MSTORE PUSH2 0x130D JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH2 0x10DD PUSH2 0x189B JUMP JUMPDEST PUSH2 0x10E5 PUSH2 0x189B JUMP JUMPDEST PUSH2 0x10F7 DUP2 DUP7 DUP7 DUP7 PUSH4 0xFFFFFFFF PUSH2 0x139C AND JUMP JUMPDEST SWAP2 POP POP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x80 DUP4 ADD MLOAD PUSH2 0x1117 SWAP1 DUP4 PUSH4 0xFFFFFFFF PUSH2 0x13D9 AND JUMP JUMPDEST PUSH1 0x80 DUP4 ADD MLOAD PUSH2 0x112C SWAP1 DUP3 PUSH4 0xFFFFFFFF PUSH2 0x13D9 AND JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 ADDRESS PUSH1 0x4 SLOAD PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1148 SWAP3 SWAP2 SWAP1 PUSH2 0x1B7C JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 PUSH1 0x4 SLOAD PUSH1 0x60 DUP8 ADD MSTORE PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 SWAP1 SWAP4 MSTORE DUP2 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 AND OR SWAP1 SSTORE SWAP1 MLOAD SWAP1 SWAP3 POP DUP3 SWAP2 PUSH32 0xB5E6E01E79F91267DC17B4E6314D5D4D03593D2CEEE0FBB452B750BD70EA5AF9 SWAP2 LOG2 PUSH1 0x2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x4000AEA0 DUP6 DUP5 PUSH2 0x11D4 DUP8 PUSH2 0x13F6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP5 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x11F2 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1C57 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x120C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1220 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1244 SWAP2 SWAP1 PUSH2 0x195D JUMP JUMPDEST PUSH2 0x1260 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1D46 JUMP JUMPDEST PUSH1 0x4 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 ADD DUP4 DUP2 LT ISZERO PUSH2 0x1295 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1D0F JUMP JUMPDEST SWAP1 POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x12AD JUMPI POP PUSH1 0x0 PUSH2 0x1298 JUMP JUMPDEST DUP3 DUP3 MUL DUP3 DUP5 DUP3 DUP2 PUSH2 0x12BA JUMPI INVALID JUMPDEST DIV EQ PUSH2 0x1295 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1EED JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 GT PUSH2 0x12F9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1E2D JUMP JUMPDEST PUSH1 0x0 DUP3 DUP5 DUP2 PUSH2 0x1304 JUMPI INVALID JUMPDEST DIV SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH2 0x1362 DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x20 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x5361666545524332303A206C6F772D6C6576656C2063616C6C206661696C6564 DUP2 MSTORE POP DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x1472 SWAP1 SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST DUP1 MLOAD SWAP1 SWAP2 POP ISZERO PUSH2 0x112C JUMPI DUP1 DUP1 PUSH1 0x20 ADD SWAP1 MLOAD DUP2 ADD SWAP1 PUSH2 0x1380 SWAP2 SWAP1 PUSH2 0x195D JUMP JUMPDEST PUSH2 0x112C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1FE2 JUMP JUMPDEST PUSH2 0x13A4 PUSH2 0x189B JUMP JUMPDEST PUSH2 0x13B4 DUP6 PUSH1 0x80 ADD MLOAD PUSH2 0x100 PUSH2 0x1489 JUMP JUMPDEST POP POP SWAP2 DUP4 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH1 0x40 DUP3 ADD MSTORE SWAP1 JUMP JUMPDEST PUSH2 0x13E6 DUP3 PUSH1 0x3 DUP4 MLOAD PUSH2 0x14C3 JUMP JUMPDEST PUSH2 0x112C DUP3 DUP3 PUSH4 0xFFFFFFFF PUSH2 0x15CD AND JUMP JUMPDEST PUSH1 0x60 PUSH4 0x40429946 PUSH1 0xE0 SHL PUSH1 0x0 DUP1 DUP5 PUSH1 0x0 ADD MLOAD DUP6 PUSH1 0x20 ADD MLOAD DUP7 PUSH1 0x40 ADD MLOAD DUP8 PUSH1 0x60 ADD MLOAD PUSH1 0x1 DUP10 PUSH1 0x80 ADD MLOAD PUSH1 0x0 ADD MLOAD PUSH1 0x40 MLOAD PUSH1 0x24 ADD PUSH2 0x1439 SWAP9 SWAP8 SWAP7 SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1BEF JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 SWAP1 MSTORE PUSH1 0x20 DUP2 ADD DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP1 SWAP4 AND SWAP3 SWAP1 SWAP3 OR SWAP1 SWAP2 MSTORE SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x60 PUSH2 0x1481 DUP5 DUP5 PUSH1 0x0 DUP6 PUSH2 0x15E7 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH2 0x1491 PUSH2 0x18E7 JUMP JUMPDEST PUSH1 0x20 DUP3 MOD ISZERO PUSH2 0x14A6 JUMPI PUSH1 0x20 DUP3 MOD PUSH1 0x20 SUB DUP3 ADD SWAP2 POP JUMPDEST POP PUSH1 0x20 DUP3 DUP2 ADD DUP3 SWAP1 MSTORE PUSH1 0x40 DUP1 MLOAD DUP1 DUP6 MSTORE PUSH1 0x0 DUP2 MSTORE SWAP1 SWAP3 ADD ADD SWAP1 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x17 DUP2 GT PUSH2 0x14EA JUMPI PUSH2 0x14E4 DUP4 PUSH1 0xE0 PUSH1 0x5 DUP6 SWAP1 SHL AND DUP4 OR PUSH4 0xFFFFFFFF PUSH2 0x16A8 AND JUMP JUMPDEST POP PUSH2 0x112C JUMP JUMPDEST PUSH1 0xFF DUP2 GT PUSH2 0x1520 JUMPI PUSH2 0x150D DUP4 PUSH1 0x18 PUSH2 0x1FE0 PUSH1 0x5 DUP7 SWAP1 SHL AND OR PUSH4 0xFFFFFFFF PUSH2 0x16A8 AND JUMP JUMPDEST POP PUSH2 0x14E4 DUP4 DUP3 PUSH1 0x1 PUSH4 0xFFFFFFFF PUSH2 0x16C0 AND JUMP JUMPDEST PUSH2 0xFFFF DUP2 GT PUSH2 0x1557 JUMPI PUSH2 0x1544 DUP4 PUSH1 0x19 PUSH2 0x1FE0 PUSH1 0x5 DUP7 SWAP1 SHL AND OR PUSH4 0xFFFFFFFF PUSH2 0x16A8 AND JUMP JUMPDEST POP PUSH2 0x14E4 DUP4 DUP3 PUSH1 0x2 PUSH4 0xFFFFFFFF PUSH2 0x16C0 AND JUMP JUMPDEST PUSH4 0xFFFFFFFF DUP2 GT PUSH2 0x1590 JUMPI PUSH2 0x157D DUP4 PUSH1 0x1A PUSH2 0x1FE0 PUSH1 0x5 DUP7 SWAP1 SHL AND OR PUSH4 0xFFFFFFFF PUSH2 0x16A8 AND JUMP JUMPDEST POP PUSH2 0x14E4 DUP4 DUP3 PUSH1 0x4 PUSH4 0xFFFFFFFF PUSH2 0x16C0 AND JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x112C JUMPI PUSH2 0x15BA DUP4 PUSH1 0x1B PUSH2 0x1FE0 PUSH1 0x5 DUP7 SWAP1 SHL AND OR PUSH4 0xFFFFFFFF PUSH2 0x16A8 AND JUMP JUMPDEST POP PUSH2 0x10CF DUP4 DUP3 PUSH1 0x8 PUSH4 0xFFFFFFFF PUSH2 0x16C0 AND JUMP JUMPDEST PUSH2 0x15D5 PUSH2 0x18E7 JUMP JUMPDEST PUSH2 0x1295 DUP4 DUP5 PUSH1 0x0 ADD MLOAD MLOAD DUP5 DUP6 MLOAD PUSH2 0x16D9 JUMP JUMPDEST PUSH1 0x60 DUP3 SELFBALANCE LT ISZERO PUSH2 0x1609 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1DE7 JUMP JUMPDEST PUSH2 0x1612 DUP6 PUSH2 0x1785 JUMP JUMPDEST PUSH2 0x162E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1F63 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP7 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP6 DUP8 PUSH1 0x40 MLOAD PUSH2 0x164B SWAP2 SWAP1 PUSH2 0x1B60 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x1688 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x168D JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP PUSH2 0x169D DUP3 DUP3 DUP7 PUSH2 0x178B JUMP JUMPDEST SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x16B0 PUSH2 0x18E7 JUMP JUMPDEST PUSH2 0x1295 DUP4 DUP5 PUSH1 0x0 ADD MLOAD MLOAD DUP5 PUSH2 0x17C4 JUMP JUMPDEST PUSH2 0x16C8 PUSH2 0x18E7 JUMP JUMPDEST PUSH2 0x1481 DUP5 DUP6 PUSH1 0x0 ADD MLOAD MLOAD DUP6 DUP6 PUSH2 0x180F JUMP JUMPDEST PUSH2 0x16E1 PUSH2 0x18E7 JUMP JUMPDEST DUP3 MLOAD DUP3 GT ISZERO PUSH2 0x16EF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 PUSH1 0x20 ADD MLOAD DUP3 DUP6 ADD GT ISZERO PUSH2 0x1719 JUMPI PUSH2 0x1719 DUP6 PUSH2 0x1711 DUP8 PUSH1 0x20 ADD MLOAD DUP8 DUP7 ADD PUSH2 0x186D JUMP JUMPDEST PUSH1 0x2 MUL PUSH2 0x1884 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP7 MLOAD DUP1 MLOAD DUP8 PUSH1 0x20 DUP4 ADD ADD SWAP4 POP DUP1 DUP9 DUP8 ADD GT ISZERO PUSH2 0x1738 JUMPI DUP8 DUP7 ADD DUP3 MSTORE JUMPDEST POP POP POP PUSH1 0x20 DUP5 ADD JUMPDEST PUSH1 0x20 DUP5 LT PUSH2 0x175F JUMPI DUP1 MLOAD DUP3 MSTORE PUSH1 0x1F NOT SWAP1 SWAP4 ADD SWAP3 PUSH1 0x20 SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x1740 JUMP JUMPDEST MLOAD DUP2 MLOAD PUSH1 0x0 NOT PUSH1 0x20 DUP7 SWAP1 SUB PUSH2 0x100 EXP ADD SWAP1 DUP2 AND SWAP1 NOT SWAP2 SWAP1 SWAP2 AND OR SWAP1 MSTORE POP DUP4 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST EXTCODESIZE ISZERO ISZERO SWAP1 JUMP JUMPDEST PUSH1 0x60 DUP4 ISZERO PUSH2 0x179A JUMPI POP DUP2 PUSH2 0x10FB JUMP JUMPDEST DUP3 MLOAD ISZERO PUSH2 0x17AA JUMPI DUP3 MLOAD DUP1 DUP5 PUSH1 0x20 ADD REVERT JUMPDEST DUP2 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP2 SWAP1 PUSH2 0x1C9E JUMP JUMPDEST PUSH2 0x17CC PUSH2 0x18E7 JUMP JUMPDEST DUP4 PUSH1 0x20 ADD MLOAD DUP4 LT PUSH2 0x17E8 JUMPI PUSH2 0x17E8 DUP5 DUP6 PUSH1 0x20 ADD MLOAD PUSH1 0x2 MUL PUSH2 0x1884 JUMP JUMPDEST DUP4 MLOAD DUP1 MLOAD PUSH1 0x20 DUP6 DUP4 ADD ADD DUP5 DUP2 MSTORE8 POP DUP1 DUP6 EQ ISZERO PUSH2 0x1805 JUMPI PUSH1 0x1 DUP2 ADD DUP3 MSTORE JUMPDEST POP SWAP4 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH2 0x1817 PUSH2 0x18E7 JUMP JUMPDEST DUP5 PUSH1 0x20 ADD MLOAD DUP5 DUP4 ADD GT ISZERO PUSH2 0x1834 JUMPI PUSH2 0x1834 DUP6 DUP6 DUP5 ADD PUSH1 0x2 MUL PUSH2 0x1884 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP4 PUSH2 0x100 EXP SUB SWAP1 POP DUP6 MLOAD DUP4 DUP7 DUP3 ADD ADD DUP6 DUP4 NOT DUP3 MLOAD AND OR DUP2 MSTORE POP DUP1 MLOAD DUP5 DUP8 ADD GT ISZERO PUSH2 0x1862 JUMPI DUP4 DUP7 ADD DUP2 MSTORE JUMPDEST POP SWAP5 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 DUP4 GT ISZERO PUSH2 0x187E JUMPI POP DUP2 PUSH2 0x1298 JUMP JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP2 MLOAD PUSH2 0x1890 DUP4 DUP4 PUSH2 0x1489 JUMP JUMPDEST POP PUSH2 0x10CF DUP4 DUP3 PUSH2 0x15CD JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0xA0 DUP2 ADD DUP3 MSTORE PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD DUP2 SWAP1 MSTORE SWAP2 DUP2 ADD DUP3 SWAP1 MSTORE PUSH1 0x60 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x80 DUP2 ADD PUSH2 0x18CB PUSH2 0x18E7 JUMP JUMPDEST SWAP1 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x1298 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1929 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x1295 DUP4 DUP4 PUSH2 0x1901 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1945 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x194F DUP5 DUP5 PUSH2 0x1901 JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x196E JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x1295 DUP2 PUSH2 0x20A7 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x198A JUMPI DUP1 DUP2 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x19A3 JUMPI DUP2 DUP3 REVERT JUMPDEST POP POP DUP1 CALLDATALOAD SWAP3 PUSH1 0x20 SWAP1 SWAP2 ADD CALLDATALOAD SWAP2 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x19C3 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x6 DUP2 LT PUSH2 0x1295 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x19E2 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 MLOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x19F9 JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 DUP5 ADD DUP6 PUSH1 0x1F DUP3 ADD SLT PUSH2 0x1A0A JUMPI DUP4 DUP5 REVERT JUMPDEST DUP1 MLOAD SWAP3 POP DUP2 DUP4 GT ISZERO PUSH2 0x1A1A JUMPI DUP4 DUP5 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP5 ADD PUSH1 0x1F NOT AND DUP2 ADD PUSH1 0x20 ADD DUP4 DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x1A3A JUMPI DUP6 DUP7 REVERT JUMPDEST PUSH1 0x40 MSTORE DUP4 DUP2 MSTORE DUP2 DUP5 ADD PUSH1 0x20 ADD DUP8 LT ISZERO PUSH2 0x1A51 JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0x1A62 DUP5 PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP6 ADD PUSH2 0x2063 JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1A7D JUMPI DUP1 DUP2 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x1A99 JUMPI DUP2 DUP3 REVERT JUMPDEST DUP5 CALLDATALOAD SWAP4 POP PUSH1 0x20 DUP6 ADD CALLDATALOAD PUSH2 0x1AAB DUP2 PUSH2 0x208F JUMP JUMPDEST SWAP3 POP PUSH1 0x40 DUP6 ADD CALLDATALOAD PUSH2 0x1ABB DUP2 PUSH2 0x20A7 JUMP JUMPDEST SWAP2 POP PUSH1 0x60 DUP6 ADD CALLDATALOAD PUSH2 0x1ACB DUP2 PUSH2 0x208F JUMP JUMPDEST SWAP4 SWAP7 SWAP3 SWAP6 POP SWAP1 SWAP4 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1AE8 JUMPI DUP2 DUP3 REVERT JUMPDEST POP POP DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD MLOAD SWAP1 SWAP3 SWAP1 SWAP2 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x1B0D JUMPI DUP3 DUP4 REVERT JUMPDEST DUP4 MLOAD SWAP3 POP PUSH1 0x20 DUP5 ADD MLOAD SWAP2 POP PUSH1 0x40 DUP5 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH2 0x1B29 JUMPI DUP2 DUP3 REVERT JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x1B4C DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x2063 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x1B72 DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x2063 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 SWAP3 SWAP1 SWAP3 SHL PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP3 MSTORE PUSH1 0x14 DUP3 ADD MSTORE PUSH1 0x34 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 DUP5 AND DUP2 MSTORE SWAP2 SWAP1 SWAP3 AND PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 DUP2 AND DUP3 MSTORE PUSH1 0x20 DUP3 ADD DUP10 SWAP1 MSTORE PUSH1 0x40 DUP3 ADD DUP9 SWAP1 MSTORE DUP7 AND PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP6 AND PUSH1 0x80 DUP3 ADD MSTORE PUSH1 0xA0 DUP2 ADD DUP5 SWAP1 MSTORE PUSH1 0xC0 DUP2 ADD DUP4 SWAP1 MSTORE PUSH2 0x100 PUSH1 0xE0 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP1 PUSH2 0x1C48 DUP4 DUP3 ADD DUP6 PUSH2 0x1B34 JUMP JUMPDEST SWAP12 SWAP11 POP POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP6 AND DUP3 MSTORE DUP4 PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x60 PUSH1 0x40 DUP4 ADD MSTORE PUSH2 0x1C7E PUSH1 0x60 DUP4 ADD DUP5 PUSH2 0x1B34 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0x1295 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x1B34 JUMP JUMPDEST PUSH1 0x40 DUP2 ADD PUSH1 0x6 DUP5 LT PUSH2 0x1CBF JUMPI INVALID JUMPDEST SWAP3 DUP2 MSTORE PUSH1 0x20 ADD MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x26 SWAP1 DUP3 ADD MSTORE PUSH32 0x4F776E61626C653A206E6577206F776E657220697320746865207A65726F2061 PUSH1 0x40 DUP3 ADD MSTORE PUSH6 0x646472657373 PUSH1 0xD0 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1B SWAP1 DUP3 ADD MSTORE PUSH32 0x536166654D6174683A206164646974696F6E206F766572666C6F770000000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x23 SWAP1 DUP3 ADD MSTORE PUSH32 0x756E61626C6520746F207472616E73666572416E6443616C6C20746F206F7261 PUSH1 0x40 DUP3 ADD MSTORE PUSH3 0x636C65 PUSH1 0xE8 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1B SWAP1 DUP3 ADD MSTORE PUSH32 0x5374616B6552656769737472793A206E6F742076657269666965640000000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0xD SWAP1 DUP3 ADD MSTORE PUSH13 0x14D3104E881D995C9A599A5959 PUSH1 0x9A SHL PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x26 SWAP1 DUP3 ADD MSTORE PUSH32 0x416464726573733A20696E73756666696369656E742062616C616E636520666F PUSH1 0x40 DUP3 ADD MSTORE PUSH6 0x1C8818D85B1B PUSH1 0xD2 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1A SWAP1 DUP3 ADD MSTORE PUSH32 0x536166654D6174683A206469766973696F6E206279207A65726F000000000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x28 SWAP1 DUP3 ADD MSTORE PUSH32 0x534C41526567697374727920616464726573732068617320616C726561647920 PUSH1 0x40 DUP3 ADD MSTORE PUSH8 0x1899595B881CD95D PUSH1 0xC2 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x21 SWAP1 DUP3 ADD MSTORE PUSH32 0x43616E206F6E6C792062652063616C6C656420627920534C4152656769737472 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x79 PUSH1 0xF8 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x21 SWAP1 DUP3 ADD MSTORE PUSH32 0x536166654D6174683A206D756C7469706C69636174696F6E206F766572666C6F PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x77 PUSH1 0xF8 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 DUP2 ADD MSTORE PUSH32 0x4F776E61626C653A2063616C6C6572206973206E6F7420746865206F776E6572 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x416464726573733A2063616C6C20746F206E6F6E2D636F6E7472616374000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x28 SWAP1 DUP3 ADD MSTORE PUSH32 0x536F75726365206D75737420626520746865206F7261636C65206F6620746865 PUSH1 0x40 DUP3 ADD MSTORE PUSH8 0x81C995C5D595CDD PUSH1 0xC2 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2A SWAP1 DUP3 ADD MSTORE PUSH32 0x5361666545524332303A204552433230206F7065726174696F6E20646964206E PUSH1 0x40 DUP3 ADD MSTORE PUSH10 0x1BDD081CDD58D8D95959 PUSH1 0xB2 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1F SWAP1 DUP3 ADD MSTORE PUSH32 0x5265656E7472616E637947756172643A207265656E7472616E742063616C6C00 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x207E JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x2066 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x10CF JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x20A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x20A4 JUMPI PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xBE GT CODESIZE 0xE5 0xE1 PUSH8 0x55DBEB09FAF107D7 0x2C SDIV SHR PUSH21 0x84EE288184C37EF28202F4BDD18164736F6C634300 MOD MOD STOP CALLER ", - "sourceMap": "622:10136:45:-:0;;;1211:1:1;1180:32;;1667:26:45;;;-1:-1:-1;;;;1667:26:45;;;2253:516;2:2:-1;;;;27:1;24;17:12;2:2;2253:516:45;;;;;;;;;;;;;;;;;;;;;884:17:19;904:12;-1:-1:-1;;;;;904:10:19;:12;:::i;:::-;926:6;:18;;-1:-1:-1;;;;;;926:18:19;-1:-1:-1;;;;;926:18:19;;;;;;;;959:43;;926:18;;-1:-1:-1;926:18:19;-1:-1:-1;;959:43:19;;-1:-1:-1;;959:43:19;-1:-1:-1;1645:1:31;1760:7;:22;2516:6:45;:24;;;2550:43;2568:24;-1:-1:-1;;;;;2550:17:45;:43;:::i;:::-;2603:35;;;;;-1:-1:-1;;;;;;2603:35:45;;;1253:9;2655:25;;;;2648:4;:32;2690:14;:32;;-1:-1:-1;;;;;;2690:32:45;;;-1:-1:-1;;;;;2690:32:45;;;;;;;2732:13;:30;;;;;;;;;;;;;-1:-1:-1;622:10136:45;;-1:-1:-1;622:10136:45;598:104:28;685:10;598:104;:::o;4882:94:1:-;4939:4;:32;;-1:-1:-1;;;;;;4939:32:1;-1:-1:-1;;;;;4939:32:1;;;;;;;;;;4882:94::o;802:1038:-1:-;;;;;;;1048:3;1036:9;1027:7;1023:23;1019:33;1016:2;;;-1:-1;;1055:12;1016:2;89:6;83:13;101:33;128:5;101:33;;;1218:2;1268:22;;83:13;1107:74;;-1:-1;101:33;83:13;101:33;;;1226:74;;;;1337:2;1391:9;1387:22;224:13;1345:74;;1456:2;1510:9;1506:22;739:13;1464:74;;1575:3;1653:9;1649:22;388:13;406:56;456:5;406:56;;;1718:3;1792:22;;575:13;1584:97;;-1:-1;593:56;575:13;593:56;;;1727:97;;;;1010:830;;;;;;;;;2473:117;-1:-1;;;;;2328:54;;2532:35;;2522:2;;2581:1;;2571:12;2522:2;2516:74;;;622:10136:45;;;;;;;;;;;" + "object": "60a060405260016004556010805460ff60a01b191690553480156200002357600080fd5b5060405162001d7c38038062001d7c833981016040819052620000469162000147565b60006200005b6001600160e01b036200012116565b600680546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600755600b849055620000c7856001600160e01b036200012516565b60609590951b6001600160601b03191660805267016345785d8a000091909102600c55600f80546001600160a01b03199081166001600160a01b039384161790915560108054909116919094161790925550620001dc9050565b3390565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60008060008060008060c0878903121562000160578182fd5b86516200016d81620001c3565b60208801519096506200018081620001c3565b8095505060408701519350606087015192506080870151620001a281620001c3565b60a0880151909250620001b581620001c3565b809150509295509295509295565b6001600160a01b0381168114620001d957600080fd5b50565b60805160601c611b7d620001ff6000398061035352806107055250611b7d6000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c8063a50c5425116100a2578063c9b0cb2211610071578063c9b0cb22146101da578063ddca3f43146101e2578063e450f061146101ea578063f2fde38b146101fd578063f3881589146102105761010b565b8063a50c542514610196578063ae401eb91461019e578063bc0bfc00146101bf578063c2939d97146101d25761010b565b80637dc0d1d0116100de5780637dc0d1d01461016057806381d12c58146101685780638da5cb5b1461017b57806397a82192146101835761010b565b8063292733bf14610110578063663c2269146101255780636e71890d14610143578063715018a614610158575b600080fd5b61012361011e3660046114ea565b610218565b005b61012d6102b3565b60405161013a91906117c8565b60405180910390f35b61014b6102b9565b60405161013a91906116df565b6101236102c8565b61014b610351565b61012d6101763660046114d2565b610375565b61014b610393565b6101236101913660046115c5565b6103a2565b61012d6107fe565b6101b16101ac3660046114d2565b610804565b60405161013a929190611717565b6101236101cd3660046114ea565b610829565b61012d6109bd565b61012d6109c3565b61012d6109c9565b6101236101f836600461148c565b6109cf565b61012361020b366004611471565b610b56565b610123610c17565b610220610c54565b6001600160a01b0316610231610393565b6001600160a01b0316146102605760405162461bcd60e51b8152600401610257906119c0565b60405180910390fd5b600b82905567016345785d8a00008102600c81905560405133917f8e7e22d2820965fa1a8fa3ad76db76127e2f1baaf65f50c4e267f28b2254f7cb916102a79186916117d1565b60405180910390a25050565b600d5490565b600a546001600160a01b031690565b6102d0610c54565b6001600160a01b03166102e1610393565b6001600160a01b0316146103075760405162461bcd60e51b8152600401610257906119c0565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b7f000000000000000000000000000000000000000000000000000000000000000090565b6009818154811061038257fe5b600091825260209091200154905081565b6006546001600160a01b031690565b601054600160a01b900460ff166103dd57600a546001600160a01b031633146103dd5760405162461bcd60e51b81526004016102579061197f565b600260075414156104005760405162461bcd60e51b815260040161025790611abe565b600260075582821561043f5761043a610417610393565b30600c54610423610c58565b6001600160a01b031692919063ffffffff610c6716565b61044f565b61044f8230600c54610423610c58565b6104576113f4565b600b5461046b9030622f02ff60ea1b610cc5565b9050600080600f60009054906101000a90046001600160a01b03166001600160a01b031663ffa61235856001600160a01b03166346e0fbae6040518163ffffffff1660e01b815260040160206040518083038186803b1580156104cd57600080fd5b505afa1580156104e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610505919061150b565b8a6040518363ffffffff1660e01b81526004016105239291906117df565b604080518083038186803b15801561053a57600080fd5b505afa15801561054e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105729190611617565b9150915061063f604051806040016040528060148152602001731cdb1857db5bdb9a5d1bdc9a5b99d7dcdd185c9d60621b81525073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__63fc966d45856040518263ffffffff1660e01b81526004016105dd91906117c8565b60006040518083038186803b1580156105f557600080fd5b505af4158015610609573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610631919081019061152a565b85919063ffffffff610cf216565b60408051808201825260128152711cdb1857db5bdb9a5d1bdc9a5b99d7d95b9960721b6020820152905163fc966d4560e01b81526106a2919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__9063fc966d45906105dd9086906004016117c8565b604080518082018252600b81526a736c615f6164647265737360a81b60208201529051635e57966d60e01b81526106fe919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__90635e57966d906105dd908c906004016116df565b600061072d7f000000000000000000000000000000000000000000000000000000000000000085600c54610d21565b6009805460018082019092557f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af018290556040805180820182526001600160a01b038c8116825260208083018f81526000878152600890925290849020925183546001600160a01b0319169083161783555191840191909155600d80549093019283905590519293508816917feab5eb77e722078f3fab7eb6a77c74f7001181e1e3a74d51b7b5747ee1b31cb9916107e69185906117d1565b60405180910390a25050600160075550505050505050565b600e5490565b600860205260009081526040902080546001909101546001600160a01b039091169082565b6002600754141561084c5760405162461bcd60e51b815260040161025790611abe565b600260075560008281526005602052604090205482906001600160a01b031633146108895760405162461bcd60e51b815260040161025790611a2c565b60008181526005602052604080822080546001600160a01b03191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a26108d4611429565b506000838152600860209081526040918290208251808401845281546001600160a01b0316808252600190920154928101839052925186927f56514ef6e1ffd0f970ebf32dc181e476384e6e53a8351719040b4030318a933b9161093a919088906117d1565b60405180910390a3600e8054600101905580516020820151604051636bd2e21160e11b81526001600160a01b039092169163d7a5c42291610980918791906004016117d1565b600060405180830381600087803b15801561099a57600080fd5b505af11580156109ae573d6000803e3d6000fd5b50506001600755505050505050565b600b5490565b6103e890565b600c5490565b6010805460ff60a01b1916600160a01b179081905560405163ab9a81a560e01b81526001600160a01b039091169063ab9a81a590610a139085908590600401611717565b60206040518083038186803b158015610a2b57600080fd5b505afa158015610a3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6391906114b6565b610a7f5760405162461bcd60e51b815260040161025790611893565b6040516320c876ef60e11b815282906000906001600160a01b03831690634190edde90610ab09086906004016117c8565b60606040518083038186803b158015610ac857600080fd5b505afa158015610adc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b00919061163a565b925060009150610b0d9050565b816002811115610b1957fe5b14610b365760405162461bcd60e51b8152600401610257906118ca565b610b4383856000336103a2565b50506010805460ff60a01b191690555050565b610b5e610c54565b6001600160a01b0316610b6f610393565b6001600160a01b031614610b955760405162461bcd60e51b8152600401610257906119c0565b6001600160a01b038116610bbb5760405162461bcd60e51b81526004016102579061180a565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b031615610c405760405162461bcd60e51b815260040161025790611937565b600a80546001600160a01b03191633179055565b3390565b6002546001600160a01b031690565b610cbf846323b872dd60e01b858585604051602401610c88939291906116f3565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610e60565b50505050565b610ccd6113f4565b610cd56113f4565b610ce78186868663ffffffff610eef16565b9150505b9392505050565b6080830151610d07908363ffffffff610f2c16565b6080830151610d1c908263ffffffff610f2c16565b505050565b600030600454604051602001610d389291906116bd565b60408051808303601f19018152918152815160209283012060045460608701526000818152600590935281832080546001600160a01b0319166001600160a01b038916179055905190925082917fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af991a26002546001600160a01b0316634000aea08584610dc487610f49565b6040518463ffffffff1660e01b8152600401610de293929190611798565b602060405180830381600087803b158015610dfc57600080fd5b505af1158015610e10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3491906114b6565b610e505760405162461bcd60e51b815260040161025790611850565b6004805460010190559392505050565b6060610eb5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610fc59092919063ffffffff16565b805190915015610d1c5780806020019051810190610ed391906114b6565b610d1c5760405162461bcd60e51b815260040161025790611a74565b610ef76113f4565b610f078560800151610100610fdc565b50509183526001600160a01b031660208301526001600160e01b031916604082015290565b610f39826003835161101c565b610d1c828263ffffffff61112616565b6060634042994660e01b60008084600001518560200151866040015187606001516001896080015160000151604051602401610f8c989796959493929190611730565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091529050919050565b6060610fd48484600085611140565b949350505050565b610fe4611440565b6020820615610ff95760208206602003820191505b506020808301829052604080518085526000815283019091019052815b92915050565b601781116110435761103d8360e0600585901b16831763ffffffff61120116565b50610d1c565b60ff811161107957611066836018611fe0600586901b161763ffffffff61120116565b5061103d8382600163ffffffff61121916565b61ffff81116110b05761109d836019611fe0600586901b161763ffffffff61120116565b5061103d8382600263ffffffff61121916565b63ffffffff81116110e9576110d683601a611fe0600586901b161763ffffffff61120116565b5061103d8382600463ffffffff61121916565b67ffffffffffffffff8111610d1c5761111383601b611fe0600586901b161763ffffffff61120116565b50610cbf8382600863ffffffff61121916565b61112e611440565b610ceb83846000015151848551611232565b6060824710156111625760405162461bcd60e51b8152600401610257906118f1565b61116b856112de565b6111875760405162461bcd60e51b8152600401610257906119f5565b60006060866001600160a01b031685876040516111a491906116a1565b60006040518083038185875af1925050503d80600081146111e1576040519150601f19603f3d011682016040523d82523d6000602084013e6111e6565b606091505b50915091506111f68282866112e4565b979650505050505050565b611209611440565b610ceb838460000151518461131d565b611221611440565b610fd4848560000151518585611368565b61123a611440565b825182111561124857600080fd5b84602001518285011115611272576112728561126a87602001518786016113c6565b6002026113dd565b6000808651805187602083010193508088870111156112915787860182525b505050602084015b602084106112b85780518252601f199093019260209182019101611299565b51815160001960208690036101000a019081169019919091161790525083949350505050565b3b151590565b606083156112f3575081610ceb565b8251156113035782518084602001fd5b8160405162461bcd60e51b815260040161025791906117f7565b611325611440565b83602001518310611341576113418485602001516002026113dd565b83518051602085830101848153508085141561135e576001810182525b5093949350505050565b611370611440565b8460200151848301111561138d5761138d858584016002026113dd565b60006001836101000a0390508551838682010185831982511617815250805184870111156113bb5783860181525b509495945050505050565b6000818311156113d7575081611016565b50919050565b81516113e98383610fdc565b50610cbf8382611126565b6040805160a081018252600080825260208201819052918101829052606081019190915260808101611424611440565b905290565b604080518082019091526000808252602082015290565b604051806040016040528060608152602001600081525090565b80356001600160a01b038116811461101657600080fd5b600060208284031215611482578081fd5b610ceb838361145a565b6000806040838503121561149e578081fd5b6114a8848461145a565b946020939093013593505050565b6000602082840312156114c7578081fd5b8151610ceb81611b39565b6000602082840312156114e3578081fd5b5035919050565b600080604083850312156114fc578182fd5b50508035926020909101359150565b60006020828403121561151c578081fd5b815160068110610ceb578182fd5b60006020828403121561153b578081fd5b815167ffffffffffffffff80821115611552578283fd5b81840185601f820112611563578384fd5b8051925081831115611573578384fd5b604051601f8401601f191681016020018381118282101715611593578586fd5b6040528381528184016020018710156115aa578485fd5b6115bb846020830160208501611af5565b9695505050505050565b600080600080608085870312156115da578182fd5b8435935060208501356115ec81611b21565b925060408501356115fc81611b39565b9150606085013561160c81611b21565b939692955090935050565b60008060408385031215611629578182fd5b505080516020909101519092909150565b60008060006060848603121561164e578283fd5b835192506020840151915060408401516003811061166a578182fd5b809150509250925092565b6000815180845261168d816020860160208601611af5565b601f01601f19169290920160200192915050565b600082516116b3818460208701611af5565b9190910192915050565b60609290921b6bffffffffffffffffffffffff19168252601482015260340190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0389811682526020820189905260408201889052861660608201526001600160e01b03198516608082015260a0810184905260c0810183905261010060e0820181905260009061178983820185611675565b9b9a5050505050505050505050565b600060018060a01b0385168252836020830152606060408301526117bf6060830184611675565b95945050505050565b90815260200190565b918252602082015260400190565b60408101600684106117ed57fe5b9281526020015290565b600060208252610ceb6020830184611675565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526023908201527f756e61626c6520746f207472616e73666572416e6443616c6c20746f206f7261604082015262636c6560e81b606082015260800190565b6020808252601b908201527f5374616b6552656769737472793a206e6f742076657269666965640000000000604082015260600190565b6020808252600d908201526c14d3104e881d995c9a599a5959609a1b604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b60208082526028908201527f534c41526567697374727920616464726573732068617320616c7265616479206040820152671899595b881cd95d60c21b606082015260800190565b60208082526021908201527f43616e206f6e6c792062652063616c6c656420627920534c41526567697374726040820152607960f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526028908201527f536f75726365206d75737420626520746865206f7261636c65206f6620746865604082015267081c995c5d595cdd60c21b606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60005b83811015611b10578181015183820152602001611af8565b83811115610cbf5750506000910152565b6001600160a01b0381168114611b3657600080fd5b50565b8015158114611b3657600080fdfea264697066735822122050dea7ee923b63937e4885c9c865c4173c09ba9e1be99fdf9b89fbb09fd4e7c464736f6c63430006060033", + "opcodes": "PUSH1 0xA0 PUSH1 0x40 MSTORE PUSH1 0x1 PUSH1 0x4 SSTORE PUSH1 0x10 DUP1 SLOAD PUSH1 0xFF PUSH1 0xA0 SHL NOT AND SWAP1 SSTORE CALLVALUE DUP1 ISZERO PUSH3 0x23 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x1D7C CODESIZE SUB DUP1 PUSH3 0x1D7C DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x46 SWAP2 PUSH3 0x147 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x5B PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB PUSH3 0x121 AND JUMP JUMPDEST PUSH1 0x6 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE PUSH1 0x40 MLOAD SWAP2 SWAP3 POP SWAP1 PUSH1 0x0 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 DUP3 SWAP1 LOG3 POP PUSH1 0x1 PUSH1 0x7 SSTORE PUSH1 0xB DUP5 SWAP1 SSTORE PUSH3 0xC7 DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB PUSH3 0x125 AND JUMP JUMPDEST PUSH1 0x60 SWAP6 SWAP1 SWAP6 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB NOT AND PUSH1 0x80 MSTORE PUSH8 0x16345785D8A0000 SWAP2 SWAP1 SWAP2 MUL PUSH1 0xC SSTORE PUSH1 0xF DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT SWAP1 DUP2 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 DUP5 AND OR SWAP1 SWAP2 SSTORE PUSH1 0x10 DUP1 SLOAD SWAP1 SWAP2 AND SWAP2 SWAP1 SWAP5 AND OR SWAP1 SWAP3 SSTORE POP PUSH3 0x1DC SWAP1 POP JUMP JUMPDEST CALLER SWAP1 JUMP JUMPDEST PUSH1 0x2 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xC0 DUP8 DUP10 SUB SLT ISZERO PUSH3 0x160 JUMPI DUP2 DUP3 REVERT JUMPDEST DUP7 MLOAD PUSH3 0x16D DUP2 PUSH3 0x1C3 JUMP JUMPDEST PUSH1 0x20 DUP9 ADD MLOAD SWAP1 SWAP7 POP PUSH3 0x180 DUP2 PUSH3 0x1C3 JUMP JUMPDEST DUP1 SWAP6 POP POP PUSH1 0x40 DUP8 ADD MLOAD SWAP4 POP PUSH1 0x60 DUP8 ADD MLOAD SWAP3 POP PUSH1 0x80 DUP8 ADD MLOAD PUSH3 0x1A2 DUP2 PUSH3 0x1C3 JUMP JUMPDEST PUSH1 0xA0 DUP9 ADD MLOAD SWAP1 SWAP3 POP PUSH3 0x1B5 DUP2 PUSH3 0x1C3 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 SWAP6 POP SWAP3 SWAP6 POP SWAP3 SWAP6 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH3 0x1D9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x80 MLOAD PUSH1 0x60 SHR PUSH2 0x1B7D PUSH3 0x1FF PUSH1 0x0 CODECOPY DUP1 PUSH2 0x353 MSTORE DUP1 PUSH2 0x705 MSTORE POP PUSH2 0x1B7D PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x10B JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xA50C5425 GT PUSH2 0xA2 JUMPI DUP1 PUSH4 0xC9B0CB22 GT PUSH2 0x71 JUMPI DUP1 PUSH4 0xC9B0CB22 EQ PUSH2 0x1DA JUMPI DUP1 PUSH4 0xDDCA3F43 EQ PUSH2 0x1E2 JUMPI DUP1 PUSH4 0xE450F061 EQ PUSH2 0x1EA JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x1FD JUMPI DUP1 PUSH4 0xF3881589 EQ PUSH2 0x210 JUMPI PUSH2 0x10B JUMP JUMPDEST DUP1 PUSH4 0xA50C5425 EQ PUSH2 0x196 JUMPI DUP1 PUSH4 0xAE401EB9 EQ PUSH2 0x19E JUMPI DUP1 PUSH4 0xBC0BFC00 EQ PUSH2 0x1BF JUMPI DUP1 PUSH4 0xC2939D97 EQ PUSH2 0x1D2 JUMPI PUSH2 0x10B JUMP JUMPDEST DUP1 PUSH4 0x7DC0D1D0 GT PUSH2 0xDE JUMPI DUP1 PUSH4 0x7DC0D1D0 EQ PUSH2 0x160 JUMPI DUP1 PUSH4 0x81D12C58 EQ PUSH2 0x168 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x17B JUMPI DUP1 PUSH4 0x97A82192 EQ PUSH2 0x183 JUMPI PUSH2 0x10B JUMP JUMPDEST DUP1 PUSH4 0x292733BF EQ PUSH2 0x110 JUMPI DUP1 PUSH4 0x663C2269 EQ PUSH2 0x125 JUMPI DUP1 PUSH4 0x6E71890D EQ PUSH2 0x143 JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0x158 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x123 PUSH2 0x11E CALLDATASIZE PUSH1 0x4 PUSH2 0x14EA JUMP JUMPDEST PUSH2 0x218 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x12D PUSH2 0x2B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x13A SWAP2 SWAP1 PUSH2 0x17C8 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x14B PUSH2 0x2B9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x13A SWAP2 SWAP1 PUSH2 0x16DF JUMP JUMPDEST PUSH2 0x123 PUSH2 0x2C8 JUMP JUMPDEST PUSH2 0x14B PUSH2 0x351 JUMP JUMPDEST PUSH2 0x12D PUSH2 0x176 CALLDATASIZE PUSH1 0x4 PUSH2 0x14D2 JUMP JUMPDEST PUSH2 0x375 JUMP JUMPDEST PUSH2 0x14B PUSH2 0x393 JUMP JUMPDEST PUSH2 0x123 PUSH2 0x191 CALLDATASIZE PUSH1 0x4 PUSH2 0x15C5 JUMP JUMPDEST PUSH2 0x3A2 JUMP JUMPDEST PUSH2 0x12D PUSH2 0x7FE JUMP JUMPDEST PUSH2 0x1B1 PUSH2 0x1AC CALLDATASIZE PUSH1 0x4 PUSH2 0x14D2 JUMP JUMPDEST PUSH2 0x804 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x13A SWAP3 SWAP2 SWAP1 PUSH2 0x1717 JUMP JUMPDEST PUSH2 0x123 PUSH2 0x1CD CALLDATASIZE PUSH1 0x4 PUSH2 0x14EA JUMP JUMPDEST PUSH2 0x829 JUMP JUMPDEST PUSH2 0x12D PUSH2 0x9BD JUMP JUMPDEST PUSH2 0x12D PUSH2 0x9C3 JUMP JUMPDEST PUSH2 0x12D PUSH2 0x9C9 JUMP JUMPDEST PUSH2 0x123 PUSH2 0x1F8 CALLDATASIZE PUSH1 0x4 PUSH2 0x148C JUMP JUMPDEST PUSH2 0x9CF JUMP JUMPDEST PUSH2 0x123 PUSH2 0x20B CALLDATASIZE PUSH1 0x4 PUSH2 0x1471 JUMP JUMPDEST PUSH2 0xB56 JUMP JUMPDEST PUSH2 0x123 PUSH2 0xC17 JUMP JUMPDEST PUSH2 0x220 PUSH2 0xC54 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x231 PUSH2 0x393 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x260 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x19C0 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0xB DUP3 SWAP1 SSTORE PUSH8 0x16345785D8A0000 DUP2 MUL PUSH1 0xC DUP2 SWAP1 SSTORE PUSH1 0x40 MLOAD CALLER SWAP2 PUSH32 0x8E7E22D2820965FA1A8FA3AD76DB76127E2F1BAAF65F50C4E267F28B2254F7CB SWAP2 PUSH2 0x2A7 SWAP2 DUP7 SWAP2 PUSH2 0x17D1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0xD SLOAD SWAP1 JUMP JUMPDEST PUSH1 0xA SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH2 0x2D0 PUSH2 0xC54 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x2E1 PUSH2 0x393 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x307 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x19C0 JUMP JUMPDEST PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 DUP4 SWAP1 LOG3 PUSH1 0x6 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE JUMP JUMPDEST PUSH32 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x9 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x382 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD SWAP1 POP DUP2 JUMP JUMPDEST PUSH1 0x6 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x10 SLOAD PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DIV PUSH1 0xFF AND PUSH2 0x3DD JUMPI PUSH1 0xA SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x3DD JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x197F JUMP JUMPDEST PUSH1 0x2 PUSH1 0x7 SLOAD EQ ISZERO PUSH2 0x400 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x1ABE JUMP JUMPDEST PUSH1 0x2 PUSH1 0x7 SSTORE DUP3 DUP3 ISZERO PUSH2 0x43F JUMPI PUSH2 0x43A PUSH2 0x417 PUSH2 0x393 JUMP JUMPDEST ADDRESS PUSH1 0xC SLOAD PUSH2 0x423 PUSH2 0xC58 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF PUSH2 0xC67 AND JUMP JUMPDEST PUSH2 0x44F JUMP JUMPDEST PUSH2 0x44F DUP3 ADDRESS PUSH1 0xC SLOAD PUSH2 0x423 PUSH2 0xC58 JUMP JUMPDEST PUSH2 0x457 PUSH2 0x13F4 JUMP JUMPDEST PUSH1 0xB SLOAD PUSH2 0x46B SWAP1 ADDRESS PUSH3 0x2F02FF PUSH1 0xEA SHL PUSH2 0xCC5 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP1 PUSH1 0xF PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xFFA61235 DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x46E0FBAE PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4CD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x4E1 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x505 SWAP2 SWAP1 PUSH2 0x150B JUMP JUMPDEST DUP11 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x523 SWAP3 SWAP2 SWAP1 PUSH2 0x17DF JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x53A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x54E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x572 SWAP2 SWAP1 PUSH2 0x1617 JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH2 0x63F PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x14 DUP2 MSTORE PUSH1 0x20 ADD PUSH20 0x1CDB1857DB5BDB9A5D1BDC9A5B99D7DCDD185C9D PUSH1 0x62 SHL DUP2 MSTORE POP PUSH20 0x0 PUSH4 0xFC966D45 DUP6 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5DD SWAP2 SWAP1 PUSH2 0x17C8 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x5F5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS DELEGATECALL ISZERO DUP1 ISZERO PUSH2 0x609 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD PUSH1 0x40 MSTORE PUSH2 0x631 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x152A JUMP JUMPDEST DUP6 SWAP2 SWAP1 PUSH4 0xFFFFFFFF PUSH2 0xCF2 AND JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x12 DUP2 MSTORE PUSH18 0x1CDB1857DB5BDB9A5D1BDC9A5B99D7D95B99 PUSH1 0x72 SHL PUSH1 0x20 DUP3 ADD MSTORE SWAP1 MLOAD PUSH4 0xFC966D45 PUSH1 0xE0 SHL DUP2 MSTORE PUSH2 0x6A2 SWAP2 SWAP1 PUSH20 0x0 SWAP1 PUSH4 0xFC966D45 SWAP1 PUSH2 0x5DD SWAP1 DUP7 SWAP1 PUSH1 0x4 ADD PUSH2 0x17C8 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0xB DUP2 MSTORE PUSH11 0x736C615F61646472657373 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE SWAP1 MLOAD PUSH4 0x5E57966D PUSH1 0xE0 SHL DUP2 MSTORE PUSH2 0x6FE SWAP2 SWAP1 PUSH20 0x0 SWAP1 PUSH4 0x5E57966D SWAP1 PUSH2 0x5DD SWAP1 DUP13 SWAP1 PUSH1 0x4 ADD PUSH2 0x16DF JUMP JUMPDEST PUSH1 0x0 PUSH2 0x72D PUSH32 0x0 DUP6 PUSH1 0xC SLOAD PUSH2 0xD21 JUMP JUMPDEST PUSH1 0x9 DUP1 SLOAD PUSH1 0x1 DUP1 DUP3 ADD SWAP1 SWAP3 SSTORE PUSH32 0x6E1540171B6C0C960B71A7020D9F60077F6AF931A8BBF590DA0223DACF75C7AF ADD DUP3 SWAP1 SSTORE PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP13 DUP2 AND DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 ADD DUP16 DUP2 MSTORE PUSH1 0x0 DUP8 DUP2 MSTORE PUSH1 0x8 SWAP1 SWAP3 MSTORE SWAP1 DUP5 SWAP1 KECCAK256 SWAP3 MLOAD DUP4 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 DUP4 AND OR DUP4 SSTORE MLOAD SWAP2 DUP5 ADD SWAP2 SWAP1 SWAP2 SSTORE PUSH1 0xD DUP1 SLOAD SWAP1 SWAP4 ADD SWAP3 DUP4 SWAP1 SSTORE SWAP1 MLOAD SWAP3 SWAP4 POP DUP9 AND SWAP2 PUSH32 0xEAB5EB77E722078F3FAB7EB6A77C74F7001181E1E3A74D51B7B5747EE1B31CB9 SWAP2 PUSH2 0x7E6 SWAP2 DUP6 SWAP1 PUSH2 0x17D1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP POP PUSH1 0x1 PUSH1 0x7 SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0xE SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x8 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 SWAP1 SWAP2 ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 DUP3 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x7 SLOAD EQ ISZERO PUSH2 0x84C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x1ABE JUMP JUMPDEST PUSH1 0x2 PUSH1 0x7 SSTORE PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x889 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x1A2C JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE MLOAD DUP3 SWAP2 PUSH32 0x7CC135E0CEBB02C3480AE5D74D377283180A2601F8F644EDF7987B009316C63A SWAP2 LOG2 PUSH2 0x8D4 PUSH2 0x1429 JUMP JUMPDEST POP PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x8 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 DUP3 MLOAD DUP1 DUP5 ADD DUP5 MSTORE DUP2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 DUP3 MSTORE PUSH1 0x1 SWAP1 SWAP3 ADD SLOAD SWAP3 DUP2 ADD DUP4 SWAP1 MSTORE SWAP3 MLOAD DUP7 SWAP3 PUSH32 0x56514EF6E1FFD0F970EBF32DC181E476384E6E53A8351719040B4030318A933B SWAP2 PUSH2 0x93A SWAP2 SWAP1 DUP9 SWAP1 PUSH2 0x17D1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH1 0xE DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE DUP1 MLOAD PUSH1 0x20 DUP3 ADD MLOAD PUSH1 0x40 MLOAD PUSH4 0x6BD2E211 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP2 PUSH4 0xD7A5C422 SWAP2 PUSH2 0x980 SWAP2 DUP8 SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0x17D1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x99A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x9AE JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x1 PUSH1 0x7 SSTORE POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0xB SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x3E8 SWAP1 JUMP JUMPDEST PUSH1 0xC SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x10 DUP1 SLOAD PUSH1 0xFF PUSH1 0xA0 SHL NOT AND PUSH1 0x1 PUSH1 0xA0 SHL OR SWAP1 DUP2 SWAP1 SSTORE PUSH1 0x40 MLOAD PUSH4 0xAB9A81A5 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xAB9A81A5 SWAP1 PUSH2 0xA13 SWAP1 DUP6 SWAP1 DUP6 SWAP1 PUSH1 0x4 ADD PUSH2 0x1717 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xA2B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xA3F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xA63 SWAP2 SWAP1 PUSH2 0x14B6 JUMP JUMPDEST PUSH2 0xA7F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x1893 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x20C876EF PUSH1 0xE1 SHL DUP2 MSTORE DUP3 SWAP1 PUSH1 0x0 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH4 0x4190EDDE SWAP1 PUSH2 0xAB0 SWAP1 DUP7 SWAP1 PUSH1 0x4 ADD PUSH2 0x17C8 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xAC8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xADC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xB00 SWAP2 SWAP1 PUSH2 0x163A JUMP JUMPDEST SWAP3 POP PUSH1 0x0 SWAP2 POP PUSH2 0xB0D SWAP1 POP JUMP JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0xB19 JUMPI INVALID JUMPDEST EQ PUSH2 0xB36 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x18CA JUMP JUMPDEST PUSH2 0xB43 DUP4 DUP6 PUSH1 0x0 CALLER PUSH2 0x3A2 JUMP JUMPDEST POP POP PUSH1 0x10 DUP1 SLOAD PUSH1 0xFF PUSH1 0xA0 SHL NOT AND SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH2 0xB5E PUSH2 0xC54 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0xB6F PUSH2 0x393 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0xB95 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x19C0 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0xBBB JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x180A JUMP JUMPDEST PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP5 AND SWAP3 AND SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 PUSH1 0x6 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0xA SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO PUSH2 0xC40 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x1937 JUMP JUMPDEST PUSH1 0xA DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND CALLER OR SWAP1 SSTORE JUMP JUMPDEST CALLER SWAP1 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH2 0xCBF DUP5 PUSH4 0x23B872DD PUSH1 0xE0 SHL DUP6 DUP6 DUP6 PUSH1 0x40 MLOAD PUSH1 0x24 ADD PUSH2 0xC88 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x16F3 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 SWAP1 MSTORE PUSH1 0x20 DUP2 ADD DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP1 SWAP4 AND SWAP3 SWAP1 SWAP3 OR SWAP1 SWAP2 MSTORE PUSH2 0xE60 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH2 0xCCD PUSH2 0x13F4 JUMP JUMPDEST PUSH2 0xCD5 PUSH2 0x13F4 JUMP JUMPDEST PUSH2 0xCE7 DUP2 DUP7 DUP7 DUP7 PUSH4 0xFFFFFFFF PUSH2 0xEEF AND JUMP JUMPDEST SWAP2 POP POP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x80 DUP4 ADD MLOAD PUSH2 0xD07 SWAP1 DUP4 PUSH4 0xFFFFFFFF PUSH2 0xF2C AND JUMP JUMPDEST PUSH1 0x80 DUP4 ADD MLOAD PUSH2 0xD1C SWAP1 DUP3 PUSH4 0xFFFFFFFF PUSH2 0xF2C AND JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 ADDRESS PUSH1 0x4 SLOAD PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xD38 SWAP3 SWAP2 SWAP1 PUSH2 0x16BD JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 PUSH1 0x4 SLOAD PUSH1 0x60 DUP8 ADD MSTORE PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 SWAP1 SWAP4 MSTORE DUP2 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 AND OR SWAP1 SSTORE SWAP1 MLOAD SWAP1 SWAP3 POP DUP3 SWAP2 PUSH32 0xB5E6E01E79F91267DC17B4E6314D5D4D03593D2CEEE0FBB452B750BD70EA5AF9 SWAP2 LOG2 PUSH1 0x2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x4000AEA0 DUP6 DUP5 PUSH2 0xDC4 DUP8 PUSH2 0xF49 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP5 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xDE2 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1798 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xDFC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xE10 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xE34 SWAP2 SWAP1 PUSH2 0x14B6 JUMP JUMPDEST PUSH2 0xE50 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x1850 JUMP JUMPDEST PUSH1 0x4 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH2 0xEB5 DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x20 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x5361666545524332303A206C6F772D6C6576656C2063616C6C206661696C6564 DUP2 MSTORE POP DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0xFC5 SWAP1 SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST DUP1 MLOAD SWAP1 SWAP2 POP ISZERO PUSH2 0xD1C JUMPI DUP1 DUP1 PUSH1 0x20 ADD SWAP1 MLOAD DUP2 ADD SWAP1 PUSH2 0xED3 SWAP2 SWAP1 PUSH2 0x14B6 JUMP JUMPDEST PUSH2 0xD1C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x1A74 JUMP JUMPDEST PUSH2 0xEF7 PUSH2 0x13F4 JUMP JUMPDEST PUSH2 0xF07 DUP6 PUSH1 0x80 ADD MLOAD PUSH2 0x100 PUSH2 0xFDC JUMP JUMPDEST POP POP SWAP2 DUP4 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH1 0x40 DUP3 ADD MSTORE SWAP1 JUMP JUMPDEST PUSH2 0xF39 DUP3 PUSH1 0x3 DUP4 MLOAD PUSH2 0x101C JUMP JUMPDEST PUSH2 0xD1C DUP3 DUP3 PUSH4 0xFFFFFFFF PUSH2 0x1126 AND JUMP JUMPDEST PUSH1 0x60 PUSH4 0x40429946 PUSH1 0xE0 SHL PUSH1 0x0 DUP1 DUP5 PUSH1 0x0 ADD MLOAD DUP6 PUSH1 0x20 ADD MLOAD DUP7 PUSH1 0x40 ADD MLOAD DUP8 PUSH1 0x60 ADD MLOAD PUSH1 0x1 DUP10 PUSH1 0x80 ADD MLOAD PUSH1 0x0 ADD MLOAD PUSH1 0x40 MLOAD PUSH1 0x24 ADD PUSH2 0xF8C SWAP9 SWAP8 SWAP7 SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1730 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 SWAP1 MSTORE PUSH1 0x20 DUP2 ADD DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP1 SWAP4 AND SWAP3 SWAP1 SWAP3 OR SWAP1 SWAP2 MSTORE SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x60 PUSH2 0xFD4 DUP5 DUP5 PUSH1 0x0 DUP6 PUSH2 0x1140 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH2 0xFE4 PUSH2 0x1440 JUMP JUMPDEST PUSH1 0x20 DUP3 MOD ISZERO PUSH2 0xFF9 JUMPI PUSH1 0x20 DUP3 MOD PUSH1 0x20 SUB DUP3 ADD SWAP2 POP JUMPDEST POP PUSH1 0x20 DUP1 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x40 DUP1 MLOAD DUP1 DUP6 MSTORE PUSH1 0x0 DUP2 MSTORE DUP4 ADD SWAP1 SWAP2 ADD SWAP1 MSTORE DUP2 JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x17 DUP2 GT PUSH2 0x1043 JUMPI PUSH2 0x103D DUP4 PUSH1 0xE0 PUSH1 0x5 DUP6 SWAP1 SHL AND DUP4 OR PUSH4 0xFFFFFFFF PUSH2 0x1201 AND JUMP JUMPDEST POP PUSH2 0xD1C JUMP JUMPDEST PUSH1 0xFF DUP2 GT PUSH2 0x1079 JUMPI PUSH2 0x1066 DUP4 PUSH1 0x18 PUSH2 0x1FE0 PUSH1 0x5 DUP7 SWAP1 SHL AND OR PUSH4 0xFFFFFFFF PUSH2 0x1201 AND JUMP JUMPDEST POP PUSH2 0x103D DUP4 DUP3 PUSH1 0x1 PUSH4 0xFFFFFFFF PUSH2 0x1219 AND JUMP JUMPDEST PUSH2 0xFFFF DUP2 GT PUSH2 0x10B0 JUMPI PUSH2 0x109D DUP4 PUSH1 0x19 PUSH2 0x1FE0 PUSH1 0x5 DUP7 SWAP1 SHL AND OR PUSH4 0xFFFFFFFF PUSH2 0x1201 AND JUMP JUMPDEST POP PUSH2 0x103D DUP4 DUP3 PUSH1 0x2 PUSH4 0xFFFFFFFF PUSH2 0x1219 AND JUMP JUMPDEST PUSH4 0xFFFFFFFF DUP2 GT PUSH2 0x10E9 JUMPI PUSH2 0x10D6 DUP4 PUSH1 0x1A PUSH2 0x1FE0 PUSH1 0x5 DUP7 SWAP1 SHL AND OR PUSH4 0xFFFFFFFF PUSH2 0x1201 AND JUMP JUMPDEST POP PUSH2 0x103D DUP4 DUP3 PUSH1 0x4 PUSH4 0xFFFFFFFF PUSH2 0x1219 AND JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0xD1C JUMPI PUSH2 0x1113 DUP4 PUSH1 0x1B PUSH2 0x1FE0 PUSH1 0x5 DUP7 SWAP1 SHL AND OR PUSH4 0xFFFFFFFF PUSH2 0x1201 AND JUMP JUMPDEST POP PUSH2 0xCBF DUP4 DUP3 PUSH1 0x8 PUSH4 0xFFFFFFFF PUSH2 0x1219 AND JUMP JUMPDEST PUSH2 0x112E PUSH2 0x1440 JUMP JUMPDEST PUSH2 0xCEB DUP4 DUP5 PUSH1 0x0 ADD MLOAD MLOAD DUP5 DUP6 MLOAD PUSH2 0x1232 JUMP JUMPDEST PUSH1 0x60 DUP3 SELFBALANCE LT ISZERO PUSH2 0x1162 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x18F1 JUMP JUMPDEST PUSH2 0x116B DUP6 PUSH2 0x12DE JUMP JUMPDEST PUSH2 0x1187 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x19F5 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP7 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP6 DUP8 PUSH1 0x40 MLOAD PUSH2 0x11A4 SWAP2 SWAP1 PUSH2 0x16A1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x11E1 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x11E6 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP PUSH2 0x11F6 DUP3 DUP3 DUP7 PUSH2 0x12E4 JUMP JUMPDEST SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x1209 PUSH2 0x1440 JUMP JUMPDEST PUSH2 0xCEB DUP4 DUP5 PUSH1 0x0 ADD MLOAD MLOAD DUP5 PUSH2 0x131D JUMP JUMPDEST PUSH2 0x1221 PUSH2 0x1440 JUMP JUMPDEST PUSH2 0xFD4 DUP5 DUP6 PUSH1 0x0 ADD MLOAD MLOAD DUP6 DUP6 PUSH2 0x1368 JUMP JUMPDEST PUSH2 0x123A PUSH2 0x1440 JUMP JUMPDEST DUP3 MLOAD DUP3 GT ISZERO PUSH2 0x1248 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 PUSH1 0x20 ADD MLOAD DUP3 DUP6 ADD GT ISZERO PUSH2 0x1272 JUMPI PUSH2 0x1272 DUP6 PUSH2 0x126A DUP8 PUSH1 0x20 ADD MLOAD DUP8 DUP7 ADD PUSH2 0x13C6 JUMP JUMPDEST PUSH1 0x2 MUL PUSH2 0x13DD JUMP JUMPDEST PUSH1 0x0 DUP1 DUP7 MLOAD DUP1 MLOAD DUP8 PUSH1 0x20 DUP4 ADD ADD SWAP4 POP DUP1 DUP9 DUP8 ADD GT ISZERO PUSH2 0x1291 JUMPI DUP8 DUP7 ADD DUP3 MSTORE JUMPDEST POP POP POP PUSH1 0x20 DUP5 ADD JUMPDEST PUSH1 0x20 DUP5 LT PUSH2 0x12B8 JUMPI DUP1 MLOAD DUP3 MSTORE PUSH1 0x1F NOT SWAP1 SWAP4 ADD SWAP3 PUSH1 0x20 SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x1299 JUMP JUMPDEST MLOAD DUP2 MLOAD PUSH1 0x0 NOT PUSH1 0x20 DUP7 SWAP1 SUB PUSH2 0x100 EXP ADD SWAP1 DUP2 AND SWAP1 NOT SWAP2 SWAP1 SWAP2 AND OR SWAP1 MSTORE POP DUP4 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST EXTCODESIZE ISZERO ISZERO SWAP1 JUMP JUMPDEST PUSH1 0x60 DUP4 ISZERO PUSH2 0x12F3 JUMPI POP DUP2 PUSH2 0xCEB JUMP JUMPDEST DUP3 MLOAD ISZERO PUSH2 0x1303 JUMPI DUP3 MLOAD DUP1 DUP5 PUSH1 0x20 ADD REVERT JUMPDEST DUP2 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP2 SWAP1 PUSH2 0x17F7 JUMP JUMPDEST PUSH2 0x1325 PUSH2 0x1440 JUMP JUMPDEST DUP4 PUSH1 0x20 ADD MLOAD DUP4 LT PUSH2 0x1341 JUMPI PUSH2 0x1341 DUP5 DUP6 PUSH1 0x20 ADD MLOAD PUSH1 0x2 MUL PUSH2 0x13DD JUMP JUMPDEST DUP4 MLOAD DUP1 MLOAD PUSH1 0x20 DUP6 DUP4 ADD ADD DUP5 DUP2 MSTORE8 POP DUP1 DUP6 EQ ISZERO PUSH2 0x135E JUMPI PUSH1 0x1 DUP2 ADD DUP3 MSTORE JUMPDEST POP SWAP4 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH2 0x1370 PUSH2 0x1440 JUMP JUMPDEST DUP5 PUSH1 0x20 ADD MLOAD DUP5 DUP4 ADD GT ISZERO PUSH2 0x138D JUMPI PUSH2 0x138D DUP6 DUP6 DUP5 ADD PUSH1 0x2 MUL PUSH2 0x13DD JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP4 PUSH2 0x100 EXP SUB SWAP1 POP DUP6 MLOAD DUP4 DUP7 DUP3 ADD ADD DUP6 DUP4 NOT DUP3 MLOAD AND OR DUP2 MSTORE POP DUP1 MLOAD DUP5 DUP8 ADD GT ISZERO PUSH2 0x13BB JUMPI DUP4 DUP7 ADD DUP2 MSTORE JUMPDEST POP SWAP5 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 DUP4 GT ISZERO PUSH2 0x13D7 JUMPI POP DUP2 PUSH2 0x1016 JUMP JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP2 MLOAD PUSH2 0x13E9 DUP4 DUP4 PUSH2 0xFDC JUMP JUMPDEST POP PUSH2 0xCBF DUP4 DUP3 PUSH2 0x1126 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0xA0 DUP2 ADD DUP3 MSTORE PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD DUP2 SWAP1 MSTORE SWAP2 DUP2 ADD DUP3 SWAP1 MSTORE PUSH1 0x60 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x80 DUP2 ADD PUSH2 0x1424 PUSH2 0x1440 JUMP JUMPDEST SWAP1 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x1016 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1482 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0xCEB DUP4 DUP4 PUSH2 0x145A JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x149E JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x14A8 DUP5 DUP5 PUSH2 0x145A JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x14C7 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 MLOAD PUSH2 0xCEB DUP2 PUSH2 0x1B39 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x14E3 JUMPI DUP1 DUP2 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x14FC JUMPI DUP2 DUP3 REVERT JUMPDEST POP POP DUP1 CALLDATALOAD SWAP3 PUSH1 0x20 SWAP1 SWAP2 ADD CALLDATALOAD SWAP2 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x151C JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x6 DUP2 LT PUSH2 0xCEB JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x153B JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 MLOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x1552 JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 DUP5 ADD DUP6 PUSH1 0x1F DUP3 ADD SLT PUSH2 0x1563 JUMPI DUP4 DUP5 REVERT JUMPDEST DUP1 MLOAD SWAP3 POP DUP2 DUP4 GT ISZERO PUSH2 0x1573 JUMPI DUP4 DUP5 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP5 ADD PUSH1 0x1F NOT AND DUP2 ADD PUSH1 0x20 ADD DUP4 DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x1593 JUMPI DUP6 DUP7 REVERT JUMPDEST PUSH1 0x40 MSTORE DUP4 DUP2 MSTORE DUP2 DUP5 ADD PUSH1 0x20 ADD DUP8 LT ISZERO PUSH2 0x15AA JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0x15BB DUP5 PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP6 ADD PUSH2 0x1AF5 JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x15DA JUMPI DUP2 DUP3 REVERT JUMPDEST DUP5 CALLDATALOAD SWAP4 POP PUSH1 0x20 DUP6 ADD CALLDATALOAD PUSH2 0x15EC DUP2 PUSH2 0x1B21 JUMP JUMPDEST SWAP3 POP PUSH1 0x40 DUP6 ADD CALLDATALOAD PUSH2 0x15FC DUP2 PUSH2 0x1B39 JUMP JUMPDEST SWAP2 POP PUSH1 0x60 DUP6 ADD CALLDATALOAD PUSH2 0x160C DUP2 PUSH2 0x1B21 JUMP JUMPDEST SWAP4 SWAP7 SWAP3 SWAP6 POP SWAP1 SWAP4 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1629 JUMPI DUP2 DUP3 REVERT JUMPDEST POP POP DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD MLOAD SWAP1 SWAP3 SWAP1 SWAP2 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x164E JUMPI DUP3 DUP4 REVERT JUMPDEST DUP4 MLOAD SWAP3 POP PUSH1 0x20 DUP5 ADD MLOAD SWAP2 POP PUSH1 0x40 DUP5 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH2 0x166A JUMPI DUP2 DUP3 REVERT JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x168D DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x1AF5 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x16B3 DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x1AF5 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 SWAP3 SWAP1 SWAP3 SHL PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP3 MSTORE PUSH1 0x14 DUP3 ADD MSTORE PUSH1 0x34 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 DUP5 AND DUP2 MSTORE SWAP2 SWAP1 SWAP3 AND PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 DUP2 AND DUP3 MSTORE PUSH1 0x20 DUP3 ADD DUP10 SWAP1 MSTORE PUSH1 0x40 DUP3 ADD DUP9 SWAP1 MSTORE DUP7 AND PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP6 AND PUSH1 0x80 DUP3 ADD MSTORE PUSH1 0xA0 DUP2 ADD DUP5 SWAP1 MSTORE PUSH1 0xC0 DUP2 ADD DUP4 SWAP1 MSTORE PUSH2 0x100 PUSH1 0xE0 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP1 PUSH2 0x1789 DUP4 DUP3 ADD DUP6 PUSH2 0x1675 JUMP JUMPDEST SWAP12 SWAP11 POP POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP6 AND DUP3 MSTORE DUP4 PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x60 PUSH1 0x40 DUP4 ADD MSTORE PUSH2 0x17BF PUSH1 0x60 DUP4 ADD DUP5 PUSH2 0x1675 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP2 ADD PUSH1 0x6 DUP5 LT PUSH2 0x17ED JUMPI INVALID JUMPDEST SWAP3 DUP2 MSTORE PUSH1 0x20 ADD MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0xCEB PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x1675 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x26 SWAP1 DUP3 ADD MSTORE PUSH32 0x4F776E61626C653A206E6577206F776E657220697320746865207A65726F2061 PUSH1 0x40 DUP3 ADD MSTORE PUSH6 0x646472657373 PUSH1 0xD0 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x23 SWAP1 DUP3 ADD MSTORE PUSH32 0x756E61626C6520746F207472616E73666572416E6443616C6C20746F206F7261 PUSH1 0x40 DUP3 ADD MSTORE PUSH3 0x636C65 PUSH1 0xE8 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1B SWAP1 DUP3 ADD MSTORE PUSH32 0x5374616B6552656769737472793A206E6F742076657269666965640000000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0xD SWAP1 DUP3 ADD MSTORE PUSH13 0x14D3104E881D995C9A599A5959 PUSH1 0x9A SHL PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x26 SWAP1 DUP3 ADD MSTORE PUSH32 0x416464726573733A20696E73756666696369656E742062616C616E636520666F PUSH1 0x40 DUP3 ADD MSTORE PUSH6 0x1C8818D85B1B PUSH1 0xD2 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x28 SWAP1 DUP3 ADD MSTORE PUSH32 0x534C41526567697374727920616464726573732068617320616C726561647920 PUSH1 0x40 DUP3 ADD MSTORE PUSH8 0x1899595B881CD95D PUSH1 0xC2 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x21 SWAP1 DUP3 ADD MSTORE PUSH32 0x43616E206F6E6C792062652063616C6C656420627920534C4152656769737472 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x79 PUSH1 0xF8 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 DUP2 ADD MSTORE PUSH32 0x4F776E61626C653A2063616C6C6572206973206E6F7420746865206F776E6572 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x416464726573733A2063616C6C20746F206E6F6E2D636F6E7472616374000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x28 SWAP1 DUP3 ADD MSTORE PUSH32 0x536F75726365206D75737420626520746865206F7261636C65206F6620746865 PUSH1 0x40 DUP3 ADD MSTORE PUSH8 0x81C995C5D595CDD PUSH1 0xC2 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2A SWAP1 DUP3 ADD MSTORE PUSH32 0x5361666545524332303A204552433230206F7065726174696F6E20646964206E PUSH1 0x40 DUP3 ADD MSTORE PUSH10 0x1BDD081CDD58D8D95959 PUSH1 0xB2 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1F SWAP1 DUP3 ADD MSTORE PUSH32 0x5265656E7472616E637947756172643A207265656E7472616E742063616C6C00 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1B10 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1AF8 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xCBF JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x1B36 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x1B36 JUMPI PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 POP 0xDE 0xA7 0xEE SWAP3 EXTCODESIZE PUSH4 0x937E4885 0xC9 0xC8 PUSH6 0xC4173C09BA9E SHL 0xE9 SWAP16 0xDF SWAP12 DUP10 0xFB 0xB0 SWAP16 0xD4 0xE7 0xC4 PUSH5 0x736F6C6343 STOP MOD MOD STOP CALLER ", + "sourceMap": "622:8550:45:-:0;;;1211:1:1;1180:32;;1667:26:45;;;-1:-1:-1;;;;1667:26:45;;;2253:516;2:2:-1;;;;27:1;24;17:12;2:2;2253:516:45;;;;;;;;;;;;;;;;;;;;;884:17:19;904:12;-1:-1:-1;;;;;904:10:19;:12;:::i;:::-;926:6;:18;;-1:-1:-1;;;;;;926:18:19;-1:-1:-1;;;;;926:18:19;;;;;;;;959:43;;926:18;;-1:-1:-1;926:18:19;-1:-1:-1;;959:43:19;;-1:-1:-1;;959:43:19;-1:-1:-1;1645:1:31;1760:7;:22;2516:6:45;:24;;;2550:43;2568:24;-1:-1:-1;;;;;2550:17:45;:43;:::i;:::-;2603:35;;;;;-1:-1:-1;;;;;;2603:35:45;;;1253:9;2655:25;;;;2648:4;:32;2690:14;:32;;-1:-1:-1;;;;;;2690:32:45;;;-1:-1:-1;;;;;2690:32:45;;;;;;;2732:13;:30;;;;;;;;;;;;;-1:-1:-1;622:8550:45;;-1:-1:-1;622:8550:45;598:104:28;685:10;598:104;:::o;4882:94:1:-;4939:4;:32;;-1:-1:-1;;;;;;4939:32:1;-1:-1:-1;;;;;4939:32:1;;;;;;;;;;4882:94::o;802:1038:-1:-;;;;;;;1048:3;1036:9;1027:7;1023:23;1019:33;1016:2;;;-1:-1;;1055:12;1016:2;89:6;83:13;101:33;128:5;101:33;;;1218:2;1268:22;;83:13;1107:74;;-1:-1;101:33;83:13;101:33;;;1226:74;;;;1337:2;1391:9;1387:22;224:13;1345:74;;1456:2;1510:9;1506:22;739:13;1464:74;;1575:3;1653:9;1649:22;388:13;406:56;456:5;406:56;;;1718:3;1792:22;;575:13;1584:97;;-1:-1;593:56;575:13;593:56;;;1727:97;;;;1010:830;;;;;;;;;2473:117;-1:-1;;;;;2328:54;;2532:35;;2522:2;;2581:1;;2571:12;2522:2;2516:74;;;622:8550:45;;;;;;;;;;;" }, "deployedBytecode": { "immutableReferences": { "12607": [ { "length": 32, - "start": 1714 + "start": 851 }, { "length": 32, - "start": 2753 + "start": 1797 } ] }, @@ -13778,38 +13736,26 @@ "StringUtils": [ { "length": 20, - "start": 587 + "start": 1448 }, { "length": 20, - "start": 1124 + "start": 1658 }, { "length": 20, - "start": 1250 - }, - { - "length": 20, - "start": 2417 - }, - { - "length": 20, - "start": 2614 - }, - { - "length": 20, - "start": 2706 + "start": 1750 } ] } }, - "object": "608060405234801561001057600080fd5b50600436106101165760003560e01c8063a50c5425116100a2578063c9b0cb2211610071578063c9b0cb2214610206578063ddca3f431461020e578063e450f06114610216578063f2fde38b14610229578063f38815891461023c57610116565b8063a50c5425146101c2578063ae401eb9146101ca578063bc0bfc00146101eb578063c2939d97146101fe57610116565b8063715018a6116100e9578063715018a6146101845780637dc0d1d01461018c57806381d12c58146101945780638da5cb5b146101a757806397a82192146101af57610116565b806304e4fc011461011b578063292733bf14610145578063663c22691461015a5780636e71890d1461016f575b600080fd5b61012e610129366004611979565b610244565b60405161013c929190611c90565b60405180910390f35b610158610153366004611991565b610577565b005b610162610612565b60405161013c9190611c87565b610177610618565b60405161013c9190611b9e565b610158610627565b6101776106b0565b6101626101a2366004611979565b6106d4565b6101776106f2565b6101586101bd366004611a84565b610701565b610162610bba565b6101dd6101d8366004611979565b610bc0565b60405161013c929190611bd6565b6101586101f9366004611991565b610be5565b610162610dcd565b610162610dd3565b610162610dd9565b610158610224366004611933565b610ddf565b610158610237366004611918565b610f66565b610158611027565b600080606073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__63ef0b2368856040518263ffffffff1660e01b81526004016102809190611c87565b60006040518083038186803b15801561029857600080fd5b505af41580156102ac573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102d491908101906119d1565b805190915060608167ffffffffffffffff811180156102f257600080fd5b506040519080825280601f01601f19166020018201604052801561031d576020820181803683370190505b50905060608267ffffffffffffffff8111801561033957600080fd5b506040519080825280601f01601f191660200182016040528015610364576020820181803683370190505b50905060005b8381101561045157600b60fa1b6001600160f81b03191685828151811061038d57fe5b01602001516001600160f81b03191614156104495760005b818110156103ef578581815181106103b957fe5b602001015160f81c60f81b8482815181106103d057fe5b60200101906001600160f81b031916908160001a9053506001016103a5565b5060005b60018286030381101561044757858183600101018151811061041157fe5b602001015160f81c60f81b83828151811061042857fe5b60200101906001600160f81b031916908160001a9053506001016103f3565b505b60010161036a565b506040516302d06d0560e01b815260009073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__906302d06d059061048c908690600401611c9e565b60206040518083038186803b1580156104a457600080fd5b505af41580156104b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dc9190611a6c565b9050600073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__6302d06d05846040518263ffffffff1660e01b81526004016105179190611c9e565b60206040518083038186803b15801561052f57600080fd5b505af4158015610543573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105679190611a6c565b9197509095505050505050915091565b61057f611064565b6001600160a01b03166105906106f2565b6001600160a01b0316146105bf5760405162461bcd60e51b81526004016105b690611f2e565b60405180910390fd5b600b82905567016345785d8a00008102600c81905560405133917f8e7e22d2820965fa1a8fa3ad76db76127e2f1baaf65f50c4e267f28b2254f7cb91610606918691611c90565b60405180910390a25050565b600d5490565b600a546001600160a01b031690565b61062f611064565b6001600160a01b03166106406106f2565b6001600160a01b0316146106665760405162461bcd60e51b81526004016105b690611f2e565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b7f000000000000000000000000000000000000000000000000000000000000000090565b600981815481106106e157fe5b600091825260209091200154905081565b6006546001600160a01b031690565b601054600160a01b900460ff1661073c57600a546001600160a01b0316331461073c5760405162461bcd60e51b81526004016105b690611eac565b6002600754141561075f5760405162461bcd60e51b81526004016105b69061202c565b600260075582821561079e576107996107766106f2565b30600c54610782611068565b6001600160a01b031692919063ffffffff61107716565b6107ae565b6107ae8230600c54610782611068565b6107b661189b565b600b546107ca9030622f02ff60ea1b6110d5565b9050600080600f60009054906101000a90046001600160a01b03166001600160a01b031663ffa61235856001600160a01b03166346e0fbae6040518163ffffffff1660e01b815260040160206040518083038186803b15801561082c57600080fd5b505afa158015610840573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086491906119b2565b8a6040518363ffffffff1660e01b8152600401610882929190611cb1565b604080518083038186803b15801561089957600080fd5b505afa1580156108ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d19190611ad6565b91509150610934604051806040016040528060088152602001676a6f625f7479706560c01b815250604051806040016040528060128152602001717374616b696e675f656666696369656e637960701b815250856111029092919063ffffffff16565b60408051808201825260148152731cdb1857db5bdb9a5d1bdc9a5b99d7dcdd185c9d60621b6020820152905163fc966d4560e01b81526109fb919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__9063fc966d4590610999908790600401611c87565b60006040518083038186803b1580156109b157600080fd5b505af41580156109c5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109ed91908101906119d1565b85919063ffffffff61110216565b60408051808201825260128152711cdb1857db5bdb9a5d1bdc9a5b99d7d95b9960721b6020820152905163fc966d4560e01b8152610a5e919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__9063fc966d4590610999908690600401611c87565b604080518082018252600b81526a736c615f6164647265737360a81b60208201529051635e57966d60e01b8152610aba919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__90635e57966d90610999908c90600401611b9e565b6000610ae97f000000000000000000000000000000000000000000000000000000000000000085600c54611131565b6009805460018082019092557f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af018290556040805180820182526001600160a01b038c8116825260208083018f81526000878152600890925290849020925183546001600160a01b0319169083161783555191840191909155600d80549093019283905590519293508816917feab5eb77e722078f3fab7eb6a77c74f7001181e1e3a74d51b7b5747ee1b31cb991610ba2918590611c90565b60405180910390a25050600160075550505050505050565b600e5490565b600860205260009081526040902080546001909101546001600160a01b039091169082565b60026007541415610c085760405162461bcd60e51b81526004016105b69061202c565b600260075560008281526005602052604090205482906001600160a01b03163314610c455760405162461bcd60e51b81526004016105b690611f9a565b60008181526005602052604080822080546001600160a01b03191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a281610c916118d0565b506000848152600860209081526040918290208251808401845281546001600160a01b0316808252600190920154928101839052925187927f56514ef6e1ffd0f970ebf32dc181e476384e6e53a8351719040b4030318a933b91610cf791908790611c90565b60405180910390a3600080610d0b84610244565b90925090506000610d22838363ffffffff61127016565b90506000610d4982610d3d86620186a063ffffffff61129e16565b9063ffffffff6112d816565b85516020870151604051636bd2e21160e11b81529293506001600160a01b039091169163d7a5c42291610d8191859190600401611c90565b600060405180830381600087803b158015610d9b57600080fd5b505af1158015610daf573d6000803e3d6000fd5b5050600e805460019081019091556007555050505050505050505050565b600b5490565b6103e890565b600c5490565b6010805460ff60a01b1916600160a01b179081905560405163ab9a81a560e01b81526001600160a01b039091169063ab9a81a590610e239085908590600401611bd6565b60206040518083038186803b158015610e3b57600080fd5b505afa158015610e4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e73919061195d565b610e8f5760405162461bcd60e51b81526004016105b690611d89565b6040516320c876ef60e11b815282906000906001600160a01b03831690634190edde90610ec0908690600401611c87565b60606040518083038186803b158015610ed857600080fd5b505afa158015610eec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f109190611af9565b925060009150610f1d9050565b816002811115610f2957fe5b14610f465760405162461bcd60e51b81526004016105b690611dc0565b610f538385600033610701565b50506010805460ff60a01b191690555050565b610f6e611064565b6001600160a01b0316610f7f6106f2565b6001600160a01b031614610fa55760405162461bcd60e51b81526004016105b690611f2e565b6001600160a01b038116610fcb5760405162461bcd60e51b81526004016105b690611cc9565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b0316156110505760405162461bcd60e51b81526004016105b690611e64565b600a80546001600160a01b03191633179055565b3390565b6002546001600160a01b031690565b6110cf846323b872dd60e01b85858560405160240161109893929190611bb2565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261130d565b50505050565b6110dd61189b565b6110e561189b565b6110f78186868663ffffffff61139c16565b9150505b9392505050565b6080830151611117908363ffffffff6113d916565b608083015161112c908263ffffffff6113d916565b505050565b600030600454604051602001611148929190611b7c565b60408051808303601f19018152918152815160209283012060045460608701526000818152600590935281832080546001600160a01b0319166001600160a01b038916179055905190925082917fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af991a26002546001600160a01b0316634000aea085846111d4876113f6565b6040518463ffffffff1660e01b81526004016111f293929190611c57565b602060405180830381600087803b15801561120c57600080fd5b505af1158015611220573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611244919061195d565b6112605760405162461bcd60e51b81526004016105b690611d46565b6004805460010190559392505050565b6000828201838110156112955760405162461bcd60e51b81526004016105b690611d0f565b90505b92915050565b6000826112ad57506000611298565b828202828482816112ba57fe5b04146112955760405162461bcd60e51b81526004016105b690611eed565b60008082116112f95760405162461bcd60e51b81526004016105b690611e2d565b600082848161130457fe5b04949350505050565b6060611362826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114729092919063ffffffff16565b80519091501561112c5780806020019051810190611380919061195d565b61112c5760405162461bcd60e51b81526004016105b690611fe2565b6113a461189b565b6113b48560800151610100611489565b50509183526001600160a01b031660208301526001600160e01b031916604082015290565b6113e682600383516114c3565b61112c828263ffffffff6115cd16565b6060634042994660e01b60008084600001518560200151866040015187606001516001896080015160000151604051602401611439989796959493929190611bef565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091529050919050565b606061148184846000856115e7565b949350505050565b6114916118e7565b60208206156114a65760208206602003820191505b506020828101829052604080518085526000815290920101905290565b601781116114ea576114e48360e0600585901b16831763ffffffff6116a816565b5061112c565b60ff81116115205761150d836018611fe0600586901b161763ffffffff6116a816565b506114e48382600163ffffffff6116c016565b61ffff811161155757611544836019611fe0600586901b161763ffffffff6116a816565b506114e48382600263ffffffff6116c016565b63ffffffff81116115905761157d83601a611fe0600586901b161763ffffffff6116a816565b506114e48382600463ffffffff6116c016565b67ffffffffffffffff811161112c576115ba83601b611fe0600586901b161763ffffffff6116a816565b506110cf8382600863ffffffff6116c016565b6115d56118e7565b611295838460000151518485516116d9565b6060824710156116095760405162461bcd60e51b81526004016105b690611de7565b61161285611785565b61162e5760405162461bcd60e51b81526004016105b690611f63565b60006060866001600160a01b0316858760405161164b9190611b60565b60006040518083038185875af1925050503d8060008114611688576040519150601f19603f3d011682016040523d82523d6000602084013e61168d565b606091505b509150915061169d82828661178b565b979650505050505050565b6116b06118e7565b61129583846000015151846117c4565b6116c86118e7565b61148184856000015151858561180f565b6116e16118e7565b82518211156116ef57600080fd5b846020015182850111156117195761171985611711876020015187860161186d565b600202611884565b6000808651805187602083010193508088870111156117385787860182525b505050602084015b6020841061175f5780518252601f199093019260209182019101611740565b51815160001960208690036101000a019081169019919091161790525083949350505050565b3b151590565b6060831561179a5750816110fb565b8251156117aa5782518084602001fd5b8160405162461bcd60e51b81526004016105b69190611c9e565b6117cc6118e7565b836020015183106117e8576117e8848560200151600202611884565b835180516020858301018481535080851415611805576001810182525b5093949350505050565b6118176118e7565b846020015184830111156118345761183485858401600202611884565b60006001836101000a0390508551838682010185831982511617815250805184870111156118625783860181525b509495945050505050565b60008183111561187e575081611298565b50919050565b81516118908383611489565b506110cf83826115cd565b6040805160a0810182526000808252602082018190529181018290526060810191909152608081016118cb6118e7565b905290565b604080518082019091526000808252602082015290565b604051806040016040528060608152602001600081525090565b80356001600160a01b038116811461129857600080fd5b600060208284031215611929578081fd5b6112958383611901565b60008060408385031215611945578081fd5b61194f8484611901565b946020939093013593505050565b60006020828403121561196e578081fd5b8151611295816120a7565b60006020828403121561198a578081fd5b5035919050565b600080604083850312156119a3578182fd5b50508035926020909101359150565b6000602082840312156119c3578081fd5b815160068110611295578182fd5b6000602082840312156119e2578081fd5b815167ffffffffffffffff808211156119f9578283fd5b81840185601f820112611a0a578384fd5b8051925081831115611a1a578384fd5b604051601f8401601f191681016020018381118282101715611a3a578586fd5b604052838152818401602001871015611a51578485fd5b611a62846020830160208501612063565b9695505050505050565b600060208284031215611a7d578081fd5b5051919050565b60008060008060808587031215611a99578182fd5b843593506020850135611aab8161208f565b92506040850135611abb816120a7565b91506060850135611acb8161208f565b939692955090935050565b60008060408385031215611ae8578182fd5b505080516020909101519092909150565b600080600060608486031215611b0d578283fd5b8351925060208401519150604084015160038110611b29578182fd5b809150509250925092565b60008151808452611b4c816020860160208601612063565b601f01601f19169290920160200192915050565b60008251611b72818460208701612063565b9190910192915050565b60609290921b6bffffffffffffffffffffffff19168252601482015260340190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0389811682526020820189905260408201889052861660608201526001600160e01b03198516608082015260a0810184905260c0810183905261010060e08201819052600090611c4883820185611b34565b9b9a5050505050505050505050565b600060018060a01b038516825283602083015260606040830152611c7e6060830184611b34565b95945050505050565b90815260200190565b918252602082015260400190565b6000602082526112956020830184611b34565b6040810160068410611cbf57fe5b9281526020015290565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526023908201527f756e61626c6520746f207472616e73666572416e6443616c6c20746f206f7261604082015262636c6560e81b606082015260800190565b6020808252601b908201527f5374616b6552656769737472793a206e6f742076657269666965640000000000604082015260600190565b6020808252600d908201526c14d3104e881d995c9a599a5959609a1b604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b60208082526028908201527f534c41526567697374727920616464726573732068617320616c7265616479206040820152671899595b881cd95d60c21b606082015260800190565b60208082526021908201527f43616e206f6e6c792062652063616c6c656420627920534c41526567697374726040820152607960f81b606082015260800190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526028908201527f536f75726365206d75737420626520746865206f7261636c65206f6620746865604082015267081c995c5d595cdd60c21b606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60005b8381101561207e578181015183820152602001612066565b838111156110cf5750506000910152565b6001600160a01b03811681146120a457600080fd5b50565b80151581146120a457600080fdfea2646970667358221220be1138e5e16755dbeb09faf107d72c051c7484ee288184c37ef28202f4bdd18164736f6c63430006060033", - "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x116 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xA50C5425 GT PUSH2 0xA2 JUMPI DUP1 PUSH4 0xC9B0CB22 GT PUSH2 0x71 JUMPI DUP1 PUSH4 0xC9B0CB22 EQ PUSH2 0x206 JUMPI DUP1 PUSH4 0xDDCA3F43 EQ PUSH2 0x20E JUMPI DUP1 PUSH4 0xE450F061 EQ PUSH2 0x216 JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x229 JUMPI DUP1 PUSH4 0xF3881589 EQ PUSH2 0x23C JUMPI PUSH2 0x116 JUMP JUMPDEST DUP1 PUSH4 0xA50C5425 EQ PUSH2 0x1C2 JUMPI DUP1 PUSH4 0xAE401EB9 EQ PUSH2 0x1CA JUMPI DUP1 PUSH4 0xBC0BFC00 EQ PUSH2 0x1EB JUMPI DUP1 PUSH4 0xC2939D97 EQ PUSH2 0x1FE JUMPI PUSH2 0x116 JUMP JUMPDEST DUP1 PUSH4 0x715018A6 GT PUSH2 0xE9 JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0x184 JUMPI DUP1 PUSH4 0x7DC0D1D0 EQ PUSH2 0x18C JUMPI DUP1 PUSH4 0x81D12C58 EQ PUSH2 0x194 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x1A7 JUMPI DUP1 PUSH4 0x97A82192 EQ PUSH2 0x1AF JUMPI PUSH2 0x116 JUMP JUMPDEST DUP1 PUSH4 0x4E4FC01 EQ PUSH2 0x11B JUMPI DUP1 PUSH4 0x292733BF EQ PUSH2 0x145 JUMPI DUP1 PUSH4 0x663C2269 EQ PUSH2 0x15A JUMPI DUP1 PUSH4 0x6E71890D EQ PUSH2 0x16F JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x12E PUSH2 0x129 CALLDATASIZE PUSH1 0x4 PUSH2 0x1979 JUMP JUMPDEST PUSH2 0x244 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x13C SWAP3 SWAP2 SWAP1 PUSH2 0x1C90 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x158 PUSH2 0x153 CALLDATASIZE PUSH1 0x4 PUSH2 0x1991 JUMP JUMPDEST PUSH2 0x577 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x162 PUSH2 0x612 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x13C SWAP2 SWAP1 PUSH2 0x1C87 JUMP JUMPDEST PUSH2 0x177 PUSH2 0x618 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x13C SWAP2 SWAP1 PUSH2 0x1B9E JUMP JUMPDEST PUSH2 0x158 PUSH2 0x627 JUMP JUMPDEST PUSH2 0x177 PUSH2 0x6B0 JUMP JUMPDEST PUSH2 0x162 PUSH2 0x1A2 CALLDATASIZE PUSH1 0x4 PUSH2 0x1979 JUMP JUMPDEST PUSH2 0x6D4 JUMP JUMPDEST PUSH2 0x177 PUSH2 0x6F2 JUMP JUMPDEST PUSH2 0x158 PUSH2 0x1BD CALLDATASIZE PUSH1 0x4 PUSH2 0x1A84 JUMP JUMPDEST PUSH2 0x701 JUMP JUMPDEST PUSH2 0x162 PUSH2 0xBBA JUMP JUMPDEST PUSH2 0x1DD PUSH2 0x1D8 CALLDATASIZE PUSH1 0x4 PUSH2 0x1979 JUMP JUMPDEST PUSH2 0xBC0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x13C SWAP3 SWAP2 SWAP1 PUSH2 0x1BD6 JUMP JUMPDEST PUSH2 0x158 PUSH2 0x1F9 CALLDATASIZE PUSH1 0x4 PUSH2 0x1991 JUMP JUMPDEST PUSH2 0xBE5 JUMP JUMPDEST PUSH2 0x162 PUSH2 0xDCD JUMP JUMPDEST PUSH2 0x162 PUSH2 0xDD3 JUMP JUMPDEST PUSH2 0x162 PUSH2 0xDD9 JUMP JUMPDEST PUSH2 0x158 PUSH2 0x224 CALLDATASIZE PUSH1 0x4 PUSH2 0x1933 JUMP JUMPDEST PUSH2 0xDDF JUMP JUMPDEST PUSH2 0x158 PUSH2 0x237 CALLDATASIZE PUSH1 0x4 PUSH2 0x1918 JUMP JUMPDEST PUSH2 0xF66 JUMP JUMPDEST PUSH2 0x158 PUSH2 0x1027 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x60 PUSH20 0x0 PUSH4 0xEF0B2368 DUP6 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x280 SWAP2 SWAP1 PUSH2 0x1C87 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x298 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS DELEGATECALL ISZERO DUP1 ISZERO PUSH2 0x2AC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD PUSH1 0x40 MSTORE PUSH2 0x2D4 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x19D1 JUMP JUMPDEST DUP1 MLOAD SWAP1 SWAP2 POP PUSH1 0x60 DUP2 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP1 ISZERO PUSH2 0x2F2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x31D JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x60 DUP3 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP1 ISZERO PUSH2 0x339 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x364 JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x451 JUMPI PUSH1 0xB PUSH1 0xFA SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND DUP6 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x38D JUMPI INVALID JUMPDEST ADD PUSH1 0x20 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND EQ ISZERO PUSH2 0x449 JUMPI PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x3EF JUMPI DUP6 DUP2 DUP2 MLOAD DUP2 LT PUSH2 0x3B9 JUMPI INVALID JUMPDEST PUSH1 0x20 ADD ADD MLOAD PUSH1 0xF8 SHR PUSH1 0xF8 SHL DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x3D0 JUMPI INVALID JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x1 ADD PUSH2 0x3A5 JUMP JUMPDEST POP PUSH1 0x0 JUMPDEST PUSH1 0x1 DUP3 DUP7 SUB SUB DUP2 LT ISZERO PUSH2 0x447 JUMPI DUP6 DUP2 DUP4 PUSH1 0x1 ADD ADD DUP2 MLOAD DUP2 LT PUSH2 0x411 JUMPI INVALID JUMPDEST PUSH1 0x20 ADD ADD MLOAD PUSH1 0xF8 SHR PUSH1 0xF8 SHL DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x428 JUMPI INVALID JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x1 ADD PUSH2 0x3F3 JUMP JUMPDEST POP JUMPDEST PUSH1 0x1 ADD PUSH2 0x36A JUMP JUMPDEST POP PUSH1 0x40 MLOAD PUSH4 0x2D06D05 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x0 SWAP1 PUSH20 0x0 SWAP1 PUSH4 0x2D06D05 SWAP1 PUSH2 0x48C SWAP1 DUP7 SWAP1 PUSH1 0x4 ADD PUSH2 0x1C9E JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS DELEGATECALL ISZERO DUP1 ISZERO PUSH2 0x4B8 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x4DC SWAP2 SWAP1 PUSH2 0x1A6C JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH20 0x0 PUSH4 0x2D06D05 DUP5 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x517 SWAP2 SWAP1 PUSH2 0x1C9E JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x52F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS DELEGATECALL ISZERO DUP1 ISZERO PUSH2 0x543 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x567 SWAP2 SWAP1 PUSH2 0x1A6C JUMP JUMPDEST SWAP2 SWAP8 POP SWAP1 SWAP6 POP POP POP POP POP POP SWAP2 POP SWAP2 JUMP JUMPDEST PUSH2 0x57F PUSH2 0x1064 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x590 PUSH2 0x6F2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x5BF JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1F2E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0xB DUP3 SWAP1 SSTORE PUSH8 0x16345785D8A0000 DUP2 MUL PUSH1 0xC DUP2 SWAP1 SSTORE PUSH1 0x40 MLOAD CALLER SWAP2 PUSH32 0x8E7E22D2820965FA1A8FA3AD76DB76127E2F1BAAF65F50C4E267F28B2254F7CB SWAP2 PUSH2 0x606 SWAP2 DUP7 SWAP2 PUSH2 0x1C90 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0xD SLOAD SWAP1 JUMP JUMPDEST PUSH1 0xA SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH2 0x62F PUSH2 0x1064 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x640 PUSH2 0x6F2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x666 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1F2E JUMP JUMPDEST PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 DUP4 SWAP1 LOG3 PUSH1 0x6 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE JUMP JUMPDEST PUSH32 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x9 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x6E1 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD SWAP1 POP DUP2 JUMP JUMPDEST PUSH1 0x6 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x10 SLOAD PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DIV PUSH1 0xFF AND PUSH2 0x73C JUMPI PUSH1 0xA SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x73C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1EAC JUMP JUMPDEST PUSH1 0x2 PUSH1 0x7 SLOAD EQ ISZERO PUSH2 0x75F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x202C JUMP JUMPDEST PUSH1 0x2 PUSH1 0x7 SSTORE DUP3 DUP3 ISZERO PUSH2 0x79E JUMPI PUSH2 0x799 PUSH2 0x776 PUSH2 0x6F2 JUMP JUMPDEST ADDRESS PUSH1 0xC SLOAD PUSH2 0x782 PUSH2 0x1068 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF PUSH2 0x1077 AND JUMP JUMPDEST PUSH2 0x7AE JUMP JUMPDEST PUSH2 0x7AE DUP3 ADDRESS PUSH1 0xC SLOAD PUSH2 0x782 PUSH2 0x1068 JUMP JUMPDEST PUSH2 0x7B6 PUSH2 0x189B JUMP JUMPDEST PUSH1 0xB SLOAD PUSH2 0x7CA SWAP1 ADDRESS PUSH3 0x2F02FF PUSH1 0xEA SHL PUSH2 0x10D5 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP1 PUSH1 0xF PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xFFA61235 DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x46E0FBAE PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x82C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x840 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x864 SWAP2 SWAP1 PUSH2 0x19B2 JUMP JUMPDEST DUP11 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x882 SWAP3 SWAP2 SWAP1 PUSH2 0x1CB1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x899 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x8AD JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x8D1 SWAP2 SWAP1 PUSH2 0x1AD6 JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH2 0x934 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x8 DUP2 MSTORE PUSH1 0x20 ADD PUSH8 0x6A6F625F74797065 PUSH1 0xC0 SHL DUP2 MSTORE POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x12 DUP2 MSTORE PUSH1 0x20 ADD PUSH18 0x7374616B696E675F656666696369656E6379 PUSH1 0x70 SHL DUP2 MSTORE POP DUP6 PUSH2 0x1102 SWAP1 SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x14 DUP2 MSTORE PUSH20 0x1CDB1857DB5BDB9A5D1BDC9A5B99D7DCDD185C9D PUSH1 0x62 SHL PUSH1 0x20 DUP3 ADD MSTORE SWAP1 MLOAD PUSH4 0xFC966D45 PUSH1 0xE0 SHL DUP2 MSTORE PUSH2 0x9FB SWAP2 SWAP1 PUSH20 0x0 SWAP1 PUSH4 0xFC966D45 SWAP1 PUSH2 0x999 SWAP1 DUP8 SWAP1 PUSH1 0x4 ADD PUSH2 0x1C87 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x9B1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS DELEGATECALL ISZERO DUP1 ISZERO PUSH2 0x9C5 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD PUSH1 0x40 MSTORE PUSH2 0x9ED SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x19D1 JUMP JUMPDEST DUP6 SWAP2 SWAP1 PUSH4 0xFFFFFFFF PUSH2 0x1102 AND JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x12 DUP2 MSTORE PUSH18 0x1CDB1857DB5BDB9A5D1BDC9A5B99D7D95B99 PUSH1 0x72 SHL PUSH1 0x20 DUP3 ADD MSTORE SWAP1 MLOAD PUSH4 0xFC966D45 PUSH1 0xE0 SHL DUP2 MSTORE PUSH2 0xA5E SWAP2 SWAP1 PUSH20 0x0 SWAP1 PUSH4 0xFC966D45 SWAP1 PUSH2 0x999 SWAP1 DUP7 SWAP1 PUSH1 0x4 ADD PUSH2 0x1C87 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0xB DUP2 MSTORE PUSH11 0x736C615F61646472657373 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE SWAP1 MLOAD PUSH4 0x5E57966D PUSH1 0xE0 SHL DUP2 MSTORE PUSH2 0xABA SWAP2 SWAP1 PUSH20 0x0 SWAP1 PUSH4 0x5E57966D SWAP1 PUSH2 0x999 SWAP1 DUP13 SWAP1 PUSH1 0x4 ADD PUSH2 0x1B9E JUMP JUMPDEST PUSH1 0x0 PUSH2 0xAE9 PUSH32 0x0 DUP6 PUSH1 0xC SLOAD PUSH2 0x1131 JUMP JUMPDEST PUSH1 0x9 DUP1 SLOAD PUSH1 0x1 DUP1 DUP3 ADD SWAP1 SWAP3 SSTORE PUSH32 0x6E1540171B6C0C960B71A7020D9F60077F6AF931A8BBF590DA0223DACF75C7AF ADD DUP3 SWAP1 SSTORE PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP13 DUP2 AND DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 ADD DUP16 DUP2 MSTORE PUSH1 0x0 DUP8 DUP2 MSTORE PUSH1 0x8 SWAP1 SWAP3 MSTORE SWAP1 DUP5 SWAP1 KECCAK256 SWAP3 MLOAD DUP4 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 DUP4 AND OR DUP4 SSTORE MLOAD SWAP2 DUP5 ADD SWAP2 SWAP1 SWAP2 SSTORE PUSH1 0xD DUP1 SLOAD SWAP1 SWAP4 ADD SWAP3 DUP4 SWAP1 SSTORE SWAP1 MLOAD SWAP3 SWAP4 POP DUP9 AND SWAP2 PUSH32 0xEAB5EB77E722078F3FAB7EB6A77C74F7001181E1E3A74D51B7B5747EE1B31CB9 SWAP2 PUSH2 0xBA2 SWAP2 DUP6 SWAP1 PUSH2 0x1C90 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP POP PUSH1 0x1 PUSH1 0x7 SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0xE SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x8 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 SWAP1 SWAP2 ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 DUP3 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x7 SLOAD EQ ISZERO PUSH2 0xC08 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x202C JUMP JUMPDEST PUSH1 0x2 PUSH1 0x7 SSTORE PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0xC45 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1F9A JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE MLOAD DUP3 SWAP2 PUSH32 0x7CC135E0CEBB02C3480AE5D74D377283180A2601F8F644EDF7987B009316C63A SWAP2 LOG2 DUP2 PUSH2 0xC91 PUSH2 0x18D0 JUMP JUMPDEST POP PUSH1 0x0 DUP5 DUP2 MSTORE PUSH1 0x8 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 DUP3 MLOAD DUP1 DUP5 ADD DUP5 MSTORE DUP2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 DUP3 MSTORE PUSH1 0x1 SWAP1 SWAP3 ADD SLOAD SWAP3 DUP2 ADD DUP4 SWAP1 MSTORE SWAP3 MLOAD DUP8 SWAP3 PUSH32 0x56514EF6E1FFD0F970EBF32DC181E476384E6E53A8351719040B4030318A933B SWAP2 PUSH2 0xCF7 SWAP2 SWAP1 DUP8 SWAP1 PUSH2 0x1C90 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH1 0x0 DUP1 PUSH2 0xD0B DUP5 PUSH2 0x244 JUMP JUMPDEST SWAP1 SWAP3 POP SWAP1 POP PUSH1 0x0 PUSH2 0xD22 DUP4 DUP4 PUSH4 0xFFFFFFFF PUSH2 0x1270 AND JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0xD49 DUP3 PUSH2 0xD3D DUP7 PUSH3 0x186A0 PUSH4 0xFFFFFFFF PUSH2 0x129E AND JUMP JUMPDEST SWAP1 PUSH4 0xFFFFFFFF PUSH2 0x12D8 AND JUMP JUMPDEST DUP6 MLOAD PUSH1 0x20 DUP8 ADD MLOAD PUSH1 0x40 MLOAD PUSH4 0x6BD2E211 PUSH1 0xE1 SHL DUP2 MSTORE SWAP3 SWAP4 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP2 PUSH4 0xD7A5C422 SWAP2 PUSH2 0xD81 SWAP2 DUP6 SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0x1C90 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xD9B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xDAF JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0xE DUP1 SLOAD PUSH1 0x1 SWAP1 DUP2 ADD SWAP1 SWAP2 SSTORE PUSH1 0x7 SSTORE POP POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0xB SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x3E8 SWAP1 JUMP JUMPDEST PUSH1 0xC SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x10 DUP1 SLOAD PUSH1 0xFF PUSH1 0xA0 SHL NOT AND PUSH1 0x1 PUSH1 0xA0 SHL OR SWAP1 DUP2 SWAP1 SSTORE PUSH1 0x40 MLOAD PUSH4 0xAB9A81A5 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xAB9A81A5 SWAP1 PUSH2 0xE23 SWAP1 DUP6 SWAP1 DUP6 SWAP1 PUSH1 0x4 ADD PUSH2 0x1BD6 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xE3B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xE4F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xE73 SWAP2 SWAP1 PUSH2 0x195D JUMP JUMPDEST PUSH2 0xE8F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1D89 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x20C876EF PUSH1 0xE1 SHL DUP2 MSTORE DUP3 SWAP1 PUSH1 0x0 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH4 0x4190EDDE SWAP1 PUSH2 0xEC0 SWAP1 DUP7 SWAP1 PUSH1 0x4 ADD PUSH2 0x1C87 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xED8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xEEC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xF10 SWAP2 SWAP1 PUSH2 0x1AF9 JUMP JUMPDEST SWAP3 POP PUSH1 0x0 SWAP2 POP PUSH2 0xF1D SWAP1 POP JUMP JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0xF29 JUMPI INVALID JUMPDEST EQ PUSH2 0xF46 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1DC0 JUMP JUMPDEST PUSH2 0xF53 DUP4 DUP6 PUSH1 0x0 CALLER PUSH2 0x701 JUMP JUMPDEST POP POP PUSH1 0x10 DUP1 SLOAD PUSH1 0xFF PUSH1 0xA0 SHL NOT AND SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH2 0xF6E PUSH2 0x1064 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0xF7F PUSH2 0x6F2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0xFA5 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1F2E JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0xFCB JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1CC9 JUMP JUMPDEST PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP5 AND SWAP3 AND SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 PUSH1 0x6 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0xA SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO PUSH2 0x1050 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1E64 JUMP JUMPDEST PUSH1 0xA DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND CALLER OR SWAP1 SSTORE JUMP JUMPDEST CALLER SWAP1 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH2 0x10CF DUP5 PUSH4 0x23B872DD PUSH1 0xE0 SHL DUP6 DUP6 DUP6 PUSH1 0x40 MLOAD PUSH1 0x24 ADD PUSH2 0x1098 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1BB2 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 SWAP1 MSTORE PUSH1 0x20 DUP2 ADD DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP1 SWAP4 AND SWAP3 SWAP1 SWAP3 OR SWAP1 SWAP2 MSTORE PUSH2 0x130D JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH2 0x10DD PUSH2 0x189B JUMP JUMPDEST PUSH2 0x10E5 PUSH2 0x189B JUMP JUMPDEST PUSH2 0x10F7 DUP2 DUP7 DUP7 DUP7 PUSH4 0xFFFFFFFF PUSH2 0x139C AND JUMP JUMPDEST SWAP2 POP POP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x80 DUP4 ADD MLOAD PUSH2 0x1117 SWAP1 DUP4 PUSH4 0xFFFFFFFF PUSH2 0x13D9 AND JUMP JUMPDEST PUSH1 0x80 DUP4 ADD MLOAD PUSH2 0x112C SWAP1 DUP3 PUSH4 0xFFFFFFFF PUSH2 0x13D9 AND JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 ADDRESS PUSH1 0x4 SLOAD PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1148 SWAP3 SWAP2 SWAP1 PUSH2 0x1B7C JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 PUSH1 0x4 SLOAD PUSH1 0x60 DUP8 ADD MSTORE PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 SWAP1 SWAP4 MSTORE DUP2 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 AND OR SWAP1 SSTORE SWAP1 MLOAD SWAP1 SWAP3 POP DUP3 SWAP2 PUSH32 0xB5E6E01E79F91267DC17B4E6314D5D4D03593D2CEEE0FBB452B750BD70EA5AF9 SWAP2 LOG2 PUSH1 0x2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x4000AEA0 DUP6 DUP5 PUSH2 0x11D4 DUP8 PUSH2 0x13F6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP5 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x11F2 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1C57 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x120C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1220 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1244 SWAP2 SWAP1 PUSH2 0x195D JUMP JUMPDEST PUSH2 0x1260 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1D46 JUMP JUMPDEST PUSH1 0x4 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 ADD DUP4 DUP2 LT ISZERO PUSH2 0x1295 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1D0F JUMP JUMPDEST SWAP1 POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x12AD JUMPI POP PUSH1 0x0 PUSH2 0x1298 JUMP JUMPDEST DUP3 DUP3 MUL DUP3 DUP5 DUP3 DUP2 PUSH2 0x12BA JUMPI INVALID JUMPDEST DIV EQ PUSH2 0x1295 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1EED JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 GT PUSH2 0x12F9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1E2D JUMP JUMPDEST PUSH1 0x0 DUP3 DUP5 DUP2 PUSH2 0x1304 JUMPI INVALID JUMPDEST DIV SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH2 0x1362 DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x20 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x5361666545524332303A206C6F772D6C6576656C2063616C6C206661696C6564 DUP2 MSTORE POP DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x1472 SWAP1 SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST DUP1 MLOAD SWAP1 SWAP2 POP ISZERO PUSH2 0x112C JUMPI DUP1 DUP1 PUSH1 0x20 ADD SWAP1 MLOAD DUP2 ADD SWAP1 PUSH2 0x1380 SWAP2 SWAP1 PUSH2 0x195D JUMP JUMPDEST PUSH2 0x112C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1FE2 JUMP JUMPDEST PUSH2 0x13A4 PUSH2 0x189B JUMP JUMPDEST PUSH2 0x13B4 DUP6 PUSH1 0x80 ADD MLOAD PUSH2 0x100 PUSH2 0x1489 JUMP JUMPDEST POP POP SWAP2 DUP4 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH1 0x40 DUP3 ADD MSTORE SWAP1 JUMP JUMPDEST PUSH2 0x13E6 DUP3 PUSH1 0x3 DUP4 MLOAD PUSH2 0x14C3 JUMP JUMPDEST PUSH2 0x112C DUP3 DUP3 PUSH4 0xFFFFFFFF PUSH2 0x15CD AND JUMP JUMPDEST PUSH1 0x60 PUSH4 0x40429946 PUSH1 0xE0 SHL PUSH1 0x0 DUP1 DUP5 PUSH1 0x0 ADD MLOAD DUP6 PUSH1 0x20 ADD MLOAD DUP7 PUSH1 0x40 ADD MLOAD DUP8 PUSH1 0x60 ADD MLOAD PUSH1 0x1 DUP10 PUSH1 0x80 ADD MLOAD PUSH1 0x0 ADD MLOAD PUSH1 0x40 MLOAD PUSH1 0x24 ADD PUSH2 0x1439 SWAP9 SWAP8 SWAP7 SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1BEF JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 SWAP1 MSTORE PUSH1 0x20 DUP2 ADD DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP1 SWAP4 AND SWAP3 SWAP1 SWAP3 OR SWAP1 SWAP2 MSTORE SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x60 PUSH2 0x1481 DUP5 DUP5 PUSH1 0x0 DUP6 PUSH2 0x15E7 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH2 0x1491 PUSH2 0x18E7 JUMP JUMPDEST PUSH1 0x20 DUP3 MOD ISZERO PUSH2 0x14A6 JUMPI PUSH1 0x20 DUP3 MOD PUSH1 0x20 SUB DUP3 ADD SWAP2 POP JUMPDEST POP PUSH1 0x20 DUP3 DUP2 ADD DUP3 SWAP1 MSTORE PUSH1 0x40 DUP1 MLOAD DUP1 DUP6 MSTORE PUSH1 0x0 DUP2 MSTORE SWAP1 SWAP3 ADD ADD SWAP1 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x17 DUP2 GT PUSH2 0x14EA JUMPI PUSH2 0x14E4 DUP4 PUSH1 0xE0 PUSH1 0x5 DUP6 SWAP1 SHL AND DUP4 OR PUSH4 0xFFFFFFFF PUSH2 0x16A8 AND JUMP JUMPDEST POP PUSH2 0x112C JUMP JUMPDEST PUSH1 0xFF DUP2 GT PUSH2 0x1520 JUMPI PUSH2 0x150D DUP4 PUSH1 0x18 PUSH2 0x1FE0 PUSH1 0x5 DUP7 SWAP1 SHL AND OR PUSH4 0xFFFFFFFF PUSH2 0x16A8 AND JUMP JUMPDEST POP PUSH2 0x14E4 DUP4 DUP3 PUSH1 0x1 PUSH4 0xFFFFFFFF PUSH2 0x16C0 AND JUMP JUMPDEST PUSH2 0xFFFF DUP2 GT PUSH2 0x1557 JUMPI PUSH2 0x1544 DUP4 PUSH1 0x19 PUSH2 0x1FE0 PUSH1 0x5 DUP7 SWAP1 SHL AND OR PUSH4 0xFFFFFFFF PUSH2 0x16A8 AND JUMP JUMPDEST POP PUSH2 0x14E4 DUP4 DUP3 PUSH1 0x2 PUSH4 0xFFFFFFFF PUSH2 0x16C0 AND JUMP JUMPDEST PUSH4 0xFFFFFFFF DUP2 GT PUSH2 0x1590 JUMPI PUSH2 0x157D DUP4 PUSH1 0x1A PUSH2 0x1FE0 PUSH1 0x5 DUP7 SWAP1 SHL AND OR PUSH4 0xFFFFFFFF PUSH2 0x16A8 AND JUMP JUMPDEST POP PUSH2 0x14E4 DUP4 DUP3 PUSH1 0x4 PUSH4 0xFFFFFFFF PUSH2 0x16C0 AND JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x112C JUMPI PUSH2 0x15BA DUP4 PUSH1 0x1B PUSH2 0x1FE0 PUSH1 0x5 DUP7 SWAP1 SHL AND OR PUSH4 0xFFFFFFFF PUSH2 0x16A8 AND JUMP JUMPDEST POP PUSH2 0x10CF DUP4 DUP3 PUSH1 0x8 PUSH4 0xFFFFFFFF PUSH2 0x16C0 AND JUMP JUMPDEST PUSH2 0x15D5 PUSH2 0x18E7 JUMP JUMPDEST PUSH2 0x1295 DUP4 DUP5 PUSH1 0x0 ADD MLOAD MLOAD DUP5 DUP6 MLOAD PUSH2 0x16D9 JUMP JUMPDEST PUSH1 0x60 DUP3 SELFBALANCE LT ISZERO PUSH2 0x1609 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1DE7 JUMP JUMPDEST PUSH2 0x1612 DUP6 PUSH2 0x1785 JUMP JUMPDEST PUSH2 0x162E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP1 PUSH2 0x1F63 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP7 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP6 DUP8 PUSH1 0x40 MLOAD PUSH2 0x164B SWAP2 SWAP1 PUSH2 0x1B60 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x1688 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x168D JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP PUSH2 0x169D DUP3 DUP3 DUP7 PUSH2 0x178B JUMP JUMPDEST SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x16B0 PUSH2 0x18E7 JUMP JUMPDEST PUSH2 0x1295 DUP4 DUP5 PUSH1 0x0 ADD MLOAD MLOAD DUP5 PUSH2 0x17C4 JUMP JUMPDEST PUSH2 0x16C8 PUSH2 0x18E7 JUMP JUMPDEST PUSH2 0x1481 DUP5 DUP6 PUSH1 0x0 ADD MLOAD MLOAD DUP6 DUP6 PUSH2 0x180F JUMP JUMPDEST PUSH2 0x16E1 PUSH2 0x18E7 JUMP JUMPDEST DUP3 MLOAD DUP3 GT ISZERO PUSH2 0x16EF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 PUSH1 0x20 ADD MLOAD DUP3 DUP6 ADD GT ISZERO PUSH2 0x1719 JUMPI PUSH2 0x1719 DUP6 PUSH2 0x1711 DUP8 PUSH1 0x20 ADD MLOAD DUP8 DUP7 ADD PUSH2 0x186D JUMP JUMPDEST PUSH1 0x2 MUL PUSH2 0x1884 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP7 MLOAD DUP1 MLOAD DUP8 PUSH1 0x20 DUP4 ADD ADD SWAP4 POP DUP1 DUP9 DUP8 ADD GT ISZERO PUSH2 0x1738 JUMPI DUP8 DUP7 ADD DUP3 MSTORE JUMPDEST POP POP POP PUSH1 0x20 DUP5 ADD JUMPDEST PUSH1 0x20 DUP5 LT PUSH2 0x175F JUMPI DUP1 MLOAD DUP3 MSTORE PUSH1 0x1F NOT SWAP1 SWAP4 ADD SWAP3 PUSH1 0x20 SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x1740 JUMP JUMPDEST MLOAD DUP2 MLOAD PUSH1 0x0 NOT PUSH1 0x20 DUP7 SWAP1 SUB PUSH2 0x100 EXP ADD SWAP1 DUP2 AND SWAP1 NOT SWAP2 SWAP1 SWAP2 AND OR SWAP1 MSTORE POP DUP4 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST EXTCODESIZE ISZERO ISZERO SWAP1 JUMP JUMPDEST PUSH1 0x60 DUP4 ISZERO PUSH2 0x179A JUMPI POP DUP2 PUSH2 0x10FB JUMP JUMPDEST DUP3 MLOAD ISZERO PUSH2 0x17AA JUMPI DUP3 MLOAD DUP1 DUP5 PUSH1 0x20 ADD REVERT JUMPDEST DUP2 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5B6 SWAP2 SWAP1 PUSH2 0x1C9E JUMP JUMPDEST PUSH2 0x17CC PUSH2 0x18E7 JUMP JUMPDEST DUP4 PUSH1 0x20 ADD MLOAD DUP4 LT PUSH2 0x17E8 JUMPI PUSH2 0x17E8 DUP5 DUP6 PUSH1 0x20 ADD MLOAD PUSH1 0x2 MUL PUSH2 0x1884 JUMP JUMPDEST DUP4 MLOAD DUP1 MLOAD PUSH1 0x20 DUP6 DUP4 ADD ADD DUP5 DUP2 MSTORE8 POP DUP1 DUP6 EQ ISZERO PUSH2 0x1805 JUMPI PUSH1 0x1 DUP2 ADD DUP3 MSTORE JUMPDEST POP SWAP4 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH2 0x1817 PUSH2 0x18E7 JUMP JUMPDEST DUP5 PUSH1 0x20 ADD MLOAD DUP5 DUP4 ADD GT ISZERO PUSH2 0x1834 JUMPI PUSH2 0x1834 DUP6 DUP6 DUP5 ADD PUSH1 0x2 MUL PUSH2 0x1884 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP4 PUSH2 0x100 EXP SUB SWAP1 POP DUP6 MLOAD DUP4 DUP7 DUP3 ADD ADD DUP6 DUP4 NOT DUP3 MLOAD AND OR DUP2 MSTORE POP DUP1 MLOAD DUP5 DUP8 ADD GT ISZERO PUSH2 0x1862 JUMPI DUP4 DUP7 ADD DUP2 MSTORE JUMPDEST POP SWAP5 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 DUP4 GT ISZERO PUSH2 0x187E JUMPI POP DUP2 PUSH2 0x1298 JUMP JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP2 MLOAD PUSH2 0x1890 DUP4 DUP4 PUSH2 0x1489 JUMP JUMPDEST POP PUSH2 0x10CF DUP4 DUP3 PUSH2 0x15CD JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0xA0 DUP2 ADD DUP3 MSTORE PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD DUP2 SWAP1 MSTORE SWAP2 DUP2 ADD DUP3 SWAP1 MSTORE PUSH1 0x60 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x80 DUP2 ADD PUSH2 0x18CB PUSH2 0x18E7 JUMP JUMPDEST SWAP1 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x1298 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1929 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x1295 DUP4 DUP4 PUSH2 0x1901 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1945 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x194F DUP5 DUP5 PUSH2 0x1901 JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x196E JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x1295 DUP2 PUSH2 0x20A7 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x198A JUMPI DUP1 DUP2 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x19A3 JUMPI DUP2 DUP3 REVERT JUMPDEST POP POP DUP1 CALLDATALOAD SWAP3 PUSH1 0x20 SWAP1 SWAP2 ADD CALLDATALOAD SWAP2 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x19C3 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x6 DUP2 LT PUSH2 0x1295 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x19E2 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 MLOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x19F9 JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 DUP5 ADD DUP6 PUSH1 0x1F DUP3 ADD SLT PUSH2 0x1A0A JUMPI DUP4 DUP5 REVERT JUMPDEST DUP1 MLOAD SWAP3 POP DUP2 DUP4 GT ISZERO PUSH2 0x1A1A JUMPI DUP4 DUP5 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP5 ADD PUSH1 0x1F NOT AND DUP2 ADD PUSH1 0x20 ADD DUP4 DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x1A3A JUMPI DUP6 DUP7 REVERT JUMPDEST PUSH1 0x40 MSTORE DUP4 DUP2 MSTORE DUP2 DUP5 ADD PUSH1 0x20 ADD DUP8 LT ISZERO PUSH2 0x1A51 JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0x1A62 DUP5 PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP6 ADD PUSH2 0x2063 JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1A7D JUMPI DUP1 DUP2 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x1A99 JUMPI DUP2 DUP3 REVERT JUMPDEST DUP5 CALLDATALOAD SWAP4 POP PUSH1 0x20 DUP6 ADD CALLDATALOAD PUSH2 0x1AAB DUP2 PUSH2 0x208F JUMP JUMPDEST SWAP3 POP PUSH1 0x40 DUP6 ADD CALLDATALOAD PUSH2 0x1ABB DUP2 PUSH2 0x20A7 JUMP JUMPDEST SWAP2 POP PUSH1 0x60 DUP6 ADD CALLDATALOAD PUSH2 0x1ACB DUP2 PUSH2 0x208F JUMP JUMPDEST SWAP4 SWAP7 SWAP3 SWAP6 POP SWAP1 SWAP4 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1AE8 JUMPI DUP2 DUP3 REVERT JUMPDEST POP POP DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD MLOAD SWAP1 SWAP3 SWAP1 SWAP2 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x1B0D JUMPI DUP3 DUP4 REVERT JUMPDEST DUP4 MLOAD SWAP3 POP PUSH1 0x20 DUP5 ADD MLOAD SWAP2 POP PUSH1 0x40 DUP5 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH2 0x1B29 JUMPI DUP2 DUP3 REVERT JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x1B4C DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x2063 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x1B72 DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x2063 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 SWAP3 SWAP1 SWAP3 SHL PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP3 MSTORE PUSH1 0x14 DUP3 ADD MSTORE PUSH1 0x34 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 DUP5 AND DUP2 MSTORE SWAP2 SWAP1 SWAP3 AND PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 DUP2 AND DUP3 MSTORE PUSH1 0x20 DUP3 ADD DUP10 SWAP1 MSTORE PUSH1 0x40 DUP3 ADD DUP9 SWAP1 MSTORE DUP7 AND PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP6 AND PUSH1 0x80 DUP3 ADD MSTORE PUSH1 0xA0 DUP2 ADD DUP5 SWAP1 MSTORE PUSH1 0xC0 DUP2 ADD DUP4 SWAP1 MSTORE PUSH2 0x100 PUSH1 0xE0 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP1 PUSH2 0x1C48 DUP4 DUP3 ADD DUP6 PUSH2 0x1B34 JUMP JUMPDEST SWAP12 SWAP11 POP POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP6 AND DUP3 MSTORE DUP4 PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x60 PUSH1 0x40 DUP4 ADD MSTORE PUSH2 0x1C7E PUSH1 0x60 DUP4 ADD DUP5 PUSH2 0x1B34 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0x1295 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x1B34 JUMP JUMPDEST PUSH1 0x40 DUP2 ADD PUSH1 0x6 DUP5 LT PUSH2 0x1CBF JUMPI INVALID JUMPDEST SWAP3 DUP2 MSTORE PUSH1 0x20 ADD MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x26 SWAP1 DUP3 ADD MSTORE PUSH32 0x4F776E61626C653A206E6577206F776E657220697320746865207A65726F2061 PUSH1 0x40 DUP3 ADD MSTORE PUSH6 0x646472657373 PUSH1 0xD0 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1B SWAP1 DUP3 ADD MSTORE PUSH32 0x536166654D6174683A206164646974696F6E206F766572666C6F770000000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x23 SWAP1 DUP3 ADD MSTORE PUSH32 0x756E61626C6520746F207472616E73666572416E6443616C6C20746F206F7261 PUSH1 0x40 DUP3 ADD MSTORE PUSH3 0x636C65 PUSH1 0xE8 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1B SWAP1 DUP3 ADD MSTORE PUSH32 0x5374616B6552656769737472793A206E6F742076657269666965640000000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0xD SWAP1 DUP3 ADD MSTORE PUSH13 0x14D3104E881D995C9A599A5959 PUSH1 0x9A SHL PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x26 SWAP1 DUP3 ADD MSTORE PUSH32 0x416464726573733A20696E73756666696369656E742062616C616E636520666F PUSH1 0x40 DUP3 ADD MSTORE PUSH6 0x1C8818D85B1B PUSH1 0xD2 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1A SWAP1 DUP3 ADD MSTORE PUSH32 0x536166654D6174683A206469766973696F6E206279207A65726F000000000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x28 SWAP1 DUP3 ADD MSTORE PUSH32 0x534C41526567697374727920616464726573732068617320616C726561647920 PUSH1 0x40 DUP3 ADD MSTORE PUSH8 0x1899595B881CD95D PUSH1 0xC2 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x21 SWAP1 DUP3 ADD MSTORE PUSH32 0x43616E206F6E6C792062652063616C6C656420627920534C4152656769737472 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x79 PUSH1 0xF8 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x21 SWAP1 DUP3 ADD MSTORE PUSH32 0x536166654D6174683A206D756C7469706C69636174696F6E206F766572666C6F PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x77 PUSH1 0xF8 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 DUP2 ADD MSTORE PUSH32 0x4F776E61626C653A2063616C6C6572206973206E6F7420746865206F776E6572 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x416464726573733A2063616C6C20746F206E6F6E2D636F6E7472616374000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x28 SWAP1 DUP3 ADD MSTORE PUSH32 0x536F75726365206D75737420626520746865206F7261636C65206F6620746865 PUSH1 0x40 DUP3 ADD MSTORE PUSH8 0x81C995C5D595CDD PUSH1 0xC2 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2A SWAP1 DUP3 ADD MSTORE PUSH32 0x5361666545524332303A204552433230206F7065726174696F6E20646964206E PUSH1 0x40 DUP3 ADD MSTORE PUSH10 0x1BDD081CDD58D8D95959 PUSH1 0xB2 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1F SWAP1 DUP3 ADD MSTORE PUSH32 0x5265656E7472616E637947756172643A207265656E7472616E742063616C6C00 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x207E JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x2066 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x10CF JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x20A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x20A4 JUMPI PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xBE GT CODESIZE 0xE5 0xE1 PUSH8 0x55DBEB09FAF107D7 0x2C SDIV SHR PUSH21 0x84EE288184C37EF28202F4BDD18164736F6C634300 MOD MOD STOP CALLER ", - "sourceMap": "622:10136:45:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;622:10136:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;7441:1067:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;9283:260;;;;;;;;;:::i;:::-;;10478:108;;;:::i;:::-;;;;;;;;9623:114;;;:::i;:::-;;;;;;;;1717:145:19;;;:::i;10010:90:45:-;;;:::i;901:25::-;;;;;;;;;:::i;1085:85:19:-;;;:::i;4409:1752:45:-;;;;;;;;;:::i;10648:108::-;;;:::i;796:59::-;;;;;;;;;:::i;:::-;;;;;;;;;6427:847;;;;;;;;;:::i;10163:88::-;;;:::i;9816:114::-;;;:::i;10332:84::-;;;:::i;8514:491::-;;;;;;;;;:::i;2011:240:19:-;;;;;;;;;:::i;3787:273:45:-;;;:::i;7441:1067::-;7525:7;7534;7557:25;7591:11;:24;7616:7;7591:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;7591:33:45;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;7591:33:45;;;;;;39:16:-1;36:1;17:17;2:54;101:4;7591:33:45;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;7591:33:45;;;;;;;;;7659:19;;7557:68;;-1:-1:-1;7688:22:45;7659:19;7713:24;;;2:2:-1;;;;27:1;24;17:12;2:2;7713:24:45;;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;108:14;7713:24:45;87:42:-1;143:17;;-1:-1;7713:24:45;;7688:49;;7747:24;7784:13;7774:24;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;7774:24:45;;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;108:14;7774:24:45;87:42:-1;143:17;;-1:-1;7774:24:45;;7747:51;;7813:13;7808:541;7836:13;7828:5;:21;7808:541;;;-1:-1:-1;;;;;;;;7878:34:45;;:12;7891:5;7878:19;;;;;;;;;;;;-1:-1:-1;;;;;;7878:19:45;:34;7874:465;;;7937:14;7932:132;7966:5;7957:6;:14;7932:132;;;8025:12;8038:6;8025:20;;;;;;;;;;;;;;;;8005:9;8015:6;8005:17;;;;;;;;;;;:40;-1:-1:-1;;;;;8005:40:45;;;;;;;;-1:-1:-1;7973:8:45;;7932:132;;;-1:-1:-1;8107:14:45;8081:244;8180:1;8172:5;8156:13;:21;:25;8147:6;:34;8081:244;;;8274:12;8299:6;8287:5;8295:1;8287:9;:18;8274:32;;;;;;;;;;;;;;;;8252:11;8264:6;8252:19;;;;;;;;;;;:54;-1:-1:-1;;;;;8252:54:45;;;;;;;;-1:-1:-1;8203:8:45;;8081:244;;;;7874:465;7851:7;;7808:541;;;-1:-1:-1;8373:34:45;;-1:-1:-1;;;8373:34:45;;8358:12;;8373:11;;:23;;:34;;8397:9;;8373:34;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;8373:34:45;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;8373:34:45;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;8373:34:45;;;;;;;;;8358:49;;8417:14;8434:11;:23;8458:11;8434:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;8434:36:45;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;8434:36:45;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;8434:36:45;;;;;;;;;8488:4;;-1:-1:-1;8417:53:45;;-1:-1:-1;;;;;;7441:1067:45;;;:::o;9283:260::-;1308:12:19;:10;:12::i;:::-;-1:-1:-1;;;;;1297:23:19;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1297:23:19;;1289:68;;;;-1:-1:-1;;;1289:68:19;;;;;;;;;;;;;;;;;9419:6:45::1;:18:::0;;;1253:9:::1;9454:25:::0;::::1;9447:4;:32:::0;;;9494:42:::1;::::0;9508:10:::1;::::0;9494:42:::1;::::0;::::1;::::0;9428:9;;9494:42:::1;;;;;;;;;;9283:260:::0;;:::o;10478:108::-;10563:16;;10478:108;:::o;9623:114::-;9711:19;;-1:-1:-1;;;;;9711:19:45;9623:114;:::o;1717:145:19:-;1308:12;:10;:12::i;:::-;-1:-1:-1;;;;;1297:23:19;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1297:23:19;;1289:68;;;;-1:-1:-1;;;1289:68:19;;;;;;;;;1807:6:::1;::::0;1786:40:::1;::::0;1823:1:::1;::::0;-1:-1:-1;;;;;1807:6:19::1;::::0;1786:40:::1;::::0;1823:1;;1786:40:::1;1836:6;:19:::0;;-1:-1:-1;;;;;;1836:19:19::1;::::0;;1717:145::o;10010:90:45:-;10086:7;10010:90;:::o;901:25::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;901:25:45;:::o;1085:85:19:-;1157:6;;-1:-1:-1;;;;;1157:6:19;1085:85;:::o;4409:1752:45:-;3416:5;;-1:-1:-1;;;3416:5:45;;;;3411:162;;3476:19;;-1:-1:-1;;;;;3476:19:45;3462:10;:33;3437:125;;;;-1:-1:-1;;;3437:125:45;;;;;;;;;1688:1:31::1;2277:7;;:19;;2269:63;;;;-1:-1:-1::0;;;2269:63:31::1;;;;;;;;;1688:1;2407:7;:18:::0;4630:11:45;4652:370;::::2;;;4695:139;4760:7;:5;:7::i;:::-;4793:4;4816;;4701:23;:21;:23::i;:::-;-1:-1:-1::0;;;;;4695:47:45::2;::::0;:139;;::::2;:47;:139;:::i;:::-;4652:370;;;4865:146;4930:14;4970:4;4993;;4871:23;:21;:23::i;4865:146::-;5031:32;;:::i;:::-;5117:6;::::0;5078:132:::2;::::0;5149:4:::2;-1:-1:-1::0;;;5078:21:45::2;:132::i;:::-;5031:179;;5221:28;5251:26:::0;5293:14:::2;;;;;;;;;-1:-1:-1::0;;;;;5293:14:45::2;-1:-1:-1::0;;;;;5293:35:45::2;;5329:3;-1:-1:-1::0;;;;;5329:14:45::2;;:16;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::2;2:2;5329:16:45;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;5329:16:45;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;5329:16:45;;;;;;;;;5347:9;5293:64;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::2;2:2;5293:64:45;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;5293:64:45;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;5293:64:45;;;;;;;;;5220:137;;;;5367:45;;;;;;;;;;;;;;-1:-1:-1::0;;;5367:45:45::2;;::::0;::::2;;;;;;;;;;;;;-1:-1:-1::0;;;5367:45:45::2;;::::0;:7:::2;:11;;:45;;;;;:::i;:::-;5422:114;::::0;;;;::::2;::::0;;::::2;::::0;;-1:-1:-1;;;5422:114:45::2;::::0;::::2;::::0;5483:43;;-1:-1:-1;;;5483:43:45;;5422:114:::2;::::0;;5483:11:::2;::::0;:21:::2;::::0;:43:::2;::::0;5505:20;;5483:43:::2;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::2;2:2;5483:43:45;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;5483:43:45;;;;;;39:16:-1;36:1;17:17;2:54;101:4;5483:43:45;80:15:-1::0;;::::2;-1:-1:::0;;76:31:::2;65:43:::0;::::2;120:4;113:20:::0;5483:43:45::2;::::0;;;::::2;::::0;::::2;;;5422:7:::0;;:114;::::2;:11;:114;:::i;:::-;5546:110;::::0;;;;::::2;::::0;;::::2;::::0;;-1:-1:-1;;;5546:110:45::2;::::0;::::2;::::0;5605:41;;-1:-1:-1;;;5605:41:45;;5546:110:::2;::::0;;5605:11:::2;::::0;:21:::2;::::0;:41:::2;::::0;5627:18;;5605:41:::2;;;;5546:110;5666:68;::::0;;;;::::2;::::0;;::::2;::::0;;-1:-1:-1;;;5666:68:45::2;::::0;::::2;::::0;5693:40;;-1:-1:-1;;;5693:40:45;;5666:68:::2;::::0;;5693:11:::2;::::0;:27:::2;::::0;:40:::2;::::0;5721:11;;5693:40:::2;;;;5666:68;5811:17;5831:46;5854:7;5863;5872:4;;5831:22;:46::i;:::-;5888:8;27:10:-1::0;;39:1:::2;23:18:::0;;::::2;45:23:::0;;;5888:24:45;::::2;::::0;;;5958:92:::2;::::0;;;;::::2;::::0;;-1:-1:-1;;;;;5958:92:45;;::::2;::::0;;5888:24:::2;5958:92:::0;;::::2;::::0;;;-1:-1:-1;5923:32:45;;;:21:::2;:32:::0;;;;;;;:127;;;;-1:-1:-1;;;;;;5923:127:45::2;::::0;;::::2;;::::0;;;;;::::2;::::0;;;;6061:16:::2;:21:::0;;;;::::2;::::0;;;;6097:57;;5888:24;;-1:-1:-1;6097:57:45;::::2;::::0;::::2;::::0;::::2;::::0;5888:24;;6097:57:::2;;;;;;;;;;-1:-1:-1::0;;1645:1:31::1;2580:7;:22:::0;-1:-1:-1;;;;;;;4409:1752:45:o;10648:108::-;10733:16;;10648:108;:::o;796:59::-;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;796:59:45;;;;;:::o;6427:847::-;1688:1:31;2277:7;;:19;;2269:63;;;;-1:-1:-1;;;2269:63:31;;;;;;;;;1688:1;2407:7;:18;8791:27:1::1;::::0;;;:15:::1;:27;::::0;;;;;;;-1:-1:-1;;;;;8791:27:1::1;8777:10;:41;8769:106;;;;-1:-1:-1::0;;;8769:106:1::1;;;;;;;;;8888:27;::::0;;;:15:::1;:27;::::0;;;;;8881:34;;-1:-1:-1;;;;;;8881:34:1::1;::::0;;8926:30;8904:10;;8926:30:::1;::::0;::::1;6655:25:45::0;6691::::2;;:::i;:::-;-1:-1:-1::0;6719:33:45::2;::::0;;;:21:::2;:33;::::0;;;;;;;;6691:61;;;;::::2;::::0;;;;-1:-1:-1;;;;;6691:61:45::2;::::0;;;;;;::::2;::::0;;;::::2;::::0;;;6767:139;;6741:10;;6767:139:::2;::::0;::::2;::::0;6691:61;6878:18;;6767:139:::2;;;;;;;;;;6917:12;6931:14:::0;6949:32:::2;6962:18;6949:12;:32::i;:::-;6916:65:::0;;-1:-1:-1;6916:65:45;-1:-1:-1;6991:13:45::2;7007:16;6916:65:::0;;7007:16:::2;:8;:16;:::i;:::-;6991:32:::0;-1:-1:-1;7033:25:45::2;7073:46;6991:32:::0;7073:35:::2;:4:::0;7082:25;7073:35:::2;:8;:35;:::i;:::-;:39:::0;:46:::2;:39;:46;:::i;:::-;7133:18:::0;;7209:16:::2;::::0;::::2;::::0;7129:106:::2;::::0;-1:-1:-1;;;7129:106:45;;7033:86;;-1:-1:-1;;;;;;7129:35:45;;::::2;::::0;::::2;::::0;:106:::2;::::0;7033:86;;7209:16;7129:106:::2;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::2;2:2;7129:106:45;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;-1:-1:::0;;7246:16:45::2;:21:::0;;7266:1:::2;7246:21:::0;;::::2;::::0;;;2580:7:31;:22;-1:-1:-1;;;;;;;;;;;6427:847:45:o;10163:88::-;10238:6;;10163:88;:::o;9816:114::-;1495:5;9816:114;:::o;10332:84::-;10405:4;;10332:84;:::o;8514:491::-;3627:5;:12;;-1:-1:-1;;;;3627:12:45;-1:-1:-1;;;3627:12:45;;;;;8663:54:::1;::::0;-1:-1:-1;;;8663:54:45;;-1:-1:-1;;;;;8663:13:45;;::::1;::::0;:30:::1;::::0;:54:::1;::::0;8694:11;;8707:9;;8663:54:::1;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;8663:54:45;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;8663:54:45;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;8663:54:45;;;;;;;;;8642:128;;;;-1:-1:-1::0;;;8642:128:45::1;;;;;;;;;8842:25;::::0;-1:-1:-1;;;8842:25:45;;8794:11;;8780:7:::1;::::0;-1:-1:-1;;;;;8842:14:45;::::1;::::0;::::1;::::0;:25:::1;::::0;8857:9;;8842:25:::1;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;8842:25:45;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;8842:25:45;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;8842:25:45;;;;;;;;;8816:51:::0;-1:-1:-1;8895:22:45::1;::::0;-1:-1:-1;8885:32:45::1;::::0;-1:-1:-1;8885:32:45;::::1;:6;:32;;;;;;;;;8877:58;;;;-1:-1:-1::0;;;8877:58:45::1;;;;;;;;;8945:53;8956:9;8967:11;8980:5;8987:10;8945;:53::i;:::-;-1:-1:-1::0;;3660:5:45;:13;;-1:-1:-1;;;;3660:13:45;;;-1:-1:-1;;8514:491:45:o;2011:240:19:-;1308:12;:10;:12::i;:::-;-1:-1:-1;;;;;1297:23:19;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1297:23:19;;1289:68;;;;-1:-1:-1;;;1289:68:19;;;;;;;;;-1:-1:-1;;;;;2099:22:19;::::1;2091:73;;;;-1:-1:-1::0;;;2091:73:19::1;;;;;;;;;2200:6;::::0;2179:38:::1;::::0;-1:-1:-1;;;;;2179:38:19;;::::1;::::0;2200:6:::1;::::0;2179:38:::1;::::0;2200:6:::1;::::0;2179:38:::1;2227:6;:17:::0;;-1:-1:-1;;;;;;2227:17:19::1;-1:-1:-1::0;;;;;2227:17:19;;;::::1;::::0;;;::::1;::::0;;2011:240::o;3787:273:45:-;3911:19;;-1:-1:-1;;;;;3911:19:45;:33;3890:120;;;;-1:-1:-1;;;3890:120:45;;;;;;;;;4021:19;:32;;-1:-1:-1;;;;;;4021:32:45;4043:10;4021:32;;;3787:273::o;598:104:28:-;685:10;598:104;:::o;5341:110:1:-;5441:4;;-1:-1:-1;;;;;5441:4:1;5341:110;:::o;885:203:26:-;985:96;1005:5;1035:27;;;1064:4;1070:2;1074:5;1012:68;;;;;;;;;;;;;;;-1:-1:-1;;26:21;;;22:32;6:49;;1012:68:26;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;;;;1012:68:26;;;179:29:-1;;;;160:49;;;985:19:26;:96::i;:::-;885:203;;;;:::o;1815:295:1:-;1963:24;;:::i;:::-;1995:28;;:::i;:::-;2036:69;:3;2051:7;2060:16;2078:26;2036:69;:14;:69;:::i;:::-;2029:76;;;1815:295;;;;;;:::o;1956:169:0:-;2058:8;;;;:27;;2080:4;2058:27;:21;:27;:::i;:::-;2091:8;;;;:29;;2113:6;2091:29;:21;:29;:::i;:::-;1956:169;;;:::o;3120:488:1:-;3244:17;3310:4;3316:12;;3293:36;;;;;;;;;;;;;;26:21:-1;;;-1:-1;;22:32;6:49;;3293:36:1;;;3283:47;;49:4:-1;3283:47:1;;;;3349:12;;3336:10;;;:25;3367:26;;;;:15;:26;;;;;;:36;;-1:-1:-1;;;;;;3367:36:1;-1:-1:-1;;;;;3367:36:1;;;;;3414:29;;3283:47;;-1:-1:-1;3283:47:1;;3414:29;;;3457:4;;-1:-1:-1;;;;;3457:4:1;:20;3478:7;3487:8;3497:19;3511:4;3497:13;:19::i;:::-;3457:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3457:60:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3457:60:1;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;3457:60:1;;;;;;;;;3449:108;;;;-1:-1:-1;;;3449:108:1;;;;;;;;;3563:12;:17;;3579:1;3563:17;;;3120:488;;;;;:::o;831:162:17:-;889:7;916:5;;;935:6;;;;927:46;;;;-1:-1:-1;;;927:46:17;;;;;;;;;987:1;-1:-1:-1;831:162:17;;;;;:::o;1638:418::-;1696:7;1920:6;1916:35;;-1:-1:-1;1943:1:17;1936:8;;1916:35;1969:5;;;1973:1;1969;:5;:1;1988:5;;;;;:10;1980:56;;;;-1:-1:-1;;;1980:56:17;;;;;;;;2497:304;2555:7;2644:1;2640;:5;2632:44;;;;-1:-1:-1;;;2632:44:17;;;;;;;;;2682:9;2698:1;2694;:5;;;;;;;2497:304;-1:-1:-1;;;;2497:304:17:o;2967:751:26:-;3386:23;3412:69;3440:4;3412:69;;;;;;;;;;;;;;;;;3420:5;-1:-1:-1;;;;;3412:27:26;;;:69;;;;;:::i;:::-;3495:17;;3386:95;;-1:-1:-1;3495:21:26;3491:221;;3635:10;3624:30;;;;;;;;;;;;;;3616:85;;;;-1:-1:-1;;;3616:85:26;;;;;;;;966:365:0;1115:24;;:::i;:::-;1147:49;1168:4;:8;;;333:3;1147:20;:49::i;:::-;-1:-1:-1;;1202:13:0;;;-1:-1:-1;;;;;1221:39:0;:20;;;:39;-1:-1:-1;;;;;;1266:43:0;:23;;;:43;1202:13;966:365::o;1859:188:14:-;1957:55;1968:3;351:1;1998:5;1992:19;1957:10;:55::i;:::-;2018:24;:3;2035:5;2018:24;:10;:24;:::i;7612:527:1:-;7700:12;7759:29;;;767:1;711;8009:4;:7;;;8024:4;:20;;;8052:4;:23;;;8083:4;:10;;;813:1;8121:4;:8;;;:12;;;7729:405;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;26:21;;;22:32;6:49;;7729:405:1;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;;;;7729:405:1;;;179:29:-1;;;;160:49;;;7729:405:1;-1:-1:-1;7612:527:1;;;:::o;3581:193:27:-;3684:12;3715:52;3737:6;3745:4;3751:1;3754:12;3715:21;:52::i;:::-;3708:59;3581:193;-1:-1:-1;;;;3581:193:27:o;950:395:13:-;1020:13;;:::i;:::-;1056:2;1045:8;:13;:18;1041:71;;1102:2;1091:8;:13;1085:2;:20;1073:32;;;;1041:71;-1:-1:-1;1159:12:13;;;;:23;;;1222:4;1216:11;;1234:16;;;-1:-1:-1;1257:14:13;;1299:18;;;1291:27;1278:41;;1159:12;950:395::o;503:644:14:-;614:2;605:5;:11;602:541;;626:44;:3;648:20;658:1;649:10;;;648:20;;;626:44;:15;:44;:::i;:::-;;602:541;;;695:4;686:5;:13;683:460;;709:41;:3;746:2;732:10;741:1;732:10;;;;731:17;709:41;:15;:41;:::i;:::-;-1:-1:-1;758:23:14;:3;772:5;779:1;758:23;:13;:23;:::i;683:460::-;806:6;797:5;:15;794:349;;822:41;:3;859:2;845:10;854:1;845:10;;;;844:17;822:41;:15;:41;:::i;:::-;-1:-1:-1;871:23:14;:3;885:5;892:1;871:23;:13;:23;:::i;794:349::-;919:10;910:5;:19;907:236;;939:41;:3;976:2;962:10;971:1;962:10;;;;961:17;939:41;:15;:41;:::i;:::-;-1:-1:-1;988:23:14;:3;1002:5;1009:1;988:23;:13;:23;:::i;907:236::-;1036:18;1027:5;:27;1024:119;;1064:41;:3;1101:2;1087:10;1096:1;1087:10;;;;1086:17;1064:41;:15;:41;:::i;:::-;-1:-1:-1;1113:23:14;:3;1127:5;1134:1;1113:23;:13;:23;:::i;4504:155:13:-;4581:13;;:::i;:::-;4609:45;4615:3;4620;:7;;;:14;4636:4;4642;:11;4609:5;:45::i;4608:523:27:-;4735:12;4792:5;4767:21;:30;;4759:81;;;;-1:-1:-1;;;4759:81:27;;;;;;;;;4858:18;4869:6;4858:10;:18::i;:::-;4850:60;;;;-1:-1:-1;;;4850:60:27;;;;;;;;;4981:12;4995:23;5022:6;-1:-1:-1;;;;;5022:11:27;5042:5;5050:4;5022:33;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;4980:75:27;;;;5072:52;5090:7;5099:10;5111:12;5072:17;:52::i;:::-;5065:59;4608:523;-1:-1:-1;;;;;;;4608:523:27:o;5819:144:13:-;5893:13;;:::i;:::-;5921:37;5932:3;5937;:7;;;:14;5953:4;5921:10;:37::i;9511:154::-;9592:13;;:::i;:::-;9620:40;9629:3;9634;:7;;;:14;9650:4;9656:3;9620:8;:40::i;2659:1140::-;2754:13;;:::i;:::-;2790:4;:11;2783:3;:18;;2775:27;;12:1:-1;9;2:12;2775:27:13;2825:3;:12;;;2819:3;2813;:9;:24;2809:90;;;2847:45;2854:3;2859:28;2863:3;:12;;;2883:3;2877;:9;2859:3;:28::i;:::-;2890:1;2859:32;2847:6;:45::i;:::-;2905:9;2920:8;3014:3;3008:10;3085:6;3079:13;3201:3;3196:2;3188:6;3184:15;3180:25;3172:33;;3285:6;3279:3;3274;3270:13;3267:25;3264:2;;;3327:3;3322;3318:13;3310:6;3303:29;3264:2;-1:-1:-1;;;3364:2:13;3354:13;;3425:129;3439:2;3432:3;:9;3425:129;;3494:10;;3481:24;;-1:-1:-1;;3443:9:13;;;;3528:2;3520:10;;;;3538:9;3425:129;;;3663:10;3712:11;;-1:-1:-1;;3608:2:13;:8;;;3600:3;:17;:21;3708:22;;;3675:9;;3659:26;;;;3750:21;3737:35;;-1:-1:-1;3791:3:13;2659:1140;;;;;;:::o;726:413:27:-;1086:20;1124:8;;;726:413::o;7091:725::-;7206:12;7234:7;7230:580;;;-1:-1:-1;7264:10:27;7257:17;;7230:580;7375:17;;:21;7371:429;;7633:10;7627:17;7693:15;7680:10;7676:2;7672:19;7665:44;7582:145;7772:12;7765:20;;-1:-1:-1;;;7765:20:27;;;;;;;;;4953:619:13;5036:13;;:::i;:::-;5068:3;:12;;;5061:3;:19;5057:69;;5090:29;5097:3;5102;:12;;;5117:1;5102:16;5090:6;:29::i;:::-;5212:3;5206:10;5283:6;5277:13;5395:2;5389:3;5381:6;5377:16;5373:25;5419:4;5413;5405:19;;5490:6;5485:3;5482:15;5479:2;;;5535:1;5527:6;5523:14;5515:6;5508:30;5479:2;-1:-1:-1;5564:3:13;;4953:619;-1:-1:-1;;;;4953:619:13:o;8618:642::-;8707:13;;:::i;:::-;8744:3;:12;;;8738:3;8732;:9;:24;8728:73;;;8766:28;8773:3;8785;8779;:9;8792:1;8778:15;8766:6;:28::i;:::-;8807:9;8832:1;8826:3;8819;:10;:14;8807:26;;8919:3;8913:10;9034:3;9028;9020:6;9016:16;9012:26;9090:4;9082;9078:9;9071:4;9065:11;9061:27;9058:37;9052:4;9045:51;;9178:6;9172:13;9166:3;9161;9157:13;9154:32;9151:2;;;9221:3;9216;9212:13;9204:6;9197:29;9151:2;-1:-1:-1;9252:3:13;;8618:642;-1:-1:-1;;;;;8618:642:13:o;1897:114::-;1947:4;1967:1;1963;:5;1959:34;;;-1:-1:-1;1985:1:13;1978:8;;1959:34;-1:-1:-1;2005:1:13;1897:114;-1:-1:-1;1897:114:13:o;1740:153::-;1831:7;;1844:19;1831:3;1854:8;1844:4;:19::i;:::-;;1869;1876:3;1881:6;1869;:19::i;622:10136:45:-;;;;;;;;;-1:-1:-1;622:10136:45;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;-1:-1:-1;622:10136:45;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;5:130:-1:-;72:20;;-1:-1;;;;;28927:54;;30462:35;;30452:2;;30511:1;;30501:12;1610:241;;1714:2;1702:9;1693:7;1689:23;1685:32;1682:2;;;-1:-1;;1720:12;1682:2;1782:53;1827:7;1803:22;1782:53;;1858:366;;;1979:2;1967:9;1958:7;1954:23;1950:32;1947:2;;;-1:-1;;1985:12;1947:2;2047:53;2092:7;2068:22;2047:53;;;2037:63;2137:2;2176:22;;;;1399:20;;-1:-1;;;1941:283;2231:257;;2343:2;2331:9;2322:7;2318:23;2314:32;2311:2;;;-1:-1;;2349:12;2311:2;354:6;348:13;366:30;390:5;366:30;;2495:241;;2599:2;2587:9;2578:7;2574:23;2570:32;2567:2;;;-1:-1;;2605:12;2567:2;-1:-1;475:20;;2561:175;-1:-1;2561:175;2743:366;;;2864:2;2852:9;2843:7;2839:23;2835:32;2832:2;;;-1:-1;;2870:12;2832:2;-1:-1;;475:20;;;3022:2;3061:22;;;1399:20;;-1:-1;2826:283;3116:293;;3246:2;3234:9;3225:7;3221:23;3217:32;3214:2;;;-1:-1;;3252:12;3214:2;644:6;638:13;30853:1;30846:5;30843:12;30833:2;;-1:-1;;30859:12;3416:362;;3541:2;3529:9;3520:7;3516:23;3512:32;3509:2;;;-1:-1;;3547:12;3509:2;3598:17;3592:24;3636:18;;3628:6;3625:30;3622:2;;;-1:-1;;3658:12;3622:2;3745:6;3734:9;3730:22;993:3;986:4;978:6;974:17;970:27;960:2;;-1:-1;;1001:12;960:2;1041:6;1035:13;1021:27;;3636:18;27177:6;27174:30;27171:2;;;-1:-1;;27207:12;27171:2;26840;26834:9;27280;27261:17;;-1:-1;;27257:33;26866:17;;3541:2;26866:17;26926:34;;;26962:22;;;26923:62;26920:2;;;-1:-1;;26988:12;26920:2;26840;27007:22;1134:21;;;1234:16;;;3541:2;1234:16;1231:25;-1:-1;1228:2;;;-1:-1;;1259:12;1228:2;1279:39;1311:6;3541:2;1210:5;1206:16;3541:2;1176:6;1172:17;1279:39;;;3678:84;3503:275;-1:-1;;;;;;3503:275;4033:263;;4148:2;4136:9;4127:7;4123:23;4119:32;4116:2;;;-1:-1;;4154:12;4116:2;-1:-1;1547:13;;4110:186;-1:-1;4110:186;4303:611;;;;;4455:3;4443:9;4434:7;4430:23;4426:33;4423:2;;;-1:-1;;4462:12;4423:2;1412:6;1399:20;4514:63;;4614:2;4657:9;4653:22;72:20;97:33;124:5;97:33;;;4622:63;-1:-1;4722:2;4758:22;;206:20;231:30;206:20;231:30;;;4730:60;-1:-1;4827:2;4866:22;;72:20;97:33;72:20;97:33;;;4417:497;;;;-1:-1;4417:497;;-1:-1;;4417:497;4921:399;;;5053:2;5041:9;5032:7;5028:23;5024:32;5021:2;;;-1:-1;;5059:12;5021:2;-1:-1;;1547:13;;5222:2;5272:22;;;1547:13;;;;;-1:-1;5015:305;5327:557;;;;5487:2;5475:9;5466:7;5462:23;5458:32;5455:2;;;-1:-1;;5493:12;5455:2;1553:6;1547:13;5545:74;;5656:2;5710:9;5706:22;1547:13;5664:74;;5775:2;5840:9;5836:22;805:13;30965:1;30958:5;30955:12;30945:2;;-1:-1;;30971:12;30945:2;5783:85;;;;5449:435;;;;;;6504:343;;6646:5;27457:12;27742:6;27737:3;27730:19;6739:52;6784:6;27779:4;27774:3;27770:14;27779:4;6765:5;6761:16;6739:52;;;27280:9;30151:14;-1:-1;;30147:28;6803:39;;;;27779:4;6803:39;;6594:253;-1:-1;;6594:253;14136:262;;7380:5;27457:12;7491:52;7536:6;7531:3;7524:4;7517:5;7513:16;7491:52;;;7555:16;;;;;14261:137;-1:-1;;14261:137;14405:429;30262:2;30258:14;;;;-1:-1;;30258:14;7695:94;;14695:2;14686:12;;6210:37;14797:12;;;14563:271;14841:213;-1:-1;;;;;28927:54;;;;5962:37;;14959:2;14944:18;;14930:124;15297:435;-1:-1;;;;;28927:54;;;5962:37;;28927:54;;;;15635:2;15620:18;;5962:37;15718:2;15703:18;;6210:37;;;;15471:2;15456:18;;15442:290;15739:324;-1:-1;;;;;28927:54;;;;5962:37;;16049:2;16034:18;;6210:37;15885:2;15870:18;;15856:207;16070:1075;-1:-1;;;;;28927:54;;;5962:37;;16565:2;16550:18;;6210:37;;;16648:2;16633:18;;6210:37;;;28927:54;;16731:2;16716:18;;5962:37;-1:-1;;;;;;28632:78;;16812:3;16797:19;;6456:36;28938:42;16881:19;;6210:37;;;16980:3;16965:19;;6210:37;;;16400:3;28643:66;17003:19;;16996:49;;;16070:1075;;17059:76;16385:19;;;17121:6;17059:76;;;17051:84;16371:774;-1:-1;;;;;;;;;;;16371:774;17152:519;;28938:42;;;;;28382:5;28927:54;5969:3;5962:37;6240:5;17508:2;17497:9;17493:18;6210:37;17344:2;17545;17534:9;17530:18;17523:48;17585:76;17344:2;17333:9;17329:18;17647:6;17585:76;;;17577:84;17315:356;-1:-1;;;;;17315:356;17678:213;6210:37;;;17796:2;17781:18;;17767:124;18134:324;6210:37;;;18444:2;18429:18;;6210:37;18280:2;18265:18;;18251:207;18465:313;;18609:2;18630:17;18623:47;18684:84;18609:2;18598:9;18594:18;18754:6;18684:84;;18785:350;18944:2;18929:18;;30374:1;30364:12;;30354:2;;30380:9;30354:2;7885:63;;;19121:2;19106:18;6210:37;18915:220;;19450:407;19641:2;19655:47;;;8539:2;19626:18;;;27730:19;8575:34;27770:14;;;8555:55;-1:-1;;;8630:12;;;8623:30;8672:12;;;19612:245;19864:407;20055:2;20069:47;;;8923:2;20040:18;;;27730:19;8959:29;27770:14;;;8939:50;9008:12;;;20026:245;20278:407;20469:2;20483:47;;;9259:2;20454:18;;;27730:19;9295:34;27770:14;;;9275:55;-1:-1;;;9350:12;;;9343:27;9389:12;;;20440:245;20692:407;20883:2;20897:47;;;9640:2;20868:18;;;27730:19;9676:29;27770:14;;;9656:50;9725:12;;;20854:245;21106:407;21297:2;21311:47;;;9976:2;21282:18;;;27730:19;-1:-1;;;27770:14;;;9992:36;10047:12;;;21268:245;21520:407;21711:2;21725:47;;;10298:2;21696:18;;;27730:19;10334:34;27770:14;;;10314:55;-1:-1;;;10389:12;;;10382:30;10431:12;;;21682:245;21934:407;22125:2;22139:47;;;10682:2;22110:18;;;27730:19;10718:28;27770:14;;;10698:49;10766:12;;;22096:245;22348:407;22539:2;22553:47;;;11017:2;22524:18;;;27730:19;11053:34;27770:14;;;11033:55;-1:-1;;;11108:12;;;11101:32;11152:12;;;22510:245;22762:407;22953:2;22967:47;;;11403:2;22938:18;;;27730:19;11439:34;27770:14;;;11419:55;-1:-1;;;11494:12;;;11487:25;11531:12;;;22924:245;23176:407;23367:2;23381:47;;;11782:2;23352:18;;;27730:19;11818:34;27770:14;;;11798:55;-1:-1;;;11873:12;;;11866:25;11910:12;;;23338:245;23590:407;23781:2;23795:47;;;23766:18;;;27730:19;12197:34;27770:14;;;12177:55;12251:12;;;23752:245;24004:407;24195:2;24209:47;;;12502:2;24180:18;;;27730:19;12538:31;27770:14;;;12518:52;12589:12;;;24166:245;24418:407;24609:2;24623:47;;;12840:2;24594:18;;;27730:19;12876:34;27770:14;;;12856:55;-1:-1;;;12931:12;;;12924:32;12975:12;;;24580:245;24832:407;25023:2;25037:47;;;13226:2;25008:18;;;27730:19;13262:34;27770:14;;;13242:55;-1:-1;;;13317:12;;;13310:34;13363:12;;;24994:245;25246:407;25437:2;25451:47;;;13614:2;25422:18;;;27730:19;13650:33;27770:14;;;13630:54;13703:12;;;25408:245;29528:268;29593:1;29600:101;29614:6;29611:1;29608:13;29600:101;;;29681:11;;;29675:18;29662:11;;;29655:39;29636:2;29629:10;29600:101;;;29716:6;29713:1;29710:13;29707:2;;;-1:-1;;29593:1;29763:16;;29756:27;29577:219;30403:117;-1:-1;;;;;28927:54;;30462:35;;30452:2;;30511:1;;30501:12;30452:2;30446:74;;30527:111;30608:5;28466:13;28459:21;30586:5;30583:32;30573:2;;30629:1;;30619:12" + "object": "608060405234801561001057600080fd5b506004361061010b5760003560e01c8063a50c5425116100a2578063c9b0cb2211610071578063c9b0cb22146101da578063ddca3f43146101e2578063e450f061146101ea578063f2fde38b146101fd578063f3881589146102105761010b565b8063a50c542514610196578063ae401eb91461019e578063bc0bfc00146101bf578063c2939d97146101d25761010b565b80637dc0d1d0116100de5780637dc0d1d01461016057806381d12c58146101685780638da5cb5b1461017b57806397a82192146101835761010b565b8063292733bf14610110578063663c2269146101255780636e71890d14610143578063715018a614610158575b600080fd5b61012361011e3660046114ea565b610218565b005b61012d6102b3565b60405161013a91906117c8565b60405180910390f35b61014b6102b9565b60405161013a91906116df565b6101236102c8565b61014b610351565b61012d6101763660046114d2565b610375565b61014b610393565b6101236101913660046115c5565b6103a2565b61012d6107fe565b6101b16101ac3660046114d2565b610804565b60405161013a929190611717565b6101236101cd3660046114ea565b610829565b61012d6109bd565b61012d6109c3565b61012d6109c9565b6101236101f836600461148c565b6109cf565b61012361020b366004611471565b610b56565b610123610c17565b610220610c54565b6001600160a01b0316610231610393565b6001600160a01b0316146102605760405162461bcd60e51b8152600401610257906119c0565b60405180910390fd5b600b82905567016345785d8a00008102600c81905560405133917f8e7e22d2820965fa1a8fa3ad76db76127e2f1baaf65f50c4e267f28b2254f7cb916102a79186916117d1565b60405180910390a25050565b600d5490565b600a546001600160a01b031690565b6102d0610c54565b6001600160a01b03166102e1610393565b6001600160a01b0316146103075760405162461bcd60e51b8152600401610257906119c0565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b7f000000000000000000000000000000000000000000000000000000000000000090565b6009818154811061038257fe5b600091825260209091200154905081565b6006546001600160a01b031690565b601054600160a01b900460ff166103dd57600a546001600160a01b031633146103dd5760405162461bcd60e51b81526004016102579061197f565b600260075414156104005760405162461bcd60e51b815260040161025790611abe565b600260075582821561043f5761043a610417610393565b30600c54610423610c58565b6001600160a01b031692919063ffffffff610c6716565b61044f565b61044f8230600c54610423610c58565b6104576113f4565b600b5461046b9030622f02ff60ea1b610cc5565b9050600080600f60009054906101000a90046001600160a01b03166001600160a01b031663ffa61235856001600160a01b03166346e0fbae6040518163ffffffff1660e01b815260040160206040518083038186803b1580156104cd57600080fd5b505afa1580156104e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610505919061150b565b8a6040518363ffffffff1660e01b81526004016105239291906117df565b604080518083038186803b15801561053a57600080fd5b505afa15801561054e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105729190611617565b9150915061063f604051806040016040528060148152602001731cdb1857db5bdb9a5d1bdc9a5b99d7dcdd185c9d60621b81525073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__63fc966d45856040518263ffffffff1660e01b81526004016105dd91906117c8565b60006040518083038186803b1580156105f557600080fd5b505af4158015610609573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610631919081019061152a565b85919063ffffffff610cf216565b60408051808201825260128152711cdb1857db5bdb9a5d1bdc9a5b99d7d95b9960721b6020820152905163fc966d4560e01b81526106a2919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__9063fc966d45906105dd9086906004016117c8565b604080518082018252600b81526a736c615f6164647265737360a81b60208201529051635e57966d60e01b81526106fe919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__90635e57966d906105dd908c906004016116df565b600061072d7f000000000000000000000000000000000000000000000000000000000000000085600c54610d21565b6009805460018082019092557f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af018290556040805180820182526001600160a01b038c8116825260208083018f81526000878152600890925290849020925183546001600160a01b0319169083161783555191840191909155600d80549093019283905590519293508816917feab5eb77e722078f3fab7eb6a77c74f7001181e1e3a74d51b7b5747ee1b31cb9916107e69185906117d1565b60405180910390a25050600160075550505050505050565b600e5490565b600860205260009081526040902080546001909101546001600160a01b039091169082565b6002600754141561084c5760405162461bcd60e51b815260040161025790611abe565b600260075560008281526005602052604090205482906001600160a01b031633146108895760405162461bcd60e51b815260040161025790611a2c565b60008181526005602052604080822080546001600160a01b03191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a26108d4611429565b506000838152600860209081526040918290208251808401845281546001600160a01b0316808252600190920154928101839052925186927f56514ef6e1ffd0f970ebf32dc181e476384e6e53a8351719040b4030318a933b9161093a919088906117d1565b60405180910390a3600e8054600101905580516020820151604051636bd2e21160e11b81526001600160a01b039092169163d7a5c42291610980918791906004016117d1565b600060405180830381600087803b15801561099a57600080fd5b505af11580156109ae573d6000803e3d6000fd5b50506001600755505050505050565b600b5490565b6103e890565b600c5490565b6010805460ff60a01b1916600160a01b179081905560405163ab9a81a560e01b81526001600160a01b039091169063ab9a81a590610a139085908590600401611717565b60206040518083038186803b158015610a2b57600080fd5b505afa158015610a3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6391906114b6565b610a7f5760405162461bcd60e51b815260040161025790611893565b6040516320c876ef60e11b815282906000906001600160a01b03831690634190edde90610ab09086906004016117c8565b60606040518083038186803b158015610ac857600080fd5b505afa158015610adc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b00919061163a565b925060009150610b0d9050565b816002811115610b1957fe5b14610b365760405162461bcd60e51b8152600401610257906118ca565b610b4383856000336103a2565b50506010805460ff60a01b191690555050565b610b5e610c54565b6001600160a01b0316610b6f610393565b6001600160a01b031614610b955760405162461bcd60e51b8152600401610257906119c0565b6001600160a01b038116610bbb5760405162461bcd60e51b81526004016102579061180a565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b031615610c405760405162461bcd60e51b815260040161025790611937565b600a80546001600160a01b03191633179055565b3390565b6002546001600160a01b031690565b610cbf846323b872dd60e01b858585604051602401610c88939291906116f3565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610e60565b50505050565b610ccd6113f4565b610cd56113f4565b610ce78186868663ffffffff610eef16565b9150505b9392505050565b6080830151610d07908363ffffffff610f2c16565b6080830151610d1c908263ffffffff610f2c16565b505050565b600030600454604051602001610d389291906116bd565b60408051808303601f19018152918152815160209283012060045460608701526000818152600590935281832080546001600160a01b0319166001600160a01b038916179055905190925082917fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af991a26002546001600160a01b0316634000aea08584610dc487610f49565b6040518463ffffffff1660e01b8152600401610de293929190611798565b602060405180830381600087803b158015610dfc57600080fd5b505af1158015610e10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3491906114b6565b610e505760405162461bcd60e51b815260040161025790611850565b6004805460010190559392505050565b6060610eb5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610fc59092919063ffffffff16565b805190915015610d1c5780806020019051810190610ed391906114b6565b610d1c5760405162461bcd60e51b815260040161025790611a74565b610ef76113f4565b610f078560800151610100610fdc565b50509183526001600160a01b031660208301526001600160e01b031916604082015290565b610f39826003835161101c565b610d1c828263ffffffff61112616565b6060634042994660e01b60008084600001518560200151866040015187606001516001896080015160000151604051602401610f8c989796959493929190611730565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091529050919050565b6060610fd48484600085611140565b949350505050565b610fe4611440565b6020820615610ff95760208206602003820191505b506020808301829052604080518085526000815283019091019052815b92915050565b601781116110435761103d8360e0600585901b16831763ffffffff61120116565b50610d1c565b60ff811161107957611066836018611fe0600586901b161763ffffffff61120116565b5061103d8382600163ffffffff61121916565b61ffff81116110b05761109d836019611fe0600586901b161763ffffffff61120116565b5061103d8382600263ffffffff61121916565b63ffffffff81116110e9576110d683601a611fe0600586901b161763ffffffff61120116565b5061103d8382600463ffffffff61121916565b67ffffffffffffffff8111610d1c5761111383601b611fe0600586901b161763ffffffff61120116565b50610cbf8382600863ffffffff61121916565b61112e611440565b610ceb83846000015151848551611232565b6060824710156111625760405162461bcd60e51b8152600401610257906118f1565b61116b856112de565b6111875760405162461bcd60e51b8152600401610257906119f5565b60006060866001600160a01b031685876040516111a491906116a1565b60006040518083038185875af1925050503d80600081146111e1576040519150601f19603f3d011682016040523d82523d6000602084013e6111e6565b606091505b50915091506111f68282866112e4565b979650505050505050565b611209611440565b610ceb838460000151518461131d565b611221611440565b610fd4848560000151518585611368565b61123a611440565b825182111561124857600080fd5b84602001518285011115611272576112728561126a87602001518786016113c6565b6002026113dd565b6000808651805187602083010193508088870111156112915787860182525b505050602084015b602084106112b85780518252601f199093019260209182019101611299565b51815160001960208690036101000a019081169019919091161790525083949350505050565b3b151590565b606083156112f3575081610ceb565b8251156113035782518084602001fd5b8160405162461bcd60e51b815260040161025791906117f7565b611325611440565b83602001518310611341576113418485602001516002026113dd565b83518051602085830101848153508085141561135e576001810182525b5093949350505050565b611370611440565b8460200151848301111561138d5761138d858584016002026113dd565b60006001836101000a0390508551838682010185831982511617815250805184870111156113bb5783860181525b509495945050505050565b6000818311156113d7575081611016565b50919050565b81516113e98383610fdc565b50610cbf8382611126565b6040805160a081018252600080825260208201819052918101829052606081019190915260808101611424611440565b905290565b604080518082019091526000808252602082015290565b604051806040016040528060608152602001600081525090565b80356001600160a01b038116811461101657600080fd5b600060208284031215611482578081fd5b610ceb838361145a565b6000806040838503121561149e578081fd5b6114a8848461145a565b946020939093013593505050565b6000602082840312156114c7578081fd5b8151610ceb81611b39565b6000602082840312156114e3578081fd5b5035919050565b600080604083850312156114fc578182fd5b50508035926020909101359150565b60006020828403121561151c578081fd5b815160068110610ceb578182fd5b60006020828403121561153b578081fd5b815167ffffffffffffffff80821115611552578283fd5b81840185601f820112611563578384fd5b8051925081831115611573578384fd5b604051601f8401601f191681016020018381118282101715611593578586fd5b6040528381528184016020018710156115aa578485fd5b6115bb846020830160208501611af5565b9695505050505050565b600080600080608085870312156115da578182fd5b8435935060208501356115ec81611b21565b925060408501356115fc81611b39565b9150606085013561160c81611b21565b939692955090935050565b60008060408385031215611629578182fd5b505080516020909101519092909150565b60008060006060848603121561164e578283fd5b835192506020840151915060408401516003811061166a578182fd5b809150509250925092565b6000815180845261168d816020860160208601611af5565b601f01601f19169290920160200192915050565b600082516116b3818460208701611af5565b9190910192915050565b60609290921b6bffffffffffffffffffffffff19168252601482015260340190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0389811682526020820189905260408201889052861660608201526001600160e01b03198516608082015260a0810184905260c0810183905261010060e0820181905260009061178983820185611675565b9b9a5050505050505050505050565b600060018060a01b0385168252836020830152606060408301526117bf6060830184611675565b95945050505050565b90815260200190565b918252602082015260400190565b60408101600684106117ed57fe5b9281526020015290565b600060208252610ceb6020830184611675565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526023908201527f756e61626c6520746f207472616e73666572416e6443616c6c20746f206f7261604082015262636c6560e81b606082015260800190565b6020808252601b908201527f5374616b6552656769737472793a206e6f742076657269666965640000000000604082015260600190565b6020808252600d908201526c14d3104e881d995c9a599a5959609a1b604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b60208082526028908201527f534c41526567697374727920616464726573732068617320616c7265616479206040820152671899595b881cd95d60c21b606082015260800190565b60208082526021908201527f43616e206f6e6c792062652063616c6c656420627920534c41526567697374726040820152607960f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526028908201527f536f75726365206d75737420626520746865206f7261636c65206f6620746865604082015267081c995c5d595cdd60c21b606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60005b83811015611b10578181015183820152602001611af8565b83811115610cbf5750506000910152565b6001600160a01b0381168114611b3657600080fd5b50565b8015158114611b3657600080fdfea264697066735822122050dea7ee923b63937e4885c9c865c4173c09ba9e1be99fdf9b89fbb09fd4e7c464736f6c63430006060033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x10B JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xA50C5425 GT PUSH2 0xA2 JUMPI DUP1 PUSH4 0xC9B0CB22 GT PUSH2 0x71 JUMPI DUP1 PUSH4 0xC9B0CB22 EQ PUSH2 0x1DA JUMPI DUP1 PUSH4 0xDDCA3F43 EQ PUSH2 0x1E2 JUMPI DUP1 PUSH4 0xE450F061 EQ PUSH2 0x1EA JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x1FD JUMPI DUP1 PUSH4 0xF3881589 EQ PUSH2 0x210 JUMPI PUSH2 0x10B JUMP JUMPDEST DUP1 PUSH4 0xA50C5425 EQ PUSH2 0x196 JUMPI DUP1 PUSH4 0xAE401EB9 EQ PUSH2 0x19E JUMPI DUP1 PUSH4 0xBC0BFC00 EQ PUSH2 0x1BF JUMPI DUP1 PUSH4 0xC2939D97 EQ PUSH2 0x1D2 JUMPI PUSH2 0x10B JUMP JUMPDEST DUP1 PUSH4 0x7DC0D1D0 GT PUSH2 0xDE JUMPI DUP1 PUSH4 0x7DC0D1D0 EQ PUSH2 0x160 JUMPI DUP1 PUSH4 0x81D12C58 EQ PUSH2 0x168 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x17B JUMPI DUP1 PUSH4 0x97A82192 EQ PUSH2 0x183 JUMPI PUSH2 0x10B JUMP JUMPDEST DUP1 PUSH4 0x292733BF EQ PUSH2 0x110 JUMPI DUP1 PUSH4 0x663C2269 EQ PUSH2 0x125 JUMPI DUP1 PUSH4 0x6E71890D EQ PUSH2 0x143 JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0x158 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x123 PUSH2 0x11E CALLDATASIZE PUSH1 0x4 PUSH2 0x14EA JUMP JUMPDEST PUSH2 0x218 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x12D PUSH2 0x2B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x13A SWAP2 SWAP1 PUSH2 0x17C8 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x14B PUSH2 0x2B9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x13A SWAP2 SWAP1 PUSH2 0x16DF JUMP JUMPDEST PUSH2 0x123 PUSH2 0x2C8 JUMP JUMPDEST PUSH2 0x14B PUSH2 0x351 JUMP JUMPDEST PUSH2 0x12D PUSH2 0x176 CALLDATASIZE PUSH1 0x4 PUSH2 0x14D2 JUMP JUMPDEST PUSH2 0x375 JUMP JUMPDEST PUSH2 0x14B PUSH2 0x393 JUMP JUMPDEST PUSH2 0x123 PUSH2 0x191 CALLDATASIZE PUSH1 0x4 PUSH2 0x15C5 JUMP JUMPDEST PUSH2 0x3A2 JUMP JUMPDEST PUSH2 0x12D PUSH2 0x7FE JUMP JUMPDEST PUSH2 0x1B1 PUSH2 0x1AC CALLDATASIZE PUSH1 0x4 PUSH2 0x14D2 JUMP JUMPDEST PUSH2 0x804 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x13A SWAP3 SWAP2 SWAP1 PUSH2 0x1717 JUMP JUMPDEST PUSH2 0x123 PUSH2 0x1CD CALLDATASIZE PUSH1 0x4 PUSH2 0x14EA JUMP JUMPDEST PUSH2 0x829 JUMP JUMPDEST PUSH2 0x12D PUSH2 0x9BD JUMP JUMPDEST PUSH2 0x12D PUSH2 0x9C3 JUMP JUMPDEST PUSH2 0x12D PUSH2 0x9C9 JUMP JUMPDEST PUSH2 0x123 PUSH2 0x1F8 CALLDATASIZE PUSH1 0x4 PUSH2 0x148C JUMP JUMPDEST PUSH2 0x9CF JUMP JUMPDEST PUSH2 0x123 PUSH2 0x20B CALLDATASIZE PUSH1 0x4 PUSH2 0x1471 JUMP JUMPDEST PUSH2 0xB56 JUMP JUMPDEST PUSH2 0x123 PUSH2 0xC17 JUMP JUMPDEST PUSH2 0x220 PUSH2 0xC54 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x231 PUSH2 0x393 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x260 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x19C0 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0xB DUP3 SWAP1 SSTORE PUSH8 0x16345785D8A0000 DUP2 MUL PUSH1 0xC DUP2 SWAP1 SSTORE PUSH1 0x40 MLOAD CALLER SWAP2 PUSH32 0x8E7E22D2820965FA1A8FA3AD76DB76127E2F1BAAF65F50C4E267F28B2254F7CB SWAP2 PUSH2 0x2A7 SWAP2 DUP7 SWAP2 PUSH2 0x17D1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0xD SLOAD SWAP1 JUMP JUMPDEST PUSH1 0xA SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH2 0x2D0 PUSH2 0xC54 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x2E1 PUSH2 0x393 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x307 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x19C0 JUMP JUMPDEST PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 DUP4 SWAP1 LOG3 PUSH1 0x6 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE JUMP JUMPDEST PUSH32 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x9 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x382 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD SWAP1 POP DUP2 JUMP JUMPDEST PUSH1 0x6 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x10 SLOAD PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DIV PUSH1 0xFF AND PUSH2 0x3DD JUMPI PUSH1 0xA SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x3DD JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x197F JUMP JUMPDEST PUSH1 0x2 PUSH1 0x7 SLOAD EQ ISZERO PUSH2 0x400 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x1ABE JUMP JUMPDEST PUSH1 0x2 PUSH1 0x7 SSTORE DUP3 DUP3 ISZERO PUSH2 0x43F JUMPI PUSH2 0x43A PUSH2 0x417 PUSH2 0x393 JUMP JUMPDEST ADDRESS PUSH1 0xC SLOAD PUSH2 0x423 PUSH2 0xC58 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF PUSH2 0xC67 AND JUMP JUMPDEST PUSH2 0x44F JUMP JUMPDEST PUSH2 0x44F DUP3 ADDRESS PUSH1 0xC SLOAD PUSH2 0x423 PUSH2 0xC58 JUMP JUMPDEST PUSH2 0x457 PUSH2 0x13F4 JUMP JUMPDEST PUSH1 0xB SLOAD PUSH2 0x46B SWAP1 ADDRESS PUSH3 0x2F02FF PUSH1 0xEA SHL PUSH2 0xCC5 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP1 PUSH1 0xF PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xFFA61235 DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x46E0FBAE PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4CD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x4E1 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x505 SWAP2 SWAP1 PUSH2 0x150B JUMP JUMPDEST DUP11 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x523 SWAP3 SWAP2 SWAP1 PUSH2 0x17DF JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x53A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x54E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x572 SWAP2 SWAP1 PUSH2 0x1617 JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH2 0x63F PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x14 DUP2 MSTORE PUSH1 0x20 ADD PUSH20 0x1CDB1857DB5BDB9A5D1BDC9A5B99D7DCDD185C9D PUSH1 0x62 SHL DUP2 MSTORE POP PUSH20 0x0 PUSH4 0xFC966D45 DUP6 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5DD SWAP2 SWAP1 PUSH2 0x17C8 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x5F5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS DELEGATECALL ISZERO DUP1 ISZERO PUSH2 0x609 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD PUSH1 0x40 MSTORE PUSH2 0x631 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x152A JUMP JUMPDEST DUP6 SWAP2 SWAP1 PUSH4 0xFFFFFFFF PUSH2 0xCF2 AND JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x12 DUP2 MSTORE PUSH18 0x1CDB1857DB5BDB9A5D1BDC9A5B99D7D95B99 PUSH1 0x72 SHL PUSH1 0x20 DUP3 ADD MSTORE SWAP1 MLOAD PUSH4 0xFC966D45 PUSH1 0xE0 SHL DUP2 MSTORE PUSH2 0x6A2 SWAP2 SWAP1 PUSH20 0x0 SWAP1 PUSH4 0xFC966D45 SWAP1 PUSH2 0x5DD SWAP1 DUP7 SWAP1 PUSH1 0x4 ADD PUSH2 0x17C8 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0xB DUP2 MSTORE PUSH11 0x736C615F61646472657373 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE SWAP1 MLOAD PUSH4 0x5E57966D PUSH1 0xE0 SHL DUP2 MSTORE PUSH2 0x6FE SWAP2 SWAP1 PUSH20 0x0 SWAP1 PUSH4 0x5E57966D SWAP1 PUSH2 0x5DD SWAP1 DUP13 SWAP1 PUSH1 0x4 ADD PUSH2 0x16DF JUMP JUMPDEST PUSH1 0x0 PUSH2 0x72D PUSH32 0x0 DUP6 PUSH1 0xC SLOAD PUSH2 0xD21 JUMP JUMPDEST PUSH1 0x9 DUP1 SLOAD PUSH1 0x1 DUP1 DUP3 ADD SWAP1 SWAP3 SSTORE PUSH32 0x6E1540171B6C0C960B71A7020D9F60077F6AF931A8BBF590DA0223DACF75C7AF ADD DUP3 SWAP1 SSTORE PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP13 DUP2 AND DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 ADD DUP16 DUP2 MSTORE PUSH1 0x0 DUP8 DUP2 MSTORE PUSH1 0x8 SWAP1 SWAP3 MSTORE SWAP1 DUP5 SWAP1 KECCAK256 SWAP3 MLOAD DUP4 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 DUP4 AND OR DUP4 SSTORE MLOAD SWAP2 DUP5 ADD SWAP2 SWAP1 SWAP2 SSTORE PUSH1 0xD DUP1 SLOAD SWAP1 SWAP4 ADD SWAP3 DUP4 SWAP1 SSTORE SWAP1 MLOAD SWAP3 SWAP4 POP DUP9 AND SWAP2 PUSH32 0xEAB5EB77E722078F3FAB7EB6A77C74F7001181E1E3A74D51B7B5747EE1B31CB9 SWAP2 PUSH2 0x7E6 SWAP2 DUP6 SWAP1 PUSH2 0x17D1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP POP PUSH1 0x1 PUSH1 0x7 SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0xE SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x8 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 SWAP1 SWAP2 ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 DUP3 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x7 SLOAD EQ ISZERO PUSH2 0x84C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x1ABE JUMP JUMPDEST PUSH1 0x2 PUSH1 0x7 SSTORE PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x889 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x1A2C JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE MLOAD DUP3 SWAP2 PUSH32 0x7CC135E0CEBB02C3480AE5D74D377283180A2601F8F644EDF7987B009316C63A SWAP2 LOG2 PUSH2 0x8D4 PUSH2 0x1429 JUMP JUMPDEST POP PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x8 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 DUP3 MLOAD DUP1 DUP5 ADD DUP5 MSTORE DUP2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 DUP3 MSTORE PUSH1 0x1 SWAP1 SWAP3 ADD SLOAD SWAP3 DUP2 ADD DUP4 SWAP1 MSTORE SWAP3 MLOAD DUP7 SWAP3 PUSH32 0x56514EF6E1FFD0F970EBF32DC181E476384E6E53A8351719040B4030318A933B SWAP2 PUSH2 0x93A SWAP2 SWAP1 DUP9 SWAP1 PUSH2 0x17D1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH1 0xE DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE DUP1 MLOAD PUSH1 0x20 DUP3 ADD MLOAD PUSH1 0x40 MLOAD PUSH4 0x6BD2E211 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP2 PUSH4 0xD7A5C422 SWAP2 PUSH2 0x980 SWAP2 DUP8 SWAP2 SWAP1 PUSH1 0x4 ADD PUSH2 0x17D1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x99A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x9AE JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x1 PUSH1 0x7 SSTORE POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0xB SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x3E8 SWAP1 JUMP JUMPDEST PUSH1 0xC SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x10 DUP1 SLOAD PUSH1 0xFF PUSH1 0xA0 SHL NOT AND PUSH1 0x1 PUSH1 0xA0 SHL OR SWAP1 DUP2 SWAP1 SSTORE PUSH1 0x40 MLOAD PUSH4 0xAB9A81A5 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xAB9A81A5 SWAP1 PUSH2 0xA13 SWAP1 DUP6 SWAP1 DUP6 SWAP1 PUSH1 0x4 ADD PUSH2 0x1717 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xA2B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xA3F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xA63 SWAP2 SWAP1 PUSH2 0x14B6 JUMP JUMPDEST PUSH2 0xA7F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x1893 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x20C876EF PUSH1 0xE1 SHL DUP2 MSTORE DUP3 SWAP1 PUSH1 0x0 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH4 0x4190EDDE SWAP1 PUSH2 0xAB0 SWAP1 DUP7 SWAP1 PUSH1 0x4 ADD PUSH2 0x17C8 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xAC8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xADC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xB00 SWAP2 SWAP1 PUSH2 0x163A JUMP JUMPDEST SWAP3 POP PUSH1 0x0 SWAP2 POP PUSH2 0xB0D SWAP1 POP JUMP JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0xB19 JUMPI INVALID JUMPDEST EQ PUSH2 0xB36 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x18CA JUMP JUMPDEST PUSH2 0xB43 DUP4 DUP6 PUSH1 0x0 CALLER PUSH2 0x3A2 JUMP JUMPDEST POP POP PUSH1 0x10 DUP1 SLOAD PUSH1 0xFF PUSH1 0xA0 SHL NOT AND SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH2 0xB5E PUSH2 0xC54 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0xB6F PUSH2 0x393 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0xB95 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x19C0 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0xBBB JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x180A JUMP JUMPDEST PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP5 AND SWAP3 AND SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 PUSH1 0x6 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0xA SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO PUSH2 0xC40 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x1937 JUMP JUMPDEST PUSH1 0xA DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND CALLER OR SWAP1 SSTORE JUMP JUMPDEST CALLER SWAP1 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH2 0xCBF DUP5 PUSH4 0x23B872DD PUSH1 0xE0 SHL DUP6 DUP6 DUP6 PUSH1 0x40 MLOAD PUSH1 0x24 ADD PUSH2 0xC88 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x16F3 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 SWAP1 MSTORE PUSH1 0x20 DUP2 ADD DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP1 SWAP4 AND SWAP3 SWAP1 SWAP3 OR SWAP1 SWAP2 MSTORE PUSH2 0xE60 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH2 0xCCD PUSH2 0x13F4 JUMP JUMPDEST PUSH2 0xCD5 PUSH2 0x13F4 JUMP JUMPDEST PUSH2 0xCE7 DUP2 DUP7 DUP7 DUP7 PUSH4 0xFFFFFFFF PUSH2 0xEEF AND JUMP JUMPDEST SWAP2 POP POP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x80 DUP4 ADD MLOAD PUSH2 0xD07 SWAP1 DUP4 PUSH4 0xFFFFFFFF PUSH2 0xF2C AND JUMP JUMPDEST PUSH1 0x80 DUP4 ADD MLOAD PUSH2 0xD1C SWAP1 DUP3 PUSH4 0xFFFFFFFF PUSH2 0xF2C AND JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 ADDRESS PUSH1 0x4 SLOAD PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xD38 SWAP3 SWAP2 SWAP1 PUSH2 0x16BD JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 PUSH1 0x4 SLOAD PUSH1 0x60 DUP8 ADD MSTORE PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 SWAP1 SWAP4 MSTORE DUP2 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 AND OR SWAP1 SSTORE SWAP1 MLOAD SWAP1 SWAP3 POP DUP3 SWAP2 PUSH32 0xB5E6E01E79F91267DC17B4E6314D5D4D03593D2CEEE0FBB452B750BD70EA5AF9 SWAP2 LOG2 PUSH1 0x2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x4000AEA0 DUP6 DUP5 PUSH2 0xDC4 DUP8 PUSH2 0xF49 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP5 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xDE2 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1798 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xDFC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xE10 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xE34 SWAP2 SWAP1 PUSH2 0x14B6 JUMP JUMPDEST PUSH2 0xE50 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x1850 JUMP JUMPDEST PUSH1 0x4 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH2 0xEB5 DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x20 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x5361666545524332303A206C6F772D6C6576656C2063616C6C206661696C6564 DUP2 MSTORE POP DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0xFC5 SWAP1 SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST DUP1 MLOAD SWAP1 SWAP2 POP ISZERO PUSH2 0xD1C JUMPI DUP1 DUP1 PUSH1 0x20 ADD SWAP1 MLOAD DUP2 ADD SWAP1 PUSH2 0xED3 SWAP2 SWAP1 PUSH2 0x14B6 JUMP JUMPDEST PUSH2 0xD1C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x1A74 JUMP JUMPDEST PUSH2 0xEF7 PUSH2 0x13F4 JUMP JUMPDEST PUSH2 0xF07 DUP6 PUSH1 0x80 ADD MLOAD PUSH2 0x100 PUSH2 0xFDC JUMP JUMPDEST POP POP SWAP2 DUP4 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH1 0x40 DUP3 ADD MSTORE SWAP1 JUMP JUMPDEST PUSH2 0xF39 DUP3 PUSH1 0x3 DUP4 MLOAD PUSH2 0x101C JUMP JUMPDEST PUSH2 0xD1C DUP3 DUP3 PUSH4 0xFFFFFFFF PUSH2 0x1126 AND JUMP JUMPDEST PUSH1 0x60 PUSH4 0x40429946 PUSH1 0xE0 SHL PUSH1 0x0 DUP1 DUP5 PUSH1 0x0 ADD MLOAD DUP6 PUSH1 0x20 ADD MLOAD DUP7 PUSH1 0x40 ADD MLOAD DUP8 PUSH1 0x60 ADD MLOAD PUSH1 0x1 DUP10 PUSH1 0x80 ADD MLOAD PUSH1 0x0 ADD MLOAD PUSH1 0x40 MLOAD PUSH1 0x24 ADD PUSH2 0xF8C SWAP9 SWAP8 SWAP7 SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1730 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 SWAP1 MSTORE PUSH1 0x20 DUP2 ADD DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP1 SWAP4 AND SWAP3 SWAP1 SWAP3 OR SWAP1 SWAP2 MSTORE SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x60 PUSH2 0xFD4 DUP5 DUP5 PUSH1 0x0 DUP6 PUSH2 0x1140 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH2 0xFE4 PUSH2 0x1440 JUMP JUMPDEST PUSH1 0x20 DUP3 MOD ISZERO PUSH2 0xFF9 JUMPI PUSH1 0x20 DUP3 MOD PUSH1 0x20 SUB DUP3 ADD SWAP2 POP JUMPDEST POP PUSH1 0x20 DUP1 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x40 DUP1 MLOAD DUP1 DUP6 MSTORE PUSH1 0x0 DUP2 MSTORE DUP4 ADD SWAP1 SWAP2 ADD SWAP1 MSTORE DUP2 JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x17 DUP2 GT PUSH2 0x1043 JUMPI PUSH2 0x103D DUP4 PUSH1 0xE0 PUSH1 0x5 DUP6 SWAP1 SHL AND DUP4 OR PUSH4 0xFFFFFFFF PUSH2 0x1201 AND JUMP JUMPDEST POP PUSH2 0xD1C JUMP JUMPDEST PUSH1 0xFF DUP2 GT PUSH2 0x1079 JUMPI PUSH2 0x1066 DUP4 PUSH1 0x18 PUSH2 0x1FE0 PUSH1 0x5 DUP7 SWAP1 SHL AND OR PUSH4 0xFFFFFFFF PUSH2 0x1201 AND JUMP JUMPDEST POP PUSH2 0x103D DUP4 DUP3 PUSH1 0x1 PUSH4 0xFFFFFFFF PUSH2 0x1219 AND JUMP JUMPDEST PUSH2 0xFFFF DUP2 GT PUSH2 0x10B0 JUMPI PUSH2 0x109D DUP4 PUSH1 0x19 PUSH2 0x1FE0 PUSH1 0x5 DUP7 SWAP1 SHL AND OR PUSH4 0xFFFFFFFF PUSH2 0x1201 AND JUMP JUMPDEST POP PUSH2 0x103D DUP4 DUP3 PUSH1 0x2 PUSH4 0xFFFFFFFF PUSH2 0x1219 AND JUMP JUMPDEST PUSH4 0xFFFFFFFF DUP2 GT PUSH2 0x10E9 JUMPI PUSH2 0x10D6 DUP4 PUSH1 0x1A PUSH2 0x1FE0 PUSH1 0x5 DUP7 SWAP1 SHL AND OR PUSH4 0xFFFFFFFF PUSH2 0x1201 AND JUMP JUMPDEST POP PUSH2 0x103D DUP4 DUP3 PUSH1 0x4 PUSH4 0xFFFFFFFF PUSH2 0x1219 AND JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0xD1C JUMPI PUSH2 0x1113 DUP4 PUSH1 0x1B PUSH2 0x1FE0 PUSH1 0x5 DUP7 SWAP1 SHL AND OR PUSH4 0xFFFFFFFF PUSH2 0x1201 AND JUMP JUMPDEST POP PUSH2 0xCBF DUP4 DUP3 PUSH1 0x8 PUSH4 0xFFFFFFFF PUSH2 0x1219 AND JUMP JUMPDEST PUSH2 0x112E PUSH2 0x1440 JUMP JUMPDEST PUSH2 0xCEB DUP4 DUP5 PUSH1 0x0 ADD MLOAD MLOAD DUP5 DUP6 MLOAD PUSH2 0x1232 JUMP JUMPDEST PUSH1 0x60 DUP3 SELFBALANCE LT ISZERO PUSH2 0x1162 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x18F1 JUMP JUMPDEST PUSH2 0x116B DUP6 PUSH2 0x12DE JUMP JUMPDEST PUSH2 0x1187 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP1 PUSH2 0x19F5 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP7 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP6 DUP8 PUSH1 0x40 MLOAD PUSH2 0x11A4 SWAP2 SWAP1 PUSH2 0x16A1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x11E1 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x11E6 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP PUSH2 0x11F6 DUP3 DUP3 DUP7 PUSH2 0x12E4 JUMP JUMPDEST SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x1209 PUSH2 0x1440 JUMP JUMPDEST PUSH2 0xCEB DUP4 DUP5 PUSH1 0x0 ADD MLOAD MLOAD DUP5 PUSH2 0x131D JUMP JUMPDEST PUSH2 0x1221 PUSH2 0x1440 JUMP JUMPDEST PUSH2 0xFD4 DUP5 DUP6 PUSH1 0x0 ADD MLOAD MLOAD DUP6 DUP6 PUSH2 0x1368 JUMP JUMPDEST PUSH2 0x123A PUSH2 0x1440 JUMP JUMPDEST DUP3 MLOAD DUP3 GT ISZERO PUSH2 0x1248 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 PUSH1 0x20 ADD MLOAD DUP3 DUP6 ADD GT ISZERO PUSH2 0x1272 JUMPI PUSH2 0x1272 DUP6 PUSH2 0x126A DUP8 PUSH1 0x20 ADD MLOAD DUP8 DUP7 ADD PUSH2 0x13C6 JUMP JUMPDEST PUSH1 0x2 MUL PUSH2 0x13DD JUMP JUMPDEST PUSH1 0x0 DUP1 DUP7 MLOAD DUP1 MLOAD DUP8 PUSH1 0x20 DUP4 ADD ADD SWAP4 POP DUP1 DUP9 DUP8 ADD GT ISZERO PUSH2 0x1291 JUMPI DUP8 DUP7 ADD DUP3 MSTORE JUMPDEST POP POP POP PUSH1 0x20 DUP5 ADD JUMPDEST PUSH1 0x20 DUP5 LT PUSH2 0x12B8 JUMPI DUP1 MLOAD DUP3 MSTORE PUSH1 0x1F NOT SWAP1 SWAP4 ADD SWAP3 PUSH1 0x20 SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x1299 JUMP JUMPDEST MLOAD DUP2 MLOAD PUSH1 0x0 NOT PUSH1 0x20 DUP7 SWAP1 SUB PUSH2 0x100 EXP ADD SWAP1 DUP2 AND SWAP1 NOT SWAP2 SWAP1 SWAP2 AND OR SWAP1 MSTORE POP DUP4 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST EXTCODESIZE ISZERO ISZERO SWAP1 JUMP JUMPDEST PUSH1 0x60 DUP4 ISZERO PUSH2 0x12F3 JUMPI POP DUP2 PUSH2 0xCEB JUMP JUMPDEST DUP3 MLOAD ISZERO PUSH2 0x1303 JUMPI DUP3 MLOAD DUP1 DUP5 PUSH1 0x20 ADD REVERT JUMPDEST DUP2 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x257 SWAP2 SWAP1 PUSH2 0x17F7 JUMP JUMPDEST PUSH2 0x1325 PUSH2 0x1440 JUMP JUMPDEST DUP4 PUSH1 0x20 ADD MLOAD DUP4 LT PUSH2 0x1341 JUMPI PUSH2 0x1341 DUP5 DUP6 PUSH1 0x20 ADD MLOAD PUSH1 0x2 MUL PUSH2 0x13DD JUMP JUMPDEST DUP4 MLOAD DUP1 MLOAD PUSH1 0x20 DUP6 DUP4 ADD ADD DUP5 DUP2 MSTORE8 POP DUP1 DUP6 EQ ISZERO PUSH2 0x135E JUMPI PUSH1 0x1 DUP2 ADD DUP3 MSTORE JUMPDEST POP SWAP4 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH2 0x1370 PUSH2 0x1440 JUMP JUMPDEST DUP5 PUSH1 0x20 ADD MLOAD DUP5 DUP4 ADD GT ISZERO PUSH2 0x138D JUMPI PUSH2 0x138D DUP6 DUP6 DUP5 ADD PUSH1 0x2 MUL PUSH2 0x13DD JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP4 PUSH2 0x100 EXP SUB SWAP1 POP DUP6 MLOAD DUP4 DUP7 DUP3 ADD ADD DUP6 DUP4 NOT DUP3 MLOAD AND OR DUP2 MSTORE POP DUP1 MLOAD DUP5 DUP8 ADD GT ISZERO PUSH2 0x13BB JUMPI DUP4 DUP7 ADD DUP2 MSTORE JUMPDEST POP SWAP5 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 DUP4 GT ISZERO PUSH2 0x13D7 JUMPI POP DUP2 PUSH2 0x1016 JUMP JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP2 MLOAD PUSH2 0x13E9 DUP4 DUP4 PUSH2 0xFDC JUMP JUMPDEST POP PUSH2 0xCBF DUP4 DUP3 PUSH2 0x1126 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0xA0 DUP2 ADD DUP3 MSTORE PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD DUP2 SWAP1 MSTORE SWAP2 DUP2 ADD DUP3 SWAP1 MSTORE PUSH1 0x60 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x80 DUP2 ADD PUSH2 0x1424 PUSH2 0x1440 JUMP JUMPDEST SWAP1 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x1016 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1482 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0xCEB DUP4 DUP4 PUSH2 0x145A JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x149E JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x14A8 DUP5 DUP5 PUSH2 0x145A JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x14C7 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 MLOAD PUSH2 0xCEB DUP2 PUSH2 0x1B39 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x14E3 JUMPI DUP1 DUP2 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x14FC JUMPI DUP2 DUP3 REVERT JUMPDEST POP POP DUP1 CALLDATALOAD SWAP3 PUSH1 0x20 SWAP1 SWAP2 ADD CALLDATALOAD SWAP2 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x151C JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x6 DUP2 LT PUSH2 0xCEB JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x153B JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 MLOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x1552 JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 DUP5 ADD DUP6 PUSH1 0x1F DUP3 ADD SLT PUSH2 0x1563 JUMPI DUP4 DUP5 REVERT JUMPDEST DUP1 MLOAD SWAP3 POP DUP2 DUP4 GT ISZERO PUSH2 0x1573 JUMPI DUP4 DUP5 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP5 ADD PUSH1 0x1F NOT AND DUP2 ADD PUSH1 0x20 ADD DUP4 DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x1593 JUMPI DUP6 DUP7 REVERT JUMPDEST PUSH1 0x40 MSTORE DUP4 DUP2 MSTORE DUP2 DUP5 ADD PUSH1 0x20 ADD DUP8 LT ISZERO PUSH2 0x15AA JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0x15BB DUP5 PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP6 ADD PUSH2 0x1AF5 JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x15DA JUMPI DUP2 DUP3 REVERT JUMPDEST DUP5 CALLDATALOAD SWAP4 POP PUSH1 0x20 DUP6 ADD CALLDATALOAD PUSH2 0x15EC DUP2 PUSH2 0x1B21 JUMP JUMPDEST SWAP3 POP PUSH1 0x40 DUP6 ADD CALLDATALOAD PUSH2 0x15FC DUP2 PUSH2 0x1B39 JUMP JUMPDEST SWAP2 POP PUSH1 0x60 DUP6 ADD CALLDATALOAD PUSH2 0x160C DUP2 PUSH2 0x1B21 JUMP JUMPDEST SWAP4 SWAP7 SWAP3 SWAP6 POP SWAP1 SWAP4 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1629 JUMPI DUP2 DUP3 REVERT JUMPDEST POP POP DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD MLOAD SWAP1 SWAP3 SWAP1 SWAP2 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x164E JUMPI DUP3 DUP4 REVERT JUMPDEST DUP4 MLOAD SWAP3 POP PUSH1 0x20 DUP5 ADD MLOAD SWAP2 POP PUSH1 0x40 DUP5 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH2 0x166A JUMPI DUP2 DUP3 REVERT JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x168D DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x1AF5 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x16B3 DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x1AF5 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 SWAP3 SWAP1 SWAP3 SHL PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP3 MSTORE PUSH1 0x14 DUP3 ADD MSTORE PUSH1 0x34 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 DUP5 AND DUP2 MSTORE SWAP2 SWAP1 SWAP3 AND PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 DUP2 AND DUP3 MSTORE PUSH1 0x20 DUP3 ADD DUP10 SWAP1 MSTORE PUSH1 0x40 DUP3 ADD DUP9 SWAP1 MSTORE DUP7 AND PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP6 AND PUSH1 0x80 DUP3 ADD MSTORE PUSH1 0xA0 DUP2 ADD DUP5 SWAP1 MSTORE PUSH1 0xC0 DUP2 ADD DUP4 SWAP1 MSTORE PUSH2 0x100 PUSH1 0xE0 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP1 PUSH2 0x1789 DUP4 DUP3 ADD DUP6 PUSH2 0x1675 JUMP JUMPDEST SWAP12 SWAP11 POP POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP6 AND DUP3 MSTORE DUP4 PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x60 PUSH1 0x40 DUP4 ADD MSTORE PUSH2 0x17BF PUSH1 0x60 DUP4 ADD DUP5 PUSH2 0x1675 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP2 ADD PUSH1 0x6 DUP5 LT PUSH2 0x17ED JUMPI INVALID JUMPDEST SWAP3 DUP2 MSTORE PUSH1 0x20 ADD MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0xCEB PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x1675 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x26 SWAP1 DUP3 ADD MSTORE PUSH32 0x4F776E61626C653A206E6577206F776E657220697320746865207A65726F2061 PUSH1 0x40 DUP3 ADD MSTORE PUSH6 0x646472657373 PUSH1 0xD0 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x23 SWAP1 DUP3 ADD MSTORE PUSH32 0x756E61626C6520746F207472616E73666572416E6443616C6C20746F206F7261 PUSH1 0x40 DUP3 ADD MSTORE PUSH3 0x636C65 PUSH1 0xE8 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1B SWAP1 DUP3 ADD MSTORE PUSH32 0x5374616B6552656769737472793A206E6F742076657269666965640000000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0xD SWAP1 DUP3 ADD MSTORE PUSH13 0x14D3104E881D995C9A599A5959 PUSH1 0x9A SHL PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x26 SWAP1 DUP3 ADD MSTORE PUSH32 0x416464726573733A20696E73756666696369656E742062616C616E636520666F PUSH1 0x40 DUP3 ADD MSTORE PUSH6 0x1C8818D85B1B PUSH1 0xD2 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x28 SWAP1 DUP3 ADD MSTORE PUSH32 0x534C41526567697374727920616464726573732068617320616C726561647920 PUSH1 0x40 DUP3 ADD MSTORE PUSH8 0x1899595B881CD95D PUSH1 0xC2 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x21 SWAP1 DUP3 ADD MSTORE PUSH32 0x43616E206F6E6C792062652063616C6C656420627920534C4152656769737472 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x79 PUSH1 0xF8 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 DUP2 ADD MSTORE PUSH32 0x4F776E61626C653A2063616C6C6572206973206E6F7420746865206F776E6572 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x416464726573733A2063616C6C20746F206E6F6E2D636F6E7472616374000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x28 SWAP1 DUP3 ADD MSTORE PUSH32 0x536F75726365206D75737420626520746865206F7261636C65206F6620746865 PUSH1 0x40 DUP3 ADD MSTORE PUSH8 0x81C995C5D595CDD PUSH1 0xC2 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2A SWAP1 DUP3 ADD MSTORE PUSH32 0x5361666545524332303A204552433230206F7065726174696F6E20646964206E PUSH1 0x40 DUP3 ADD MSTORE PUSH10 0x1BDD081CDD58D8D95959 PUSH1 0xB2 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1F SWAP1 DUP3 ADD MSTORE PUSH32 0x5265656E7472616E637947756172643A207265656E7472616E742063616C6C00 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1B10 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1AF8 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xCBF JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x1B36 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x1B36 JUMPI PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 POP 0xDE 0xA7 0xEE SWAP3 EXTCODESIZE PUSH4 0x937E4885 0xC9 0xC8 PUSH6 0xC4173C09BA9E SHL 0xE9 SWAP16 0xDF SWAP12 DUP10 0xFB 0xB0 SWAP16 0xD4 0xE7 0xC4 PUSH5 0x736F6C6343 STOP MOD MOD STOP CALLER ", + "sourceMap": "622:8550:45:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;622:8550:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;7697:260:45;;;;;;;;;:::i;:::-;;8892:108;;;:::i;:::-;;;;;;;;;;;;;;;;8037:114;;;:::i;:::-;;;;;;;;1717:145:19;;;:::i;8424:90:45:-;;;:::i;901:25::-;;;;;;;;;:::i;1085:85:19:-;;;:::i;4409:1691:45:-;;;;;;;;;:::i;9062:108::-;;;:::i;796:59::-;;;;;;;;;:::i;:::-;;;;;;;;;6359:563;;;;;;;;;:::i;8577:88::-;;;:::i;8230:114::-;;;:::i;8746:84::-;;;:::i;6928:491::-;;;;;;;;;:::i;2011:240:19:-;;;;;;;;;:::i;3787:273:45:-;;;:::i;7697:260::-;1308:12:19;:10;:12::i;:::-;-1:-1:-1;;;;;1297:23:19;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1297:23:19;;1289:68;;;;-1:-1:-1;;;1289:68:19;;;;;;;;;;;;;;;;;7833:6:45::1;:18:::0;;;1253:9:::1;7868:25:::0;::::1;7861:4;:32:::0;;;7908:42:::1;::::0;7922:10:::1;::::0;7908:42:::1;::::0;::::1;::::0;7842:9;;7908:42:::1;;;;;;;;;;7697:260:::0;;:::o;8892:108::-;8977:16;;8892:108;:::o;8037:114::-;8125:19;;-1:-1:-1;;;;;8125:19:45;8037:114;:::o;1717:145:19:-;1308:12;:10;:12::i;:::-;-1:-1:-1;;;;;1297:23:19;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1297:23:19;;1289:68;;;;-1:-1:-1;;;1289:68:19;;;;;;;;;1807:6:::1;::::0;1786:40:::1;::::0;1823:1:::1;::::0;-1:-1:-1;;;;;1807:6:19::1;::::0;1786:40:::1;::::0;1823:1;;1786:40:::1;1836:6;:19:::0;;-1:-1:-1;;;;;;1836:19:19::1;::::0;;1717:145::o;8424:90:45:-;8500:7;8424:90;:::o;901:25::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;901:25:45;:::o;1085:85:19:-;1157:6;;-1:-1:-1;;;;;1157:6:19;1085:85;:::o;4409:1691:45:-;3416:5;;-1:-1:-1;;;3416:5:45;;;;3411:162;;3476:19;;-1:-1:-1;;;;;3476:19:45;3462:10;:33;3437:125;;;;-1:-1:-1;;;3437:125:45;;;;;;;;;1688:1:31::1;2277:7;;:19;;2269:63;;;;-1:-1:-1::0;;;2269:63:31::1;;;;;;;;;1688:1;2407:7;:18:::0;4630:11:45;4652:370;::::2;;;4695:139;4760:7;:5;:7::i;:::-;4793:4;4816;;4701:23;:21;:23::i;:::-;-1:-1:-1::0;;;;;4695:47:45::2;::::0;:139;;::::2;:47;:139;:::i;:::-;4652:370;;;4865:146;4930:14;4970:4;4993;;4871:23;:21;:23::i;4865:146::-;5031:32;;:::i;:::-;5101:6;::::0;5066:116:::2;::::0;5129:4:::2;-1:-1:-1::0;;;5066:21:45::2;:116::i;:::-;5031:151;;5206:28;5248:26:::0;5287:14:::2;;;;;;;;;-1:-1:-1::0;;;;;5287:14:45::2;-1:-1:-1::0;;;;;5287:35:45::2;;5323:3;-1:-1:-1::0;;;;;5323:14:45::2;;:16;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::2;2:2;5323:16:45;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;5323:16:45;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;5323:16:45;;;;;;;;;5341:9;5287:64;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::2;2:2;5287:64:45;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;5287:64:45;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;5287:64:45;;;;;;;;;5192:159;;;;5361:114;;;;;;;;;;;;;;-1:-1:-1::0;;;5361:114:45::2;;::::0;5422:11:::2;:21;5444:20;5422:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::2;2:2;5422:43:45;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;5422:43:45;;;;;;39:16:-1;36:1;17:17;2:54;101:4;5422:43:45;80:15:-1::0;;::::2;-1:-1:::0;;76:31:::2;65:43:::0;::::2;120:4;113:20:::0;5422:43:45::2;::::0;;;::::2;::::0;::::2;;;5361:7:::0;;:114;::::2;:11;:114;:::i;:::-;5485:110;::::0;;;;::::2;::::0;;::::2;::::0;;-1:-1:-1;;;5485:110:45::2;::::0;::::2;::::0;5544:41;;-1:-1:-1;;;5544:41:45;;5485:110:::2;::::0;;5544:11:::2;::::0;:21:::2;::::0;:41:::2;::::0;5566:18;;5544:41:::2;;;;5485:110;5605:68;::::0;;;;::::2;::::0;;::::2;::::0;;-1:-1:-1;;;5605:68:45::2;::::0;::::2;::::0;5632:40;;-1:-1:-1;;;5632:40:45;;5605:68:::2;::::0;;5632:11:::2;::::0;:27:::2;::::0;:40:::2;::::0;5660:11;;5632:40:::2;;;;5605:68;5750:17;5770:46;5793:7;5802;5811:4;;5770:22;:46::i;:::-;5827:8;27:10:-1::0;;39:1:::2;23:18:::0;;::::2;45:23:::0;;;5827:24:45;::::2;::::0;;;5897:92:::2;::::0;;;;::::2;::::0;;-1:-1:-1;;;;;5897:92:45;;::::2;::::0;;5827:24:::2;5897:92:::0;;::::2;::::0;;;-1:-1:-1;5862:32:45;;;:21:::2;:32:::0;;;;;;;:127;;;;-1:-1:-1;;;;;;5862:127:45::2;::::0;;::::2;;::::0;;;;;::::2;::::0;;;;6000:16:::2;:21:::0;;;;::::2;::::0;;;;6036:57;;5827:24;;-1:-1:-1;6036:57:45;::::2;::::0;::::2;::::0;::::2;::::0;5827:24;;6036:57:::2;;;;;;;;;;-1:-1:-1::0;;1645:1:31::1;2580:7;:22:::0;-1:-1:-1;;;;;;;4409:1691:45:o;9062:108::-;9147:16;;9062:108;:::o;796:59::-;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;796:59:45;;;;;:::o;6359:563::-;1688:1:31;2277:7;;:19;;2269:63;;;;-1:-1:-1;;;2269:63:31;;;;;;;;;1688:1;2407:7;:18;8791:27:1::1;::::0;;;:15:::1;:27;::::0;;;;;;;-1:-1:-1;;;;;8791:27:1::1;8777:10;:41;8769:106;;;;-1:-1:-1::0;;;8769:106:1::1;;;;;;;;;8888:27;::::0;;;:15:::1;:27;::::0;;;;;8881:34;;-1:-1:-1;;;;;;8881:34:1::1;::::0;;8926:30;8904:10;;8926:30:::1;::::0;::::1;6543:25:45::2;;:::i;:::-;-1:-1:-1::0;6571:33:45::2;::::0;;;:21:::2;:33;::::0;;;;;;;;6543:61;;;;::::2;::::0;;;;-1:-1:-1;;;;;6543:61:45::2;::::0;;;;;;::::2;::::0;;;::::2;::::0;;;6619:148;;6593:10;;6619:148:::2;::::0;::::2;::::0;6543:61;6738:18;;6619:148:::2;;;;;;;;;;6777:16;:21:::0;;6797:1:::2;6777:21;::::0;;6812:18;;6889:16:::2;::::0;::::2;::::0;6808:107:::2;::::0;-1:-1:-1;;;6808:107:45;;-1:-1:-1;;;;;6808:35:45;;::::2;::::0;::::2;::::0;:107:::2;::::0;6857:18;;6889:16;6808:107:::2;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::2;2:2;6808:107:45;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;-1:-1:::0;;1645:1:31;2580:7;:22;-1:-1:-1;;;;;;6359:563:45:o;8577:88::-;8652:6;;8577:88;:::o;8230:114::-;1495:5;8230:114;:::o;8746:84::-;8819:4;;8746:84;:::o;6928:491::-;3627:5;:12;;-1:-1:-1;;;;3627:12:45;-1:-1:-1;;;3627:12:45;;;;;7077:54:::1;::::0;-1:-1:-1;;;7077:54:45;;-1:-1:-1;;;;;7077:13:45;;::::1;::::0;:30:::1;::::0;:54:::1;::::0;7108:11;;7121:9;;7077:54:::1;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;7077:54:45;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;7077:54:45;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;7077:54:45;;;;;;;;;7056:128;;;;-1:-1:-1::0;;;7056:128:45::1;;;;;;;;;7256:25;::::0;-1:-1:-1;;;7256:25:45;;7208:11;;7194:7:::1;::::0;-1:-1:-1;;;;;7256:14:45;::::1;::::0;::::1;::::0;:25:::1;::::0;7271:9;;7256:25:::1;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;7256:25:45;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;7256:25:45;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;7256:25:45;;;;;;;;;7230:51:::0;-1:-1:-1;7309:22:45::1;::::0;-1:-1:-1;7299:32:45::1;::::0;-1:-1:-1;7299:32:45;::::1;:6;:32;;;;;;;;;7291:58;;;;-1:-1:-1::0;;;7291:58:45::1;;;;;;;;;7359:53;7370:9;7381:11;7394:5;7401:10;7359;:53::i;:::-;-1:-1:-1::0;;3660:5:45;:13;;-1:-1:-1;;;;3660:13:45;;;-1:-1:-1;;6928:491:45:o;2011:240:19:-;1308:12;:10;:12::i;:::-;-1:-1:-1;;;;;1297:23:19;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1297:23:19;;1289:68;;;;-1:-1:-1;;;1289:68:19;;;;;;;;;-1:-1:-1;;;;;2099:22:19;::::1;2091:73;;;;-1:-1:-1::0;;;2091:73:19::1;;;;;;;;;2200:6;::::0;2179:38:::1;::::0;-1:-1:-1;;;;;2179:38:19;;::::1;::::0;2200:6:::1;::::0;2179:38:::1;::::0;2200:6:::1;::::0;2179:38:::1;2227:6;:17:::0;;-1:-1:-1;;;;;;2227:17:19::1;-1:-1:-1::0;;;;;2227:17:19;;;::::1;::::0;;;::::1;::::0;;2011:240::o;3787:273:45:-;3911:19;;-1:-1:-1;;;;;3911:19:45;:33;3890:120;;;;-1:-1:-1;;;3890:120:45;;;;;;;;;4021:19;:32;;-1:-1:-1;;;;;;4021:32:45;4043:10;4021:32;;;3787:273::o;598:104:28:-;685:10;598:104;:::o;5341:110:1:-;5441:4;;-1:-1:-1;;;;;5441:4:1;5341:110;:::o;885:203:26:-;985:96;1005:5;1035:27;;;1064:4;1070:2;1074:5;1012:68;;;;;;;;;;;;;;;-1:-1:-1;;26:21;;;22:32;6:49;;1012:68:26;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;;;;1012:68:26;;;179:29:-1;;;;160:49;;;985:19:26;:96::i;:::-;885:203;;;;:::o;1815:295:1:-;1963:24;;:::i;:::-;1995:28;;:::i;:::-;2036:69;:3;2051:7;2060:16;2078:26;2036:69;:14;:69;:::i;:::-;2029:76;;;1815:295;;;;;;:::o;1956:169:0:-;2058:8;;;;:27;;2080:4;2058:27;:21;:27;:::i;:::-;2091:8;;;;:29;;2113:6;2091:29;:21;:29;:::i;:::-;1956:169;;;:::o;3120:488:1:-;3244:17;3310:4;3316:12;;3293:36;;;;;;;;;;;;;;26:21:-1;;;-1:-1;;22:32;6:49;;3293:36:1;;;3283:47;;49:4:-1;3283:47:1;;;;3349:12;;3336:10;;;:25;3367:26;;;;:15;:26;;;;;;:36;;-1:-1:-1;;;;;;3367:36:1;-1:-1:-1;;;;;3367:36:1;;;;;3414:29;;3283:47;;-1:-1:-1;3283:47:1;;3414:29;;;3457:4;;-1:-1:-1;;;;;3457:4:1;:20;3478:7;3487:8;3497:19;3511:4;3497:13;:19::i;:::-;3457:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3457:60:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3457:60:1;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;3457:60:1;;;;;;;;;3449:108;;;;-1:-1:-1;;;3449:108:1;;;;;;;;;3563:12;:17;;3579:1;3563:17;;;3120:488;;;;;:::o;2967:751:26:-;3386:23;3412:69;3440:4;3412:69;;;;;;;;;;;;;;;;;3420:5;-1:-1:-1;;;;;3412:27:26;;;:69;;;;;:::i;:::-;3495:17;;3386:95;;-1:-1:-1;3495:21:26;3491:221;;3635:10;3624:30;;;;;;;;;;;;;;3616:85;;;;-1:-1:-1;;;3616:85:26;;;;;;;;966:365:0;1115:24;;:::i;:::-;1147:49;1168:4;:8;;;333:3;1147:20;:49::i;:::-;-1:-1:-1;;1202:13:0;;;-1:-1:-1;;;;;1221:39:0;:20;;;:39;-1:-1:-1;;;;;;1266:43:0;:23;;;:43;1202:13;966:365::o;1859:188:14:-;1957:55;1968:3;351:1;1998:5;1992:19;1957:10;:55::i;:::-;2018:24;:3;2035:5;2018:24;:10;:24;:::i;7612:527:1:-;7700:12;7759:29;;;767:1;711;8009:4;:7;;;8024:4;:20;;;8052:4;:23;;;8083:4;:10;;;813:1;8121:4;:8;;;:12;;;7729:405;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;26:21;;;22:32;6:49;;7729:405:1;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;;;;7729:405:1;;;179:29:-1;;;;160:49;;;7729:405:1;-1:-1:-1;7612:527:1;;;:::o;3581:193:27:-;3684:12;3715:52;3737:6;3745:4;3751:1;3754:12;3715:21;:52::i;:::-;3708:59;3581:193;-1:-1:-1;;;;3581:193:27:o;950:395:13:-;1020:13;;:::i;:::-;1056:2;1045:8;:13;:18;1041:71;;1102:2;1091:8;:13;1085:2;:20;1073:32;;;;1041:71;-1:-1:-1;1159:12:13;;;;:23;;;1222:4;1216:11;;1234:16;;;-1:-1:-1;1257:14:13;;1299:18;;1291:27;;;1278:41;;1159:3;950:395;;;;;:::o;503:644:14:-;614:2;605:5;:11;602:541;;626:44;:3;648:20;658:1;649:10;;;648:20;;;626:44;:15;:44;:::i;:::-;;602:541;;;695:4;686:5;:13;683:460;;709:41;:3;746:2;732:10;741:1;732:10;;;;731:17;709:41;:15;:41;:::i;:::-;-1:-1:-1;758:23:14;:3;772:5;779:1;758:23;:13;:23;:::i;683:460::-;806:6;797:5;:15;794:349;;822:41;:3;859:2;845:10;854:1;845:10;;;;844:17;822:41;:15;:41;:::i;:::-;-1:-1:-1;871:23:14;:3;885:5;892:1;871:23;:13;:23;:::i;794:349::-;919:10;910:5;:19;907:236;;939:41;:3;976:2;962:10;971:1;962:10;;;;961:17;939:41;:15;:41;:::i;:::-;-1:-1:-1;988:23:14;:3;1002:5;1009:1;988:23;:13;:23;:::i;907:236::-;1036:18;1027:5;:27;1024:119;;1064:41;:3;1101:2;1087:10;1096:1;1087:10;;;;1086:17;1064:41;:15;:41;:::i;:::-;-1:-1:-1;1113:23:14;:3;1127:5;1134:1;1113:23;:13;:23;:::i;4504:155:13:-;4581:13;;:::i;:::-;4609:45;4615:3;4620;:7;;;:14;4636:4;4642;:11;4609:5;:45::i;4608:523:27:-;4735:12;4792:5;4767:21;:30;;4759:81;;;;-1:-1:-1;;;4759:81:27;;;;;;;;;4858:18;4869:6;4858:10;:18::i;:::-;4850:60;;;;-1:-1:-1;;;4850:60:27;;;;;;;;;4981:12;4995:23;5022:6;-1:-1:-1;;;;;5022:11:27;5042:5;5050:4;5022:33;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;4980:75:27;;;;5072:52;5090:7;5099:10;5111:12;5072:17;:52::i;:::-;5065:59;4608:523;-1:-1:-1;;;;;;;4608:523:27:o;5819:144:13:-;5893:13;;:::i;:::-;5921:37;5932:3;5937;:7;;;:14;5953:4;5921:10;:37::i;9511:154::-;9592:13;;:::i;:::-;9620:40;9629:3;9634;:7;;;:14;9650:4;9656:3;9620:8;:40::i;2659:1140::-;2754:13;;:::i;:::-;2790:4;:11;2783:3;:18;;2775:27;;12:1:-1;9;2:12;2775:27:13;2825:3;:12;;;2819:3;2813;:9;:24;2809:90;;;2847:45;2854:3;2859:28;2863:3;:12;;;2883:3;2877;:9;2859:3;:28::i;:::-;2890:1;2859:32;2847:6;:45::i;:::-;2905:9;2920:8;3014:3;3008:10;3085:6;3079:13;3201:3;3196:2;3188:6;3184:15;3180:25;3172:33;;3285:6;3279:3;3274;3270:13;3267:25;3264:2;;;3327:3;3322;3318:13;3310:6;3303:29;3264:2;-1:-1:-1;;;3364:2:13;3354:13;;3425:129;3439:2;3432:3;:9;3425:129;;3494:10;;3481:24;;-1:-1:-1;;3443:9:13;;;;3528:2;3520:10;;;;3538:9;3425:129;;;3663:10;3712:11;;-1:-1:-1;;3608:2:13;:8;;;3600:3;:17;:21;3708:22;;;3675:9;;3659:26;;;;3750:21;3737:35;;-1:-1:-1;3791:3:13;2659:1140;;;;;;:::o;726:413:27:-;1086:20;1124:8;;;726:413::o;7091:725::-;7206:12;7234:7;7230:580;;;-1:-1:-1;7264:10:27;7257:17;;7230:580;7375:17;;:21;7371:429;;7633:10;7627:17;7693:15;7680:10;7676:2;7672:19;7665:44;7582:145;7772:12;7765:20;;-1:-1:-1;;;7765:20:27;;;;;;;;;4953:619:13;5036:13;;:::i;:::-;5068:3;:12;;;5061:3;:19;5057:69;;5090:29;5097:3;5102;:12;;;5117:1;5102:16;5090:6;:29::i;:::-;5212:3;5206:10;5283:6;5277:13;5395:2;5389:3;5381:6;5377:16;5373:25;5419:4;5413;5405:19;;5490:6;5485:3;5482:15;5479:2;;;5535:1;5527:6;5523:14;5515:6;5508:30;5479:2;-1:-1:-1;5564:3:13;;4953:619;-1:-1:-1;;;;4953:619:13:o;8618:642::-;8707:13;;:::i;:::-;8744:3;:12;;;8738:3;8732;:9;:24;8728:73;;;8766:28;8773:3;8785;8779;:9;8792:1;8778:15;8766:6;:28::i;:::-;8807:9;8832:1;8826:3;8819;:10;:14;8807:26;;8919:3;8913:10;9034:3;9028;9020:6;9016:16;9012:26;9090:4;9082;9078:9;9071:4;9065:11;9061:27;9058:37;9052:4;9045:51;;9178:6;9172:13;9166:3;9161;9157:13;9154:32;9151:2;;;9221:3;9216;9212:13;9204:6;9197:29;9151:2;-1:-1:-1;9252:3:13;;8618:642;-1:-1:-1;;;;;8618:642:13:o;1897:114::-;1947:4;1967:1;1963;:5;1959:34;;;-1:-1:-1;1985:1:13;1978:8;;1959:34;-1:-1:-1;2005:1:13;1897:114;-1:-1:-1;1897:114:13:o;1740:153::-;1831:7;;1844:19;1831:3;1854:8;1844:4;:19::i;:::-;;1869;1876:3;1881:6;1869;:19::i;622:8550:45:-;;;;;;;;;-1:-1:-1;622:8550:45;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;-1:-1:-1;622:8550:45;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;5:130:-1:-;72:20;;-1:-1;;;;;25136:54;;26671:35;;26661:2;;26720:1;;26710:12;1610:241;;1714:2;1702:9;1693:7;1689:23;1685:32;1682:2;;;-1:-1;;1720:12;1682:2;1782:53;1827:7;1803:22;1782:53;;1858:366;;;1979:2;1967:9;1958:7;1954:23;1950:32;1947:2;;;-1:-1;;1985:12;1947:2;2047:53;2092:7;2068:22;2047:53;;;2037:63;2137:2;2176:22;;;;1399:20;;-1:-1;;;1941:283;2231:257;;2343:2;2331:9;2322:7;2318:23;2314:32;2311:2;;;-1:-1;;2349:12;2311:2;354:6;348:13;366:30;390:5;366:30;;2495:241;;2599:2;2587:9;2578:7;2574:23;2570:32;2567:2;;;-1:-1;;2605:12;2567:2;-1:-1;475:20;;2561:175;-1:-1;2561:175;2743:366;;;2864:2;2852:9;2843:7;2839:23;2835:32;2832:2;;;-1:-1;;2870:12;2832:2;-1:-1;;475:20;;;3022:2;3061:22;;;1399:20;;-1:-1;2826:283;3116:293;;3246:2;3234:9;3225:7;3221:23;3217:32;3214:2;;;-1:-1;;3252:12;3214:2;644:6;638:13;27062:1;27055:5;27052:12;27042:2;;-1:-1;;27068:12;3416:362;;3541:2;3529:9;3520:7;3516:23;3512:32;3509:2;;;-1:-1;;3547:12;3509:2;3598:17;3592:24;3636:18;;3628:6;3625:30;3622:2;;;-1:-1;;3658:12;3622:2;3745:6;3734:9;3730:22;993:3;986:4;978:6;974:17;970:27;960:2;;-1:-1;;1001:12;960:2;1041:6;1035:13;1021:27;;3636:18;23565:6;23562:30;23559:2;;;-1:-1;;23595:12;23559:2;23228;23222:9;23668;23649:17;;-1:-1;;23645:33;23254:17;;3541:2;23254:17;23314:34;;;23350:22;;;23311:62;23308:2;;;-1:-1;;23376:12;23308:2;23228;23395:22;1134:21;;;1234:16;;;3541:2;1234:16;1231:25;-1:-1;1228:2;;;-1:-1;;1259:12;1228:2;1279:39;1311:6;3541:2;1210:5;1206:16;3541:2;1176:6;1172:17;1279:39;;;3678:84;3503:275;-1:-1;;;;;;3503:275;4033:611;;;;;4185:3;4173:9;4164:7;4160:23;4156:33;4153:2;;;-1:-1;;4192:12;4153:2;1412:6;1399:20;4244:63;;4344:2;4387:9;4383:22;72:20;97:33;124:5;97:33;;;4352:63;-1:-1;4452:2;4488:22;;206:20;231:30;206:20;231:30;;;4460:60;-1:-1;4557:2;4596:22;;72:20;97:33;72:20;97:33;;;4147:497;;;;-1:-1;4147:497;;-1:-1;;4147:497;4651:399;;;4783:2;4771:9;4762:7;4758:23;4754:32;4751:2;;;-1:-1;;4789:12;4751:2;-1:-1;;1547:13;;4952:2;5002:22;;;1547:13;;;;;-1:-1;4745:305;5057:557;;;;5217:2;5205:9;5196:7;5192:23;5188:32;5185:2;;;-1:-1;;5223:12;5185:2;1553:6;1547:13;5275:74;;5386:2;5440:9;5436:22;1547:13;5394:74;;5505:2;5570:9;5566:22;805:13;27174:1;27167:5;27164:12;27154:2;;-1:-1;;27180:12;27154:2;5513:85;;;;5179:435;;;;;;6106:343;;6248:5;23845:12;24130:6;24125:3;24118:19;6341:52;6386:6;24167:4;24162:3;24158:14;24167:4;6367:5;6363:16;6341:52;;;23668:9;26360:14;-1:-1;;26356:28;6405:39;;;;24167:4;6405:39;;6196:253;-1:-1;;6196:253;12322:262;;6616:5;23845:12;6727:52;6772:6;6767:3;6760:4;6753:5;6749:16;6727:52;;;6791:16;;;;;12447:137;-1:-1;;12447:137;12591:429;26471:2;26467:14;;;;-1:-1;;26467:14;6931:94;;12881:2;12872:12;;5940:37;12983:12;;;12749:271;13027:213;-1:-1;;;;;25136:54;;;;5692:37;;13145:2;13130:18;;13116:124;13483:435;-1:-1;;;;;25136:54;;;5692:37;;25136:54;;;;13821:2;13806:18;;5692:37;13904:2;13889:18;;5940:37;;;;13657:2;13642:18;;13628:290;13925:324;-1:-1;;;;;25136:54;;;;5692:37;;14235:2;14220:18;;5940:37;14071:2;14056:18;;14042:207;14256:1075;-1:-1;;;;;25136:54;;;5692:37;;14751:2;14736:18;;5940:37;;;14834:2;14819:18;;5940:37;;;25136:54;;14917:2;14902:18;;5692:37;-1:-1;;;;;;24841:78;;14998:3;14983:19;;6058:36;25147:42;15067:19;;5940:37;;;15166:3;15151:19;;5940:37;;;14586:3;24852:66;15189:19;;15182:49;;;14256:1075;;15245:76;14571:19;;;15307:6;15245:76;;;15237:84;14557:774;-1:-1;;;;;;;;;;;14557:774;15338:519;;25147:42;;;;;24591:5;25136:54;5699:3;5692:37;5970:5;15694:2;15683:9;15679:18;5940:37;15530:2;15731;15720:9;15716:18;15709:48;15771:76;15530:2;15519:9;15515:18;15833:6;15771:76;;;15763:84;15501:356;-1:-1;;;;;15501:356;15864:213;5940:37;;;15982:2;15967:18;;15953:124;16084:324;5940:37;;;16394:2;16379:18;;5940:37;16230:2;16215:18;;16201:207;16415:350;16574:2;16559:18;;26583:1;26573:12;;26563:2;;26589:9;26563:2;7121:63;;;16751:2;16736:18;5940:37;16545:220;;16772:301;;16910:2;16931:17;16924:47;16985:78;16910:2;16899:9;16895:18;17049:6;16985:78;;17080:407;17271:2;17285:47;;;7775:2;17256:18;;;24118:19;7811:34;24158:14;;;7791:55;-1:-1;;;7866:12;;;7859:30;7908:12;;;17242:245;17494:407;17685:2;17699:47;;;8159:2;17670:18;;;24118:19;8195:34;24158:14;;;8175:55;-1:-1;;;8250:12;;;8243:27;8289:12;;;17656:245;17908:407;18099:2;18113:47;;;8540:2;18084:18;;;24118:19;8576:29;24158:14;;;8556:50;8625:12;;;18070:245;18322:407;18513:2;18527:47;;;8876:2;18498:18;;;24118:19;-1:-1;;;24158:14;;;8892:36;8947:12;;;18484:245;18736:407;18927:2;18941:47;;;9198:2;18912:18;;;24118:19;9234:34;24158:14;;;9214:55;-1:-1;;;9289:12;;;9282:30;9331:12;;;18898:245;19150:407;19341:2;19355:47;;;9582:2;19326:18;;;24118:19;9618:34;24158:14;;;9598:55;-1:-1;;;9673:12;;;9666:32;9717:12;;;19312:245;19564:407;19755:2;19769:47;;;9968:2;19740:18;;;24118:19;10004:34;24158:14;;;9984:55;-1:-1;;;10059:12;;;10052:25;10096:12;;;19726:245;19978:407;20169:2;20183:47;;;20154:18;;;24118:19;10383:34;24158:14;;;10363:55;10437:12;;;20140:245;20392:407;20583:2;20597:47;;;10688:2;20568:18;;;24118:19;10724:31;24158:14;;;10704:52;10775:12;;;20554:245;20806:407;20997:2;21011:47;;;11026:2;20982:18;;;24118:19;11062:34;24158:14;;;11042:55;-1:-1;;;11117:12;;;11110:32;11161:12;;;20968:245;21220:407;21411:2;21425:47;;;11412:2;21396:18;;;24118:19;11448:34;24158:14;;;11428:55;-1:-1;;;11503:12;;;11496:34;11549:12;;;21382:245;21634:407;21825:2;21839:47;;;11800:2;21810:18;;;24118:19;11836:33;24158:14;;;11816:54;11889:12;;;21796:245;25737:268;25802:1;25809:101;25823:6;25820:1;25817:13;25809:101;;;25890:11;;;25884:18;25871:11;;;25864:39;25845:2;25838:10;25809:101;;;25925:6;25922:1;25919:13;25916:2;;;-1:-1;;25802:1;25972:16;;25965:27;25786:219;26612:117;-1:-1;;;;;25136:54;;26671:35;;26661:2;;26720:1;;26710:12;26661:2;26655:74;;26736:111;26817:5;24675:13;24668:21;26795:5;26792:32;26782:2;;26838:1;;26828:12" }, "gasEstimates": { "creation": { - "codeDepositCost": "1685400", + "codeDepositCost": "1407400", "executionCost": "infinite", "totalCost": "infinite" }, @@ -13820,18 +13766,17 @@ "jobId()": "1117", "messengerPrecision()": "250", "oracle()": "infinite", - "owner()": "1159", - "parseSLIData(bytes32)": "infinite", - "renounceOwnership()": "24275", + "owner()": "1137", + "renounceOwnership()": "24342", "requestIdToSLIRequest(bytes32)": "2100", "requestSLI(uint256,address,bool,address)": "infinite", - "requests(uint256)": "2063", - "requestsCounter()": "1096", + "requests(uint256)": "2041", + "requestsCounter()": "1074", "retryRequest(address,uint256)": "infinite", - "setChainlinkJobID(bytes32,uint256)": "42997", + "setChainlinkJobID(bytes32,uint256)": "42975", "setSLARegistry()": "21927", - "slaRegistryAddress()": "1160", - "transferOwnership(address)": "infinite" + "slaRegistryAddress()": "1138", + "transferOwnership(address)": "24583" } }, "methodIdentifiers": { @@ -13842,7 +13787,6 @@ "messengerPrecision()": "c9b0cb22", "oracle()": "7dc0d1d0", "owner()": "8da5cb5b", - "parseSLIData(bytes32)": "04e4fc01", "renounceOwnership()": "715018a6", "requestIdToSLIRequest(bytes32)": "ae401eb9", "requestSLI(uint256,address,bool,address)": "97a82192", @@ -13855,7 +13799,7 @@ "transferOwnership(address)": "f2fde38b" } }, - "metadata": "{\"compiler\":{\"version\":\"0.6.6+commit.6c089d02\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_messengerChainlinkOracle\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_messengerChainlinkToken\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_messengerJobId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_feeMultiplier\",\"type\":\"uint256\"},{\"internalType\":\"contract PeriodRegistry\",\"name\":\"_periodRegistry\",\"type\":\"address\"},{\"internalType\":\"contract StakeRegistry\",\"name\":\"_stakeRegistry\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"ChainlinkCancelled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"ChainlinkFulfilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"ChainlinkRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"jobId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"JobIdModified\",\"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\":\"slaAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"periodId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"requestId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"chainlinkResponse\",\"type\":\"bytes32\"}],\"name\":\"SLIReceived\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"requestsCounter\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestId\",\"type\":\"bytes32\"}],\"name\":\"SLIRequested\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_chainlinkResponseUint256\",\"type\":\"uint256\"}],\"name\":\"fulfillSLI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fulfillsCounter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"jobId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"messengerPrecision\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"oracle\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"sliData\",\"type\":\"bytes32\"}],\"name\":\"parseSLIData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"requestIdToSLIRequest\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"slaAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"periodId\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_periodId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_slaAddress\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_messengerOwnerApproval\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"_callerAddress\",\"type\":\"address\"}],\"name\":\"requestSLI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"requests\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestsCounter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_slaAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_periodId\",\"type\":\"uint256\"}],\"name\":\"retryRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_newJobId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_feeMultiplier\",\"type\":\"uint256\"}],\"name\":\"setChainlinkJobID\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setSLARegistry\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"slaRegistryAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Staking efficiency Messenger\",\"methods\":{\"constructor\":{\"details\":\"parameterize the variables according to network\",\"params\":{\"_feeMultiplier\":\"6. states the amount of paid nodes running behind the precoordinator, to set the fee\",\"_messengerChainlinkOracle\":\"1. the address of the oracle to create requests to\",\"_messengerChainlinkToken\":\"2. the address of LINK token contract\",\"_messengerJobId\":\"3. the job id for Staking efficiency job\"}},\"fee()\":{\"details\":\"returns the chainlink fee value on LINK tokens\"},\"fulfillSLI(bytes32,uint256)\":{\"details\":\"callback function for the Chainlink SLI request which stores the SLI in the SLA contract\",\"params\":{\"_chainlinkResponseUint256\":\"response object from Chainlink Oracles\",\"_requestId\":\"the ID of the ChainLink request\"}},\"fulfillsCounter()\":{\"details\":\"returns the fulfillsCounter\"},\"jobId()\":{\"details\":\"returns the chainlink job id\"},\"messengerPrecision()\":{\"details\":\"returns the value of the messenger precision\"},\"oracle()\":{\"details\":\"returns the chainlink oracle contract address\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"parseSLIData(bytes32)\":{\"details\":\"recieves a string of \\\"hits,misses\\\" data and returns hits and misses as uint256\",\"params\":{\"sliData\":\"the ID of the ChainLink request\"}},\"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.\"},\"requestSLI(uint256,address,bool,address)\":{\"details\":\"creates a ChainLink request to get a new SLI value for the given params. Can only be called by the SLARegistry contract or Chainlink Oracle.\",\"params\":{\"_messengerOwnerApproval\":\"3. if approval by owner or msg sender\",\"_periodId\":\"1. value of the period id\",\"_slaAddress\":\"2. SLA Address\"}},\"requestsCounter()\":{\"details\":\"returns the requestsCounter\"},\"setChainlinkJobID(bytes32,uint256)\":{\"details\":\"sets a new jobId, which is a agreement Id of a PreCoordinator contract\",\"params\":{\"_feeMultiplier\":\"how many Chainlink nodes would be paid on the agreement id, to set the fee value\",\"_newJobId\":\"the id of the PreCoordinator agreement\"}},\"setSLARegistry()\":{\"details\":\"sets the SLARegistry contract address and can only be called once\"},\"slaRegistryAddress()\":{\"details\":\"returns the value of the sla registry address\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"title\":\"SEMessenger\"},\"userdoc\":{\"methods\":{\"constructor\":\"sets the Chainlink parameters (oracle address, token address, jobId) and sets the SLARegistry to 0x0 address\"}}},\"settings\":{\"compilationTarget\":{\"contracts/messengers/staking-efficiency/SEMessenger.sol\":\"SEMessenger\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@chainlink/contracts/src/v0.6/Chainlink.sol\":{\"content\":\"pragma solidity ^0.6.0;\\n\\nimport { CBORChainlink } from \\\"./vendor/CBORChainlink.sol\\\";\\nimport { BufferChainlink } from \\\"./vendor/BufferChainlink.sol\\\";\\n\\n/**\\n * @title Library for common Chainlink functions\\n * @dev Uses imported CBOR library for encoding to buffer\\n */\\nlibrary Chainlink {\\n uint256 internal constant defaultBufferSize = 256; // solhint-disable-line const-name-snakecase\\n\\n using CBORChainlink for BufferChainlink.buffer;\\n\\n struct Request {\\n bytes32 id;\\n address callbackAddress;\\n bytes4 callbackFunctionId;\\n uint256 nonce;\\n BufferChainlink.buffer buf;\\n }\\n\\n /**\\n * @notice Initializes a Chainlink request\\n * @dev Sets the ID, callback address, and callback function signature on the request\\n * @param self The uninitialized request\\n * @param _id The Job Specification ID\\n * @param _callbackAddress The callback address\\n * @param _callbackFunction The callback function signature\\n * @return The initialized request\\n */\\n function initialize(\\n Request memory self,\\n bytes32 _id,\\n address _callbackAddress,\\n bytes4 _callbackFunction\\n ) internal pure returns (Chainlink.Request memory) {\\n BufferChainlink.init(self.buf, defaultBufferSize);\\n self.id = _id;\\n self.callbackAddress = _callbackAddress;\\n self.callbackFunctionId = _callbackFunction;\\n return self;\\n }\\n\\n /**\\n * @notice Sets the data for the buffer without encoding CBOR on-chain\\n * @dev CBOR can be closed with curly-brackets {} or they can be left off\\n * @param self The initialized request\\n * @param _data The CBOR data\\n */\\n function setBuffer(Request memory self, bytes memory _data)\\n internal pure\\n {\\n BufferChainlink.init(self.buf, _data.length);\\n BufferChainlink.append(self.buf, _data);\\n }\\n\\n /**\\n * @notice Adds a string value to the request with a given key name\\n * @param self The initialized request\\n * @param _key The name of the key\\n * @param _value The string value to add\\n */\\n function add(Request memory self, string memory _key, string memory _value)\\n internal pure\\n {\\n self.buf.encodeString(_key);\\n self.buf.encodeString(_value);\\n }\\n\\n /**\\n * @notice Adds a bytes value to the request with a given key name\\n * @param self The initialized request\\n * @param _key The name of the key\\n * @param _value The bytes value to add\\n */\\n function addBytes(Request memory self, string memory _key, bytes memory _value)\\n internal pure\\n {\\n self.buf.encodeString(_key);\\n self.buf.encodeBytes(_value);\\n }\\n\\n /**\\n * @notice Adds a int256 value to the request with a given key name\\n * @param self The initialized request\\n * @param _key The name of the key\\n * @param _value The int256 value to add\\n */\\n function addInt(Request memory self, string memory _key, int256 _value)\\n internal pure\\n {\\n self.buf.encodeString(_key);\\n self.buf.encodeInt(_value);\\n }\\n\\n /**\\n * @notice Adds a uint256 value to the request with a given key name\\n * @param self The initialized request\\n * @param _key The name of the key\\n * @param _value The uint256 value to add\\n */\\n function addUint(Request memory self, string memory _key, uint256 _value)\\n internal pure\\n {\\n self.buf.encodeString(_key);\\n self.buf.encodeUInt(_value);\\n }\\n\\n /**\\n * @notice Adds an array of strings to the request with a given key name\\n * @param self The initialized request\\n * @param _key The name of the key\\n * @param _values The array of string values to add\\n */\\n function addStringArray(Request memory self, string memory _key, string[] memory _values)\\n internal pure\\n {\\n self.buf.encodeString(_key);\\n self.buf.startArray();\\n for (uint256 i = 0; i < _values.length; i++) {\\n self.buf.encodeString(_values[i]);\\n }\\n self.buf.endSequence();\\n }\\n}\\n\",\"keccak256\":\"0x7048bfd6e6fe4e60ea4af01ed44fc0494cec75df75c6b542a6f08ed34c66d39e\"},\"@chainlink/contracts/src/v0.6/ChainlinkClient.sol\":{\"content\":\"pragma solidity ^0.6.0;\\n\\nimport \\\"./Chainlink.sol\\\";\\nimport \\\"./interfaces/ENSInterface.sol\\\";\\nimport \\\"./interfaces/LinkTokenInterface.sol\\\";\\nimport \\\"./interfaces/ChainlinkRequestInterface.sol\\\";\\nimport \\\"./interfaces/PointerInterface.sol\\\";\\nimport { ENSResolver as ENSResolver_Chainlink } from \\\"./vendor/ENSResolver.sol\\\";\\nimport \\\"./vendor/SafeMathChainlink.sol\\\";\\n\\n/**\\n * @title The ChainlinkClient contract\\n * @notice Contract writers can inherit this contract in order to create requests for the\\n * Chainlink network\\n */\\ncontract ChainlinkClient {\\n using Chainlink for Chainlink.Request;\\n using SafeMathChainlink for uint256;\\n\\n uint256 constant internal LINK = 10**18;\\n uint256 constant private AMOUNT_OVERRIDE = 0;\\n address constant private SENDER_OVERRIDE = address(0);\\n uint256 constant private ARGS_VERSION = 1;\\n bytes32 constant private ENS_TOKEN_SUBNAME = keccak256(\\\"link\\\");\\n bytes32 constant private ENS_ORACLE_SUBNAME = keccak256(\\\"oracle\\\");\\n address constant private LINK_TOKEN_POINTER = 0xC89bD4E1632D3A43CB03AAAd5262cbe4038Bc571;\\n\\n ENSInterface private ens;\\n bytes32 private ensNode;\\n LinkTokenInterface private link;\\n ChainlinkRequestInterface private oracle;\\n uint256 private requestCount = 1;\\n mapping(bytes32 => address) private pendingRequests;\\n\\n event ChainlinkRequested(bytes32 indexed id);\\n event ChainlinkFulfilled(bytes32 indexed id);\\n event ChainlinkCancelled(bytes32 indexed id);\\n\\n /**\\n * @notice Creates a request that can hold additional parameters\\n * @param _specId The Job Specification ID that the request will be created for\\n * @param _callbackAddress The callback address that the response will be sent to\\n * @param _callbackFunctionSignature The callback function signature to use for the callback address\\n * @return A Chainlink Request struct in memory\\n */\\n function buildChainlinkRequest(\\n bytes32 _specId,\\n address _callbackAddress,\\n bytes4 _callbackFunctionSignature\\n ) internal pure returns (Chainlink.Request memory) {\\n Chainlink.Request memory req;\\n return req.initialize(_specId, _callbackAddress, _callbackFunctionSignature);\\n }\\n\\n /**\\n * @notice Creates a Chainlink request to the stored oracle address\\n * @dev Calls `chainlinkRequestTo` with the stored oracle address\\n * @param _req The initialized Chainlink Request\\n * @param _payment The amount of LINK to send for the request\\n * @return requestId The request ID\\n */\\n function sendChainlinkRequest(Chainlink.Request memory _req, uint256 _payment)\\n internal\\n returns (bytes32)\\n {\\n return sendChainlinkRequestTo(address(oracle), _req, _payment);\\n }\\n\\n /**\\n * @notice Creates a Chainlink request to the specified oracle address\\n * @dev Generates and stores a request ID, increments the local nonce, and uses `transferAndCall` to\\n * send LINK which creates a request on the target oracle contract.\\n * Emits ChainlinkRequested event.\\n * @param _oracle The address of the oracle for the request\\n * @param _req The initialized Chainlink Request\\n * @param _payment The amount of LINK to send for the request\\n * @return requestId The request ID\\n */\\n function sendChainlinkRequestTo(address _oracle, Chainlink.Request memory _req, uint256 _payment)\\n internal\\n returns (bytes32 requestId)\\n {\\n requestId = keccak256(abi.encodePacked(this, requestCount));\\n _req.nonce = requestCount;\\n pendingRequests[requestId] = _oracle;\\n emit ChainlinkRequested(requestId);\\n require(link.transferAndCall(_oracle, _payment, encodeRequest(_req)), \\\"unable to transferAndCall to oracle\\\");\\n requestCount += 1;\\n\\n return requestId;\\n }\\n\\n /**\\n * @notice Allows a request to be cancelled if it has not been fulfilled\\n * @dev Requires keeping track of the expiration value emitted from the oracle contract.\\n * Deletes the request from the `pendingRequests` mapping.\\n * Emits ChainlinkCancelled event.\\n * @param _requestId The request ID\\n * @param _payment The amount of LINK sent for the request\\n * @param _callbackFunc The callback function specified for the request\\n * @param _expiration The time of the expiration for the request\\n */\\n function cancelChainlinkRequest(\\n bytes32 _requestId,\\n uint256 _payment,\\n bytes4 _callbackFunc,\\n uint256 _expiration\\n )\\n internal\\n {\\n ChainlinkRequestInterface requested = ChainlinkRequestInterface(pendingRequests[_requestId]);\\n delete pendingRequests[_requestId];\\n emit ChainlinkCancelled(_requestId);\\n requested.cancelOracleRequest(_requestId, _payment, _callbackFunc, _expiration);\\n }\\n\\n /**\\n * @notice Sets the stored oracle address\\n * @param _oracle The address of the oracle contract\\n */\\n function setChainlinkOracle(address _oracle) internal {\\n oracle = ChainlinkRequestInterface(_oracle);\\n }\\n\\n /**\\n * @notice Sets the LINK token address\\n * @param _link The address of the LINK token contract\\n */\\n function setChainlinkToken(address _link) internal {\\n link = LinkTokenInterface(_link);\\n }\\n\\n /**\\n * @notice Sets the Chainlink token address for the public\\n * network as given by the Pointer contract\\n */\\n function setPublicChainlinkToken() internal {\\n setChainlinkToken(PointerInterface(LINK_TOKEN_POINTER).getAddress());\\n }\\n\\n /**\\n * @notice Retrieves the stored address of the LINK token\\n * @return The address of the LINK token\\n */\\n function chainlinkTokenAddress()\\n internal\\n view\\n returns (address)\\n {\\n return address(link);\\n }\\n\\n /**\\n * @notice Retrieves the stored address of the oracle contract\\n * @return The address of the oracle contract\\n */\\n function chainlinkOracleAddress()\\n internal\\n view\\n returns (address)\\n {\\n return address(oracle);\\n }\\n\\n /**\\n * @notice Allows for a request which was created on another contract to be fulfilled\\n * on this contract\\n * @param _oracle The address of the oracle contract that will fulfill the request\\n * @param _requestId The request ID used for the response\\n */\\n function addChainlinkExternalRequest(address _oracle, bytes32 _requestId)\\n internal\\n notPendingRequest(_requestId)\\n {\\n pendingRequests[_requestId] = _oracle;\\n }\\n\\n /**\\n * @notice Sets the stored oracle and LINK token contracts with the addresses resolved by ENS\\n * @dev Accounts for subnodes having different resolvers\\n * @param _ens The address of the ENS contract\\n * @param _node The ENS node hash\\n */\\n function useChainlinkWithENS(address _ens, bytes32 _node)\\n internal\\n {\\n ens = ENSInterface(_ens);\\n ensNode = _node;\\n bytes32 linkSubnode = keccak256(abi.encodePacked(ensNode, ENS_TOKEN_SUBNAME));\\n ENSResolver_Chainlink resolver = ENSResolver_Chainlink(ens.resolver(linkSubnode));\\n setChainlinkToken(resolver.addr(linkSubnode));\\n updateChainlinkOracleWithENS();\\n }\\n\\n /**\\n * @notice Sets the stored oracle contract with the address resolved by ENS\\n * @dev This may be called on its own as long as `useChainlinkWithENS` has been called previously\\n */\\n function updateChainlinkOracleWithENS()\\n internal\\n {\\n bytes32 oracleSubnode = keccak256(abi.encodePacked(ensNode, ENS_ORACLE_SUBNAME));\\n ENSResolver_Chainlink resolver = ENSResolver_Chainlink(ens.resolver(oracleSubnode));\\n setChainlinkOracle(resolver.addr(oracleSubnode));\\n }\\n\\n /**\\n * @notice Encodes the request to be sent to the oracle contract\\n * @dev The Chainlink node expects values to be in order for the request to be picked up. Order of types\\n * will be validated in the oracle contract.\\n * @param _req The initialized Chainlink Request\\n * @return The bytes payload for the `transferAndCall` method\\n */\\n function encodeRequest(Chainlink.Request memory _req)\\n private\\n view\\n returns (bytes memory)\\n {\\n return abi.encodeWithSelector(\\n oracle.oracleRequest.selector,\\n SENDER_OVERRIDE, // Sender value - overridden by onTokenTransfer by the requesting contract's address\\n AMOUNT_OVERRIDE, // Amount value - overridden by onTokenTransfer by the actual amount of LINK sent\\n _req.id,\\n _req.callbackAddress,\\n _req.callbackFunctionId,\\n _req.nonce,\\n ARGS_VERSION,\\n _req.buf.buf);\\n }\\n\\n /**\\n * @notice Ensures that the fulfillment is valid for this contract\\n * @dev Use if the contract developer prefers methods instead of modifiers for validation\\n * @param _requestId The request ID for fulfillment\\n */\\n function validateChainlinkCallback(bytes32 _requestId)\\n internal\\n recordChainlinkFulfillment(_requestId)\\n // solhint-disable-next-line no-empty-blocks\\n {}\\n\\n /**\\n * @dev Reverts if the sender is not the oracle of the request.\\n * Emits ChainlinkFulfilled event.\\n * @param _requestId The request ID for fulfillment\\n */\\n modifier recordChainlinkFulfillment(bytes32 _requestId) {\\n require(msg.sender == pendingRequests[_requestId],\\n \\\"Source must be the oracle of the request\\\");\\n delete pendingRequests[_requestId];\\n emit ChainlinkFulfilled(_requestId);\\n _;\\n }\\n\\n /**\\n * @dev Reverts if the request is already pending\\n * @param _requestId The request ID for fulfillment\\n */\\n modifier notPendingRequest(bytes32 _requestId) {\\n require(pendingRequests[_requestId] == address(0), \\\"Request is already pending\\\");\\n _;\\n }\\n}\\n\",\"keccak256\":\"0xd06166f7798c4c8cbd0e2dc642450c9bca39157c688ae95dbe079f666cc44dfa\"},\"@chainlink/contracts/src/v0.6/interfaces/ChainlinkRequestInterface.sol\":{\"content\":\"pragma solidity ^0.6.0;\\n\\ninterface ChainlinkRequestInterface {\\n function oracleRequest(\\n address sender,\\n uint256 requestPrice,\\n bytes32 serviceAgreementID,\\n address callbackAddress,\\n bytes4 callbackFunctionId,\\n uint256 nonce,\\n uint256 dataVersion, // Currently unused, always \\\"1\\\"\\n bytes calldata data\\n ) external;\\n\\n function cancelOracleRequest(\\n bytes32 requestId,\\n uint256 payment,\\n bytes4 callbackFunctionId,\\n uint256 expiration\\n ) external;\\n}\\n\",\"keccak256\":\"0x4b41b021bf58c429891ff291637de29be54741565105de82238dac9f6ecee374\"},\"@chainlink/contracts/src/v0.6/interfaces/ENSInterface.sol\":{\"content\":\"pragma solidity ^0.6.0;\\n\\ninterface ENSInterface {\\n\\n // Logged when the owner of a node assigns a new owner to a subnode.\\n event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner);\\n\\n // Logged when the owner of a node transfers ownership to a new account.\\n event Transfer(bytes32 indexed node, address owner);\\n\\n // Logged when the resolver for a node changes.\\n event NewResolver(bytes32 indexed node, address resolver);\\n\\n // Logged when the TTL of a node changes\\n event NewTTL(bytes32 indexed node, uint64 ttl);\\n\\n\\n function setSubnodeOwner(bytes32 node, bytes32 label, address _owner) external;\\n function setResolver(bytes32 node, address _resolver) external;\\n function setOwner(bytes32 node, address _owner) external;\\n function setTTL(bytes32 node, uint64 _ttl) external;\\n function owner(bytes32 node) external view returns (address);\\n function resolver(bytes32 node) external view returns (address);\\n function ttl(bytes32 node) external view returns (uint64);\\n\\n}\\n\",\"keccak256\":\"0xf4998e886147b298eda28b4eacbdc90c58ba63ba475469651f2072e188dd5a64\"},\"@chainlink/contracts/src/v0.6/interfaces/LinkTokenInterface.sol\":{\"content\":\"pragma solidity ^0.6.0;\\n\\ninterface LinkTokenInterface {\\n function allowance(address owner, address spender) external view returns (uint256 remaining);\\n function approve(address spender, uint256 value) external returns (bool success);\\n function balanceOf(address owner) external view returns (uint256 balance);\\n function decimals() external view returns (uint8 decimalPlaces);\\n function decreaseApproval(address spender, uint256 addedValue) external returns (bool success);\\n function increaseApproval(address spender, uint256 subtractedValue) external;\\n function name() external view returns (string memory tokenName);\\n function symbol() external view returns (string memory tokenSymbol);\\n function totalSupply() external view returns (uint256 totalTokensIssued);\\n function transfer(address to, uint256 value) external returns (bool success);\\n function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool success);\\n function transferFrom(address from, address to, uint256 value) external returns (bool success);\\n}\\n\",\"keccak256\":\"0xdbf46b45a4c9f38ba71a0391aed0e7b108854b619f292d907ae537228868bda6\"},\"@chainlink/contracts/src/v0.6/interfaces/PointerInterface.sol\":{\"content\":\"pragma solidity ^0.6.0;\\n\\ninterface PointerInterface {\\n function getAddress() external view returns (address);\\n}\\n\",\"keccak256\":\"0x6458d82762d4f13c020a13efdbd9bf14500e147df707184a693aea91449c2f4f\"},\"@chainlink/contracts/src/v0.6/vendor/BufferChainlink.sol\":{\"content\":\"pragma solidity ^0.6.0;\\n\\n/**\\n* @dev A library for working with mutable byte buffers in Solidity.\\n*\\n* Byte buffers are mutable and expandable, and provide a variety of primitives\\n* for writing to them. At any time you can fetch a bytes object containing the\\n* current contents of the buffer. The bytes object should not be stored between\\n* operations, as it may change due to resizing of the buffer.\\n*/\\nlibrary BufferChainlink {\\n /**\\n * @dev Represents a mutable buffer. Buffers have a current value (buf) and\\n * a capacity. The capacity may be longer than the current value, in\\n * which case it can be extended without the need to allocate more memory.\\n */\\n struct buffer {\\n bytes buf;\\n uint capacity;\\n }\\n\\n /**\\n * @dev Initializes a buffer with an initial capacity.\\n * @param buf The buffer to initialize.\\n * @param capacity The number of bytes of space to allocate the buffer.\\n * @return The buffer, for chaining.\\n */\\n function init(buffer memory buf, uint capacity) internal pure returns(buffer memory) {\\n if (capacity % 32 != 0) {\\n capacity += 32 - (capacity % 32);\\n }\\n // Allocate space for the buffer data\\n buf.capacity = capacity;\\n assembly {\\n let ptr := mload(0x40)\\n mstore(buf, ptr)\\n mstore(ptr, 0)\\n mstore(0x40, add(32, add(ptr, capacity)))\\n }\\n return buf;\\n }\\n\\n /**\\n * @dev Initializes a new buffer from an existing bytes object.\\n * Changes to the buffer may mutate the original value.\\n * @param b The bytes object to initialize the buffer with.\\n * @return A new buffer.\\n */\\n function fromBytes(bytes memory b) internal pure returns(buffer memory) {\\n buffer memory buf;\\n buf.buf = b;\\n buf.capacity = b.length;\\n return buf;\\n }\\n\\n function resize(buffer memory buf, uint capacity) private pure {\\n bytes memory oldbuf = buf.buf;\\n init(buf, capacity);\\n append(buf, oldbuf);\\n }\\n\\n function max(uint a, uint b) private pure returns(uint) {\\n if (a > b) {\\n return a;\\n }\\n return b;\\n }\\n\\n /**\\n * @dev Sets buffer length to 0.\\n * @param buf The buffer to truncate.\\n * @return The original buffer, for chaining..\\n */\\n function truncate(buffer memory buf) internal pure returns (buffer memory) {\\n assembly {\\n let bufptr := mload(buf)\\n mstore(bufptr, 0)\\n }\\n return buf;\\n }\\n\\n /**\\n * @dev Writes a byte string to a buffer. Resizes if doing so would exceed\\n * the capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param off The start offset to write to.\\n * @param data The data to append.\\n * @param len The number of bytes to copy.\\n * @return The original buffer, for chaining.\\n */\\n function write(buffer memory buf, uint off, bytes memory data, uint len) internal pure returns(buffer memory) {\\n require(len <= data.length);\\n\\n if (off + len > buf.capacity) {\\n resize(buf, max(buf.capacity, len + off) * 2);\\n }\\n\\n uint dest;\\n uint src;\\n assembly {\\n // Memory address of the buffer data\\n let bufptr := mload(buf)\\n // Length of existing buffer data\\n let buflen := mload(bufptr)\\n // Start address = buffer address + offset + sizeof(buffer length)\\n dest := add(add(bufptr, 32), off)\\n // Update buffer length if we're extending it\\n if gt(add(len, off), buflen) {\\n mstore(bufptr, add(len, off))\\n }\\n src := add(data, 32)\\n }\\n\\n // Copy word-length chunks while possible\\n for (; len >= 32; len -= 32) {\\n assembly {\\n mstore(dest, mload(src))\\n }\\n dest += 32;\\n src += 32;\\n }\\n\\n // Copy remaining bytes\\n uint mask = 256 ** (32 - len) - 1;\\n assembly {\\n let srcpart := and(mload(src), not(mask))\\n let destpart := and(mload(dest), mask)\\n mstore(dest, or(destpart, srcpart))\\n }\\n\\n return buf;\\n }\\n\\n /**\\n * @dev Appends a byte string to a buffer. Resizes if doing so would exceed\\n * the capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param data The data to append.\\n * @param len The number of bytes to copy.\\n * @return The original buffer, for chaining.\\n */\\n function append(buffer memory buf, bytes memory data, uint len) internal pure returns (buffer memory) {\\n return write(buf, buf.buf.length, data, len);\\n }\\n\\n /**\\n * @dev Appends a byte string to a buffer. Resizes if doing so would exceed\\n * the capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param data The data to append.\\n * @return The original buffer, for chaining.\\n */\\n function append(buffer memory buf, bytes memory data) internal pure returns (buffer memory) {\\n return write(buf, buf.buf.length, data, data.length);\\n }\\n\\n /**\\n * @dev Writes a byte to the buffer. Resizes if doing so would exceed the\\n * capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param off The offset to write the byte at.\\n * @param data The data to append.\\n * @return The original buffer, for chaining.\\n */\\n function writeUint8(buffer memory buf, uint off, uint8 data) internal pure returns(buffer memory) {\\n if (off >= buf.capacity) {\\n resize(buf, buf.capacity * 2);\\n }\\n\\n assembly {\\n // Memory address of the buffer data\\n let bufptr := mload(buf)\\n // Length of existing buffer data\\n let buflen := mload(bufptr)\\n // Address = buffer address + sizeof(buffer length) + off\\n let dest := add(add(bufptr, off), 32)\\n mstore8(dest, data)\\n // Update buffer length if we extended it\\n if eq(off, buflen) {\\n mstore(bufptr, add(buflen, 1))\\n }\\n }\\n return buf;\\n }\\n\\n /**\\n * @dev Appends a byte to the buffer. Resizes if doing so would exceed the\\n * capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param data The data to append.\\n * @return The original buffer, for chaining.\\n */\\n function appendUint8(buffer memory buf, uint8 data) internal pure returns(buffer memory) {\\n return writeUint8(buf, buf.buf.length, data);\\n }\\n\\n /**\\n * @dev Writes up to 32 bytes to the buffer. Resizes if doing so would\\n * exceed the capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param off The offset to write at.\\n * @param data The data to append.\\n * @param len The number of bytes to write (left-aligned).\\n * @return The original buffer, for chaining.\\n */\\n function write(buffer memory buf, uint off, bytes32 data, uint len) private pure returns(buffer memory) {\\n if (len + off > buf.capacity) {\\n resize(buf, (len + off) * 2);\\n }\\n\\n uint mask = 256 ** len - 1;\\n // Right-align data\\n data = data >> (8 * (32 - len));\\n assembly {\\n // Memory address of the buffer data\\n let bufptr := mload(buf)\\n // Address = buffer address + sizeof(buffer length) + off + len\\n let dest := add(add(bufptr, off), len)\\n mstore(dest, or(and(mload(dest), not(mask)), data))\\n // Update buffer length if we extended it\\n if gt(add(off, len), mload(bufptr)) {\\n mstore(bufptr, add(off, len))\\n }\\n }\\n return buf;\\n }\\n\\n /**\\n * @dev Writes a bytes20 to the buffer. Resizes if doing so would exceed the\\n * capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param off The offset to write at.\\n * @param data The data to append.\\n * @return The original buffer, for chaining.\\n */\\n function writeBytes20(buffer memory buf, uint off, bytes20 data) internal pure returns (buffer memory) {\\n return write(buf, off, bytes32(data), 20);\\n }\\n\\n /**\\n * @dev Appends a bytes20 to the buffer. Resizes if doing so would exceed\\n * the capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param data The data to append.\\n * @return The original buffer, for chhaining.\\n */\\n function appendBytes20(buffer memory buf, bytes20 data) internal pure returns (buffer memory) {\\n return write(buf, buf.buf.length, bytes32(data), 20);\\n }\\n\\n /**\\n * @dev Appends a bytes32 to the buffer. Resizes if doing so would exceed\\n * the capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param data The data to append.\\n * @return The original buffer, for chaining.\\n */\\n function appendBytes32(buffer memory buf, bytes32 data) internal pure returns (buffer memory) {\\n return write(buf, buf.buf.length, data, 32);\\n }\\n\\n /**\\n * @dev Writes an integer to the buffer. Resizes if doing so would exceed\\n * the capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param off The offset to write at.\\n * @param data The data to append.\\n * @param len The number of bytes to write (right-aligned).\\n * @return The original buffer, for chaining.\\n */\\n function writeInt(buffer memory buf, uint off, uint data, uint len) private pure returns(buffer memory) {\\n if (len + off > buf.capacity) {\\n resize(buf, (len + off) * 2);\\n }\\n\\n uint mask = 256 ** len - 1;\\n assembly {\\n // Memory address of the buffer data\\n let bufptr := mload(buf)\\n // Address = buffer address + off + sizeof(buffer length) + len\\n let dest := add(add(bufptr, off), len)\\n mstore(dest, or(and(mload(dest), not(mask)), data))\\n // Update buffer length if we extended it\\n if gt(add(off, len), mload(bufptr)) {\\n mstore(bufptr, add(off, len))\\n }\\n }\\n return buf;\\n }\\n\\n /**\\n * @dev Appends a byte to the end of the buffer. Resizes if doing so would\\n * exceed the capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param data The data to append.\\n * @return The original buffer.\\n */\\n function appendInt(buffer memory buf, uint data, uint len) internal pure returns(buffer memory) {\\n return writeInt(buf, buf.buf.length, data, len);\\n }\\n}\\n\",\"keccak256\":\"0xe4aa364f56414c4326ffe12c1121d591be6ad168afb42b24a823f6d76299dd63\"},\"@chainlink/contracts/src/v0.6/vendor/CBORChainlink.sol\":{\"content\":\"pragma solidity ^0.6.0;\\n\\nimport { BufferChainlink } from \\\"./BufferChainlink.sol\\\";\\n\\nlibrary CBORChainlink {\\n using BufferChainlink for BufferChainlink.buffer;\\n\\n uint8 private constant MAJOR_TYPE_INT = 0;\\n uint8 private constant MAJOR_TYPE_NEGATIVE_INT = 1;\\n uint8 private constant MAJOR_TYPE_BYTES = 2;\\n uint8 private constant MAJOR_TYPE_STRING = 3;\\n uint8 private constant MAJOR_TYPE_ARRAY = 4;\\n uint8 private constant MAJOR_TYPE_MAP = 5;\\n uint8 private constant MAJOR_TYPE_CONTENT_FREE = 7;\\n\\n function encodeType(BufferChainlink.buffer memory buf, uint8 major, uint value) private pure {\\n if(value <= 23) {\\n buf.appendUint8(uint8((major << 5) | value));\\n } else if(value <= 0xFF) {\\n buf.appendUint8(uint8((major << 5) | 24));\\n buf.appendInt(value, 1);\\n } else if(value <= 0xFFFF) {\\n buf.appendUint8(uint8((major << 5) | 25));\\n buf.appendInt(value, 2);\\n } else if(value <= 0xFFFFFFFF) {\\n buf.appendUint8(uint8((major << 5) | 26));\\n buf.appendInt(value, 4);\\n } else if(value <= 0xFFFFFFFFFFFFFFFF) {\\n buf.appendUint8(uint8((major << 5) | 27));\\n buf.appendInt(value, 8);\\n }\\n }\\n\\n function encodeIndefiniteLengthType(BufferChainlink.buffer memory buf, uint8 major) private pure {\\n buf.appendUint8(uint8((major << 5) | 31));\\n }\\n\\n function encodeUInt(BufferChainlink.buffer memory buf, uint value) internal pure {\\n encodeType(buf, MAJOR_TYPE_INT, value);\\n }\\n\\n function encodeInt(BufferChainlink.buffer memory buf, int value) internal pure {\\n if(value >= 0) {\\n encodeType(buf, MAJOR_TYPE_INT, uint(value));\\n } else {\\n encodeType(buf, MAJOR_TYPE_NEGATIVE_INT, uint(-1 - value));\\n }\\n }\\n\\n function encodeBytes(BufferChainlink.buffer memory buf, bytes memory value) internal pure {\\n encodeType(buf, MAJOR_TYPE_BYTES, value.length);\\n buf.append(value);\\n }\\n\\n function encodeString(BufferChainlink.buffer memory buf, string memory value) internal pure {\\n encodeType(buf, MAJOR_TYPE_STRING, bytes(value).length);\\n buf.append(bytes(value));\\n }\\n\\n function startArray(BufferChainlink.buffer memory buf) internal pure {\\n encodeIndefiniteLengthType(buf, MAJOR_TYPE_ARRAY);\\n }\\n\\n function startMap(BufferChainlink.buffer memory buf) internal pure {\\n encodeIndefiniteLengthType(buf, MAJOR_TYPE_MAP);\\n }\\n\\n function endSequence(BufferChainlink.buffer memory buf) internal pure {\\n encodeIndefiniteLengthType(buf, MAJOR_TYPE_CONTENT_FREE);\\n }\\n}\\n\",\"keccak256\":\"0xbb4d8257c1af348cac9828ee531428b148bb726517357fe6a80279ac45b658b5\"},\"@chainlink/contracts/src/v0.6/vendor/ENSResolver.sol\":{\"content\":\"pragma solidity ^0.6.0;\\n\\nabstract contract ENSResolver {\\n function addr(bytes32 node) public view virtual returns (address);\\n}\\n\",\"keccak256\":\"0xdddea29d7407c1dbd1e130d885fc1a0934e98f0a7cc9f4d5bfd002bb2cfbcf82\"},\"@chainlink/contracts/src/v0.6/vendor/SafeMathChainlink.sol\":{\"content\":\"pragma solidity ^0.6.0;\\n\\n/**\\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\\n * checks.\\n *\\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\\n * in bugs, because programmers usually assume that an overflow raises an\\n * error, which is the standard behavior in high level programming languages.\\n * `SafeMath` restores this intuition by reverting the transaction when an\\n * operation overflows.\\n *\\n * Using this library instead of the unchecked operations eliminates an entire\\n * class of bugs, so it's recommended to use it always.\\n */\\nlibrary SafeMathChainlink {\\n /**\\n * @dev Returns the addition of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `+` operator.\\n *\\n * Requirements:\\n * - Addition cannot overflow.\\n */\\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\\n uint256 c = a + b;\\n require(c >= a, \\\"SafeMath: addition overflow\\\");\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting on\\n * overflow (when the result is negative).\\n *\\n * Counterpart to Solidity's `-` operator.\\n *\\n * Requirements:\\n * - Subtraction cannot overflow.\\n */\\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b <= a, \\\"SafeMath: subtraction overflow\\\");\\n uint256 c = a - b;\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the multiplication of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `*` operator.\\n *\\n * Requirements:\\n * - Multiplication cannot overflow.\\n */\\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\\n // benefit is lost if 'b' is also tested.\\n // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522\\n if (a == 0) {\\n return 0;\\n }\\n\\n uint256 c = a * b;\\n require(c / a == b, \\\"SafeMath: multiplication overflow\\\");\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers. Reverts on\\n * division by zero. The result is rounded towards zero.\\n *\\n * Counterpart to Solidity's `/` operator. Note: this function uses a\\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\\n * uses an invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n * - The divisor cannot be zero.\\n */\\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\\n // Solidity only automatically asserts when dividing by 0\\n require(b > 0, \\\"SafeMath: division by zero\\\");\\n uint256 c = a / b;\\n // assert(a == b * c + a % b); // There is no case in which this doesn't hold\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * Reverts when dividing by zero.\\n *\\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n * - The divisor cannot be zero.\\n */\\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b != 0, \\\"SafeMath: modulo by zero\\\");\\n return a % b;\\n }\\n}\\n\",\"keccak256\":\"0x5e6948bb332468d8ef0704b4259babc8aef7ce5969d5997c16db8ad806222a0a\"},\"@openzeppelin/contracts/access/AccessControl.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\nimport \\\"../utils/EnumerableSet.sol\\\";\\nimport \\\"../utils/Address.sol\\\";\\nimport \\\"../utils/Context.sol\\\";\\n\\n/**\\n * @dev Contract module that allows children to implement role-based access\\n * control mechanisms.\\n *\\n * Roles are referred to by their `bytes32` identifier. These should be exposed\\n * in the external API and be unique. The best way to achieve this is by\\n * using `public constant` hash digests:\\n *\\n * ```\\n * bytes32 public constant MY_ROLE = keccak256(\\\"MY_ROLE\\\");\\n * ```\\n *\\n * Roles can be used to represent a set of permissions. To restrict access to a\\n * function call, use {hasRole}:\\n *\\n * ```\\n * function foo() public {\\n * require(hasRole(MY_ROLE, msg.sender));\\n * ...\\n * }\\n * ```\\n *\\n * Roles can be granted and revoked dynamically via the {grantRole} and\\n * {revokeRole} functions. Each role has an associated admin role, and only\\n * accounts that have a role's admin role can call {grantRole} and {revokeRole}.\\n *\\n * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\\n * that only accounts with this role will be able to grant or revoke other\\n * roles. More complex role relationships can be created by using\\n * {_setRoleAdmin}.\\n *\\n * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\\n * grant and revoke this role. Extra precautions should be taken to secure\\n * accounts that have been granted it.\\n */\\nabstract contract AccessControl is Context {\\n using EnumerableSet for EnumerableSet.AddressSet;\\n using Address for address;\\n\\n struct RoleData {\\n EnumerableSet.AddressSet members;\\n bytes32 adminRole;\\n }\\n\\n mapping (bytes32 => RoleData) private _roles;\\n\\n bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;\\n\\n /**\\n * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\\n *\\n * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\\n * {RoleAdminChanged} not being emitted signaling this.\\n *\\n * _Available since v3.1._\\n */\\n event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);\\n\\n /**\\n * @dev Emitted when `account` is granted `role`.\\n *\\n * `sender` is the account that originated the contract call, an admin role\\n * bearer except when using {_setupRole}.\\n */\\n event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);\\n\\n /**\\n * @dev Emitted when `account` is revoked `role`.\\n *\\n * `sender` is the account that originated the contract call:\\n * - if using `revokeRole`, it is the admin role bearer\\n * - if using `renounceRole`, it is the role bearer (i.e. `account`)\\n */\\n event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);\\n\\n /**\\n * @dev Returns `true` if `account` has been granted `role`.\\n */\\n function hasRole(bytes32 role, address account) public view returns (bool) {\\n return _roles[role].members.contains(account);\\n }\\n\\n /**\\n * @dev Returns the number of accounts that have `role`. Can be used\\n * together with {getRoleMember} to enumerate all bearers of a role.\\n */\\n function getRoleMemberCount(bytes32 role) public view returns (uint256) {\\n return _roles[role].members.length();\\n }\\n\\n /**\\n * @dev Returns one of the accounts that have `role`. `index` must be a\\n * value between 0 and {getRoleMemberCount}, non-inclusive.\\n *\\n * Role bearers are not sorted in any particular way, and their ordering may\\n * change at any point.\\n *\\n * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\\n * you perform all queries on the same block. See the following\\n * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\\n * for more information.\\n */\\n function getRoleMember(bytes32 role, uint256 index) public view returns (address) {\\n return _roles[role].members.at(index);\\n }\\n\\n /**\\n * @dev Returns the admin role that controls `role`. See {grantRole} and\\n * {revokeRole}.\\n *\\n * To change a role's admin, use {_setRoleAdmin}.\\n */\\n function getRoleAdmin(bytes32 role) public view returns (bytes32) {\\n return _roles[role].adminRole;\\n }\\n\\n /**\\n * @dev Grants `role` to `account`.\\n *\\n * If `account` had not been already granted `role`, emits a {RoleGranted}\\n * event.\\n *\\n * Requirements:\\n *\\n * - the caller must have ``role``'s admin role.\\n */\\n function grantRole(bytes32 role, address account) public virtual {\\n require(hasRole(_roles[role].adminRole, _msgSender()), \\\"AccessControl: sender must be an admin to grant\\\");\\n\\n _grantRole(role, account);\\n }\\n\\n /**\\n * @dev Revokes `role` from `account`.\\n *\\n * If `account` had been granted `role`, emits a {RoleRevoked} event.\\n *\\n * Requirements:\\n *\\n * - the caller must have ``role``'s admin role.\\n */\\n function revokeRole(bytes32 role, address account) public virtual {\\n require(hasRole(_roles[role].adminRole, _msgSender()), \\\"AccessControl: sender must be an admin to revoke\\\");\\n\\n _revokeRole(role, account);\\n }\\n\\n /**\\n * @dev Revokes `role` from the calling account.\\n *\\n * Roles are often managed via {grantRole} and {revokeRole}: this function's\\n * purpose is to provide a mechanism for accounts to lose their privileges\\n * if they are compromised (such as when a trusted device is misplaced).\\n *\\n * If the calling account had been granted `role`, emits a {RoleRevoked}\\n * event.\\n *\\n * Requirements:\\n *\\n * - the caller must be `account`.\\n */\\n function renounceRole(bytes32 role, address account) public virtual {\\n require(account == _msgSender(), \\\"AccessControl: can only renounce roles for self\\\");\\n\\n _revokeRole(role, account);\\n }\\n\\n /**\\n * @dev Grants `role` to `account`.\\n *\\n * If `account` had not been already granted `role`, emits a {RoleGranted}\\n * event. Note that unlike {grantRole}, this function doesn't perform any\\n * checks on the calling account.\\n *\\n * [WARNING]\\n * ====\\n * This function should only be called from the constructor when setting\\n * up the initial roles for the system.\\n *\\n * Using this function in any other way is effectively circumventing the admin\\n * system imposed by {AccessControl}.\\n * ====\\n */\\n function _setupRole(bytes32 role, address account) internal virtual {\\n _grantRole(role, account);\\n }\\n\\n /**\\n * @dev Sets `adminRole` as ``role``'s admin role.\\n *\\n * Emits a {RoleAdminChanged} event.\\n */\\n function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {\\n emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);\\n _roles[role].adminRole = adminRole;\\n }\\n\\n function _grantRole(bytes32 role, address account) private {\\n if (_roles[role].members.add(account)) {\\n emit RoleGranted(role, account, _msgSender());\\n }\\n }\\n\\n function _revokeRole(bytes32 role, address account) private {\\n if (_roles[role].members.remove(account)) {\\n emit RoleRevoked(role, account, _msgSender());\\n }\\n }\\n}\\n\",\"keccak256\":\"0x4fc155a2f7837603d69a13cfa481eb5e7f5e02cb77e2ec9edbac30986db37988\"},\"@openzeppelin/contracts/access/Ownable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\nimport \\\"../utils/Context.sol\\\";\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract Ownable is Context {\\n address private _owner;\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /**\\n * @dev Initializes the contract setting the deployer as the initial owner.\\n */\\n constructor () internal {\\n address msgSender = _msgSender();\\n _owner = msgSender;\\n emit OwnershipTransferred(address(0), msgSender);\\n }\\n\\n /**\\n * @dev Returns the address of the current owner.\\n */\\n function owner() public view virtual returns (address) {\\n return _owner;\\n }\\n\\n /**\\n * @dev Throws if called by any account other than the owner.\\n */\\n modifier onlyOwner() {\\n require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n _;\\n }\\n\\n /**\\n * @dev Leaves the contract without owner. It will not be possible to call\\n * `onlyOwner` functions anymore. Can only be called by the current owner.\\n *\\n * NOTE: Renouncing ownership will leave the contract without an owner,\\n * thereby removing any functionality that is only available to the owner.\\n */\\n function renounceOwnership() public virtual onlyOwner {\\n emit OwnershipTransferred(_owner, address(0));\\n _owner = address(0);\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Can only be called by the current owner.\\n */\\n function transferOwnership(address newOwner) public virtual onlyOwner {\\n require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n emit OwnershipTransferred(_owner, newOwner);\\n _owner = newOwner;\\n }\\n}\\n\",\"keccak256\":\"0x15e2d5bd4c28a88548074c54d220e8086f638a71ed07e6b3ba5a70066fcf458d\"},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\n/**\\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\\n * checks.\\n *\\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\\n * in bugs, because programmers usually assume that an overflow raises an\\n * error, which is the standard behavior in high level programming languages.\\n * `SafeMath` restores this intuition by reverting the transaction when an\\n * operation overflows.\\n *\\n * Using this library instead of the unchecked operations eliminates an entire\\n * class of bugs, so it's recommended to use it always.\\n */\\nlibrary SafeMath {\\n /**\\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n uint256 c = a + b;\\n if (c < a) return (false, 0);\\n return (true, c);\\n }\\n\\n /**\\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\\n *\\n * _Available since v3.4._\\n */\\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n if (b > a) return (false, 0);\\n return (true, a - b);\\n }\\n\\n /**\\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\\n // benefit is lost if 'b' is also tested.\\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\\n if (a == 0) return (true, 0);\\n uint256 c = a * b;\\n if (c / a != b) return (false, 0);\\n return (true, c);\\n }\\n\\n /**\\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n if (b == 0) return (false, 0);\\n return (true, a / b);\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n if (b == 0) return (false, 0);\\n return (true, a % b);\\n }\\n\\n /**\\n * @dev Returns the addition of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `+` operator.\\n *\\n * Requirements:\\n *\\n * - Addition cannot overflow.\\n */\\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\\n uint256 c = a + b;\\n require(c >= a, \\\"SafeMath: addition overflow\\\");\\n return c;\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting on\\n * overflow (when the result is negative).\\n *\\n * Counterpart to Solidity's `-` operator.\\n *\\n * Requirements:\\n *\\n * - Subtraction cannot overflow.\\n */\\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b <= a, \\\"SafeMath: subtraction overflow\\\");\\n return a - b;\\n }\\n\\n /**\\n * @dev Returns the multiplication of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `*` operator.\\n *\\n * Requirements:\\n *\\n * - Multiplication cannot overflow.\\n */\\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\\n if (a == 0) return 0;\\n uint256 c = a * b;\\n require(c / a == b, \\\"SafeMath: multiplication overflow\\\");\\n return c;\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers, reverting on\\n * division by zero. The result is rounded towards zero.\\n *\\n * Counterpart to Solidity's `/` operator. Note: this function uses a\\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\\n * uses an invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b > 0, \\\"SafeMath: division by zero\\\");\\n return a / b;\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * reverting when dividing by zero.\\n *\\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b > 0, \\\"SafeMath: modulo by zero\\\");\\n return a % b;\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\\n * overflow (when the result is negative).\\n *\\n * CAUTION: This function is deprecated because it requires allocating memory for the error\\n * message unnecessarily. For custom revert reasons use {trySub}.\\n *\\n * Counterpart to Solidity's `-` operator.\\n *\\n * Requirements:\\n *\\n * - Subtraction cannot overflow.\\n */\\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b <= a, errorMessage);\\n return a - b;\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\\n * division by zero. The result is rounded towards zero.\\n *\\n * CAUTION: This function is deprecated because it requires allocating memory for the error\\n * message unnecessarily. For custom revert reasons use {tryDiv}.\\n *\\n * Counterpart to Solidity's `/` operator. Note: this function uses a\\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\\n * uses an invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b > 0, errorMessage);\\n return a / b;\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * reverting with custom message when dividing by zero.\\n *\\n * CAUTION: This function is deprecated because it requires allocating memory for the error\\n * message unnecessarily. For custom revert reasons use {tryMod}.\\n *\\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b > 0, errorMessage);\\n return a % b;\\n }\\n}\\n\",\"keccak256\":\"0xcc78a17dd88fa5a2edc60c8489e2f405c0913b377216a5b26b35656b2d0dab52\"},\"@openzeppelin/contracts/presets/ERC20PresetMinterPauser.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\nimport \\\"../access/AccessControl.sol\\\";\\nimport \\\"../utils/Context.sol\\\";\\nimport \\\"../token/ERC20/ERC20.sol\\\";\\nimport \\\"../token/ERC20/ERC20Burnable.sol\\\";\\nimport \\\"../token/ERC20/ERC20Pausable.sol\\\";\\n\\n/**\\n * @dev {ERC20} token, including:\\n *\\n * - ability for holders to burn (destroy) their tokens\\n * - a minter role that allows for token minting (creation)\\n * - a pauser role that allows to stop all token transfers\\n *\\n * This contract uses {AccessControl} to lock permissioned functions using the\\n * different roles - head to its documentation for details.\\n *\\n * The account that deploys the contract will be granted the minter and pauser\\n * roles, as well as the default admin role, which will let it grant both minter\\n * and pauser roles to other accounts.\\n */\\ncontract ERC20PresetMinterPauser is Context, AccessControl, ERC20Burnable, ERC20Pausable {\\n bytes32 public constant MINTER_ROLE = keccak256(\\\"MINTER_ROLE\\\");\\n bytes32 public constant PAUSER_ROLE = keccak256(\\\"PAUSER_ROLE\\\");\\n\\n /**\\n * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE` and `PAUSER_ROLE` to the\\n * account that deploys the contract.\\n *\\n * See {ERC20-constructor}.\\n */\\n constructor(string memory name, string memory symbol) public ERC20(name, symbol) {\\n _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());\\n\\n _setupRole(MINTER_ROLE, _msgSender());\\n _setupRole(PAUSER_ROLE, _msgSender());\\n }\\n\\n /**\\n * @dev Creates `amount` new tokens for `to`.\\n *\\n * See {ERC20-_mint}.\\n *\\n * Requirements:\\n *\\n * - the caller must have the `MINTER_ROLE`.\\n */\\n function mint(address to, uint256 amount) public virtual {\\n require(hasRole(MINTER_ROLE, _msgSender()), \\\"ERC20PresetMinterPauser: must have minter role to mint\\\");\\n _mint(to, amount);\\n }\\n\\n /**\\n * @dev Pauses all token transfers.\\n *\\n * See {ERC20Pausable} and {Pausable-_pause}.\\n *\\n * Requirements:\\n *\\n * - the caller must have the `PAUSER_ROLE`.\\n */\\n function pause() public virtual {\\n require(hasRole(PAUSER_ROLE, _msgSender()), \\\"ERC20PresetMinterPauser: must have pauser role to pause\\\");\\n _pause();\\n }\\n\\n /**\\n * @dev Unpauses all token transfers.\\n *\\n * See {ERC20Pausable} and {Pausable-_unpause}.\\n *\\n * Requirements:\\n *\\n * - the caller must have the `PAUSER_ROLE`.\\n */\\n function unpause() public virtual {\\n require(hasRole(PAUSER_ROLE, _msgSender()), \\\"ERC20PresetMinterPauser: must have pauser role to unpause\\\");\\n _unpause();\\n }\\n\\n function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override(ERC20, ERC20Pausable) {\\n super._beforeTokenTransfer(from, to, amount);\\n }\\n}\\n\",\"keccak256\":\"0xa7c607ed4a0b2bebb811a398838ce4b5165e490f420a06337478eb2ba8c90cfc\"},\"@openzeppelin/contracts/token/ERC20/ERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\nimport \\\"../../utils/Context.sol\\\";\\nimport \\\"./IERC20.sol\\\";\\nimport \\\"../../math/SafeMath.sol\\\";\\n\\n/**\\n * @dev Implementation of the {IERC20} interface.\\n *\\n * This implementation is agnostic to the way tokens are created. This means\\n * that a supply mechanism has to be added in a derived contract using {_mint}.\\n * For a generic mechanism see {ERC20PresetMinterPauser}.\\n *\\n * TIP: For a detailed writeup see our guide\\n * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How\\n * to implement supply mechanisms].\\n *\\n * We have followed general OpenZeppelin guidelines: functions revert instead\\n * of returning `false` on failure. This behavior is nonetheless conventional\\n * and does not conflict with the expectations of ERC20 applications.\\n *\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\n * This allows applications to reconstruct the allowance for all accounts just\\n * by listening to said events. Other implementations of the EIP may not emit\\n * these events, as it isn't required by the specification.\\n *\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\n * functions have been added to mitigate the well-known issues around setting\\n * allowances. See {IERC20-approve}.\\n */\\ncontract ERC20 is Context, IERC20 {\\n using SafeMath for uint256;\\n\\n mapping (address => uint256) private _balances;\\n\\n mapping (address => mapping (address => uint256)) private _allowances;\\n\\n uint256 private _totalSupply;\\n\\n string private _name;\\n string private _symbol;\\n uint8 private _decimals;\\n\\n /**\\n * @dev Sets the values for {name} and {symbol}, initializes {decimals} with\\n * a default value of 18.\\n *\\n * To select a different value for {decimals}, use {_setupDecimals}.\\n *\\n * All three of these values are immutable: they can only be set once during\\n * construction.\\n */\\n constructor (string memory name_, string memory symbol_) public {\\n _name = name_;\\n _symbol = symbol_;\\n _decimals = 18;\\n }\\n\\n /**\\n * @dev Returns the name of the token.\\n */\\n function name() public view virtual returns (string memory) {\\n return _name;\\n }\\n\\n /**\\n * @dev Returns the symbol of the token, usually a shorter version of the\\n * name.\\n */\\n function symbol() public view virtual returns (string memory) {\\n return _symbol;\\n }\\n\\n /**\\n * @dev Returns the number of decimals used to get its user representation.\\n * For example, if `decimals` equals `2`, a balance of `505` tokens should\\n * be displayed to a user as `5,05` (`505 / 10 ** 2`).\\n *\\n * Tokens usually opt for a value of 18, imitating the relationship between\\n * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is\\n * called.\\n *\\n * NOTE: This information is only used for _display_ purposes: it in\\n * no way affects any of the arithmetic of the contract, including\\n * {IERC20-balanceOf} and {IERC20-transfer}.\\n */\\n function decimals() public view virtual returns (uint8) {\\n return _decimals;\\n }\\n\\n /**\\n * @dev See {IERC20-totalSupply}.\\n */\\n function totalSupply() public view virtual override returns (uint256) {\\n return _totalSupply;\\n }\\n\\n /**\\n * @dev See {IERC20-balanceOf}.\\n */\\n function balanceOf(address account) public view virtual override returns (uint256) {\\n return _balances[account];\\n }\\n\\n /**\\n * @dev See {IERC20-transfer}.\\n *\\n * Requirements:\\n *\\n * - `recipient` cannot be the zero address.\\n * - the caller must have a balance of at least `amount`.\\n */\\n function transfer(address recipient, uint256 amount) public virtual override returns (bool) {\\n _transfer(_msgSender(), recipient, amount);\\n return true;\\n }\\n\\n /**\\n * @dev See {IERC20-allowance}.\\n */\\n function allowance(address owner, address spender) public view virtual override returns (uint256) {\\n return _allowances[owner][spender];\\n }\\n\\n /**\\n * @dev See {IERC20-approve}.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n */\\n function approve(address spender, uint256 amount) public virtual override returns (bool) {\\n _approve(_msgSender(), spender, amount);\\n return true;\\n }\\n\\n /**\\n * @dev See {IERC20-transferFrom}.\\n *\\n * Emits an {Approval} event indicating the updated allowance. This is not\\n * required by the EIP. See the note at the beginning of {ERC20}.\\n *\\n * Requirements:\\n *\\n * - `sender` and `recipient` cannot be the zero address.\\n * - `sender` must have a balance of at least `amount`.\\n * - the caller must have allowance for ``sender``'s tokens of at least\\n * `amount`.\\n */\\n function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {\\n _transfer(sender, recipient, amount);\\n _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, \\\"ERC20: transfer amount exceeds allowance\\\"));\\n return true;\\n }\\n\\n /**\\n * @dev Atomically increases the allowance granted to `spender` by the caller.\\n *\\n * This is an alternative to {approve} that can be used as a mitigation for\\n * problems described in {IERC20-approve}.\\n *\\n * Emits an {Approval} event indicating the updated allowance.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n */\\n function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\n _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));\\n return true;\\n }\\n\\n /**\\n * @dev Atomically decreases the allowance granted to `spender` by the caller.\\n *\\n * This is an alternative to {approve} that can be used as a mitigation for\\n * problems described in {IERC20-approve}.\\n *\\n * Emits an {Approval} event indicating the updated allowance.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n * - `spender` must have allowance for the caller of at least\\n * `subtractedValue`.\\n */\\n function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\n _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, \\\"ERC20: decreased allowance below zero\\\"));\\n return true;\\n }\\n\\n /**\\n * @dev Moves tokens `amount` from `sender` to `recipient`.\\n *\\n * This is internal function is equivalent to {transfer}, and can be used to\\n * e.g. implement automatic token fees, slashing mechanisms, etc.\\n *\\n * Emits a {Transfer} event.\\n *\\n * Requirements:\\n *\\n * - `sender` cannot be the zero address.\\n * - `recipient` cannot be the zero address.\\n * - `sender` must have a balance of at least `amount`.\\n */\\n function _transfer(address sender, address recipient, uint256 amount) internal virtual {\\n require(sender != address(0), \\\"ERC20: transfer from the zero address\\\");\\n require(recipient != address(0), \\\"ERC20: transfer to the zero address\\\");\\n\\n _beforeTokenTransfer(sender, recipient, amount);\\n\\n _balances[sender] = _balances[sender].sub(amount, \\\"ERC20: transfer amount exceeds balance\\\");\\n _balances[recipient] = _balances[recipient].add(amount);\\n emit Transfer(sender, recipient, amount);\\n }\\n\\n /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\n * the total supply.\\n *\\n * Emits a {Transfer} event with `from` set to the zero address.\\n *\\n * Requirements:\\n *\\n * - `to` cannot be the zero address.\\n */\\n function _mint(address account, uint256 amount) internal virtual {\\n require(account != address(0), \\\"ERC20: mint to the zero address\\\");\\n\\n _beforeTokenTransfer(address(0), account, amount);\\n\\n _totalSupply = _totalSupply.add(amount);\\n _balances[account] = _balances[account].add(amount);\\n emit Transfer(address(0), account, amount);\\n }\\n\\n /**\\n * @dev Destroys `amount` tokens from `account`, reducing the\\n * total supply.\\n *\\n * Emits a {Transfer} event with `to` set to the zero address.\\n *\\n * Requirements:\\n *\\n * - `account` cannot be the zero address.\\n * - `account` must have at least `amount` tokens.\\n */\\n function _burn(address account, uint256 amount) internal virtual {\\n require(account != address(0), \\\"ERC20: burn from the zero address\\\");\\n\\n _beforeTokenTransfer(account, address(0), amount);\\n\\n _balances[account] = _balances[account].sub(amount, \\\"ERC20: burn amount exceeds balance\\\");\\n _totalSupply = _totalSupply.sub(amount);\\n emit Transfer(account, address(0), amount);\\n }\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.\\n *\\n * This internal function is equivalent to `approve`, and can be used to\\n * e.g. set automatic allowances for certain subsystems, etc.\\n *\\n * Emits an {Approval} event.\\n *\\n * Requirements:\\n *\\n * - `owner` cannot be the zero address.\\n * - `spender` cannot be the zero address.\\n */\\n function _approve(address owner, address spender, uint256 amount) internal virtual {\\n require(owner != address(0), \\\"ERC20: approve from the zero address\\\");\\n require(spender != address(0), \\\"ERC20: approve to the zero address\\\");\\n\\n _allowances[owner][spender] = amount;\\n emit Approval(owner, spender, amount);\\n }\\n\\n /**\\n * @dev Sets {decimals} to a value other than the default one of 18.\\n *\\n * WARNING: This function should only be called from the constructor. Most\\n * applications that interact with token contracts will not expect\\n * {decimals} to ever change, and may work incorrectly if it does.\\n */\\n function _setupDecimals(uint8 decimals_) internal virtual {\\n _decimals = decimals_;\\n }\\n\\n /**\\n * @dev Hook that is called before any transfer of tokens. This includes\\n * minting and burning.\\n *\\n * Calling conditions:\\n *\\n * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n * will be to transferred to `to`.\\n * - when `from` is zero, `amount` tokens will be minted for `to`.\\n * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\n * - `from` and `to` are never both zero.\\n *\\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n */\\n function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }\\n}\\n\",\"keccak256\":\"0xca0c2396dbeb3503b51abf4248ebf77a1461edad513c01529df51850a012bee3\"},\"@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\nimport \\\"../../utils/Context.sol\\\";\\nimport \\\"./ERC20.sol\\\";\\n\\n/**\\n * @dev Extension of {ERC20} that allows token holders to destroy both their own\\n * tokens and those that they have an allowance for, in a way that can be\\n * recognized off-chain (via event analysis).\\n */\\nabstract contract ERC20Burnable is Context, ERC20 {\\n using SafeMath for uint256;\\n\\n /**\\n * @dev Destroys `amount` tokens from the caller.\\n *\\n * See {ERC20-_burn}.\\n */\\n function burn(uint256 amount) public virtual {\\n _burn(_msgSender(), amount);\\n }\\n\\n /**\\n * @dev Destroys `amount` tokens from `account`, deducting from the caller's\\n * allowance.\\n *\\n * See {ERC20-_burn} and {ERC20-allowance}.\\n *\\n * Requirements:\\n *\\n * - the caller must have allowance for ``accounts``'s tokens of at least\\n * `amount`.\\n */\\n function burnFrom(address account, uint256 amount) public virtual {\\n uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, \\\"ERC20: burn amount exceeds allowance\\\");\\n\\n _approve(account, _msgSender(), decreasedAllowance);\\n _burn(account, amount);\\n }\\n}\\n\",\"keccak256\":\"0x9c0eb3b0e11d2480d49991dc384f1e5f9c9b9967cc81944d50916a9b9c6c4984\"},\"@openzeppelin/contracts/token/ERC20/ERC20Pausable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\nimport \\\"./ERC20.sol\\\";\\nimport \\\"../../utils/Pausable.sol\\\";\\n\\n/**\\n * @dev ERC20 token with pausable token transfers, minting and burning.\\n *\\n * Useful for scenarios such as preventing trades until the end of an evaluation\\n * period, or having an emergency switch for freezing all token transfers in the\\n * event of a large bug.\\n */\\nabstract contract ERC20Pausable is ERC20, Pausable {\\n /**\\n * @dev See {ERC20-_beforeTokenTransfer}.\\n *\\n * Requirements:\\n *\\n * - the contract must not be paused.\\n */\\n function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override {\\n super._beforeTokenTransfer(from, to, amount);\\n\\n require(!paused(), \\\"ERC20Pausable: token transfer while paused\\\");\\n }\\n}\\n\",\"keccak256\":\"0xa22af140ae7ec1f8f2f3bed5869cd0d548dfaac66343f0efc7324ff34aaf1254\"},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transfer(address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Returns the remaining number of tokens that `spender` will be\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n * zero by default.\\n *\\n * This value changes when {approve} or {transferFrom} are called.\\n */\\n function allowance(address owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n * that someone may use both the old and the new allowance by unfortunate\\n * transaction ordering. One possible solution to mitigate this race\\n * condition is to first reduce the spender's allowance to 0 and set the\\n * desired value afterwards:\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n *\\n * Emits an {Approval} event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to {approve}. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n}\\n\",\"keccak256\":\"0x5f02220344881ce43204ae4a6281145a67bc52c2bb1290a791857df3d19d78f5\"},\"@openzeppelin/contracts/token/ERC20/SafeERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\nimport \\\"./IERC20.sol\\\";\\nimport \\\"../../math/SafeMath.sol\\\";\\nimport \\\"../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\\n * contract returns false). Tokens that return no value (and instead revert or\\n * throw on failure) are also supported, non-reverting calls are assumed to be\\n * successful.\\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\\n */\\nlibrary SafeERC20 {\\n using SafeMath for uint256;\\n using Address for address;\\n\\n function safeTransfer(IERC20 token, address to, uint256 value) internal {\\n _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\n }\\n\\n function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\\n _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\n }\\n\\n /**\\n * @dev Deprecated. This function has issues similar to the ones found in\\n * {IERC20-approve}, and its usage is discouraged.\\n *\\n * Whenever possible, use {safeIncreaseAllowance} and\\n * {safeDecreaseAllowance} instead.\\n */\\n function safeApprove(IERC20 token, address spender, uint256 value) internal {\\n // safeApprove should only be called when setting an initial allowance,\\n // or when resetting it to zero. To increase and decrease it, use\\n // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\n // solhint-disable-next-line max-line-length\\n require((value == 0) || (token.allowance(address(this), spender) == 0),\\n \\\"SafeERC20: approve from non-zero to non-zero allowance\\\"\\n );\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\n }\\n\\n function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\\n uint256 newAllowance = token.allowance(address(this), spender).add(value);\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n }\\n\\n function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {\\n uint256 newAllowance = token.allowance(address(this), spender).sub(value, \\\"SafeERC20: decreased allowance below zero\\\");\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n }\\n\\n /**\\n * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\\n * on the return value: the return value is optional (but if data is returned, it must not be false).\\n * @param token The token targeted by the call.\\n * @param data The call data (encoded using abi.encode or one of its variants).\\n */\\n function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that\\n // the target address contains contract code and also asserts for success in the low-level call.\\n\\n bytes memory returndata = address(token).functionCall(data, \\\"SafeERC20: low-level call failed\\\");\\n if (returndata.length > 0) { // Return data is optional\\n // solhint-disable-next-line max-line-length\\n require(abi.decode(returndata, (bool)), \\\"SafeERC20: ERC20 operation did not succeed\\\");\\n }\\n }\\n}\\n\",\"keccak256\":\"0xf12dfbe97e6276980b83d2830bb0eb75e0cf4f3e626c2471137f82158ae6a0fc\"},\"@openzeppelin/contracts/utils/Address.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.2 <0.8.0;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize, which returns 0 for contracts in\\n // construction, since the code is only stored at the end of the\\n // constructor execution.\\n\\n uint256 size;\\n // solhint-disable-next-line no-inline-assembly\\n assembly { size := extcodesize(account) }\\n return size > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\\n (bool success, ) = recipient.call{ value: amount }(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain`call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls\\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\\n return _verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\\n require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return _verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\\n require(isContract(target), \\\"Address: delegate call to non-contract\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return _verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0x28911e614500ae7c607a432a709d35da25f3bc5ddc8bd12b278b66358070c0ea\"},\"@openzeppelin/contracts/utils/Context.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\n/*\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with GSN meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n function _msgSender() internal view virtual returns (address payable) {\\n return msg.sender;\\n }\\n\\n function _msgData() internal view virtual returns (bytes memory) {\\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\\n return msg.data;\\n }\\n}\\n\",\"keccak256\":\"0x8d3cb350f04ff49cfb10aef08d87f19dcbaecc8027b0bed12f3275cd12f38cf0\"},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\n/**\\n * @dev Library for managing\\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\\n * types.\\n *\\n * Sets have the following properties:\\n *\\n * - Elements are added, removed, and checked for existence in constant time\\n * (O(1)).\\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\\n *\\n * ```\\n * contract Example {\\n * // Add the library methods\\n * using EnumerableSet for EnumerableSet.AddressSet;\\n *\\n * // Declare a set state variable\\n * EnumerableSet.AddressSet private mySet;\\n * }\\n * ```\\n *\\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\\n * and `uint256` (`UintSet`) are supported.\\n */\\nlibrary EnumerableSet {\\n // To implement this library for multiple types with as little code\\n // repetition as possible, we write it in terms of a generic Set type with\\n // bytes32 values.\\n // The Set implementation uses private functions, and user-facing\\n // implementations (such as AddressSet) are just wrappers around the\\n // underlying Set.\\n // This means that we can only create new EnumerableSets for types that fit\\n // in bytes32.\\n\\n struct Set {\\n // Storage of set values\\n bytes32[] _values;\\n\\n // Position of the value in the `values` array, plus 1 because index 0\\n // means a value is not in the set.\\n mapping (bytes32 => uint256) _indexes;\\n }\\n\\n /**\\n * @dev Add a value to a set. O(1).\\n *\\n * Returns true if the value was added to the set, that is if it was not\\n * already present.\\n */\\n function _add(Set storage set, bytes32 value) private returns (bool) {\\n if (!_contains(set, value)) {\\n set._values.push(value);\\n // The value is stored at length-1, but we add 1 to all indexes\\n // and use 0 as a sentinel value\\n set._indexes[value] = set._values.length;\\n return true;\\n } else {\\n return false;\\n }\\n }\\n\\n /**\\n * @dev Removes a value from a set. O(1).\\n *\\n * Returns true if the value was removed from the set, that is if it was\\n * present.\\n */\\n function _remove(Set storage set, bytes32 value) private returns (bool) {\\n // We read and store the value's index to prevent multiple reads from the same storage slot\\n uint256 valueIndex = set._indexes[value];\\n\\n if (valueIndex != 0) { // Equivalent to contains(set, value)\\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\\n // the array, and then remove the last element (sometimes called as 'swap and pop').\\n // This modifies the order of the array, as noted in {at}.\\n\\n uint256 toDeleteIndex = valueIndex - 1;\\n uint256 lastIndex = set._values.length - 1;\\n\\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\\n\\n bytes32 lastvalue = set._values[lastIndex];\\n\\n // Move the last value to the index where the value to delete is\\n set._values[toDeleteIndex] = lastvalue;\\n // Update the index for the moved value\\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\\n\\n // Delete the slot where the moved value was stored\\n set._values.pop();\\n\\n // Delete the index for the deleted slot\\n delete set._indexes[value];\\n\\n return true;\\n } else {\\n return false;\\n }\\n }\\n\\n /**\\n * @dev Returns true if the value is in the set. O(1).\\n */\\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\\n return set._indexes[value] != 0;\\n }\\n\\n /**\\n * @dev Returns the number of values on the set. O(1).\\n */\\n function _length(Set storage set) private view returns (uint256) {\\n return set._values.length;\\n }\\n\\n /**\\n * @dev Returns the value stored at position `index` in the set. O(1).\\n *\\n * Note that there are no guarantees on the ordering of values inside the\\n * array, and it may change when more values are added or removed.\\n *\\n * Requirements:\\n *\\n * - `index` must be strictly less than {length}.\\n */\\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\\n require(set._values.length > index, \\\"EnumerableSet: index out of bounds\\\");\\n return set._values[index];\\n }\\n\\n // Bytes32Set\\n\\n struct Bytes32Set {\\n Set _inner;\\n }\\n\\n /**\\n * @dev Add a value to a set. O(1).\\n *\\n * Returns true if the value was added to the set, that is if it was not\\n * already present.\\n */\\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\\n return _add(set._inner, value);\\n }\\n\\n /**\\n * @dev Removes a value from a set. O(1).\\n *\\n * Returns true if the value was removed from the set, that is if it was\\n * present.\\n */\\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\\n return _remove(set._inner, value);\\n }\\n\\n /**\\n * @dev Returns true if the value is in the set. O(1).\\n */\\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\\n return _contains(set._inner, value);\\n }\\n\\n /**\\n * @dev Returns the number of values in the set. O(1).\\n */\\n function length(Bytes32Set storage set) internal view returns (uint256) {\\n return _length(set._inner);\\n }\\n\\n /**\\n * @dev Returns the value stored at position `index` in the set. O(1).\\n *\\n * Note that there are no guarantees on the ordering of values inside the\\n * array, and it may change when more values are added or removed.\\n *\\n * Requirements:\\n *\\n * - `index` must be strictly less than {length}.\\n */\\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\\n return _at(set._inner, index);\\n }\\n\\n // AddressSet\\n\\n struct AddressSet {\\n Set _inner;\\n }\\n\\n /**\\n * @dev Add a value to a set. O(1).\\n *\\n * Returns true if the value was added to the set, that is if it was not\\n * already present.\\n */\\n function add(AddressSet storage set, address value) internal returns (bool) {\\n return _add(set._inner, bytes32(uint256(uint160(value))));\\n }\\n\\n /**\\n * @dev Removes a value from a set. O(1).\\n *\\n * Returns true if the value was removed from the set, that is if it was\\n * present.\\n */\\n function remove(AddressSet storage set, address value) internal returns (bool) {\\n return _remove(set._inner, bytes32(uint256(uint160(value))));\\n }\\n\\n /**\\n * @dev Returns true if the value is in the set. O(1).\\n */\\n function contains(AddressSet storage set, address value) internal view returns (bool) {\\n return _contains(set._inner, bytes32(uint256(uint160(value))));\\n }\\n\\n /**\\n * @dev Returns the number of values in the set. O(1).\\n */\\n function length(AddressSet storage set) internal view returns (uint256) {\\n return _length(set._inner);\\n }\\n\\n /**\\n * @dev Returns the value stored at position `index` in the set. O(1).\\n *\\n * Note that there are no guarantees on the ordering of values inside the\\n * array, and it may change when more values are added or removed.\\n *\\n * Requirements:\\n *\\n * - `index` must be strictly less than {length}.\\n */\\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\\n return address(uint160(uint256(_at(set._inner, index))));\\n }\\n\\n\\n // UintSet\\n\\n struct UintSet {\\n Set _inner;\\n }\\n\\n /**\\n * @dev Add a value to a set. O(1).\\n *\\n * Returns true if the value was added to the set, that is if it was not\\n * already present.\\n */\\n function add(UintSet storage set, uint256 value) internal returns (bool) {\\n return _add(set._inner, bytes32(value));\\n }\\n\\n /**\\n * @dev Removes a value from a set. O(1).\\n *\\n * Returns true if the value was removed from the set, that is if it was\\n * present.\\n */\\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\\n return _remove(set._inner, bytes32(value));\\n }\\n\\n /**\\n * @dev Returns true if the value is in the set. O(1).\\n */\\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\\n return _contains(set._inner, bytes32(value));\\n }\\n\\n /**\\n * @dev Returns the number of values on the set. O(1).\\n */\\n function length(UintSet storage set) internal view returns (uint256) {\\n return _length(set._inner);\\n }\\n\\n /**\\n * @dev Returns the value stored at position `index` in the set. O(1).\\n *\\n * Note that there are no guarantees on the ordering of values inside the\\n * array, and it may change when more values are added or removed.\\n *\\n * Requirements:\\n *\\n * - `index` must be strictly less than {length}.\\n */\\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\\n return uint256(_at(set._inner, index));\\n }\\n}\\n\",\"keccak256\":\"0x1562cd9922fbf739edfb979f506809e2743789cbde3177515542161c3d04b164\"},\"@openzeppelin/contracts/utils/Pausable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\nimport \\\"./Context.sol\\\";\\n\\n/**\\n * @dev Contract module which allows children to implement an emergency stop\\n * mechanism that can be triggered by an authorized account.\\n *\\n * This module is used through inheritance. It will make available the\\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\\n * the functions of your contract. Note that they will not be pausable by\\n * simply including this module, only once the modifiers are put in place.\\n */\\nabstract contract Pausable is Context {\\n /**\\n * @dev Emitted when the pause is triggered by `account`.\\n */\\n event Paused(address account);\\n\\n /**\\n * @dev Emitted when the pause is lifted by `account`.\\n */\\n event Unpaused(address account);\\n\\n bool private _paused;\\n\\n /**\\n * @dev Initializes the contract in unpaused state.\\n */\\n constructor () internal {\\n _paused = false;\\n }\\n\\n /**\\n * @dev Returns true if the contract is paused, and false otherwise.\\n */\\n function paused() public view virtual returns (bool) {\\n return _paused;\\n }\\n\\n /**\\n * @dev Modifier to make a function callable only when the contract is not paused.\\n *\\n * Requirements:\\n *\\n * - The contract must not be paused.\\n */\\n modifier whenNotPaused() {\\n require(!paused(), \\\"Pausable: paused\\\");\\n _;\\n }\\n\\n /**\\n * @dev Modifier to make a function callable only when the contract is paused.\\n *\\n * Requirements:\\n *\\n * - The contract must be paused.\\n */\\n modifier whenPaused() {\\n require(paused(), \\\"Pausable: not paused\\\");\\n _;\\n }\\n\\n /**\\n * @dev Triggers stopped state.\\n *\\n * Requirements:\\n *\\n * - The contract must not be paused.\\n */\\n function _pause() internal virtual whenNotPaused {\\n _paused = true;\\n emit Paused(_msgSender());\\n }\\n\\n /**\\n * @dev Returns to normal state.\\n *\\n * Requirements:\\n *\\n * - The contract must be paused.\\n */\\n function _unpause() internal virtual whenPaused {\\n _paused = false;\\n emit Unpaused(_msgSender());\\n }\\n}\\n\",\"keccak256\":\"0x212fb1b1d4beaf74354dad9bc329f44ee3c5375ef1c32acff76b4ecefc10f1d8\"},\"@openzeppelin/contracts/utils/ReentrancyGuard.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\n/**\\n * @dev Contract module that helps prevent reentrant calls to a function.\\n *\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\n * available, which can be applied to functions to make sure there are no nested\\n * (reentrant) calls to them.\\n *\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\n * `nonReentrant` may not call one another. This can be worked around by making\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\n * points to them.\\n *\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\n * to protect against it, check out our blog post\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\n */\\nabstract contract ReentrancyGuard {\\n // Booleans are more expensive than uint256 or any type that takes up a full\\n // word because each write operation emits an extra SLOAD to first read the\\n // slot's contents, replace the bits taken up by the boolean, and then write\\n // back. This is the compiler's defense against contract upgrades and\\n // pointer aliasing, and it cannot be disabled.\\n\\n // The values being non-zero value makes deployment a bit more expensive,\\n // but in exchange the refund on every call to nonReentrant will be lower in\\n // amount. Since refunds are capped to a percentage of the total\\n // transaction's gas, it is best to keep them low in cases like this one, to\\n // increase the likelihood of the full refund coming into effect.\\n uint256 private constant _NOT_ENTERED = 1;\\n uint256 private constant _ENTERED = 2;\\n\\n uint256 private _status;\\n\\n constructor () internal {\\n _status = _NOT_ENTERED;\\n }\\n\\n /**\\n * @dev Prevents a contract from calling itself, directly or indirectly.\\n * Calling a `nonReentrant` function from another `nonReentrant`\\n * function is not supported. It is possible to prevent this from happening\\n * by making the `nonReentrant` function external, and make it call a\\n * `private` function that does the actual work.\\n */\\n modifier nonReentrant() {\\n // On the first call to nonReentrant, _notEntered will be true\\n require(_status != _ENTERED, \\\"ReentrancyGuard: reentrant call\\\");\\n\\n // Any calls to nonReentrant after this point will fail\\n _status = _ENTERED;\\n\\n _;\\n\\n // By storing the original value once again, a refund is triggered (see\\n // https://eips.ethereum.org/EIPS/eip-2200)\\n _status = _NOT_ENTERED;\\n }\\n}\\n\",\"keccak256\":\"0x8bbbc2f5c10065ee272592ae0a7a6ceb23de2fbd81564ee0bb015ecf404d5f61\"},\"@stacktical/dsla-protocol/contracts/MessengerRegistry.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.6.6;\\npragma experimental ABIEncoderV2;\\n\\nimport './messenger/IMessenger.sol';\\n\\n/**\\n * @title MessengerRegistry\\n * @dev MessengerRegistry is a contract to register openly distributed Messengers\\n */\\ncontract MessengerRegistry {\\n struct Messenger {\\n address ownerAddress;\\n address messengerAddress;\\n string specificationUrl;\\n uint256 precision;\\n uint256 requestsCounter;\\n uint256 fulfillsCounter;\\n uint256 id;\\n }\\n\\n /// @dev array to store the messengers\\n Messenger[] public messengers;\\n /// @dev (messengerAddress=>bool) to check if the Messenger was\\n mapping(address => bool) public registeredMessengers;\\n /// @dev (userAddress=>messengerAddress[]) to register the messengers of an owner\\n mapping(address => uint256[]) public ownerMessengers;\\n /// @dev (userAddress=>messengerAddress[]) to register the owner of a Messenger\\n address public slaRegistry;\\n\\n event MessengerRegistered(\\n address indexed ownerAddress,\\n address indexed messengerAddress,\\n string specificationUrl,\\n uint256 precision,\\n uint256 id\\n );\\n\\n event MessengerModified(\\n address indexed ownerAddress,\\n address indexed messengerAddress,\\n string specificationUrl,\\n uint256 precision,\\n uint256 id\\n );\\n\\n /**\\n * @dev sets the SLARegistry contract address and can only be called\\n * once\\n */\\n function setSLARegistry() external {\\n // Only able to trigger this function once\\n require(\\n address(slaRegistry) == address(0),\\n 'SLARegistry address has already been set'\\n );\\n\\n slaRegistry = msg.sender;\\n }\\n\\n /**\\n * @dev function to register a new Messenger\\n */\\n function registerMessenger(\\n address _callerAddress,\\n address _messengerAddress,\\n string calldata _specificationUrl\\n ) external {\\n require(\\n msg.sender == slaRegistry,\\n 'Should only be called using the SLARegistry contract'\\n );\\n require(\\n !registeredMessengers[_messengerAddress],\\n 'messenger already registered'\\n );\\n\\n IMessenger messenger = IMessenger(_messengerAddress);\\n address messengerOwner = messenger.owner();\\n require(\\n messengerOwner == _callerAddress,\\n 'Should only be called by the messenger owner'\\n );\\n uint256 precision = messenger.messengerPrecision();\\n uint256 requestsCounter = messenger.requestsCounter();\\n uint256 fulfillsCounter = messenger.fulfillsCounter();\\n registeredMessengers[_messengerAddress] = true;\\n uint256 id = messengers.length;\\n ownerMessengers[messengerOwner].push(id);\\n\\n messengers.push(\\n Messenger({\\n ownerAddress: messengerOwner,\\n messengerAddress: _messengerAddress,\\n specificationUrl: _specificationUrl,\\n precision: precision,\\n requestsCounter: requestsCounter,\\n fulfillsCounter: fulfillsCounter,\\n id: id\\n })\\n );\\n\\n emit MessengerRegistered(\\n messengerOwner,\\n _messengerAddress,\\n _specificationUrl,\\n precision,\\n id\\n );\\n }\\n\\n /**\\n * @dev function to modifyMessenger a Messenger\\n */\\n function modifyMessenger(\\n string calldata _specificationUrl,\\n uint256 _messengerId\\n ) external {\\n Messenger storage storedMessenger = messengers[_messengerId];\\n IMessenger messenger = IMessenger(storedMessenger.messengerAddress);\\n require(\\n msg.sender == messenger.owner(),\\n 'Can only be modified by the owner'\\n );\\n storedMessenger.specificationUrl = _specificationUrl;\\n storedMessenger.ownerAddress = msg.sender;\\n emit MessengerModified(\\n storedMessenger.ownerAddress,\\n storedMessenger.messengerAddress,\\n storedMessenger.specificationUrl,\\n storedMessenger.precision,\\n storedMessenger.id\\n );\\n }\\n\\n function getMessengers() external view returns (Messenger[] memory) {\\n Messenger[] memory returnMessengers = new Messenger[](\\n messengers.length\\n );\\n for (uint256 index = 0; index < messengers.length; index++) {\\n IMessenger messenger = IMessenger(\\n messengers[index].messengerAddress\\n );\\n uint256 requestsCounter = messenger.requestsCounter();\\n uint256 fulfillsCounter = messenger.fulfillsCounter();\\n returnMessengers[index] = Messenger({\\n ownerAddress: messengers[index].ownerAddress,\\n messengerAddress: messengers[index].messengerAddress,\\n specificationUrl: messengers[index].specificationUrl,\\n precision: messengers[index].precision,\\n requestsCounter: requestsCounter,\\n fulfillsCounter: fulfillsCounter,\\n id: messengers[index].id\\n });\\n }\\n return returnMessengers;\\n }\\n\\n function getMessengersLength() external view returns (uint256) {\\n return messengers.length;\\n }\\n}\\n\",\"keccak256\":\"0x859e06cc384032fb8673bd5fa55170dd9402e343b6769a7509c3c902280a0ad2\"},\"@stacktical/dsla-protocol/contracts/PeriodRegistry.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.6.6;\\npragma experimental ABIEncoderV2;\\n\\nimport '@openzeppelin/contracts/math/SafeMath.sol';\\nimport '@openzeppelin/contracts/access/Ownable.sol';\\n\\n/**\\n * @title SLARegistry\\n * @dev SLARegistry is a contract for handling creation of service level\\n * agreements and keeping track of the created agreements\\n */\\ncontract PeriodRegistry is Ownable {\\n using SafeMath for uint256;\\n\\n enum PeriodType {\\n Hourly,\\n Daily,\\n Weekly,\\n BiWeekly,\\n Monthly,\\n Yearly\\n }\\n\\n /// @dev struct to store the definition of a period\\n struct PeriodDefinition {\\n bool initialized;\\n uint256[] starts;\\n uint256[] ends;\\n }\\n\\n /// @dev (periodType=>PeriodDefinition) hourly/weekly/biWeekly/monthly/yearly are periodTypes\\n mapping(PeriodType => PeriodDefinition) public periodDefinitions;\\n\\n /**\\n * @dev event to log a new period initialized\\n *@param periodType 1. period type i.e. Hourly, Daily, Weekly, BiWeekly, Monthly, Yearly\\n *@param periodsAdded 2. amount of periods added\\n */\\n event PeriodInitialized(PeriodType periodType, uint256 periodsAdded);\\n\\n /**\\n * @dev event to log a new period initialized\\n *@param periodType 1. period type i.e. Hourly, Daily, Weekly, BiWeekly, Monthly, Yearly\\n *@param periodsAdded 2. amount of periods added\\n */\\n event PeriodModified(PeriodType periodType, uint256 periodsAdded);\\n\\n /**\\n * @dev public function for creating canonical service level agreements\\n *@param _periodType 1. period type i.e. Hourly, Daily, Weekly, BiWeekly, Monthly, Yearly\\n *@param _periodStarts 2. array of the starts of the period\\n *@param _periodEnds 3. array of the ends of the period\\n */\\n function initializePeriod(\\n PeriodType _periodType,\\n uint256[] memory _periodStarts,\\n uint256[] memory _periodEnds\\n ) public onlyOwner {\\n PeriodDefinition storage periodDefinition = periodDefinitions[\\n _periodType\\n ];\\n require(\\n !periodDefinition.initialized,\\n 'Period type already initialized'\\n );\\n require(\\n _periodStarts.length == _periodEnds.length,\\n 'Period type starts and ends should match'\\n );\\n require(_periodStarts.length > 0, \\\"Period length can't be 0\\\");\\n for (uint256 index = 0; index < _periodStarts.length; index++) {\\n require(\\n _periodStarts[index] < _periodEnds[index],\\n 'Start should be before end'\\n );\\n if (index < _periodStarts.length - 1) {\\n require(\\n _periodStarts[index + 1].sub(_periodEnds[index]) == 1,\\n 'Start of a period should be 1 second after the end of the previous period'\\n );\\n }\\n periodDefinition.starts.push(_periodStarts[index]);\\n periodDefinition.ends.push(_periodEnds[index]);\\n }\\n periodDefinition.initialized = true;\\n emit PeriodInitialized(_periodType, _periodStarts.length);\\n }\\n\\n /**\\n * @dev function to add new periods to certain period type\\n *@param _periodType 1. period type i.e. Hourly, Daily, Weekly, BiWeekly, Monthly, Yearly\\n *@param _periodStarts 2. array of uint256 of the period starts to add\\n *@param _periodEnds 3. array of uint256 of the period starts to add\\n */\\n function addPeriodsToPeriodType(\\n PeriodType _periodType,\\n uint256[] memory _periodStarts,\\n uint256[] memory _periodEnds\\n ) public onlyOwner {\\n require(_periodStarts.length > 0, \\\"Period length can't be 0\\\");\\n PeriodDefinition storage periodDefinition = periodDefinitions[\\n _periodType\\n ];\\n require(periodDefinition.initialized, 'Period was not initialized yet');\\n for (uint256 index = 0; index < _periodStarts.length; index++) {\\n require(\\n _periodStarts[index] < _periodEnds[index],\\n 'Start should be before end'\\n );\\n if (index < _periodStarts.length.sub(1)) {\\n require(\\n _periodStarts[index + 1].sub(_periodEnds[index]) == 1,\\n 'Start of a period should be 1 second after the end of the previous period'\\n );\\n }\\n periodDefinition.starts.push(_periodStarts[index]);\\n periodDefinition.ends.push(_periodEnds[index]);\\n }\\n emit PeriodModified(_periodType, _periodStarts.length);\\n }\\n\\n /**\\n * @dev public function to get the start and end of a period\\n *@param _periodType 1. period type i.e. Hourly, Daily, Weekly, BiWeekly, Monthly, Yearly\\n *@param _periodId 2. period id to get start and end\\n */\\n function getPeriodStartAndEnd(PeriodType _periodType, uint256 _periodId)\\n public\\n view\\n returns (uint256 start, uint256 end)\\n {\\n start = periodDefinitions[_periodType].starts[_periodId];\\n end = periodDefinitions[_periodType].ends[_periodId];\\n }\\n\\n /**\\n * @dev public function to check if a periodType id is initialized\\n *@param _periodType 1. period type i.e. Hourly, Daily, Weekly, BiWeekly, Monthly, Yearly\\n */\\n function isInitializedPeriod(PeriodType _periodType)\\n public\\n view\\n returns (bool initialized)\\n {\\n PeriodDefinition memory periodDefinition = periodDefinitions[\\n _periodType\\n ];\\n initialized = periodDefinition.initialized;\\n }\\n\\n /**\\n * @dev public function to check if a period id is valid i.e. it belongs to the added id array\\n *@param _periodType 1. period type i.e. Hourly, Daily, Weekly, BiWeekly, Monthly, Yearly\\n *@param _periodId 2. period id to get start and end\\n */\\n function isValidPeriod(PeriodType _periodType, uint256 _periodId)\\n public\\n view\\n returns (bool valid)\\n {\\n PeriodDefinition memory periodDefinition = periodDefinitions[\\n _periodType\\n ];\\n valid = periodDefinition.starts.length.sub(1) >= _periodId;\\n }\\n\\n /**\\n * @dev public function to check if a period has finished\\n *@param _periodType 1. period type i.e. Hourly, Daily, Weekly, BiWeekly, Monthly, Yearly\\n *@param _periodId 2. period id to get start and end\\n */\\n function periodIsFinished(PeriodType _periodType, uint256 _periodId)\\n public\\n view\\n returns (bool finished)\\n {\\n require(\\n isValidPeriod(_periodType, _periodId),\\n 'Period data is not valid'\\n );\\n finished =\\n periodDefinitions[_periodType].ends[_periodId] < block.timestamp;\\n }\\n\\n /**\\n * @dev public function to check if a period has started\\n *@param _periodType 1. period type i.e. Hourly, Daily, Weekly, BiWeekly, Monthly, Yearly\\n *@param _periodId 2. period id to get start and end\\n */\\n function periodHasStarted(PeriodType _periodType, uint256 _periodId)\\n public\\n view\\n returns (bool started)\\n {\\n require(\\n isValidPeriod(_periodType, _periodId),\\n 'Period data is not valid'\\n );\\n started =\\n periodDefinitions[_periodType].starts[_periodId] < block.timestamp;\\n }\\n\\n /**\\n * @dev public function to get the periodDefinitions\\n */\\n function getPeriodDefinitions()\\n public\\n view\\n returns (PeriodDefinition[] memory)\\n {\\n // 6 period types\\n PeriodDefinition[] memory periodDefinition = new PeriodDefinition[](6);\\n periodDefinition[0] = periodDefinitions[PeriodType.Hourly];\\n periodDefinition[1] = periodDefinitions[PeriodType.Daily];\\n periodDefinition[2] = periodDefinitions[PeriodType.Weekly];\\n periodDefinition[3] = periodDefinitions[PeriodType.BiWeekly];\\n periodDefinition[4] = periodDefinitions[PeriodType.Monthly];\\n periodDefinition[5] = periodDefinitions[PeriodType.Yearly];\\n return periodDefinition;\\n }\\n}\\n\",\"keccak256\":\"0x5d86e2ef74a74f7ccc4afbc21a67252eca0aaae82bf8c5145ebb5abc5d534a33\"},\"@stacktical/dsla-protocol/contracts/SLA.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.6.6;\\npragma experimental ABIEncoderV2;\\n\\nimport '@openzeppelin/contracts/access/Ownable.sol';\\nimport '@openzeppelin/contracts/token/ERC20/IERC20.sol';\\nimport '@openzeppelin/contracts/math/SafeMath.sol';\\nimport './SLARegistry.sol';\\nimport './SLORegistry.sol';\\nimport './StakeRegistry.sol';\\nimport './PeriodRegistry.sol';\\nimport './Staking.sol';\\n\\n/**\\n * @title SLA\\n * @dev SLA is a service level agreement contract used for service downtime\\n * compensation\\n */\\ncontract SLA is Staking {\\n using SafeMath for uint256;\\n\\n enum Status {\\n NotVerified,\\n Respected,\\n NotRespected\\n }\\n\\n struct PeriodSLI {\\n uint256 timestamp;\\n uint256 sli;\\n Status status;\\n }\\n\\n //\\n string public ipfsHash;\\n address public immutable messengerAddress;\\n SLARegistry public slaRegistry;\\n PeriodRegistry private immutable periodRegistry;\\n SLORegistry private immutable sloRegistry;\\n uint256 public immutable creationBlockNumber;\\n uint128 public immutable initialPeriodId;\\n uint128 public immutable finalPeriodId;\\n PeriodRegistry.PeriodType public immutable periodType;\\n /// @dev extra data for customized workflows\\n bytes32[] public extraData;\\n\\n bool private _breachedContract = false;\\n uint256 public nextVerifiablePeriod;\\n\\n /// @dev periodId=>PeriodSLI mapping\\n mapping(uint256 => PeriodSLI) public periodSLIs;\\n\\n /**\\n * @dev event for SLI creation logging\\n * @param timestamp 1. the time the SLI has been registered\\n * @param sli 2. the value of the SLI\\n * @param periodId 3. the id of the given period\\n */\\n event SLICreated(uint256 timestamp, uint256 sli, uint256 periodId);\\n\\n /**\\n * @dev event for Stake loging\\n * @param tokenAddress 1. -\\n * @param periodId 2. -\\n * @param amount 3. -\\n * @param caller 4. -\\n */\\n event Stake(\\n address indexed tokenAddress,\\n uint256 indexed periodId,\\n address indexed caller,\\n uint256 amount\\n );\\n /**\\n * @dev event for Stake loging\\n * @param tokenAddress 1. -\\n * @param periodId 2. -\\n * @param amount 3. -\\n * @param caller 4. -\\n */\\n event ProviderWithdraw(\\n address indexed tokenAddress,\\n uint256 indexed periodId,\\n address indexed caller,\\n uint256 amount\\n );\\n /**\\n * @dev event for Stake loging\\n * @param tokenAddress 1. -\\n * @param periodId 2. -\\n * @param amount 3. -\\n * @param caller 4. -\\n */\\n event UserWithdraw(\\n address indexed tokenAddress,\\n uint256 indexed periodId,\\n address indexed caller,\\n uint256 amount\\n );\\n\\n /**\\n * @dev throws if called by any address other than the messenger contract.\\n */\\n modifier onlyMessenger() {\\n require(msg.sender == messengerAddress, 'only messenger');\\n _;\\n }\\n\\n /**\\n * @dev throws if called by any address other than the messenger contract.\\n */\\n modifier onlySLARegistry() {\\n require(msg.sender == address(slaRegistry), 'only SLARegistry');\\n _;\\n }\\n\\n /**\\n * @dev throws if called with an amount less or equal to zero.\\n */\\n modifier notZero(uint256 _amount) {\\n require(_amount > 0, 'amount cant be 0');\\n _;\\n }\\n\\n /**\\n * @param _owner 1. -\\n * @param _ipfsHash 3. -\\n * @param _messengerAddress 3. -\\n * @param _initialPeriodId 4. -\\n * @param _finalPeriodId 4. -\\n * @param _periodType 5. -\\n * @param _whitelisted 8. -\\n * @param _extraData 9. -\\n * @param _slaID 10. -\\n */\\n constructor(\\n address _owner,\\n bool _whitelisted,\\n PeriodRegistry.PeriodType _periodType,\\n address _messengerAddress,\\n uint128 _initialPeriodId,\\n uint128 _finalPeriodId,\\n uint128 _slaID,\\n string memory _ipfsHash,\\n bytes32[] memory _extraData,\\n uint64 _leverage\\n )\\n public\\n Staking(\\n SLARegistry(msg.sender),\\n _periodType,\\n _whitelisted,\\n _slaID,\\n _leverage,\\n _owner\\n )\\n {\\n transferOwnership(_owner);\\n ipfsHash = _ipfsHash;\\n messengerAddress = _messengerAddress;\\n slaRegistry = SLARegistry(msg.sender);\\n periodRegistry = slaRegistry.periodRegistry();\\n sloRegistry = slaRegistry.sloRegistry();\\n creationBlockNumber = block.number;\\n initialPeriodId = _initialPeriodId;\\n finalPeriodId = _finalPeriodId;\\n periodType = _periodType;\\n extraData = _extraData;\\n nextVerifiablePeriod = _initialPeriodId;\\n }\\n\\n /**\\n * @dev external function to register SLI's and check them against the SLORegistry\\n * @param _sli 1. the value of the SLI to check\\n * @param _periodId 2. the id of the given period\\n */\\n function registerSLI(uint256 _sli, uint256 _periodId)\\n external\\n onlyMessenger\\n {\\n emit SLICreated(block.timestamp, _sli, _periodId);\\n nextVerifiablePeriod = _periodId + 1;\\n PeriodSLI storage periodSLI = periodSLIs[_periodId];\\n periodSLI.sli = _sli;\\n periodSLI.timestamp = block.timestamp;\\n (uint256 sloValue, ) = sloRegistry.registeredSLO(address(this));\\n if (sloRegistry.isRespected(_sli, address(this))) {\\n periodSLI.status = Status.Respected;\\n uint256 precision = 10000;\\n uint256 deviation = _sli.sub(sloValue).mul(precision).div(\\n _sli.add(sloValue).div(2)\\n );\\n uint256 normalizedPeriodId = _periodId.sub(initialPeriodId).add(1);\\n uint256 rewardPercentage = deviation.mul(normalizedPeriodId).div(\\n finalPeriodId - initialPeriodId + 1\\n );\\n _setRespectedPeriodReward(_periodId, rewardPercentage, precision);\\n } else {\\n periodSLI.status = Status.NotRespected;\\n _setUsersCompensation(_periodId);\\n _breachedContract = true;\\n }\\n }\\n\\n function isAllowedPeriod(uint256 _periodId) external view returns (bool) {\\n if (_periodId < initialPeriodId) return false;\\n if (_periodId > finalPeriodId) return false;\\n return true;\\n }\\n\\n function contractFinished() public view returns (bool) {\\n (, uint256 endOfLastValidPeriod) = periodRegistry.getPeriodStartAndEnd(\\n periodType,\\n finalPeriodId\\n );\\n return\\n _breachedContract == true ||\\n (block.timestamp >= endOfLastValidPeriod &&\\n periodSLIs[finalPeriodId].status != Status.NotVerified);\\n }\\n\\n /**\\n *@dev stake _amount tokens into the _token contract\\n *@param _amount 1. amount to be staked\\n *@param _token 2. address of the ERC to be staked\\n */\\n\\n function stakeTokens(uint256 _amount, address _token)\\n external\\n notZero(_amount)\\n {\\n bool isContractFinished = contractFinished();\\n require(!isContractFinished, 'finished contract');\\n _stake(_amount, _token);\\n emit Stake(_token, nextVerifiablePeriod, msg.sender, _amount);\\n StakeRegistry stakeRegistry = slaRegistry.stakeRegistry();\\n stakeRegistry.registerStakedSla(msg.sender);\\n }\\n\\n function withdrawProviderTokens(uint256 _amount, address _tokenAddress)\\n external\\n notZero(_amount)\\n {\\n bool isContractFinished = contractFinished();\\n emit ProviderWithdraw(\\n _tokenAddress,\\n nextVerifiablePeriod,\\n msg.sender,\\n _amount\\n );\\n _withdrawProviderTokens(_amount, _tokenAddress, isContractFinished);\\n }\\n\\n /**\\n *@dev withdraw _amount tokens from the _token contract\\n *@param _amount 1. amount to be staked\\n *@param _tokenAddress 2. address of the ERC to be staked\\n */\\n\\n function withdrawUserTokens(uint256 _amount, address _tokenAddress)\\n external\\n notZero(_amount)\\n {\\n if (msg.sender != owner()) {\\n bool isContractFinished = contractFinished();\\n require(isContractFinished, 'not finished contract');\\n }\\n emit UserWithdraw(\\n _tokenAddress,\\n nextVerifiablePeriod,\\n msg.sender,\\n _amount\\n );\\n _withdrawUserTokens(_amount, _tokenAddress);\\n }\\n\\n function getStakersLength() external view returns (uint256) {\\n return stakers.length;\\n }\\n\\n function breachedContract() external view returns (bool) {\\n return _breachedContract;\\n }\\n}\\n\",\"keccak256\":\"0xd5a5e432c3c041280c30eb9d879384cee121bf7eb1a1e78a1a9b05c300a40fec\"},\"@stacktical/dsla-protocol/contracts/SLARegistry.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.6.6;\\npragma experimental ABIEncoderV2;\\n\\nimport '@openzeppelin/contracts/math/SafeMath.sol';\\nimport './SLA.sol';\\nimport './SLORegistry.sol';\\nimport './PeriodRegistry.sol';\\nimport './MessengerRegistry.sol';\\nimport './StakeRegistry.sol';\\nimport './messenger/IMessenger.sol';\\n\\n/**\\n * @title SLARegistry\\n * @dev SLARegistry is a contract for handling creation of service level\\n * agreements and keeping track of the created agreements\\n */\\ncontract SLARegistry {\\n using SafeMath for uint256;\\n\\n /// @dev SLO registry\\n SLORegistry public sloRegistry;\\n /// @dev Periods registry\\n PeriodRegistry public periodRegistry;\\n /// @dev Messengers registry\\n MessengerRegistry public messengerRegistry;\\n /// @dev Stake registry\\n StakeRegistry public stakeRegistry;\\n /// @dev stores the addresses of created SLAs\\n SLA[] public SLAs;\\n /// @dev stores the indexes of service level agreements owned by an user\\n mapping(address => uint256[]) private userToSLAIndexes;\\n /// @dev to check if registered SLA\\n mapping(address => bool) private registeredSLAs;\\n // value to lock past periods on SLA deployment\\n bool public immutable checkPastPeriod;\\n\\n /**\\n * @dev event for service level agreement creation logging\\n * @param sla 1. The address of the created service level agreement contract\\n * @param owner 2. The address of the owner of the service level agreement\\n */\\n event SLACreated(SLA indexed sla, address indexed owner);\\n\\n /**\\n * @dev event for service level agreement creation logging\\n * @param periodId 1. -\\n * @param sla 2. -\\n * @param caller 3. -\\n */\\n event SLIRequested(\\n uint256 periodId,\\n address indexed sla,\\n address indexed caller\\n );\\n\\n /**\\n * @dev event for service level agreement creation logging\\n * @param sla 1. -\\n * @param caller 2. -\\n */\\n event ReturnLockedValue(address indexed sla, address indexed caller);\\n\\n /**\\n * @dev constructor\\n * @param _sloRegistry 1. SLO Registry\\n * @param _periodRegistry 2. Periods registry\\n * @param _messengerRegistry 3. Messenger registry\\n * @param _stakeRegistry 4. Stake registry\\n * @param _checkPastPeriod 5. -\\n */\\n constructor(\\n SLORegistry _sloRegistry,\\n PeriodRegistry _periodRegistry,\\n MessengerRegistry _messengerRegistry,\\n StakeRegistry _stakeRegistry,\\n bool _checkPastPeriod\\n ) public {\\n sloRegistry = _sloRegistry;\\n sloRegistry.setSLARegistry();\\n periodRegistry = _periodRegistry;\\n stakeRegistry = _stakeRegistry;\\n stakeRegistry.setSLARegistry();\\n messengerRegistry = _messengerRegistry;\\n messengerRegistry.setSLARegistry();\\n checkPastPeriod = _checkPastPeriod;\\n }\\n\\n /**\\n * @dev public function for creating canonical service level agreements\\n * @param _sloValue 1. -\\n * @param _sloType 2. -\\n * @param _ipfsHash 3. -\\n * @param _periodType 4. -\\n * @param _initialPeriodId 5. -\\n * @param _finalPeriodId 6. -\\n * @param _messengerAddress 7. -\\n * @param _whitelisted 8. -\\n * @param _extraData 9. -\\n * @param _leverage 10. -\\n */\\n function createSLA(\\n uint256 _sloValue,\\n SLORegistry.SLOType _sloType,\\n bool _whitelisted,\\n address _messengerAddress,\\n PeriodRegistry.PeriodType _periodType,\\n uint128 _initialPeriodId,\\n uint128 _finalPeriodId,\\n string memory _ipfsHash,\\n bytes32[] memory _extraData,\\n uint64 _leverage\\n ) public {\\n bool validPeriod = periodRegistry.isValidPeriod(\\n _periodType,\\n _initialPeriodId\\n );\\n require(validPeriod, 'first period id invalid');\\n validPeriod = periodRegistry.isValidPeriod(_periodType, _finalPeriodId);\\n require(validPeriod, 'final period id invalid');\\n bool initializedPeriod = periodRegistry.isInitializedPeriod(\\n _periodType\\n );\\n require(initializedPeriod, 'period type not initialized');\\n require(\\n _finalPeriodId >= _initialPeriodId,\\n 'invalid finalPeriodId/initialPeriodId'\\n );\\n\\n if (checkPastPeriod) {\\n bool periodHasStarted = periodRegistry.periodHasStarted(\\n _periodType,\\n _initialPeriodId\\n );\\n require(!periodHasStarted, 'past period');\\n }\\n bool registeredMessenger = messengerRegistry.registeredMessengers(\\n _messengerAddress\\n );\\n require(registeredMessenger == true, 'invalid messenger');\\n\\n SLA sla = new SLA(\\n msg.sender,\\n _whitelisted,\\n _periodType,\\n _messengerAddress,\\n _initialPeriodId,\\n _finalPeriodId,\\n uint128(SLAs.length),\\n _ipfsHash,\\n _extraData,\\n _leverage\\n );\\n\\n sloRegistry.registerSLO(_sloValue, _sloType, address(sla));\\n stakeRegistry.lockDSLAValue(\\n msg.sender,\\n address(sla),\\n _finalPeriodId - _initialPeriodId + 1\\n );\\n SLAs.push(sla);\\n registeredSLAs[address(sla)] = true;\\n uint256 index = SLAs.length.sub(1);\\n userToSLAIndexes[msg.sender].push(index);\\n emit SLACreated(sla, msg.sender);\\n }\\n\\n /**\\n * @dev Gets SLI information for the specified SLA and SLO\\n * @param _periodId 1. id of the period\\n * @param _sla 2. SLA Address\\n * @param _ownerApproval 3. if approval by owner or msg.sender\\n */\\n function requestSLI(\\n uint256 _periodId,\\n SLA _sla,\\n bool _ownerApproval\\n ) public {\\n require(isRegisteredSLA(address(_sla)), 'invalid SLA');\\n require(\\n _periodId == _sla.nextVerifiablePeriod(),\\n 'not nextVerifiablePeriod'\\n );\\n (, , SLA.Status status) = _sla.periodSLIs(_periodId);\\n require(status == SLA.Status.NotVerified, 'invalid SLA status');\\n bool breachedContract = _sla.breachedContract();\\n require(!breachedContract, 'breached contract');\\n bool slaAllowedPeriodId = _sla.isAllowedPeriod(_periodId);\\n require(slaAllowedPeriodId, 'invalid period Id');\\n PeriodRegistry.PeriodType slaPeriodType = _sla.periodType();\\n bool periodFinished = periodRegistry.periodIsFinished(\\n slaPeriodType,\\n _periodId\\n );\\n require(periodFinished, 'period unfinished');\\n address slaMessenger = _sla.messengerAddress();\\n SLIRequested(_periodId, address(_sla), msg.sender);\\n IMessenger(slaMessenger).requestSLI(\\n _periodId,\\n address(_sla),\\n _ownerApproval,\\n msg.sender\\n );\\n stakeRegistry.distributeVerificationRewards(\\n address(_sla),\\n msg.sender,\\n _periodId\\n );\\n }\\n\\n function returnLockedValue(SLA _sla) public {\\n require(isRegisteredSLA(address(_sla)), 'invalid SLA');\\n require(msg.sender == _sla.owner(), 'msg.sender not owner');\\n uint256 lastValidPeriodId = _sla.finalPeriodId();\\n PeriodRegistry.PeriodType periodType = _sla.periodType();\\n (, uint256 endOfLastValidPeriod) = periodRegistry.getPeriodStartAndEnd(\\n periodType,\\n lastValidPeriodId\\n );\\n\\n (, , SLA.Status lastPeriodStatus) = _sla.periodSLIs(lastValidPeriodId);\\n require(\\n _sla.breachedContract() ||\\n (block.timestamp >= endOfLastValidPeriod &&\\n lastPeriodStatus != SLA.Status.NotVerified),\\n 'not finished contract'\\n );\\n ReturnLockedValue(address(_sla), msg.sender);\\n stakeRegistry.returnLockedValue(address(_sla));\\n }\\n\\n /**\\n * @dev function to declare this SLARegistry contract as SLARegistry of _messengerAddress\\n * @param _messengerAddress 1. address of the messenger\\n */\\n\\n function registerMessenger(\\n address _messengerAddress,\\n string memory _specificationUrl\\n ) public {\\n IMessenger(_messengerAddress).setSLARegistry();\\n messengerRegistry.registerMessenger(\\n msg.sender,\\n _messengerAddress,\\n _specificationUrl\\n );\\n }\\n\\n /**\\n * @dev public view function that returns the service level agreements that\\n * the given user is the owner of\\n * @param _user Address of the user for which to return the service level\\n * agreements\\n * @return array of SLAs\\n */\\n function userSLAs(address _user) public view returns (SLA[] memory) {\\n uint256 count = userToSLAIndexes[_user].length;\\n SLA[] memory SLAList = new SLA[](count);\\n uint256[] memory userSLAIndexes = userToSLAIndexes[_user];\\n\\n for (uint256 i = 0; i < count; i++) {\\n SLAList[i] = (SLAs[userSLAIndexes[i]]);\\n }\\n\\n return (SLAList);\\n }\\n\\n /**\\n * @dev public view function that returns all the service level agreements\\n * @return SLA[] array of SLAs\\n */\\n function allSLAs() public view returns (SLA[] memory) {\\n return (SLAs);\\n }\\n\\n /**\\n * @dev public view function that returns true if _slaAddress was deployed using this SLARegistry\\n * @param _slaAddress address of the SLA to be checked\\n */\\n function isRegisteredSLA(address _slaAddress) public view returns (bool) {\\n return registeredSLAs[_slaAddress];\\n }\\n}\\n\",\"keccak256\":\"0xd40118048652777b1a1d862d521a47c90e90ac23e3ce3ecd917852edca786a1e\"},\"@stacktical/dsla-protocol/contracts/SLORegistry.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.6.6;\\npragma experimental ABIEncoderV2;\\n\\n/**\\n * @title SLORegistry\\n * @dev SLORegistry is a contract for handling creation of service level\\n * objectives and querying those service level objectives\\n */\\ncontract SLORegistry {\\n enum SLOType {\\n EqualTo,\\n NotEqualTo,\\n SmallerThan,\\n SmallerOrEqualTo,\\n GreaterThan,\\n GreaterOrEqualTo\\n }\\n\\n struct SLO {\\n uint256 sloValue;\\n SLOType sloType;\\n }\\n /**\\n * @dev SLO Registered event\\n * @param sla 1. -\\n * @param sloValue 2. -\\n * @param sloType 3. -\\n */\\n event SLORegistered(address indexed sla, uint256 sloValue, SLOType sloType);\\n\\n address private slaRegistry;\\n mapping(address => SLO) public registeredSLO;\\n\\n modifier onlySLARegistry {\\n require(\\n msg.sender == slaRegistry,\\n 'Should only be called using the SLARegistry contract'\\n );\\n _;\\n }\\n\\n function setSLARegistry() public {\\n // Only able to trigger this function once\\n require(\\n address(slaRegistry) == address(0),\\n 'SLARegistry address has already been set'\\n );\\n slaRegistry = msg.sender;\\n }\\n\\n /**\\n * @dev public function for creating service level objectives\\n * @param _sloValue 1. -\\n * @param _sloType 2. -\\n * @param _slaAddress 3. -\\n */\\n function registerSLO(\\n uint256 _sloValue,\\n SLOType _sloType,\\n address _slaAddress\\n ) public onlySLARegistry {\\n registeredSLO[_slaAddress] = SLO({\\n sloValue: _sloValue,\\n sloType: _sloType\\n });\\n emit SLORegistered(_slaAddress, _sloValue, _sloType);\\n }\\n\\n /**\\n * @dev external view function to check a value against the SLO\\n * @param _value The SLI value to check against the SL\\n * @return boolean with the SLO honored state\\n */\\n function isRespected(uint256 _value, address _slaAddress)\\n public\\n view\\n returns (bool)\\n {\\n SLO memory slo = registeredSLO[_slaAddress];\\n SLOType sloType = slo.sloType;\\n uint256 sloValue = slo.sloValue;\\n\\n if (sloType == SLOType.EqualTo) {\\n return _value == sloValue;\\n }\\n\\n if (sloType == SLOType.NotEqualTo) {\\n return _value != sloValue;\\n }\\n\\n if (sloType == SLOType.SmallerThan) {\\n return _value < sloValue;\\n }\\n\\n if (sloType == SLOType.SmallerOrEqualTo) {\\n return _value <= sloValue;\\n }\\n\\n if (sloType == SLOType.GreaterThan) {\\n return _value > sloValue;\\n }\\n\\n if (sloType == SLOType.GreaterOrEqualTo) {\\n return _value >= sloValue;\\n }\\n revert(\\\"isRespected wasn't executed properly\\\");\\n }\\n}\\n\",\"keccak256\":\"0x15c7b1bb4b97a177cf56078bfcdace06a35e82cc68682e8f9f2414df99886cb1\"},\"@stacktical/dsla-protocol/contracts/StakeRegistry.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.6.6;\\npragma experimental ABIEncoderV2;\\n\\nimport '@openzeppelin/contracts/access/Ownable.sol';\\nimport '@openzeppelin/contracts/math/SafeMath.sol';\\nimport '@openzeppelin/contracts/presets/ERC20PresetMinterPauser.sol';\\nimport '@openzeppelin/contracts/token/ERC20/SafeERC20.sol';\\nimport '@openzeppelin/contracts/token/ERC20/ERC20.sol';\\nimport '@openzeppelin/contracts/utils/ReentrancyGuard.sol';\\nimport './SLA.sol';\\nimport './messenger/IMessenger.sol';\\nimport './SLARegistry.sol';\\nimport './StringUtils.sol';\\n\\n/**\\n * @title StakeRegistry\\n * @dev StakeRegistry is a contract to register the staking activity of the platform, along\\n with controlling certain admin privileged parameters\\n */\\ncontract StakeRegistry is Ownable, ReentrancyGuard {\\n using SafeERC20 for ERC20;\\n using SafeMath for uint256;\\n\\n /// @dev struct to return on getActivePool function.\\n struct ActivePool {\\n address SLAAddress;\\n uint256 stake;\\n string assetName;\\n address assetAddress;\\n }\\n\\n struct LockedValue {\\n uint256 lockedValue;\\n uint256 slaPeriodIdsLength;\\n uint256 dslaDepositByPeriod;\\n uint256 dslaPlatformReward;\\n uint256 dslaMessengerReward;\\n uint256 dslaUserReward;\\n uint256 dslaBurnedByVerification;\\n mapping(uint256 => bool) verifiedPeriods;\\n }\\n\\n address public DSLATokenAddress;\\n SLARegistry public slaRegistry;\\n\\n //______ onlyOwner modifiable parameters ______\\n\\n /// @dev corresponds to the burn rate of DSLA tokens, but divided by 1000 i.e burn percentage = DSLAburnRate/1000 %\\n uint256 private _DSLAburnRate = 3;\\n /// @dev (ownerAddress => slaAddress => LockedValue) stores the locked value by the staker\\n mapping(address => LockedValue) public slaLockedValue;\\n /// @dev DSLA deposit by period to create SLA\\n uint256 private _dslaDepositByPeriod = 1000 ether;\\n /// @dev DSLA rewarded to the foundation\\n uint256 private _dslaPlatformReward = 250 ether;\\n /// @dev DSLA rewarded to the Messenger creator\\n uint256 private _dslaMessengerReward = 250 ether;\\n /// @dev DSLA rewarded to user calling the period verification\\n uint256 private _dslaUserReward = 250 ether;\\n /// @dev DSLA burned after every period verification\\n uint256 private _dslaBurnedByVerification = 250 ether;\\n /// @dev max token length for allowedTokens array of Staking contracts\\n uint256 private _maxTokenLength = 1;\\n /// @dev max times of hedge leverage\\n uint64 private _maxLeverage = 100;\\n /// @dev burn DSLA after verification\\n bool private _burnDSLA = true;\\n\\n /// @dev array with the allowed tokens addresses of the StakeRegistry\\n address[] public allowedTokens;\\n\\n /// @dev (userAddress => SLA[]) with user staked SLAs to get tokenPool\\n mapping(address => SLA[]) public userStakedSlas;\\n\\n /**\\n * @dev event to log a verifiation reward distributed\\n * @param sla 1. The address of the created service level agreement contract\\n * @param requester 2. -\\n * @param userReward 3. -\\n * @param platformReward 4. -\\n * @param messengerReward 5. -\\n * @param burnedDSLA 6. -\\n */\\n event VerificationRewardDistributed(\\n address indexed sla,\\n address indexed requester,\\n uint256 userReward,\\n uint256 platformReward,\\n uint256 messengerReward,\\n uint256 burnedDSLA\\n );\\n\\n /**\\n * @dev event to log modifications on the staking parameters\\n *@param DSLAburnRate 1. (DSLAburnRate/1000)% of DSLA to be burned after a reward/compensation is paid\\n *@param dslaDepositByPeriod 2. DSLA deposit by period to create SLA\\n *@param dslaPlatformReward 3. DSLA rewarded to Stacktical team\\n *@param dslaUserReward 4. DSLA rewarded to user calling the period verification\\n *@param dslaBurnedByVerification 5. DSLA burned after every period verification\\n */\\n event StakingParametersModified(\\n uint256 DSLAburnRate,\\n uint256 dslaDepositByPeriod,\\n uint256 dslaPlatformReward,\\n uint256 dslaMessengerReward,\\n uint256 dslaUserReward,\\n uint256 dslaBurnedByVerification,\\n uint256 maxTokenLength,\\n uint64 maxLeverage,\\n bool burnDSLA\\n );\\n\\n /**\\n * @dev event to log modifications on the staking parameters\\n *@param sla 1. -\\n *@param owner 2. -\\n *@param amount 3. -\\n */\\n\\n event LockedValueReturned(\\n address indexed sla,\\n address indexed owner,\\n uint256 amount\\n );\\n\\n /**\\n * @dev event to log modifications on the staking parameters\\n *@param dTokenAddress 1. -\\n *@param sla 2. -\\n *@param name 3. -\\n *@param symbol 4. -\\n */\\n event DTokenCreated(\\n address indexed dTokenAddress,\\n address indexed sla,\\n string name,\\n string symbol\\n );\\n\\n /**\\n * @dev event to log modifications on the staking parameters\\n *@param sla 1. -\\n *@param owner 2. -\\n *@param amount 3. -\\n */\\n event ValueLocked(\\n address indexed sla,\\n address indexed owner,\\n uint256 amount\\n );\\n\\n /**\\n * @param _dslaTokenAddress 1. DSLA Token\\n */\\n constructor(address _dslaTokenAddress) public {\\n require(\\n _dslaDepositByPeriod ==\\n _dslaPlatformReward\\n .add(_dslaMessengerReward)\\n .add(_dslaUserReward)\\n .add(_dslaBurnedByVerification),\\n 'Staking parameters should match on summation'\\n );\\n DSLATokenAddress = _dslaTokenAddress;\\n allowedTokens.push(_dslaTokenAddress);\\n }\\n\\n /// @dev Throws if called by any address other than the SLARegistry contract or Chainlink Oracle.\\n modifier onlySLARegistry() {\\n require(\\n msg.sender == address(slaRegistry),\\n 'Can only be called by SLARegistry'\\n );\\n _;\\n }\\n\\n /**\\n * @dev sets the SLARegistry contract address and can only be called\\n * once\\n */\\n function setSLARegistry() external {\\n // Only able to trigger this function once\\n require(\\n address(slaRegistry) == address(0),\\n 'SLARegistry address has already been set'\\n );\\n\\n slaRegistry = SLARegistry(msg.sender);\\n }\\n\\n /**\\n *@dev add a token to ve allowed for staking\\n *@param _tokenAddress 1. address of the new allowed token\\n */\\n function addAllowedTokens(address _tokenAddress) external onlyOwner {\\n require(!isAllowedToken(_tokenAddress), 'token already added');\\n allowedTokens.push(_tokenAddress);\\n }\\n\\n function isAllowedToken(address _tokenAddress) public view returns (bool) {\\n for (uint256 index = 0; index < allowedTokens.length; index++) {\\n if (allowedTokens[index] == _tokenAddress) {\\n return true;\\n }\\n }\\n return false;\\n }\\n\\n /**\\n *@dev public view function that returns true if the _owner has staked on _sla\\n *@param _user 1. address to check\\n *@param _sla 2. sla to check\\n *@return bool, true if _sla was staked by _user\\n */\\n\\n function slaWasStakedByUser(address _user, address _sla)\\n public\\n view\\n returns (bool)\\n {\\n for (uint256 index = 0; index < userStakedSlas[_user].length; index++) {\\n if (address(userStakedSlas[_user][index]) == _sla) {\\n return true;\\n }\\n }\\n return false;\\n }\\n\\n /**\\n *@dev register the sending SLA contract as staked by _owner\\n *@param _owner 1. SLA contract to stake\\n */\\n function registerStakedSla(address _owner) external returns (bool) {\\n require(\\n slaRegistry.isRegisteredSLA(msg.sender),\\n 'Only for registered SLAs'\\n );\\n if (!slaWasStakedByUser(_owner, msg.sender)) {\\n userStakedSlas[_owner].push(SLA(msg.sender));\\n }\\n return true;\\n }\\n\\n /**\\n *@dev to create dTokens for staking\\n *@param _name 1. token name\\n *@param _symbol 2. token symbol\\n */\\n function createDToken(string calldata _name, string calldata _symbol)\\n external\\n returns (address)\\n {\\n require(\\n slaRegistry.isRegisteredSLA(msg.sender),\\n 'Only for registered SLAs'\\n );\\n ERC20PresetMinterPauser dToken = new ERC20PresetMinterPauser(\\n _name,\\n _symbol\\n );\\n dToken.grantRole(dToken.MINTER_ROLE(), msg.sender);\\n emit DTokenCreated(address(dToken), msg.sender, _name, _symbol);\\n return address(dToken);\\n }\\n\\n function lockDSLAValue(\\n address _slaOwner,\\n address _sla,\\n uint256 _periodIdsLength\\n ) external onlySLARegistry nonReentrant {\\n uint256 lockedValue = _dslaDepositByPeriod.mul(_periodIdsLength);\\n ERC20(DSLATokenAddress).safeTransferFrom(\\n _slaOwner,\\n address(this),\\n lockedValue\\n );\\n slaLockedValue[_sla] = LockedValue({\\n lockedValue: lockedValue,\\n slaPeriodIdsLength: _periodIdsLength,\\n dslaDepositByPeriod: _dslaDepositByPeriod,\\n dslaPlatformReward: _dslaPlatformReward,\\n dslaMessengerReward: _dslaMessengerReward,\\n dslaUserReward: _dslaUserReward,\\n dslaBurnedByVerification: _dslaBurnedByVerification\\n });\\n emit ValueLocked(_sla, _slaOwner, lockedValue);\\n }\\n\\n function distributeVerificationRewards(\\n address _sla,\\n address _verificationRewardReceiver,\\n uint256 _periodId\\n ) external onlySLARegistry nonReentrant {\\n LockedValue storage _lockedValue = slaLockedValue[_sla];\\n require(\\n !_lockedValue.verifiedPeriods[_periodId],\\n 'Period rewards already distributed'\\n );\\n _lockedValue.verifiedPeriods[_periodId] = true;\\n _lockedValue.lockedValue = _lockedValue.lockedValue.sub(\\n _lockedValue.dslaDepositByPeriod\\n );\\n ERC20(DSLATokenAddress).safeTransfer(\\n _verificationRewardReceiver,\\n _lockedValue.dslaUserReward\\n );\\n ERC20(DSLATokenAddress).safeTransfer(\\n owner(),\\n _lockedValue.dslaPlatformReward\\n );\\n ERC20(DSLATokenAddress).safeTransfer(\\n IMessenger(SLA(_sla).messengerAddress()).owner(),\\n _lockedValue.dslaMessengerReward\\n );\\n if (_burnDSLA) {\\n (bool success, ) = DSLATokenAddress.call(\\n abi.encodeWithSelector(\\n bytes4(keccak256(bytes('burn(uint256)'))),\\n _lockedValue.dslaBurnedByVerification\\n )\\n );\\n require(success, 'burn process failed');\\n }\\n emit VerificationRewardDistributed(\\n _sla,\\n _verificationRewardReceiver,\\n _lockedValue.dslaUserReward,\\n _lockedValue.dslaPlatformReward,\\n _lockedValue.dslaMessengerReward,\\n _lockedValue.dslaBurnedByVerification\\n );\\n }\\n\\n function returnLockedValue(address _sla)\\n external\\n onlySLARegistry\\n nonReentrant\\n {\\n LockedValue storage _lockedValue = slaLockedValue[_sla];\\n uint256 remainingBalance = _lockedValue.lockedValue;\\n require(remainingBalance > 0, 'locked value is empty');\\n _lockedValue.lockedValue = 0;\\n ERC20(DSLATokenAddress).safeTransfer(\\n SLA(_sla).owner(),\\n remainingBalance\\n );\\n emit LockedValueReturned(_sla, SLA(_sla).owner(), remainingBalance);\\n }\\n\\n /**\\n * @dev returns the active pools owned by a user.\\n * @param _slaOwner 1. owner of the active pool\\n * @return ActivePool[], array of structs: {SLAAddress,stake,assetName}\\n */\\n function getActivePool(address _slaOwner)\\n external\\n view\\n returns (ActivePool[] memory)\\n {\\n bytes4 NAME_SELECTOR = bytes4(keccak256(bytes('name()')));\\n uint256 stakeCounter = 0;\\n // Count the stakes of the user, checking every SLA staked\\n for (\\n uint256 index = 0;\\n index < userStakedSlas[_slaOwner].length;\\n index++\\n ) {\\n SLA currentSLA = SLA(userStakedSlas[_slaOwner][index]);\\n stakeCounter = stakeCounter.add(\\n currentSLA.getAllowedTokensLength()\\n );\\n }\\n\\n ActivePool[] memory activePools = new ActivePool[](stakeCounter);\\n // to insert on activePools array\\n uint256 stakePosition = 0;\\n for (\\n uint256 index = 0;\\n index < userStakedSlas[_slaOwner].length;\\n index++\\n ) {\\n SLA currentSLA = userStakedSlas[_slaOwner][index];\\n for (\\n uint256 tokenIndex = 0;\\n tokenIndex < currentSLA.getAllowedTokensLength();\\n tokenIndex++\\n ) {\\n (address tokenAddress, uint256 stake) = currentSLA\\n .getTokenStake(_slaOwner, tokenIndex);\\n (, bytes memory tokenNameBytes) = tokenAddress.staticcall(\\n abi.encodeWithSelector(NAME_SELECTOR)\\n );\\n ActivePool memory currentActivePool = ActivePool({\\n SLAAddress: address(currentSLA),\\n stake: stake,\\n assetName: string(tokenNameBytes),\\n assetAddress: tokenAddress\\n });\\n activePools[stakePosition] = currentActivePool;\\n stakePosition = stakePosition.add(1);\\n }\\n }\\n return activePools;\\n }\\n\\n //_______ OnlyOwner functions _______\\n function setStakingParameters(\\n uint256 DSLAburnRate,\\n uint256 dslaDepositByPeriod,\\n uint256 dslaPlatformReward,\\n uint256 dslaMessengerReward,\\n uint256 dslaUserReward,\\n uint256 dslaBurnedByVerification,\\n uint256 maxTokenLength,\\n uint64 maxLeverage,\\n bool burnDSLA\\n ) external onlyOwner {\\n _DSLAburnRate = DSLAburnRate;\\n _dslaDepositByPeriod = dslaDepositByPeriod;\\n _dslaPlatformReward = dslaPlatformReward;\\n _dslaMessengerReward = dslaMessengerReward;\\n _dslaUserReward = dslaUserReward;\\n _dslaBurnedByVerification = dslaBurnedByVerification;\\n _maxTokenLength = maxTokenLength;\\n _maxLeverage = maxLeverage;\\n _burnDSLA = burnDSLA;\\n require(\\n _dslaDepositByPeriod ==\\n _dslaPlatformReward\\n .add(_dslaMessengerReward)\\n .add(_dslaUserReward)\\n .add(_dslaBurnedByVerification),\\n 'Staking parameters should match on summation'\\n );\\n emit StakingParametersModified(\\n DSLAburnRate,\\n dslaDepositByPeriod,\\n dslaPlatformReward,\\n dslaMessengerReward,\\n dslaUserReward,\\n dslaBurnedByVerification,\\n maxTokenLength,\\n maxLeverage,\\n burnDSLA\\n );\\n }\\n\\n function getStakingParameters()\\n external\\n view\\n returns (\\n uint256 DSLAburnRate,\\n uint256 dslaDepositByPeriod,\\n uint256 dslaPlatformReward,\\n uint256 dslaMessengerReward,\\n uint256 dslaUserReward,\\n uint256 dslaBurnedByVerification,\\n uint256 maxTokenLength,\\n uint64 maxLeverage,\\n bool burnDSLA\\n )\\n {\\n DSLAburnRate = _DSLAburnRate;\\n dslaDepositByPeriod = _dslaDepositByPeriod;\\n dslaPlatformReward = _dslaPlatformReward;\\n dslaMessengerReward = _dslaMessengerReward;\\n dslaUserReward = _dslaUserReward;\\n dslaBurnedByVerification = _dslaBurnedByVerification;\\n maxTokenLength = _maxTokenLength;\\n maxLeverage = _maxLeverage;\\n burnDSLA = _burnDSLA;\\n }\\n\\n function periodIsVerified(address _sla, uint256 _periodId)\\n external\\n view\\n returns (bool)\\n {\\n return slaLockedValue[_sla].verifiedPeriods[_periodId];\\n }\\n}\\n\",\"keccak256\":\"0x0c97d763e3b20f026bbf2491d0e9051f592dbf4fb0088a50d2e2aa25ade93d2c\"},\"@stacktical/dsla-protocol/contracts/Staking.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.6.6;\\n\\nimport '@openzeppelin/contracts/token/ERC20/ERC20.sol';\\nimport '@openzeppelin/contracts/token/ERC20/SafeERC20.sol';\\nimport '@openzeppelin/contracts/presets/ERC20PresetMinterPauser.sol';\\nimport '@openzeppelin/contracts/access/Ownable.sol';\\nimport '@openzeppelin/contracts/math/SafeMath.sol';\\nimport './StakeRegistry.sol';\\nimport './SLARegistry.sol';\\nimport './PeriodRegistry.sol';\\nimport './StringUtils.sol';\\n\\ncontract Staking is Ownable {\\n using SafeMath for uint256;\\n using SafeERC20 for ERC20;\\n\\n /// @dev StakeRegistry contract\\n StakeRegistry private stakeRegistry;\\n /// @dev SLARegistry contract\\n PeriodRegistry private immutable periodRegistry;\\n /// @dev current SLA id\\n uint128 public immutable slaID;\\n\\n /// @dev (tokenAddress=>uint256) total pooled token balance\\n mapping(address => uint256) public providerPool;\\n /// @dev (tokenAddress=>uint256) total pooled token balance\\n mapping(address => uint256) public usersPool;\\n\\n ///@dev (tokenAddress=>dTokenAddress) to keep track of dToken for users\\n mapping(address => ERC20PresetMinterPauser) public duTokenRegistry;\\n ///@dev (tokenAddress=>dTokenAddress) to keep track of dToken for provider\\n mapping(address => ERC20PresetMinterPauser) public dpTokenRegistry;\\n\\n /// @dev address[] of the stakers of the SLA contract\\n address[] public stakers;\\n /// @dev (slaOwner=>bool)\\n mapping(address => bool) public registeredStakers;\\n /// @dev DSLA token address to burn fees\\n address public immutable dslaTokenAddress;\\n /// @dev array with the allowed tokens addresses for the current SLA\\n address[] public allowedTokens;\\n\\n /// @dev corresponds to the burn rate of DSLA tokens, but divided by 1000 i.e burn percentage = burnRate/1000 %\\n uint256 public immutable DSLAburnRate;\\n\\n /// @dev PeriodRegistry period type of the SLA contract\\n PeriodRegistry.PeriodType private immutable periodType;\\n\\n /// @dev boolean to declare if contract is whitelisted\\n bool public immutable whitelistedContract;\\n /// @dev (userAddress=bool) to declare whitelisted addresses\\n mapping(address => bool) public whitelist;\\n\\n uint64 public immutable leverage;\\n\\n modifier onlyAllowedToken(address _token) {\\n require(isAllowedToken(_token) == true, 'token not allowed');\\n _;\\n }\\n\\n modifier onlyWhitelisted {\\n if (whitelistedContract == true) {\\n require(whitelist[msg.sender] == true, 'not whitelisted');\\n }\\n _;\\n }\\n\\n /**\\n * @dev event for provider reward log\\n * @param periodId 1. id of the period\\n * @param tokenAddress 2. address of the token\\n * @param rewardPercentage 3. reward percentage for the provider\\n * @param rewardPercentagePrecision 4. reward percentage for the provider\\n * @param rewardAmount 5. amount rewarded\\n */\\n event ProviderRewardGenerated(\\n uint256 indexed periodId,\\n address indexed tokenAddress,\\n uint256 rewardPercentage,\\n uint256 rewardPercentagePrecision,\\n uint256 rewardAmount\\n );\\n\\n event UserCompensationGenerated(\\n uint256 indexed periodId,\\n address indexed tokenAddress,\\n uint256 usersStake,\\n uint256 leverage,\\n uint256 compensation\\n );\\n\\n event DTokensCreated(\\n address indexed tokenAddress,\\n address indexed dpTokenAddress,\\n string dpTokenName,\\n string dpTokenSymbol,\\n address indexed duTokenAddress,\\n string duTokenName,\\n string duTokenSymbol\\n );\\n\\n /**\\n *@param _slaRegistryAddress 1. period type of the SLA\\n *@param _periodType 3. period type of the SLA\\n *@param _whitelistedContract 5. enables the white list feature\\n *@param _slaID 6. identifies the SLA to uniquely to emit dTokens\\n */\\n constructor(\\n SLARegistry _slaRegistry,\\n PeriodRegistry.PeriodType _periodType,\\n bool _whitelistedContract,\\n uint128 _slaID,\\n uint64 _leverage,\\n address _contractOwner\\n ) public {\\n stakeRegistry = _slaRegistry.stakeRegistry();\\n periodRegistry = _slaRegistry.periodRegistry();\\n periodType = _periodType;\\n whitelistedContract = _whitelistedContract;\\n (\\n uint256 _DSLAburnRate,\\n ,\\n ,\\n ,\\n ,\\n ,\\n ,\\n uint64 _maxLeverage,\\n\\n ) = stakeRegistry.getStakingParameters();\\n dslaTokenAddress = stakeRegistry.DSLATokenAddress();\\n DSLAburnRate = _DSLAburnRate;\\n whitelist[_contractOwner] = true;\\n slaID = _slaID;\\n require(\\n _leverage <= _maxLeverage && _leverage >= 1,\\n 'incorrect leverage'\\n );\\n leverage = _leverage;\\n }\\n\\n function addUsersToWhitelist(address[] memory _userAddresses)\\n public\\n onlyOwner\\n {\\n for (uint256 index = 0; index < _userAddresses.length; index++) {\\n if (whitelist[_userAddresses[index]] == false) {\\n whitelist[_userAddresses[index]] = true;\\n }\\n }\\n }\\n\\n function removeUsersFromWhitelist(address[] calldata _userAddresses)\\n external\\n onlyOwner\\n {\\n for (uint256 index = 0; index < _userAddresses.length; index++) {\\n if (whitelist[_userAddresses[index]] == true) {\\n whitelist[_userAddresses[index]] = false;\\n }\\n }\\n }\\n\\n /**\\n *@dev add a token to ve allowed for staking\\n *@param _tokenAddress 1. address of the new allowed token\\n */\\n function addAllowedTokens(address _tokenAddress) external onlyOwner {\\n (, , , , , , uint256 maxTokenLength, , ) = stakeRegistry\\n .getStakingParameters();\\n require(!isAllowedToken(_tokenAddress), 'already added');\\n require(\\n stakeRegistry.isAllowedToken(_tokenAddress),\\n 'not allowed by SLARegistry'\\n );\\n allowedTokens.push(_tokenAddress);\\n require(maxTokenLength >= allowedTokens.length, 'max token length');\\n string memory dTokenID = StringUtils.uintToStr(slaID);\\n string memory duTokenName = string(\\n abi.encodePacked('DSLA-SHORT-', dTokenID)\\n );\\n string memory duTokenSymbol = string(\\n abi.encodePacked('DSLA-SP-', dTokenID)\\n );\\n string memory dpTokenName = string(\\n abi.encodePacked('DSLA-LONG-', dTokenID)\\n );\\n string memory dpTokenSymbol = string(\\n abi.encodePacked('DSLA-LP-', dTokenID)\\n );\\n\\n ERC20PresetMinterPauser duToken = ERC20PresetMinterPauser(\\n stakeRegistry.createDToken(duTokenName, duTokenSymbol)\\n );\\n ERC20PresetMinterPauser dpToken = ERC20PresetMinterPauser(\\n stakeRegistry.createDToken(dpTokenName, dpTokenSymbol)\\n );\\n\\n dpTokenRegistry[_tokenAddress] = dpToken;\\n duTokenRegistry[_tokenAddress] = duToken;\\n emit DTokensCreated(\\n _tokenAddress,\\n address(dpToken),\\n dpTokenName,\\n dpTokenName,\\n address(duToken),\\n duTokenName,\\n duTokenName\\n );\\n }\\n\\n /**\\n *@dev increase the amount staked per token\\n *@param _amount 1. amount to be staked\\n *@param _tokenAddress 2. address of the token\\n *@notice providers can stake at any time\\n *@notice users can stake at any time but no more than provider pool\\n */\\n function _stake(uint256 _amount, address _tokenAddress)\\n internal\\n onlyAllowedToken(_tokenAddress)\\n onlyWhitelisted\\n {\\n ERC20(_tokenAddress).safeTransferFrom(\\n msg.sender,\\n address(this),\\n _amount\\n );\\n //duTokens\\n if (msg.sender != owner()) {\\n (uint256 providerStake, uint256 usersStake) = (\\n providerPool[_tokenAddress],\\n usersPool[_tokenAddress]\\n );\\n require(\\n usersStake.add(_amount).mul(leverage) <= providerStake,\\n 'incorrect user stake'\\n );\\n ERC20PresetMinterPauser duToken = duTokenRegistry[_tokenAddress];\\n uint256 p0 = duToken.totalSupply();\\n\\n // if there's no minted tokens, then create 1-1 proportion\\n if (p0 == 0) {\\n duToken.mint(msg.sender, _amount);\\n } else {\\n uint256 t0 = usersPool[_tokenAddress];\\n // mint dTokens proportionally\\n uint256 mintedDUTokens = _amount.mul(p0).div(t0);\\n duToken.mint(msg.sender, mintedDUTokens);\\n }\\n usersPool[_tokenAddress] = usersPool[_tokenAddress].add(_amount);\\n //dpTokens\\n } else {\\n ERC20PresetMinterPauser dpToken = dpTokenRegistry[_tokenAddress];\\n uint256 p0 = dpToken.totalSupply();\\n\\n if (p0 == 0) {\\n dpToken.mint(msg.sender, _amount);\\n } else {\\n uint256 t0 = providerPool[_tokenAddress];\\n // mint dTokens proportionally\\n uint256 mintedDPTokens = _amount.mul(p0).div(t0);\\n dpToken.mint(msg.sender, mintedDPTokens);\\n }\\n\\n providerPool[_tokenAddress] = providerPool[_tokenAddress].add(\\n _amount\\n );\\n }\\n\\n if (registeredStakers[msg.sender] == false) {\\n registeredStakers[msg.sender] = true;\\n stakers.push(msg.sender);\\n }\\n }\\n\\n /**\\n *@dev sets the provider reward\\n *@notice it calculates the usersStake and calculates the provider reward from it.\\n * @param _periodId 1. id of the period\\n * @param _rewardPercentage to calculate the provider reward\\n * @param _precision used to avoid getting 0 after division in the SLA's registerSLI function\\n */\\n function _setRespectedPeriodReward(\\n uint256 _periodId,\\n uint256 _rewardPercentage,\\n uint256 _precision\\n ) internal {\\n for (uint256 index = 0; index < allowedTokens.length; index++) {\\n address tokenAddress = allowedTokens[index];\\n uint256 usersStake = usersPool[tokenAddress];\\n uint256 reward = usersStake.mul(_rewardPercentage).div(_precision);\\n\\n usersPool[tokenAddress] = usersPool[tokenAddress].sub(reward);\\n\\n providerPool[tokenAddress] = providerPool[tokenAddress].add(reward);\\n\\n emit ProviderRewardGenerated(\\n _periodId,\\n tokenAddress,\\n _rewardPercentage,\\n _precision,\\n reward\\n );\\n }\\n }\\n\\n /**\\n *@dev sets the users compensation pool\\n *@notice it calculates the usersStake and calculates the users compensation from it\\n */\\n function _setUsersCompensation(uint256 _periodId) internal {\\n for (uint256 index = 0; index < allowedTokens.length; index++) {\\n address tokenAddress = allowedTokens[index];\\n uint256 usersStake = usersPool[tokenAddress];\\n uint256 compensation = usersStake.mul(leverage);\\n providerPool[tokenAddress] = providerPool[tokenAddress].sub(\\n compensation\\n );\\n usersPool[tokenAddress] = usersPool[tokenAddress].add(compensation);\\n emit UserCompensationGenerated(\\n _periodId,\\n tokenAddress,\\n usersStake,\\n leverage,\\n compensation\\n );\\n }\\n }\\n\\n /**\\n *@dev withdraw staked tokens. Only dpToken owners can withdraw,\\n *@param _amount 1. amount to be withdrawn\\n *@param _tokenAddress 2. address of the token\\n *@param _contractFinished 3. contract finished\\n */\\n function _withdrawProviderTokens(\\n uint256 _amount,\\n address _tokenAddress,\\n bool _contractFinished\\n ) internal onlyAllowedToken(_tokenAddress) {\\n uint256 providerStake = providerPool[_tokenAddress];\\n uint256 usersStake = usersPool[_tokenAddress];\\n if (!_contractFinished) {\\n require(\\n providerStake.sub(_amount) >= usersStake.mul(leverage),\\n 'incorrect withdraw'\\n );\\n }\\n ERC20PresetMinterPauser dpToken = dpTokenRegistry[_tokenAddress];\\n uint256 p0 = dpToken.totalSupply();\\n uint256 t0 = providerPool[_tokenAddress];\\n // Burn duTokens in a way that it doesn't affect the PoolTokens/LPTokens average\\n // t0/p0 = (t0-_amount)/(p0-burnedDPTokens)\\n // burnedDPTokens = _amount*p0/t0\\n uint256 burnedDPTokens = _amount.mul(p0).div(t0);\\n dpToken.burnFrom(msg.sender, burnedDPTokens);\\n providerPool[_tokenAddress] = providerPool[_tokenAddress].sub(_amount);\\n ERC20(_tokenAddress).safeTransfer(msg.sender, _amount);\\n }\\n\\n /**\\n *@dev withdraw staked tokens. Only duToken owners can withdraw,\\n *@param _amount 1. amount to be withdrawn\\n *@param _tokenAddress 2. address of the token\\n */\\n function _withdrawUserTokens(uint256 _amount, address _tokenAddress)\\n internal\\n onlyAllowedToken(_tokenAddress)\\n {\\n ERC20PresetMinterPauser duToken = duTokenRegistry[_tokenAddress];\\n uint256 p0 = duToken.totalSupply();\\n uint256 t0 = usersPool[_tokenAddress];\\n // Burn duTokens in a way that it doesn't affect the PoolTokens/LPTokens\\n // average for current period.\\n // t0/p0 = (t0-_amount)/(p0-burnedDUTokens)\\n // burnedDUTokens = _amount*p0/t0\\n uint256 burnedDUTokens = _amount.mul(p0).div(t0);\\n duToken.burnFrom(msg.sender, burnedDUTokens);\\n usersPool[_tokenAddress] = usersPool[_tokenAddress].sub(_amount);\\n ERC20(_tokenAddress).safeTransfer(msg.sender, _amount);\\n }\\n\\n /**\\n *@dev use this function to evaluate the length of the allowed tokens length\\n *@return allowedTokens.length\\n */\\n function getAllowedTokensLength() external view returns (uint256) {\\n return allowedTokens.length;\\n }\\n\\n function getTokenStake(address _staker, uint256 _allowedTokenIndex)\\n external\\n view\\n returns (address tokenAddress, uint256 stake)\\n {\\n address allowedTokenAddress = allowedTokens[_allowedTokenIndex];\\n if (_staker == owner()) {\\n return (allowedTokenAddress, providerPool[allowedTokenAddress]);\\n } else {\\n ERC20PresetMinterPauser dToken = duTokenRegistry[\\n allowedTokenAddress\\n ];\\n uint256 dTokenSupply = dToken.totalSupply();\\n if (dTokenSupply == 0) {\\n return (allowedTokenAddress, 0);\\n }\\n uint256 dTokenBalance = dToken.balanceOf(_staker);\\n return (\\n allowedTokenAddress,\\n usersPool[allowedTokenAddress].mul(dTokenBalance).div(\\n dTokenSupply\\n )\\n );\\n }\\n }\\n\\n /**\\n *@dev checks in the allowedTokens array if there's a token with _tokenAddress value\\n *@param _tokenAddress 1. token address to check exixtence\\n *@return true if _tokenAddress exists in the allowedTokens array\\n */\\n function isAllowedToken(address _tokenAddress) public view returns (bool) {\\n for (uint256 index = 0; index < allowedTokens.length; index++) {\\n if (allowedTokens[index] == _tokenAddress) {\\n return true;\\n }\\n }\\n return false;\\n }\\n}\\n\",\"keccak256\":\"0xed24dfecab3a9fdac7ee97e7949d32c851105dc91445dfc3c67c62e056950a64\"},\"@stacktical/dsla-protocol/contracts/StringUtils.sol\":{\"content\":\"// solhint-disable-line\\npragma solidity 0.6.6;\\n\\nlibrary StringUtils {\\n function addressToString(address _address)\\n external\\n pure\\n returns (string memory)\\n {\\n bytes32 _bytes = bytes32(uint256(_address));\\n bytes memory HEX = '0123456789abcdef';\\n bytes memory _string = new bytes(42);\\n _string[0] = '0';\\n _string[1] = 'x';\\n for (uint256 i = 0; i < 20; i++) {\\n _string[2 + i * 2] = HEX[uint8(_bytes[i + 12] >> 4)];\\n _string[3 + i * 2] = HEX[uint8(_bytes[i + 12] & 0x0f)];\\n }\\n return string(_string);\\n }\\n\\n function bytes32ToStr(bytes32 _bytes32)\\n external\\n pure\\n returns (string memory)\\n {\\n uint8 i = 0;\\n while (i < 32 && _bytes32[i] != 0) {\\n i++;\\n }\\n bytes memory bytesArray = new bytes(i);\\n for (i = 0; i < 32 && _bytes32[i] != 0; i++) {\\n bytesArray[i] = _bytes32[i];\\n }\\n return string(bytesArray);\\n }\\n\\n function bytesToUint(bytes calldata b)\\n external\\n pure\\n returns (uint256 result)\\n {\\n result = 0;\\n for (uint256 i = 0; i < b.length; i++) {\\n if (uint8(b[i]) >= 48 && uint8(b[i]) <= 57) {\\n result = result * 10 + (uint8(b[i]) - 48);\\n }\\n }\\n return result;\\n }\\n\\n /*\\n ORACLIZE_API\\n Copyright (c) 2015-2016 Oraclize SRL\\n Copyright (c) 2016 Oraclize LTD\\n Permission is hereby granted, free of charge, to any person obtaining a copy\\n of this software and associated documentation files (the \\\"Software\\\"), to deal\\n in the Software without restriction, including without limitation the rights\\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\n copies of the Software, and to permit persons to whom the Software is\\n furnished to do so, subject to the following conditions:\\n The above copyright notice and this permission notice shall be included in\\n all copies or substantial portions of the Software.\\n THE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\\n THE SOFTWARE.\\n */\\n function uintToStr(uint256 _i)\\n external\\n pure\\n returns (string memory _uintAsString)\\n {\\n uint256 number = _i;\\n if (number == 0) {\\n return '0';\\n }\\n uint256 j = number;\\n uint256 len;\\n while (j != 0) {\\n len++;\\n j /= 10;\\n }\\n bytes memory bstr = new bytes(len);\\n uint256 k = len - 1;\\n while (number != 0) {\\n bstr[k--] = bytes1(uint8(48 + (number % 10)));\\n number /= 10;\\n }\\n return string(bstr);\\n }\\n}\\n\",\"keccak256\":\"0x4fc0b51621b1daf8722fb102c895c0c74f0c5c0f10d8467e26ac2f4e86f614d2\"},\"@stacktical/dsla-protocol/contracts/messenger/IMessenger.sol\":{\"content\":\"pragma solidity 0.6.6;\\n\\nimport '@openzeppelin/contracts/access/Ownable.sol';\\n\\n/**\\n * @title IMessenger\\n * @dev Interface to create new Messenger contract to add lo Messenger lists\\n */\\n\\nabstract contract IMessenger is Ownable {\\n struct SLIRequest {\\n address slaAddress;\\n uint256 periodId;\\n }\\n\\n /**\\n * @dev event emitted when having a response from Chainlink with the SLI\\n * @param slaAddress 1. SLA address to store the SLI\\n * @param periodId 2. id of the Chainlink request\\n * @param requestId 3. id of the Chainlink request\\n * @param chainlinkResponse 4. response from Chainlink\\n */\\n event SLIReceived(\\n address indexed slaAddress,\\n uint256 periodId,\\n bytes32 indexed requestId,\\n bytes32 chainlinkResponse\\n );\\n\\n /**\\n * @dev sets the SLARegistry contract address and can only be called once\\n */\\n function setSLARegistry() external virtual;\\n\\n /**\\n * @dev creates a ChainLink request to get a new SLI value for the\\n * given params. Can only be called by the SLARegistry contract or Chainlink Oracle.\\n * @param _periodId 1. id of the period to be queried\\n * @param _slaAddress 2. address of the receiver SLA\\n * @param _slaAddress 2. if approval by owner or msg.sender\\n */\\n\\n function requestSLI(\\n uint256 _periodId,\\n address _slaAddress,\\n bool _ownerApproval,\\n address _callerAddress\\n ) external virtual;\\n\\n /**\\n * @dev callback function for the Chainlink SLI request which stores\\n * the SLI in the SLA contract\\n * @param _requestId the ID of the ChainLink request\\n * @param _chainlinkResponseUint256 response object from Chainlink Oracles\\n */\\n function fulfillSLI(bytes32 _requestId, uint256 _chainlinkResponseUint256)\\n external\\n virtual;\\n\\n /**\\n * @dev gets the messenger precision\\n */\\n function messengerPrecision() external view virtual returns (uint256);\\n\\n /**\\n * @dev gets the slaRegistryAddress\\n */\\n function slaRegistryAddress() external view virtual returns (address);\\n\\n /**\\n * @dev gets the chainlink oracle contract address\\n */\\n function oracle() external view virtual returns (address);\\n\\n /**\\n * @dev gets the chainlink job id\\n */\\n function jobId() external view virtual returns (bytes32);\\n\\n /**\\n * @dev gets the fee amount of LINK token\\n */\\n function fee() external view virtual returns (uint256);\\n\\n /**\\n * @dev returns the requestsCounter\\n */\\n function requestsCounter() external view virtual returns (uint256);\\n\\n /**\\n * @dev returns the fulfillsCounter\\n */\\n function fulfillsCounter() external view virtual returns (uint256);\\n\\n function setChainlinkJobID(bytes32 _newJobId, uint256 _feeMultiplier)\\n external\\n virtual;\\n\\n function retryRequest(address _slaAddress, uint256 _periodId)\\n external\\n virtual;\\n}\\n\",\"keccak256\":\"0xf83da5044c8dbf6e108d183c76db071d0b20e2b8d025b16e145fcfa6230a7416\"},\"contracts/messengers/staking-efficiency/SEMessenger.sol\":{\"content\":\"pragma solidity 0.6.6;\\n\\npragma experimental ABIEncoderV2;\\n\\nimport '@chainlink/contracts/src/v0.6/ChainlinkClient.sol';\\n\\nimport '@stacktical/dsla-protocol/contracts/messenger/IMessenger.sol';\\nimport '@stacktical/dsla-protocol/contracts/SLA.sol';\\nimport '@stacktical/dsla-protocol/contracts/PeriodRegistry.sol';\\nimport '@stacktical/dsla-protocol/contracts/StringUtils.sol';\\nimport '@stacktical/dsla-protocol/contracts/StakeRegistry.sol';\\n\\nimport '@openzeppelin/contracts/token/ERC20/ERC20.sol';\\nimport '@openzeppelin/contracts/token/ERC20/SafeERC20.sol';\\n\\n/**\\n * @title SEMessenger\\n * @dev Staking efficiency Messenger\\n */\\n\\ncontract SEMessenger is ChainlinkClient, IMessenger, ReentrancyGuard {\\n using SafeERC20 for ERC20;\\n\\n /// @dev Mapping that stores chainlink sli request information\\n mapping(bytes32 => SLIRequest) public requestIdToSLIRequest;\\n /// @dev Array with all request IDs\\n bytes32[] public requests;\\n /// @dev The address of the SLARegistry contract\\n address private _slaRegistryAddress;\\n /// @dev Chainlink oracle address\\n address private immutable _oracle;\\n /// @dev chainlink jobId\\n bytes32 private _jobId;\\n // @dev fee for Chainlink querys. Currently 0.1 LINK\\n uint256 private constant _baseFee = 0.1 ether;\\n /// @dev fee for Chainlink querys. Currently 0.1 LINK\\n uint256 private _fee;\\n /// @dev to multiply the SLI value and get better precision. Useful to deploy SLO correctly\\n uint256 private constant _messengerPrecision = 10**3;\\n\\n uint256 private _requestsCounter;\\n uint256 private _fulfillsCounter;\\n PeriodRegistry private periodRegistry;\\n StakeRegistry private stakeRegistry;\\n bool private retry = false;\\n\\n /**\\n * @dev parameterize the variables according to network\\n * @notice sets the Chainlink parameters (oracle address, token address, jobId) and sets the SLARegistry to 0x0 address\\n * @param _messengerChainlinkOracle 1. the address of the oracle to create requests to\\n * @param _messengerChainlinkToken 2. the address of LINK token contract\\n * @param _messengerJobId 3. the job id for Staking efficiency job\\n * @param _feeMultiplier 6. states the amount of paid nodes running behind the precoordinator, to set the fee\\n */\\n constructor(\\n address _messengerChainlinkOracle,\\n address _messengerChainlinkToken,\\n bytes32 _messengerJobId,\\n uint256 _feeMultiplier,\\n PeriodRegistry _periodRegistry,\\n StakeRegistry _stakeRegistry\\n ) public {\\n _jobId = _messengerJobId;\\n setChainlinkToken(_messengerChainlinkToken);\\n _oracle = _messengerChainlinkOracle;\\n _fee = _feeMultiplier * _baseFee;\\n periodRegistry = _periodRegistry;\\n stakeRegistry = _stakeRegistry;\\n }\\n\\n /**\\n * @dev event emitted when modifying the jobId\\n * @param owner 1. -\\n * @param jobId 2. -\\n * @param fee 3. -\\n */\\n event JobIdModified(address indexed owner, bytes32 jobId, uint256 fee);\\n\\n /**\\n * @dev event emitted when modifying the jobId\\n * @param caller 1. -\\n * @param requestsCounter 2. -\\n * @param requestId 3. -\\n */\\n event SLIRequested(\\n address indexed caller,\\n uint256 requestsCounter,\\n bytes32 requestId\\n );\\n\\n /// @dev Throws if called by any address other than the SLARegistry contract or Chainlink Oracle.\\n modifier onlySLARegistry() {\\n if (!retry) {\\n require(\\n msg.sender == _slaRegistryAddress,\\n 'Can only be called by SLARegistry'\\n );\\n }\\n _;\\n }\\n\\n modifier retryLock() {\\n retry = true;\\n _;\\n retry = false;\\n }\\n\\n /**\\n * @dev sets the SLARegistry contract address and can only be called\\n * once\\n */\\n function setSLARegistry() public override {\\n // Only able to trigger this function once\\n require(\\n _slaRegistryAddress == address(0),\\n 'SLARegistry address has already been set'\\n );\\n\\n _slaRegistryAddress = msg.sender;\\n }\\n\\n /**\\n * @dev creates a ChainLink request to get a new SLI value for the\\n * given params. Can only be called by the SLARegistry contract or Chainlink Oracle.\\n * @param _periodId 1. value of the period id\\n * @param _slaAddress 2. SLA Address\\n * @param _messengerOwnerApproval 3. if approval by owner or msg sender\\n */\\n function requestSLI(\\n uint256 _periodId,\\n address _slaAddress,\\n bool _messengerOwnerApproval,\\n address _callerAddress\\n ) public override onlySLARegistry nonReentrant {\\n SLA sla = SLA(_slaAddress);\\n if (_messengerOwnerApproval) {\\n ERC20(chainlinkTokenAddress()).safeTransferFrom(\\n owner(),\\n address(this),\\n _fee\\n );\\n } else {\\n ERC20(chainlinkTokenAddress()).safeTransferFrom(\\n _callerAddress,\\n address(this),\\n _fee\\n );\\n }\\n Chainlink.Request memory request =\\n buildChainlinkRequest(\\n _jobId,\\n address(this),\\n this.fulfillSLI.selector\\n );\\n (uint256 sla_monitoring_start, uint256 sla_monitoring_end) =\\n periodRegistry.getPeriodStartAndEnd(sla.periodType(), _periodId);\\n request.add('job_type', 'staking_efficiency');\\n request.add(\\n 'sla_monitoring_start',\\n StringUtils.uintToStr(sla_monitoring_start)\\n );\\n request.add(\\n 'sla_monitoring_end',\\n StringUtils.uintToStr(sla_monitoring_end)\\n );\\n request.add('sla_address', StringUtils.addressToString(_slaAddress));\\n\\n // Sends the request with 0.1 LINK to the oracle contract\\n bytes32 requestId = sendChainlinkRequestTo(_oracle, request, _fee);\\n\\n requests.push(requestId);\\n\\n requestIdToSLIRequest[requestId] = SLIRequest({\\n slaAddress: _slaAddress,\\n periodId: _periodId\\n });\\n\\n _requestsCounter += 1;\\n emit SLIRequested(_callerAddress, _requestsCounter, requestId);\\n }\\n\\n /**\\n * @dev callback function for the Chainlink SLI request which stores\\n * the SLI in the SLA contract\\n * @param _requestId the ID of the ChainLink request\\n * @param _chainlinkResponseUint256 response object from Chainlink Oracles\\n */\\n function fulfillSLI(bytes32 _requestId, uint256 _chainlinkResponseUint256)\\n external\\n override\\n nonReentrant\\n recordChainlinkFulfillment(_requestId)\\n {\\n bytes32 _chainlinkResponse = bytes32(_chainlinkResponseUint256);\\n SLIRequest memory request = requestIdToSLIRequest[_requestId];\\n emit SLIReceived(\\n request.slaAddress,\\n request.periodId,\\n _requestId,\\n _chainlinkResponse\\n );\\n (uint256 hits, uint256 misses) = parseSLIData(_chainlinkResponse);\\n uint256 total = hits.add(misses);\\n uint256 stakingEfficiency =\\n hits.mul(100 * _messengerPrecision).div(total);\\n SLA(request.slaAddress).registerSLI(\\n stakingEfficiency,\\n request.periodId\\n );\\n\\n _fulfillsCounter += 1;\\n }\\n\\n /**\\n * @dev recieves a string of \\\"hits,misses\\\" data and returns hits and misses as uint256\\n * @param sliData the ID of the ChainLink request\\n */\\n function parseSLIData(bytes32 sliData)\\n public\\n pure\\n returns (uint256, uint256)\\n {\\n bytes memory bytesSLIData = bytes(StringUtils.bytes32ToStr(sliData));\\n uint256 sliDataLength = bytesSLIData.length;\\n bytes memory bytesHits = new bytes(sliDataLength);\\n bytes memory bytesMisses = new bytes(sliDataLength);\\n for (uint256 index; index < sliDataLength; index++) {\\n if (bytesSLIData[index] == bytes1(',')) {\\n for (uint256 index2 = 0; index2 < index; index2++) {\\n bytesHits[index2] = bytesSLIData[index2];\\n }\\n for (\\n uint256 index3 = 0;\\n index3 < sliDataLength - index - 1;\\n index3++\\n ) {\\n bytesMisses[index3] = bytesSLIData[index + 1 + index3];\\n }\\n }\\n }\\n uint256 hits = StringUtils.bytesToUint(bytesHits);\\n uint256 misses = StringUtils.bytesToUint(bytesMisses);\\n return (hits, misses);\\n }\\n\\n function retryRequest(address _slaAddress, uint256 _periodId)\\n external\\n override\\n retryLock\\n {\\n require(\\n stakeRegistry.periodIsVerified(_slaAddress, _periodId),\\n 'StakeRegistry: not verified'\\n );\\n SLA sla = SLA(_slaAddress);\\n (, , SLA.Status status) = sla.periodSLIs(_periodId);\\n require(status == SLA.Status.NotVerified, 'SLA: verified');\\n requestSLI(_periodId, _slaAddress, false, msg.sender);\\n }\\n\\n /**\\n * @dev sets a new jobId, which is a agreement Id of a PreCoordinator contract\\n * @param _newJobId the id of the PreCoordinator agreement\\n * @param _feeMultiplier how many Chainlink nodes would be paid on the agreement id, to set the fee value\\n */\\n function setChainlinkJobID(bytes32 _newJobId, uint256 _feeMultiplier)\\n external\\n override\\n onlyOwner\\n {\\n _jobId = _newJobId;\\n _fee = _feeMultiplier * _baseFee;\\n emit JobIdModified(msg.sender, _newJobId, _fee);\\n }\\n\\n /**\\n * @dev returns the value of the sla registry address\\n */\\n function slaRegistryAddress() external view override returns (address) {\\n return _slaRegistryAddress;\\n }\\n\\n /**\\n * @dev returns the value of the messenger precision\\n */\\n function messengerPrecision() external view override returns (uint256) {\\n return _messengerPrecision;\\n }\\n\\n /**\\n * @dev returns the chainlink oracle contract address\\n */\\n function oracle() external view override returns (address) {\\n return _oracle;\\n }\\n\\n /**\\n * @dev returns the chainlink job id\\n */\\n function jobId() external view override returns (bytes32) {\\n return _jobId;\\n }\\n\\n /**\\n * @dev returns the chainlink fee value on LINK tokens\\n */\\n function fee() external view override returns (uint256) {\\n return _fee;\\n }\\n\\n /**\\n * @dev returns the requestsCounter\\n */\\n function requestsCounter() external view override returns (uint256) {\\n return _requestsCounter;\\n }\\n\\n /**\\n * @dev returns the fulfillsCounter\\n */\\n function fulfillsCounter() external view override returns (uint256) {\\n return _fulfillsCounter;\\n }\\n}\\n\",\"keccak256\":\"0x52938761e63622b0aa682586de40a307f8b5566187129658b50b118e33d0ef90\"}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.6.6+commit.6c089d02\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_messengerChainlinkOracle\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_messengerChainlinkToken\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_messengerJobId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_feeMultiplier\",\"type\":\"uint256\"},{\"internalType\":\"contract PeriodRegistry\",\"name\":\"_periodRegistry\",\"type\":\"address\"},{\"internalType\":\"contract StakeRegistry\",\"name\":\"_stakeRegistry\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"ChainlinkCancelled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"ChainlinkFulfilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"ChainlinkRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"jobId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"JobIdModified\",\"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\":\"slaAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"periodId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"requestId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"chainlinkResponse\",\"type\":\"bytes32\"}],\"name\":\"SLIReceived\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"requestsCounter\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestId\",\"type\":\"bytes32\"}],\"name\":\"SLIRequested\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_chainlinkResponse\",\"type\":\"uint256\"}],\"name\":\"fulfillSLI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fulfillsCounter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"jobId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"messengerPrecision\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"oracle\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"requestIdToSLIRequest\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"slaAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"periodId\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_periodId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_slaAddress\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_messengerOwnerApproval\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"_callerAddress\",\"type\":\"address\"}],\"name\":\"requestSLI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"requests\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestsCounter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_slaAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_periodId\",\"type\":\"uint256\"}],\"name\":\"retryRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_newJobId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_feeMultiplier\",\"type\":\"uint256\"}],\"name\":\"setChainlinkJobID\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setSLARegistry\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"slaRegistryAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Staking efficiency Messenger\",\"methods\":{\"constructor\":{\"details\":\"parameterize the variables according to network\",\"params\":{\"_feeMultiplier\":\"6. states the amount of paid nodes running behind the precoordinator, to set the fee\",\"_messengerChainlinkOracle\":\"1. the address of the oracle to create requests to\",\"_messengerChainlinkToken\":\"2. the address of LINK token contract\",\"_messengerJobId\":\"3. the job id for Staking efficiency job\"}},\"fee()\":{\"details\":\"returns the chainlink fee value on LINK tokens\"},\"fulfillSLI(bytes32,uint256)\":{\"details\":\"callback function for the Chainlink SLI request which stores the SLI in the SLA contract\",\"params\":{\"_chainlinkResponse\":\"response object from Chainlink Oracles\",\"_requestId\":\"the ID of the ChainLink request\"}},\"fulfillsCounter()\":{\"details\":\"returns the fulfillsCounter\"},\"jobId()\":{\"details\":\"returns the chainlink job id\"},\"messengerPrecision()\":{\"details\":\"returns the value of the messenger precision\"},\"oracle()\":{\"details\":\"returns the chainlink oracle contract address\"},\"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.\"},\"requestSLI(uint256,address,bool,address)\":{\"details\":\"creates a ChainLink request to get a new SLI value for the given params. Can only be called by the SLARegistry contract or Chainlink Oracle.\",\"params\":{\"_messengerOwnerApproval\":\"3. if approval by owner or msg sender\",\"_periodId\":\"1. value of the period id\",\"_slaAddress\":\"2. SLA Address\"}},\"requestsCounter()\":{\"details\":\"returns the requestsCounter\"},\"setChainlinkJobID(bytes32,uint256)\":{\"details\":\"sets a new jobId, which is a agreement Id of a PreCoordinator contract\",\"params\":{\"_feeMultiplier\":\"how many Chainlink nodes would be paid on the agreement id, to set the fee value\",\"_newJobId\":\"the id of the PreCoordinator agreement\"}},\"setSLARegistry()\":{\"details\":\"sets the SLARegistry contract address and can only be called once\"},\"slaRegistryAddress()\":{\"details\":\"returns the value of the sla registry address\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"title\":\"SEMessenger\"},\"userdoc\":{\"methods\":{\"constructor\":\"sets the Chainlink parameters (oracle address, token address, jobId) and sets the SLARegistry to 0x0 address\"}}},\"settings\":{\"compilationTarget\":{\"contracts/messengers/staking-efficiency/SEMessenger.sol\":\"SEMessenger\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@chainlink/contracts/src/v0.6/Chainlink.sol\":{\"content\":\"pragma solidity ^0.6.0;\\n\\nimport { CBORChainlink } from \\\"./vendor/CBORChainlink.sol\\\";\\nimport { BufferChainlink } from \\\"./vendor/BufferChainlink.sol\\\";\\n\\n/**\\n * @title Library for common Chainlink functions\\n * @dev Uses imported CBOR library for encoding to buffer\\n */\\nlibrary Chainlink {\\n uint256 internal constant defaultBufferSize = 256; // solhint-disable-line const-name-snakecase\\n\\n using CBORChainlink for BufferChainlink.buffer;\\n\\n struct Request {\\n bytes32 id;\\n address callbackAddress;\\n bytes4 callbackFunctionId;\\n uint256 nonce;\\n BufferChainlink.buffer buf;\\n }\\n\\n /**\\n * @notice Initializes a Chainlink request\\n * @dev Sets the ID, callback address, and callback function signature on the request\\n * @param self The uninitialized request\\n * @param _id The Job Specification ID\\n * @param _callbackAddress The callback address\\n * @param _callbackFunction The callback function signature\\n * @return The initialized request\\n */\\n function initialize(\\n Request memory self,\\n bytes32 _id,\\n address _callbackAddress,\\n bytes4 _callbackFunction\\n ) internal pure returns (Chainlink.Request memory) {\\n BufferChainlink.init(self.buf, defaultBufferSize);\\n self.id = _id;\\n self.callbackAddress = _callbackAddress;\\n self.callbackFunctionId = _callbackFunction;\\n return self;\\n }\\n\\n /**\\n * @notice Sets the data for the buffer without encoding CBOR on-chain\\n * @dev CBOR can be closed with curly-brackets {} or they can be left off\\n * @param self The initialized request\\n * @param _data The CBOR data\\n */\\n function setBuffer(Request memory self, bytes memory _data)\\n internal pure\\n {\\n BufferChainlink.init(self.buf, _data.length);\\n BufferChainlink.append(self.buf, _data);\\n }\\n\\n /**\\n * @notice Adds a string value to the request with a given key name\\n * @param self The initialized request\\n * @param _key The name of the key\\n * @param _value The string value to add\\n */\\n function add(Request memory self, string memory _key, string memory _value)\\n internal pure\\n {\\n self.buf.encodeString(_key);\\n self.buf.encodeString(_value);\\n }\\n\\n /**\\n * @notice Adds a bytes value to the request with a given key name\\n * @param self The initialized request\\n * @param _key The name of the key\\n * @param _value The bytes value to add\\n */\\n function addBytes(Request memory self, string memory _key, bytes memory _value)\\n internal pure\\n {\\n self.buf.encodeString(_key);\\n self.buf.encodeBytes(_value);\\n }\\n\\n /**\\n * @notice Adds a int256 value to the request with a given key name\\n * @param self The initialized request\\n * @param _key The name of the key\\n * @param _value The int256 value to add\\n */\\n function addInt(Request memory self, string memory _key, int256 _value)\\n internal pure\\n {\\n self.buf.encodeString(_key);\\n self.buf.encodeInt(_value);\\n }\\n\\n /**\\n * @notice Adds a uint256 value to the request with a given key name\\n * @param self The initialized request\\n * @param _key The name of the key\\n * @param _value The uint256 value to add\\n */\\n function addUint(Request memory self, string memory _key, uint256 _value)\\n internal pure\\n {\\n self.buf.encodeString(_key);\\n self.buf.encodeUInt(_value);\\n }\\n\\n /**\\n * @notice Adds an array of strings to the request with a given key name\\n * @param self The initialized request\\n * @param _key The name of the key\\n * @param _values The array of string values to add\\n */\\n function addStringArray(Request memory self, string memory _key, string[] memory _values)\\n internal pure\\n {\\n self.buf.encodeString(_key);\\n self.buf.startArray();\\n for (uint256 i = 0; i < _values.length; i++) {\\n self.buf.encodeString(_values[i]);\\n }\\n self.buf.endSequence();\\n }\\n}\\n\",\"keccak256\":\"0x7048bfd6e6fe4e60ea4af01ed44fc0494cec75df75c6b542a6f08ed34c66d39e\"},\"@chainlink/contracts/src/v0.6/ChainlinkClient.sol\":{\"content\":\"pragma solidity ^0.6.0;\\n\\nimport \\\"./Chainlink.sol\\\";\\nimport \\\"./interfaces/ENSInterface.sol\\\";\\nimport \\\"./interfaces/LinkTokenInterface.sol\\\";\\nimport \\\"./interfaces/ChainlinkRequestInterface.sol\\\";\\nimport \\\"./interfaces/PointerInterface.sol\\\";\\nimport { ENSResolver as ENSResolver_Chainlink } from \\\"./vendor/ENSResolver.sol\\\";\\nimport \\\"./vendor/SafeMathChainlink.sol\\\";\\n\\n/**\\n * @title The ChainlinkClient contract\\n * @notice Contract writers can inherit this contract in order to create requests for the\\n * Chainlink network\\n */\\ncontract ChainlinkClient {\\n using Chainlink for Chainlink.Request;\\n using SafeMathChainlink for uint256;\\n\\n uint256 constant internal LINK = 10**18;\\n uint256 constant private AMOUNT_OVERRIDE = 0;\\n address constant private SENDER_OVERRIDE = address(0);\\n uint256 constant private ARGS_VERSION = 1;\\n bytes32 constant private ENS_TOKEN_SUBNAME = keccak256(\\\"link\\\");\\n bytes32 constant private ENS_ORACLE_SUBNAME = keccak256(\\\"oracle\\\");\\n address constant private LINK_TOKEN_POINTER = 0xC89bD4E1632D3A43CB03AAAd5262cbe4038Bc571;\\n\\n ENSInterface private ens;\\n bytes32 private ensNode;\\n LinkTokenInterface private link;\\n ChainlinkRequestInterface private oracle;\\n uint256 private requestCount = 1;\\n mapping(bytes32 => address) private pendingRequests;\\n\\n event ChainlinkRequested(bytes32 indexed id);\\n event ChainlinkFulfilled(bytes32 indexed id);\\n event ChainlinkCancelled(bytes32 indexed id);\\n\\n /**\\n * @notice Creates a request that can hold additional parameters\\n * @param _specId The Job Specification ID that the request will be created for\\n * @param _callbackAddress The callback address that the response will be sent to\\n * @param _callbackFunctionSignature The callback function signature to use for the callback address\\n * @return A Chainlink Request struct in memory\\n */\\n function buildChainlinkRequest(\\n bytes32 _specId,\\n address _callbackAddress,\\n bytes4 _callbackFunctionSignature\\n ) internal pure returns (Chainlink.Request memory) {\\n Chainlink.Request memory req;\\n return req.initialize(_specId, _callbackAddress, _callbackFunctionSignature);\\n }\\n\\n /**\\n * @notice Creates a Chainlink request to the stored oracle address\\n * @dev Calls `chainlinkRequestTo` with the stored oracle address\\n * @param _req The initialized Chainlink Request\\n * @param _payment The amount of LINK to send for the request\\n * @return requestId The request ID\\n */\\n function sendChainlinkRequest(Chainlink.Request memory _req, uint256 _payment)\\n internal\\n returns (bytes32)\\n {\\n return sendChainlinkRequestTo(address(oracle), _req, _payment);\\n }\\n\\n /**\\n * @notice Creates a Chainlink request to the specified oracle address\\n * @dev Generates and stores a request ID, increments the local nonce, and uses `transferAndCall` to\\n * send LINK which creates a request on the target oracle contract.\\n * Emits ChainlinkRequested event.\\n * @param _oracle The address of the oracle for the request\\n * @param _req The initialized Chainlink Request\\n * @param _payment The amount of LINK to send for the request\\n * @return requestId The request ID\\n */\\n function sendChainlinkRequestTo(address _oracle, Chainlink.Request memory _req, uint256 _payment)\\n internal\\n returns (bytes32 requestId)\\n {\\n requestId = keccak256(abi.encodePacked(this, requestCount));\\n _req.nonce = requestCount;\\n pendingRequests[requestId] = _oracle;\\n emit ChainlinkRequested(requestId);\\n require(link.transferAndCall(_oracle, _payment, encodeRequest(_req)), \\\"unable to transferAndCall to oracle\\\");\\n requestCount += 1;\\n\\n return requestId;\\n }\\n\\n /**\\n * @notice Allows a request to be cancelled if it has not been fulfilled\\n * @dev Requires keeping track of the expiration value emitted from the oracle contract.\\n * Deletes the request from the `pendingRequests` mapping.\\n * Emits ChainlinkCancelled event.\\n * @param _requestId The request ID\\n * @param _payment The amount of LINK sent for the request\\n * @param _callbackFunc The callback function specified for the request\\n * @param _expiration The time of the expiration for the request\\n */\\n function cancelChainlinkRequest(\\n bytes32 _requestId,\\n uint256 _payment,\\n bytes4 _callbackFunc,\\n uint256 _expiration\\n )\\n internal\\n {\\n ChainlinkRequestInterface requested = ChainlinkRequestInterface(pendingRequests[_requestId]);\\n delete pendingRequests[_requestId];\\n emit ChainlinkCancelled(_requestId);\\n requested.cancelOracleRequest(_requestId, _payment, _callbackFunc, _expiration);\\n }\\n\\n /**\\n * @notice Sets the stored oracle address\\n * @param _oracle The address of the oracle contract\\n */\\n function setChainlinkOracle(address _oracle) internal {\\n oracle = ChainlinkRequestInterface(_oracle);\\n }\\n\\n /**\\n * @notice Sets the LINK token address\\n * @param _link The address of the LINK token contract\\n */\\n function setChainlinkToken(address _link) internal {\\n link = LinkTokenInterface(_link);\\n }\\n\\n /**\\n * @notice Sets the Chainlink token address for the public\\n * network as given by the Pointer contract\\n */\\n function setPublicChainlinkToken() internal {\\n setChainlinkToken(PointerInterface(LINK_TOKEN_POINTER).getAddress());\\n }\\n\\n /**\\n * @notice Retrieves the stored address of the LINK token\\n * @return The address of the LINK token\\n */\\n function chainlinkTokenAddress()\\n internal\\n view\\n returns (address)\\n {\\n return address(link);\\n }\\n\\n /**\\n * @notice Retrieves the stored address of the oracle contract\\n * @return The address of the oracle contract\\n */\\n function chainlinkOracleAddress()\\n internal\\n view\\n returns (address)\\n {\\n return address(oracle);\\n }\\n\\n /**\\n * @notice Allows for a request which was created on another contract to be fulfilled\\n * on this contract\\n * @param _oracle The address of the oracle contract that will fulfill the request\\n * @param _requestId The request ID used for the response\\n */\\n function addChainlinkExternalRequest(address _oracle, bytes32 _requestId)\\n internal\\n notPendingRequest(_requestId)\\n {\\n pendingRequests[_requestId] = _oracle;\\n }\\n\\n /**\\n * @notice Sets the stored oracle and LINK token contracts with the addresses resolved by ENS\\n * @dev Accounts for subnodes having different resolvers\\n * @param _ens The address of the ENS contract\\n * @param _node The ENS node hash\\n */\\n function useChainlinkWithENS(address _ens, bytes32 _node)\\n internal\\n {\\n ens = ENSInterface(_ens);\\n ensNode = _node;\\n bytes32 linkSubnode = keccak256(abi.encodePacked(ensNode, ENS_TOKEN_SUBNAME));\\n ENSResolver_Chainlink resolver = ENSResolver_Chainlink(ens.resolver(linkSubnode));\\n setChainlinkToken(resolver.addr(linkSubnode));\\n updateChainlinkOracleWithENS();\\n }\\n\\n /**\\n * @notice Sets the stored oracle contract with the address resolved by ENS\\n * @dev This may be called on its own as long as `useChainlinkWithENS` has been called previously\\n */\\n function updateChainlinkOracleWithENS()\\n internal\\n {\\n bytes32 oracleSubnode = keccak256(abi.encodePacked(ensNode, ENS_ORACLE_SUBNAME));\\n ENSResolver_Chainlink resolver = ENSResolver_Chainlink(ens.resolver(oracleSubnode));\\n setChainlinkOracle(resolver.addr(oracleSubnode));\\n }\\n\\n /**\\n * @notice Encodes the request to be sent to the oracle contract\\n * @dev The Chainlink node expects values to be in order for the request to be picked up. Order of types\\n * will be validated in the oracle contract.\\n * @param _req The initialized Chainlink Request\\n * @return The bytes payload for the `transferAndCall` method\\n */\\n function encodeRequest(Chainlink.Request memory _req)\\n private\\n view\\n returns (bytes memory)\\n {\\n return abi.encodeWithSelector(\\n oracle.oracleRequest.selector,\\n SENDER_OVERRIDE, // Sender value - overridden by onTokenTransfer by the requesting contract's address\\n AMOUNT_OVERRIDE, // Amount value - overridden by onTokenTransfer by the actual amount of LINK sent\\n _req.id,\\n _req.callbackAddress,\\n _req.callbackFunctionId,\\n _req.nonce,\\n ARGS_VERSION,\\n _req.buf.buf);\\n }\\n\\n /**\\n * @notice Ensures that the fulfillment is valid for this contract\\n * @dev Use if the contract developer prefers methods instead of modifiers for validation\\n * @param _requestId The request ID for fulfillment\\n */\\n function validateChainlinkCallback(bytes32 _requestId)\\n internal\\n recordChainlinkFulfillment(_requestId)\\n // solhint-disable-next-line no-empty-blocks\\n {}\\n\\n /**\\n * @dev Reverts if the sender is not the oracle of the request.\\n * Emits ChainlinkFulfilled event.\\n * @param _requestId The request ID for fulfillment\\n */\\n modifier recordChainlinkFulfillment(bytes32 _requestId) {\\n require(msg.sender == pendingRequests[_requestId],\\n \\\"Source must be the oracle of the request\\\");\\n delete pendingRequests[_requestId];\\n emit ChainlinkFulfilled(_requestId);\\n _;\\n }\\n\\n /**\\n * @dev Reverts if the request is already pending\\n * @param _requestId The request ID for fulfillment\\n */\\n modifier notPendingRequest(bytes32 _requestId) {\\n require(pendingRequests[_requestId] == address(0), \\\"Request is already pending\\\");\\n _;\\n }\\n}\\n\",\"keccak256\":\"0xd06166f7798c4c8cbd0e2dc642450c9bca39157c688ae95dbe079f666cc44dfa\"},\"@chainlink/contracts/src/v0.6/interfaces/ChainlinkRequestInterface.sol\":{\"content\":\"pragma solidity ^0.6.0;\\n\\ninterface ChainlinkRequestInterface {\\n function oracleRequest(\\n address sender,\\n uint256 requestPrice,\\n bytes32 serviceAgreementID,\\n address callbackAddress,\\n bytes4 callbackFunctionId,\\n uint256 nonce,\\n uint256 dataVersion, // Currently unused, always \\\"1\\\"\\n bytes calldata data\\n ) external;\\n\\n function cancelOracleRequest(\\n bytes32 requestId,\\n uint256 payment,\\n bytes4 callbackFunctionId,\\n uint256 expiration\\n ) external;\\n}\\n\",\"keccak256\":\"0x4b41b021bf58c429891ff291637de29be54741565105de82238dac9f6ecee374\"},\"@chainlink/contracts/src/v0.6/interfaces/ENSInterface.sol\":{\"content\":\"pragma solidity ^0.6.0;\\n\\ninterface ENSInterface {\\n\\n // Logged when the owner of a node assigns a new owner to a subnode.\\n event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner);\\n\\n // Logged when the owner of a node transfers ownership to a new account.\\n event Transfer(bytes32 indexed node, address owner);\\n\\n // Logged when the resolver for a node changes.\\n event NewResolver(bytes32 indexed node, address resolver);\\n\\n // Logged when the TTL of a node changes\\n event NewTTL(bytes32 indexed node, uint64 ttl);\\n\\n\\n function setSubnodeOwner(bytes32 node, bytes32 label, address _owner) external;\\n function setResolver(bytes32 node, address _resolver) external;\\n function setOwner(bytes32 node, address _owner) external;\\n function setTTL(bytes32 node, uint64 _ttl) external;\\n function owner(bytes32 node) external view returns (address);\\n function resolver(bytes32 node) external view returns (address);\\n function ttl(bytes32 node) external view returns (uint64);\\n\\n}\\n\",\"keccak256\":\"0xf4998e886147b298eda28b4eacbdc90c58ba63ba475469651f2072e188dd5a64\"},\"@chainlink/contracts/src/v0.6/interfaces/LinkTokenInterface.sol\":{\"content\":\"pragma solidity ^0.6.0;\\n\\ninterface LinkTokenInterface {\\n function allowance(address owner, address spender) external view returns (uint256 remaining);\\n function approve(address spender, uint256 value) external returns (bool success);\\n function balanceOf(address owner) external view returns (uint256 balance);\\n function decimals() external view returns (uint8 decimalPlaces);\\n function decreaseApproval(address spender, uint256 addedValue) external returns (bool success);\\n function increaseApproval(address spender, uint256 subtractedValue) external;\\n function name() external view returns (string memory tokenName);\\n function symbol() external view returns (string memory tokenSymbol);\\n function totalSupply() external view returns (uint256 totalTokensIssued);\\n function transfer(address to, uint256 value) external returns (bool success);\\n function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool success);\\n function transferFrom(address from, address to, uint256 value) external returns (bool success);\\n}\\n\",\"keccak256\":\"0xdbf46b45a4c9f38ba71a0391aed0e7b108854b619f292d907ae537228868bda6\"},\"@chainlink/contracts/src/v0.6/interfaces/PointerInterface.sol\":{\"content\":\"pragma solidity ^0.6.0;\\n\\ninterface PointerInterface {\\n function getAddress() external view returns (address);\\n}\\n\",\"keccak256\":\"0x6458d82762d4f13c020a13efdbd9bf14500e147df707184a693aea91449c2f4f\"},\"@chainlink/contracts/src/v0.6/vendor/BufferChainlink.sol\":{\"content\":\"pragma solidity ^0.6.0;\\n\\n/**\\n* @dev A library for working with mutable byte buffers in Solidity.\\n*\\n* Byte buffers are mutable and expandable, and provide a variety of primitives\\n* for writing to them. At any time you can fetch a bytes object containing the\\n* current contents of the buffer. The bytes object should not be stored between\\n* operations, as it may change due to resizing of the buffer.\\n*/\\nlibrary BufferChainlink {\\n /**\\n * @dev Represents a mutable buffer. Buffers have a current value (buf) and\\n * a capacity. The capacity may be longer than the current value, in\\n * which case it can be extended without the need to allocate more memory.\\n */\\n struct buffer {\\n bytes buf;\\n uint capacity;\\n }\\n\\n /**\\n * @dev Initializes a buffer with an initial capacity.\\n * @param buf The buffer to initialize.\\n * @param capacity The number of bytes of space to allocate the buffer.\\n * @return The buffer, for chaining.\\n */\\n function init(buffer memory buf, uint capacity) internal pure returns(buffer memory) {\\n if (capacity % 32 != 0) {\\n capacity += 32 - (capacity % 32);\\n }\\n // Allocate space for the buffer data\\n buf.capacity = capacity;\\n assembly {\\n let ptr := mload(0x40)\\n mstore(buf, ptr)\\n mstore(ptr, 0)\\n mstore(0x40, add(32, add(ptr, capacity)))\\n }\\n return buf;\\n }\\n\\n /**\\n * @dev Initializes a new buffer from an existing bytes object.\\n * Changes to the buffer may mutate the original value.\\n * @param b The bytes object to initialize the buffer with.\\n * @return A new buffer.\\n */\\n function fromBytes(bytes memory b) internal pure returns(buffer memory) {\\n buffer memory buf;\\n buf.buf = b;\\n buf.capacity = b.length;\\n return buf;\\n }\\n\\n function resize(buffer memory buf, uint capacity) private pure {\\n bytes memory oldbuf = buf.buf;\\n init(buf, capacity);\\n append(buf, oldbuf);\\n }\\n\\n function max(uint a, uint b) private pure returns(uint) {\\n if (a > b) {\\n return a;\\n }\\n return b;\\n }\\n\\n /**\\n * @dev Sets buffer length to 0.\\n * @param buf The buffer to truncate.\\n * @return The original buffer, for chaining..\\n */\\n function truncate(buffer memory buf) internal pure returns (buffer memory) {\\n assembly {\\n let bufptr := mload(buf)\\n mstore(bufptr, 0)\\n }\\n return buf;\\n }\\n\\n /**\\n * @dev Writes a byte string to a buffer. Resizes if doing so would exceed\\n * the capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param off The start offset to write to.\\n * @param data The data to append.\\n * @param len The number of bytes to copy.\\n * @return The original buffer, for chaining.\\n */\\n function write(buffer memory buf, uint off, bytes memory data, uint len) internal pure returns(buffer memory) {\\n require(len <= data.length);\\n\\n if (off + len > buf.capacity) {\\n resize(buf, max(buf.capacity, len + off) * 2);\\n }\\n\\n uint dest;\\n uint src;\\n assembly {\\n // Memory address of the buffer data\\n let bufptr := mload(buf)\\n // Length of existing buffer data\\n let buflen := mload(bufptr)\\n // Start address = buffer address + offset + sizeof(buffer length)\\n dest := add(add(bufptr, 32), off)\\n // Update buffer length if we're extending it\\n if gt(add(len, off), buflen) {\\n mstore(bufptr, add(len, off))\\n }\\n src := add(data, 32)\\n }\\n\\n // Copy word-length chunks while possible\\n for (; len >= 32; len -= 32) {\\n assembly {\\n mstore(dest, mload(src))\\n }\\n dest += 32;\\n src += 32;\\n }\\n\\n // Copy remaining bytes\\n uint mask = 256 ** (32 - len) - 1;\\n assembly {\\n let srcpart := and(mload(src), not(mask))\\n let destpart := and(mload(dest), mask)\\n mstore(dest, or(destpart, srcpart))\\n }\\n\\n return buf;\\n }\\n\\n /**\\n * @dev Appends a byte string to a buffer. Resizes if doing so would exceed\\n * the capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param data The data to append.\\n * @param len The number of bytes to copy.\\n * @return The original buffer, for chaining.\\n */\\n function append(buffer memory buf, bytes memory data, uint len) internal pure returns (buffer memory) {\\n return write(buf, buf.buf.length, data, len);\\n }\\n\\n /**\\n * @dev Appends a byte string to a buffer. Resizes if doing so would exceed\\n * the capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param data The data to append.\\n * @return The original buffer, for chaining.\\n */\\n function append(buffer memory buf, bytes memory data) internal pure returns (buffer memory) {\\n return write(buf, buf.buf.length, data, data.length);\\n }\\n\\n /**\\n * @dev Writes a byte to the buffer. Resizes if doing so would exceed the\\n * capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param off The offset to write the byte at.\\n * @param data The data to append.\\n * @return The original buffer, for chaining.\\n */\\n function writeUint8(buffer memory buf, uint off, uint8 data) internal pure returns(buffer memory) {\\n if (off >= buf.capacity) {\\n resize(buf, buf.capacity * 2);\\n }\\n\\n assembly {\\n // Memory address of the buffer data\\n let bufptr := mload(buf)\\n // Length of existing buffer data\\n let buflen := mload(bufptr)\\n // Address = buffer address + sizeof(buffer length) + off\\n let dest := add(add(bufptr, off), 32)\\n mstore8(dest, data)\\n // Update buffer length if we extended it\\n if eq(off, buflen) {\\n mstore(bufptr, add(buflen, 1))\\n }\\n }\\n return buf;\\n }\\n\\n /**\\n * @dev Appends a byte to the buffer. Resizes if doing so would exceed the\\n * capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param data The data to append.\\n * @return The original buffer, for chaining.\\n */\\n function appendUint8(buffer memory buf, uint8 data) internal pure returns(buffer memory) {\\n return writeUint8(buf, buf.buf.length, data);\\n }\\n\\n /**\\n * @dev Writes up to 32 bytes to the buffer. Resizes if doing so would\\n * exceed the capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param off The offset to write at.\\n * @param data The data to append.\\n * @param len The number of bytes to write (left-aligned).\\n * @return The original buffer, for chaining.\\n */\\n function write(buffer memory buf, uint off, bytes32 data, uint len) private pure returns(buffer memory) {\\n if (len + off > buf.capacity) {\\n resize(buf, (len + off) * 2);\\n }\\n\\n uint mask = 256 ** len - 1;\\n // Right-align data\\n data = data >> (8 * (32 - len));\\n assembly {\\n // Memory address of the buffer data\\n let bufptr := mload(buf)\\n // Address = buffer address + sizeof(buffer length) + off + len\\n let dest := add(add(bufptr, off), len)\\n mstore(dest, or(and(mload(dest), not(mask)), data))\\n // Update buffer length if we extended it\\n if gt(add(off, len), mload(bufptr)) {\\n mstore(bufptr, add(off, len))\\n }\\n }\\n return buf;\\n }\\n\\n /**\\n * @dev Writes a bytes20 to the buffer. Resizes if doing so would exceed the\\n * capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param off The offset to write at.\\n * @param data The data to append.\\n * @return The original buffer, for chaining.\\n */\\n function writeBytes20(buffer memory buf, uint off, bytes20 data) internal pure returns (buffer memory) {\\n return write(buf, off, bytes32(data), 20);\\n }\\n\\n /**\\n * @dev Appends a bytes20 to the buffer. Resizes if doing so would exceed\\n * the capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param data The data to append.\\n * @return The original buffer, for chhaining.\\n */\\n function appendBytes20(buffer memory buf, bytes20 data) internal pure returns (buffer memory) {\\n return write(buf, buf.buf.length, bytes32(data), 20);\\n }\\n\\n /**\\n * @dev Appends a bytes32 to the buffer. Resizes if doing so would exceed\\n * the capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param data The data to append.\\n * @return The original buffer, for chaining.\\n */\\n function appendBytes32(buffer memory buf, bytes32 data) internal pure returns (buffer memory) {\\n return write(buf, buf.buf.length, data, 32);\\n }\\n\\n /**\\n * @dev Writes an integer to the buffer. Resizes if doing so would exceed\\n * the capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param off The offset to write at.\\n * @param data The data to append.\\n * @param len The number of bytes to write (right-aligned).\\n * @return The original buffer, for chaining.\\n */\\n function writeInt(buffer memory buf, uint off, uint data, uint len) private pure returns(buffer memory) {\\n if (len + off > buf.capacity) {\\n resize(buf, (len + off) * 2);\\n }\\n\\n uint mask = 256 ** len - 1;\\n assembly {\\n // Memory address of the buffer data\\n let bufptr := mload(buf)\\n // Address = buffer address + off + sizeof(buffer length) + len\\n let dest := add(add(bufptr, off), len)\\n mstore(dest, or(and(mload(dest), not(mask)), data))\\n // Update buffer length if we extended it\\n if gt(add(off, len), mload(bufptr)) {\\n mstore(bufptr, add(off, len))\\n }\\n }\\n return buf;\\n }\\n\\n /**\\n * @dev Appends a byte to the end of the buffer. Resizes if doing so would\\n * exceed the capacity of the buffer.\\n * @param buf The buffer to append to.\\n * @param data The data to append.\\n * @return The original buffer.\\n */\\n function appendInt(buffer memory buf, uint data, uint len) internal pure returns(buffer memory) {\\n return writeInt(buf, buf.buf.length, data, len);\\n }\\n}\\n\",\"keccak256\":\"0xe4aa364f56414c4326ffe12c1121d591be6ad168afb42b24a823f6d76299dd63\"},\"@chainlink/contracts/src/v0.6/vendor/CBORChainlink.sol\":{\"content\":\"pragma solidity ^0.6.0;\\n\\nimport { BufferChainlink } from \\\"./BufferChainlink.sol\\\";\\n\\nlibrary CBORChainlink {\\n using BufferChainlink for BufferChainlink.buffer;\\n\\n uint8 private constant MAJOR_TYPE_INT = 0;\\n uint8 private constant MAJOR_TYPE_NEGATIVE_INT = 1;\\n uint8 private constant MAJOR_TYPE_BYTES = 2;\\n uint8 private constant MAJOR_TYPE_STRING = 3;\\n uint8 private constant MAJOR_TYPE_ARRAY = 4;\\n uint8 private constant MAJOR_TYPE_MAP = 5;\\n uint8 private constant MAJOR_TYPE_CONTENT_FREE = 7;\\n\\n function encodeType(BufferChainlink.buffer memory buf, uint8 major, uint value) private pure {\\n if(value <= 23) {\\n buf.appendUint8(uint8((major << 5) | value));\\n } else if(value <= 0xFF) {\\n buf.appendUint8(uint8((major << 5) | 24));\\n buf.appendInt(value, 1);\\n } else if(value <= 0xFFFF) {\\n buf.appendUint8(uint8((major << 5) | 25));\\n buf.appendInt(value, 2);\\n } else if(value <= 0xFFFFFFFF) {\\n buf.appendUint8(uint8((major << 5) | 26));\\n buf.appendInt(value, 4);\\n } else if(value <= 0xFFFFFFFFFFFFFFFF) {\\n buf.appendUint8(uint8((major << 5) | 27));\\n buf.appendInt(value, 8);\\n }\\n }\\n\\n function encodeIndefiniteLengthType(BufferChainlink.buffer memory buf, uint8 major) private pure {\\n buf.appendUint8(uint8((major << 5) | 31));\\n }\\n\\n function encodeUInt(BufferChainlink.buffer memory buf, uint value) internal pure {\\n encodeType(buf, MAJOR_TYPE_INT, value);\\n }\\n\\n function encodeInt(BufferChainlink.buffer memory buf, int value) internal pure {\\n if(value >= 0) {\\n encodeType(buf, MAJOR_TYPE_INT, uint(value));\\n } else {\\n encodeType(buf, MAJOR_TYPE_NEGATIVE_INT, uint(-1 - value));\\n }\\n }\\n\\n function encodeBytes(BufferChainlink.buffer memory buf, bytes memory value) internal pure {\\n encodeType(buf, MAJOR_TYPE_BYTES, value.length);\\n buf.append(value);\\n }\\n\\n function encodeString(BufferChainlink.buffer memory buf, string memory value) internal pure {\\n encodeType(buf, MAJOR_TYPE_STRING, bytes(value).length);\\n buf.append(bytes(value));\\n }\\n\\n function startArray(BufferChainlink.buffer memory buf) internal pure {\\n encodeIndefiniteLengthType(buf, MAJOR_TYPE_ARRAY);\\n }\\n\\n function startMap(BufferChainlink.buffer memory buf) internal pure {\\n encodeIndefiniteLengthType(buf, MAJOR_TYPE_MAP);\\n }\\n\\n function endSequence(BufferChainlink.buffer memory buf) internal pure {\\n encodeIndefiniteLengthType(buf, MAJOR_TYPE_CONTENT_FREE);\\n }\\n}\\n\",\"keccak256\":\"0xbb4d8257c1af348cac9828ee531428b148bb726517357fe6a80279ac45b658b5\"},\"@chainlink/contracts/src/v0.6/vendor/ENSResolver.sol\":{\"content\":\"pragma solidity ^0.6.0;\\n\\nabstract contract ENSResolver {\\n function addr(bytes32 node) public view virtual returns (address);\\n}\\n\",\"keccak256\":\"0xdddea29d7407c1dbd1e130d885fc1a0934e98f0a7cc9f4d5bfd002bb2cfbcf82\"},\"@chainlink/contracts/src/v0.6/vendor/SafeMathChainlink.sol\":{\"content\":\"pragma solidity ^0.6.0;\\n\\n/**\\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\\n * checks.\\n *\\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\\n * in bugs, because programmers usually assume that an overflow raises an\\n * error, which is the standard behavior in high level programming languages.\\n * `SafeMath` restores this intuition by reverting the transaction when an\\n * operation overflows.\\n *\\n * Using this library instead of the unchecked operations eliminates an entire\\n * class of bugs, so it's recommended to use it always.\\n */\\nlibrary SafeMathChainlink {\\n /**\\n * @dev Returns the addition of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `+` operator.\\n *\\n * Requirements:\\n * - Addition cannot overflow.\\n */\\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\\n uint256 c = a + b;\\n require(c >= a, \\\"SafeMath: addition overflow\\\");\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting on\\n * overflow (when the result is negative).\\n *\\n * Counterpart to Solidity's `-` operator.\\n *\\n * Requirements:\\n * - Subtraction cannot overflow.\\n */\\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b <= a, \\\"SafeMath: subtraction overflow\\\");\\n uint256 c = a - b;\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the multiplication of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `*` operator.\\n *\\n * Requirements:\\n * - Multiplication cannot overflow.\\n */\\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\\n // benefit is lost if 'b' is also tested.\\n // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522\\n if (a == 0) {\\n return 0;\\n }\\n\\n uint256 c = a * b;\\n require(c / a == b, \\\"SafeMath: multiplication overflow\\\");\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers. Reverts on\\n * division by zero. The result is rounded towards zero.\\n *\\n * Counterpart to Solidity's `/` operator. Note: this function uses a\\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\\n * uses an invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n * - The divisor cannot be zero.\\n */\\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\\n // Solidity only automatically asserts when dividing by 0\\n require(b > 0, \\\"SafeMath: division by zero\\\");\\n uint256 c = a / b;\\n // assert(a == b * c + a % b); // There is no case in which this doesn't hold\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * Reverts when dividing by zero.\\n *\\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n * - The divisor cannot be zero.\\n */\\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b != 0, \\\"SafeMath: modulo by zero\\\");\\n return a % b;\\n }\\n}\\n\",\"keccak256\":\"0x5e6948bb332468d8ef0704b4259babc8aef7ce5969d5997c16db8ad806222a0a\"},\"@openzeppelin/contracts/access/AccessControl.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\nimport \\\"../utils/EnumerableSet.sol\\\";\\nimport \\\"../utils/Address.sol\\\";\\nimport \\\"../utils/Context.sol\\\";\\n\\n/**\\n * @dev Contract module that allows children to implement role-based access\\n * control mechanisms.\\n *\\n * Roles are referred to by their `bytes32` identifier. These should be exposed\\n * in the external API and be unique. The best way to achieve this is by\\n * using `public constant` hash digests:\\n *\\n * ```\\n * bytes32 public constant MY_ROLE = keccak256(\\\"MY_ROLE\\\");\\n * ```\\n *\\n * Roles can be used to represent a set of permissions. To restrict access to a\\n * function call, use {hasRole}:\\n *\\n * ```\\n * function foo() public {\\n * require(hasRole(MY_ROLE, msg.sender));\\n * ...\\n * }\\n * ```\\n *\\n * Roles can be granted and revoked dynamically via the {grantRole} and\\n * {revokeRole} functions. Each role has an associated admin role, and only\\n * accounts that have a role's admin role can call {grantRole} and {revokeRole}.\\n *\\n * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\\n * that only accounts with this role will be able to grant or revoke other\\n * roles. More complex role relationships can be created by using\\n * {_setRoleAdmin}.\\n *\\n * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\\n * grant and revoke this role. Extra precautions should be taken to secure\\n * accounts that have been granted it.\\n */\\nabstract contract AccessControl is Context {\\n using EnumerableSet for EnumerableSet.AddressSet;\\n using Address for address;\\n\\n struct RoleData {\\n EnumerableSet.AddressSet members;\\n bytes32 adminRole;\\n }\\n\\n mapping (bytes32 => RoleData) private _roles;\\n\\n bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;\\n\\n /**\\n * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\\n *\\n * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\\n * {RoleAdminChanged} not being emitted signaling this.\\n *\\n * _Available since v3.1._\\n */\\n event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);\\n\\n /**\\n * @dev Emitted when `account` is granted `role`.\\n *\\n * `sender` is the account that originated the contract call, an admin role\\n * bearer except when using {_setupRole}.\\n */\\n event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);\\n\\n /**\\n * @dev Emitted when `account` is revoked `role`.\\n *\\n * `sender` is the account that originated the contract call:\\n * - if using `revokeRole`, it is the admin role bearer\\n * - if using `renounceRole`, it is the role bearer (i.e. `account`)\\n */\\n event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);\\n\\n /**\\n * @dev Returns `true` if `account` has been granted `role`.\\n */\\n function hasRole(bytes32 role, address account) public view returns (bool) {\\n return _roles[role].members.contains(account);\\n }\\n\\n /**\\n * @dev Returns the number of accounts that have `role`. Can be used\\n * together with {getRoleMember} to enumerate all bearers of a role.\\n */\\n function getRoleMemberCount(bytes32 role) public view returns (uint256) {\\n return _roles[role].members.length();\\n }\\n\\n /**\\n * @dev Returns one of the accounts that have `role`. `index` must be a\\n * value between 0 and {getRoleMemberCount}, non-inclusive.\\n *\\n * Role bearers are not sorted in any particular way, and their ordering may\\n * change at any point.\\n *\\n * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\\n * you perform all queries on the same block. See the following\\n * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\\n * for more information.\\n */\\n function getRoleMember(bytes32 role, uint256 index) public view returns (address) {\\n return _roles[role].members.at(index);\\n }\\n\\n /**\\n * @dev Returns the admin role that controls `role`. See {grantRole} and\\n * {revokeRole}.\\n *\\n * To change a role's admin, use {_setRoleAdmin}.\\n */\\n function getRoleAdmin(bytes32 role) public view returns (bytes32) {\\n return _roles[role].adminRole;\\n }\\n\\n /**\\n * @dev Grants `role` to `account`.\\n *\\n * If `account` had not been already granted `role`, emits a {RoleGranted}\\n * event.\\n *\\n * Requirements:\\n *\\n * - the caller must have ``role``'s admin role.\\n */\\n function grantRole(bytes32 role, address account) public virtual {\\n require(hasRole(_roles[role].adminRole, _msgSender()), \\\"AccessControl: sender must be an admin to grant\\\");\\n\\n _grantRole(role, account);\\n }\\n\\n /**\\n * @dev Revokes `role` from `account`.\\n *\\n * If `account` had been granted `role`, emits a {RoleRevoked} event.\\n *\\n * Requirements:\\n *\\n * - the caller must have ``role``'s admin role.\\n */\\n function revokeRole(bytes32 role, address account) public virtual {\\n require(hasRole(_roles[role].adminRole, _msgSender()), \\\"AccessControl: sender must be an admin to revoke\\\");\\n\\n _revokeRole(role, account);\\n }\\n\\n /**\\n * @dev Revokes `role` from the calling account.\\n *\\n * Roles are often managed via {grantRole} and {revokeRole}: this function's\\n * purpose is to provide a mechanism for accounts to lose their privileges\\n * if they are compromised (such as when a trusted device is misplaced).\\n *\\n * If the calling account had been granted `role`, emits a {RoleRevoked}\\n * event.\\n *\\n * Requirements:\\n *\\n * - the caller must be `account`.\\n */\\n function renounceRole(bytes32 role, address account) public virtual {\\n require(account == _msgSender(), \\\"AccessControl: can only renounce roles for self\\\");\\n\\n _revokeRole(role, account);\\n }\\n\\n /**\\n * @dev Grants `role` to `account`.\\n *\\n * If `account` had not been already granted `role`, emits a {RoleGranted}\\n * event. Note that unlike {grantRole}, this function doesn't perform any\\n * checks on the calling account.\\n *\\n * [WARNING]\\n * ====\\n * This function should only be called from the constructor when setting\\n * up the initial roles for the system.\\n *\\n * Using this function in any other way is effectively circumventing the admin\\n * system imposed by {AccessControl}.\\n * ====\\n */\\n function _setupRole(bytes32 role, address account) internal virtual {\\n _grantRole(role, account);\\n }\\n\\n /**\\n * @dev Sets `adminRole` as ``role``'s admin role.\\n *\\n * Emits a {RoleAdminChanged} event.\\n */\\n function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {\\n emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);\\n _roles[role].adminRole = adminRole;\\n }\\n\\n function _grantRole(bytes32 role, address account) private {\\n if (_roles[role].members.add(account)) {\\n emit RoleGranted(role, account, _msgSender());\\n }\\n }\\n\\n function _revokeRole(bytes32 role, address account) private {\\n if (_roles[role].members.remove(account)) {\\n emit RoleRevoked(role, account, _msgSender());\\n }\\n }\\n}\\n\",\"keccak256\":\"0x4fc155a2f7837603d69a13cfa481eb5e7f5e02cb77e2ec9edbac30986db37988\"},\"@openzeppelin/contracts/access/Ownable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\nimport \\\"../utils/Context.sol\\\";\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract Ownable is Context {\\n address private _owner;\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /**\\n * @dev Initializes the contract setting the deployer as the initial owner.\\n */\\n constructor () internal {\\n address msgSender = _msgSender();\\n _owner = msgSender;\\n emit OwnershipTransferred(address(0), msgSender);\\n }\\n\\n /**\\n * @dev Returns the address of the current owner.\\n */\\n function owner() public view virtual returns (address) {\\n return _owner;\\n }\\n\\n /**\\n * @dev Throws if called by any account other than the owner.\\n */\\n modifier onlyOwner() {\\n require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n _;\\n }\\n\\n /**\\n * @dev Leaves the contract without owner. It will not be possible to call\\n * `onlyOwner` functions anymore. Can only be called by the current owner.\\n *\\n * NOTE: Renouncing ownership will leave the contract without an owner,\\n * thereby removing any functionality that is only available to the owner.\\n */\\n function renounceOwnership() public virtual onlyOwner {\\n emit OwnershipTransferred(_owner, address(0));\\n _owner = address(0);\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Can only be called by the current owner.\\n */\\n function transferOwnership(address newOwner) public virtual onlyOwner {\\n require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n emit OwnershipTransferred(_owner, newOwner);\\n _owner = newOwner;\\n }\\n}\\n\",\"keccak256\":\"0x15e2d5bd4c28a88548074c54d220e8086f638a71ed07e6b3ba5a70066fcf458d\"},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\n/**\\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\\n * checks.\\n *\\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\\n * in bugs, because programmers usually assume that an overflow raises an\\n * error, which is the standard behavior in high level programming languages.\\n * `SafeMath` restores this intuition by reverting the transaction when an\\n * operation overflows.\\n *\\n * Using this library instead of the unchecked operations eliminates an entire\\n * class of bugs, so it's recommended to use it always.\\n */\\nlibrary SafeMath {\\n /**\\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n uint256 c = a + b;\\n if (c < a) return (false, 0);\\n return (true, c);\\n }\\n\\n /**\\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\\n *\\n * _Available since v3.4._\\n */\\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n if (b > a) return (false, 0);\\n return (true, a - b);\\n }\\n\\n /**\\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\\n // benefit is lost if 'b' is also tested.\\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\\n if (a == 0) return (true, 0);\\n uint256 c = a * b;\\n if (c / a != b) return (false, 0);\\n return (true, c);\\n }\\n\\n /**\\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n if (b == 0) return (false, 0);\\n return (true, a / b);\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n if (b == 0) return (false, 0);\\n return (true, a % b);\\n }\\n\\n /**\\n * @dev Returns the addition of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `+` operator.\\n *\\n * Requirements:\\n *\\n * - Addition cannot overflow.\\n */\\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\\n uint256 c = a + b;\\n require(c >= a, \\\"SafeMath: addition overflow\\\");\\n return c;\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting on\\n * overflow (when the result is negative).\\n *\\n * Counterpart to Solidity's `-` operator.\\n *\\n * Requirements:\\n *\\n * - Subtraction cannot overflow.\\n */\\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b <= a, \\\"SafeMath: subtraction overflow\\\");\\n return a - b;\\n }\\n\\n /**\\n * @dev Returns the multiplication of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `*` operator.\\n *\\n * Requirements:\\n *\\n * - Multiplication cannot overflow.\\n */\\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\\n if (a == 0) return 0;\\n uint256 c = a * b;\\n require(c / a == b, \\\"SafeMath: multiplication overflow\\\");\\n return c;\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers, reverting on\\n * division by zero. The result is rounded towards zero.\\n *\\n * Counterpart to Solidity's `/` operator. Note: this function uses a\\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\\n * uses an invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b > 0, \\\"SafeMath: division by zero\\\");\\n return a / b;\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * reverting when dividing by zero.\\n *\\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b > 0, \\\"SafeMath: modulo by zero\\\");\\n return a % b;\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\\n * overflow (when the result is negative).\\n *\\n * CAUTION: This function is deprecated because it requires allocating memory for the error\\n * message unnecessarily. For custom revert reasons use {trySub}.\\n *\\n * Counterpart to Solidity's `-` operator.\\n *\\n * Requirements:\\n *\\n * - Subtraction cannot overflow.\\n */\\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b <= a, errorMessage);\\n return a - b;\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\\n * division by zero. The result is rounded towards zero.\\n *\\n * CAUTION: This function is deprecated because it requires allocating memory for the error\\n * message unnecessarily. For custom revert reasons use {tryDiv}.\\n *\\n * Counterpart to Solidity's `/` operator. Note: this function uses a\\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\\n * uses an invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b > 0, errorMessage);\\n return a / b;\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * reverting with custom message when dividing by zero.\\n *\\n * CAUTION: This function is deprecated because it requires allocating memory for the error\\n * message unnecessarily. For custom revert reasons use {tryMod}.\\n *\\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b > 0, errorMessage);\\n return a % b;\\n }\\n}\\n\",\"keccak256\":\"0xcc78a17dd88fa5a2edc60c8489e2f405c0913b377216a5b26b35656b2d0dab52\"},\"@openzeppelin/contracts/presets/ERC20PresetMinterPauser.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\nimport \\\"../access/AccessControl.sol\\\";\\nimport \\\"../utils/Context.sol\\\";\\nimport \\\"../token/ERC20/ERC20.sol\\\";\\nimport \\\"../token/ERC20/ERC20Burnable.sol\\\";\\nimport \\\"../token/ERC20/ERC20Pausable.sol\\\";\\n\\n/**\\n * @dev {ERC20} token, including:\\n *\\n * - ability for holders to burn (destroy) their tokens\\n * - a minter role that allows for token minting (creation)\\n * - a pauser role that allows to stop all token transfers\\n *\\n * This contract uses {AccessControl} to lock permissioned functions using the\\n * different roles - head to its documentation for details.\\n *\\n * The account that deploys the contract will be granted the minter and pauser\\n * roles, as well as the default admin role, which will let it grant both minter\\n * and pauser roles to other accounts.\\n */\\ncontract ERC20PresetMinterPauser is Context, AccessControl, ERC20Burnable, ERC20Pausable {\\n bytes32 public constant MINTER_ROLE = keccak256(\\\"MINTER_ROLE\\\");\\n bytes32 public constant PAUSER_ROLE = keccak256(\\\"PAUSER_ROLE\\\");\\n\\n /**\\n * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE` and `PAUSER_ROLE` to the\\n * account that deploys the contract.\\n *\\n * See {ERC20-constructor}.\\n */\\n constructor(string memory name, string memory symbol) public ERC20(name, symbol) {\\n _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());\\n\\n _setupRole(MINTER_ROLE, _msgSender());\\n _setupRole(PAUSER_ROLE, _msgSender());\\n }\\n\\n /**\\n * @dev Creates `amount` new tokens for `to`.\\n *\\n * See {ERC20-_mint}.\\n *\\n * Requirements:\\n *\\n * - the caller must have the `MINTER_ROLE`.\\n */\\n function mint(address to, uint256 amount) public virtual {\\n require(hasRole(MINTER_ROLE, _msgSender()), \\\"ERC20PresetMinterPauser: must have minter role to mint\\\");\\n _mint(to, amount);\\n }\\n\\n /**\\n * @dev Pauses all token transfers.\\n *\\n * See {ERC20Pausable} and {Pausable-_pause}.\\n *\\n * Requirements:\\n *\\n * - the caller must have the `PAUSER_ROLE`.\\n */\\n function pause() public virtual {\\n require(hasRole(PAUSER_ROLE, _msgSender()), \\\"ERC20PresetMinterPauser: must have pauser role to pause\\\");\\n _pause();\\n }\\n\\n /**\\n * @dev Unpauses all token transfers.\\n *\\n * See {ERC20Pausable} and {Pausable-_unpause}.\\n *\\n * Requirements:\\n *\\n * - the caller must have the `PAUSER_ROLE`.\\n */\\n function unpause() public virtual {\\n require(hasRole(PAUSER_ROLE, _msgSender()), \\\"ERC20PresetMinterPauser: must have pauser role to unpause\\\");\\n _unpause();\\n }\\n\\n function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override(ERC20, ERC20Pausable) {\\n super._beforeTokenTransfer(from, to, amount);\\n }\\n}\\n\",\"keccak256\":\"0xa7c607ed4a0b2bebb811a398838ce4b5165e490f420a06337478eb2ba8c90cfc\"},\"@openzeppelin/contracts/token/ERC20/ERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\nimport \\\"../../utils/Context.sol\\\";\\nimport \\\"./IERC20.sol\\\";\\nimport \\\"../../math/SafeMath.sol\\\";\\n\\n/**\\n * @dev Implementation of the {IERC20} interface.\\n *\\n * This implementation is agnostic to the way tokens are created. This means\\n * that a supply mechanism has to be added in a derived contract using {_mint}.\\n * For a generic mechanism see {ERC20PresetMinterPauser}.\\n *\\n * TIP: For a detailed writeup see our guide\\n * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How\\n * to implement supply mechanisms].\\n *\\n * We have followed general OpenZeppelin guidelines: functions revert instead\\n * of returning `false` on failure. This behavior is nonetheless conventional\\n * and does not conflict with the expectations of ERC20 applications.\\n *\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\n * This allows applications to reconstruct the allowance for all accounts just\\n * by listening to said events. Other implementations of the EIP may not emit\\n * these events, as it isn't required by the specification.\\n *\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\n * functions have been added to mitigate the well-known issues around setting\\n * allowances. See {IERC20-approve}.\\n */\\ncontract ERC20 is Context, IERC20 {\\n using SafeMath for uint256;\\n\\n mapping (address => uint256) private _balances;\\n\\n mapping (address => mapping (address => uint256)) private _allowances;\\n\\n uint256 private _totalSupply;\\n\\n string private _name;\\n string private _symbol;\\n uint8 private _decimals;\\n\\n /**\\n * @dev Sets the values for {name} and {symbol}, initializes {decimals} with\\n * a default value of 18.\\n *\\n * To select a different value for {decimals}, use {_setupDecimals}.\\n *\\n * All three of these values are immutable: they can only be set once during\\n * construction.\\n */\\n constructor (string memory name_, string memory symbol_) public {\\n _name = name_;\\n _symbol = symbol_;\\n _decimals = 18;\\n }\\n\\n /**\\n * @dev Returns the name of the token.\\n */\\n function name() public view virtual returns (string memory) {\\n return _name;\\n }\\n\\n /**\\n * @dev Returns the symbol of the token, usually a shorter version of the\\n * name.\\n */\\n function symbol() public view virtual returns (string memory) {\\n return _symbol;\\n }\\n\\n /**\\n * @dev Returns the number of decimals used to get its user representation.\\n * For example, if `decimals` equals `2`, a balance of `505` tokens should\\n * be displayed to a user as `5,05` (`505 / 10 ** 2`).\\n *\\n * Tokens usually opt for a value of 18, imitating the relationship between\\n * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is\\n * called.\\n *\\n * NOTE: This information is only used for _display_ purposes: it in\\n * no way affects any of the arithmetic of the contract, including\\n * {IERC20-balanceOf} and {IERC20-transfer}.\\n */\\n function decimals() public view virtual returns (uint8) {\\n return _decimals;\\n }\\n\\n /**\\n * @dev See {IERC20-totalSupply}.\\n */\\n function totalSupply() public view virtual override returns (uint256) {\\n return _totalSupply;\\n }\\n\\n /**\\n * @dev See {IERC20-balanceOf}.\\n */\\n function balanceOf(address account) public view virtual override returns (uint256) {\\n return _balances[account];\\n }\\n\\n /**\\n * @dev See {IERC20-transfer}.\\n *\\n * Requirements:\\n *\\n * - `recipient` cannot be the zero address.\\n * - the caller must have a balance of at least `amount`.\\n */\\n function transfer(address recipient, uint256 amount) public virtual override returns (bool) {\\n _transfer(_msgSender(), recipient, amount);\\n return true;\\n }\\n\\n /**\\n * @dev See {IERC20-allowance}.\\n */\\n function allowance(address owner, address spender) public view virtual override returns (uint256) {\\n return _allowances[owner][spender];\\n }\\n\\n /**\\n * @dev See {IERC20-approve}.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n */\\n function approve(address spender, uint256 amount) public virtual override returns (bool) {\\n _approve(_msgSender(), spender, amount);\\n return true;\\n }\\n\\n /**\\n * @dev See {IERC20-transferFrom}.\\n *\\n * Emits an {Approval} event indicating the updated allowance. This is not\\n * required by the EIP. See the note at the beginning of {ERC20}.\\n *\\n * Requirements:\\n *\\n * - `sender` and `recipient` cannot be the zero address.\\n * - `sender` must have a balance of at least `amount`.\\n * - the caller must have allowance for ``sender``'s tokens of at least\\n * `amount`.\\n */\\n function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {\\n _transfer(sender, recipient, amount);\\n _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, \\\"ERC20: transfer amount exceeds allowance\\\"));\\n return true;\\n }\\n\\n /**\\n * @dev Atomically increases the allowance granted to `spender` by the caller.\\n *\\n * This is an alternative to {approve} that can be used as a mitigation for\\n * problems described in {IERC20-approve}.\\n *\\n * Emits an {Approval} event indicating the updated allowance.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n */\\n function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\n _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));\\n return true;\\n }\\n\\n /**\\n * @dev Atomically decreases the allowance granted to `spender` by the caller.\\n *\\n * This is an alternative to {approve} that can be used as a mitigation for\\n * problems described in {IERC20-approve}.\\n *\\n * Emits an {Approval} event indicating the updated allowance.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n * - `spender` must have allowance for the caller of at least\\n * `subtractedValue`.\\n */\\n function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\n _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, \\\"ERC20: decreased allowance below zero\\\"));\\n return true;\\n }\\n\\n /**\\n * @dev Moves tokens `amount` from `sender` to `recipient`.\\n *\\n * This is internal function is equivalent to {transfer}, and can be used to\\n * e.g. implement automatic token fees, slashing mechanisms, etc.\\n *\\n * Emits a {Transfer} event.\\n *\\n * Requirements:\\n *\\n * - `sender` cannot be the zero address.\\n * - `recipient` cannot be the zero address.\\n * - `sender` must have a balance of at least `amount`.\\n */\\n function _transfer(address sender, address recipient, uint256 amount) internal virtual {\\n require(sender != address(0), \\\"ERC20: transfer from the zero address\\\");\\n require(recipient != address(0), \\\"ERC20: transfer to the zero address\\\");\\n\\n _beforeTokenTransfer(sender, recipient, amount);\\n\\n _balances[sender] = _balances[sender].sub(amount, \\\"ERC20: transfer amount exceeds balance\\\");\\n _balances[recipient] = _balances[recipient].add(amount);\\n emit Transfer(sender, recipient, amount);\\n }\\n\\n /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\n * the total supply.\\n *\\n * Emits a {Transfer} event with `from` set to the zero address.\\n *\\n * Requirements:\\n *\\n * - `to` cannot be the zero address.\\n */\\n function _mint(address account, uint256 amount) internal virtual {\\n require(account != address(0), \\\"ERC20: mint to the zero address\\\");\\n\\n _beforeTokenTransfer(address(0), account, amount);\\n\\n _totalSupply = _totalSupply.add(amount);\\n _balances[account] = _balances[account].add(amount);\\n emit Transfer(address(0), account, amount);\\n }\\n\\n /**\\n * @dev Destroys `amount` tokens from `account`, reducing the\\n * total supply.\\n *\\n * Emits a {Transfer} event with `to` set to the zero address.\\n *\\n * Requirements:\\n *\\n * - `account` cannot be the zero address.\\n * - `account` must have at least `amount` tokens.\\n */\\n function _burn(address account, uint256 amount) internal virtual {\\n require(account != address(0), \\\"ERC20: burn from the zero address\\\");\\n\\n _beforeTokenTransfer(account, address(0), amount);\\n\\n _balances[account] = _balances[account].sub(amount, \\\"ERC20: burn amount exceeds balance\\\");\\n _totalSupply = _totalSupply.sub(amount);\\n emit Transfer(account, address(0), amount);\\n }\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.\\n *\\n * This internal function is equivalent to `approve`, and can be used to\\n * e.g. set automatic allowances for certain subsystems, etc.\\n *\\n * Emits an {Approval} event.\\n *\\n * Requirements:\\n *\\n * - `owner` cannot be the zero address.\\n * - `spender` cannot be the zero address.\\n */\\n function _approve(address owner, address spender, uint256 amount) internal virtual {\\n require(owner != address(0), \\\"ERC20: approve from the zero address\\\");\\n require(spender != address(0), \\\"ERC20: approve to the zero address\\\");\\n\\n _allowances[owner][spender] = amount;\\n emit Approval(owner, spender, amount);\\n }\\n\\n /**\\n * @dev Sets {decimals} to a value other than the default one of 18.\\n *\\n * WARNING: This function should only be called from the constructor. Most\\n * applications that interact with token contracts will not expect\\n * {decimals} to ever change, and may work incorrectly if it does.\\n */\\n function _setupDecimals(uint8 decimals_) internal virtual {\\n _decimals = decimals_;\\n }\\n\\n /**\\n * @dev Hook that is called before any transfer of tokens. This includes\\n * minting and burning.\\n *\\n * Calling conditions:\\n *\\n * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n * will be to transferred to `to`.\\n * - when `from` is zero, `amount` tokens will be minted for `to`.\\n * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\n * - `from` and `to` are never both zero.\\n *\\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n */\\n function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }\\n}\\n\",\"keccak256\":\"0xca0c2396dbeb3503b51abf4248ebf77a1461edad513c01529df51850a012bee3\"},\"@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\nimport \\\"../../utils/Context.sol\\\";\\nimport \\\"./ERC20.sol\\\";\\n\\n/**\\n * @dev Extension of {ERC20} that allows token holders to destroy both their own\\n * tokens and those that they have an allowance for, in a way that can be\\n * recognized off-chain (via event analysis).\\n */\\nabstract contract ERC20Burnable is Context, ERC20 {\\n using SafeMath for uint256;\\n\\n /**\\n * @dev Destroys `amount` tokens from the caller.\\n *\\n * See {ERC20-_burn}.\\n */\\n function burn(uint256 amount) public virtual {\\n _burn(_msgSender(), amount);\\n }\\n\\n /**\\n * @dev Destroys `amount` tokens from `account`, deducting from the caller's\\n * allowance.\\n *\\n * See {ERC20-_burn} and {ERC20-allowance}.\\n *\\n * Requirements:\\n *\\n * - the caller must have allowance for ``accounts``'s tokens of at least\\n * `amount`.\\n */\\n function burnFrom(address account, uint256 amount) public virtual {\\n uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, \\\"ERC20: burn amount exceeds allowance\\\");\\n\\n _approve(account, _msgSender(), decreasedAllowance);\\n _burn(account, amount);\\n }\\n}\\n\",\"keccak256\":\"0x9c0eb3b0e11d2480d49991dc384f1e5f9c9b9967cc81944d50916a9b9c6c4984\"},\"@openzeppelin/contracts/token/ERC20/ERC20Pausable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\nimport \\\"./ERC20.sol\\\";\\nimport \\\"../../utils/Pausable.sol\\\";\\n\\n/**\\n * @dev ERC20 token with pausable token transfers, minting and burning.\\n *\\n * Useful for scenarios such as preventing trades until the end of an evaluation\\n * period, or having an emergency switch for freezing all token transfers in the\\n * event of a large bug.\\n */\\nabstract contract ERC20Pausable is ERC20, Pausable {\\n /**\\n * @dev See {ERC20-_beforeTokenTransfer}.\\n *\\n * Requirements:\\n *\\n * - the contract must not be paused.\\n */\\n function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override {\\n super._beforeTokenTransfer(from, to, amount);\\n\\n require(!paused(), \\\"ERC20Pausable: token transfer while paused\\\");\\n }\\n}\\n\",\"keccak256\":\"0xa22af140ae7ec1f8f2f3bed5869cd0d548dfaac66343f0efc7324ff34aaf1254\"},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transfer(address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Returns the remaining number of tokens that `spender` will be\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n * zero by default.\\n *\\n * This value changes when {approve} or {transferFrom} are called.\\n */\\n function allowance(address owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n * that someone may use both the old and the new allowance by unfortunate\\n * transaction ordering. One possible solution to mitigate this race\\n * condition is to first reduce the spender's allowance to 0 and set the\\n * desired value afterwards:\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n *\\n * Emits an {Approval} event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to {approve}. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n}\\n\",\"keccak256\":\"0x5f02220344881ce43204ae4a6281145a67bc52c2bb1290a791857df3d19d78f5\"},\"@openzeppelin/contracts/token/ERC20/SafeERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\nimport \\\"./IERC20.sol\\\";\\nimport \\\"../../math/SafeMath.sol\\\";\\nimport \\\"../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\\n * contract returns false). Tokens that return no value (and instead revert or\\n * throw on failure) are also supported, non-reverting calls are assumed to be\\n * successful.\\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\\n */\\nlibrary SafeERC20 {\\n using SafeMath for uint256;\\n using Address for address;\\n\\n function safeTransfer(IERC20 token, address to, uint256 value) internal {\\n _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\n }\\n\\n function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\\n _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\n }\\n\\n /**\\n * @dev Deprecated. This function has issues similar to the ones found in\\n * {IERC20-approve}, and its usage is discouraged.\\n *\\n * Whenever possible, use {safeIncreaseAllowance} and\\n * {safeDecreaseAllowance} instead.\\n */\\n function safeApprove(IERC20 token, address spender, uint256 value) internal {\\n // safeApprove should only be called when setting an initial allowance,\\n // or when resetting it to zero. To increase and decrease it, use\\n // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\n // solhint-disable-next-line max-line-length\\n require((value == 0) || (token.allowance(address(this), spender) == 0),\\n \\\"SafeERC20: approve from non-zero to non-zero allowance\\\"\\n );\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\n }\\n\\n function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\\n uint256 newAllowance = token.allowance(address(this), spender).add(value);\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n }\\n\\n function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {\\n uint256 newAllowance = token.allowance(address(this), spender).sub(value, \\\"SafeERC20: decreased allowance below zero\\\");\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n }\\n\\n /**\\n * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\\n * on the return value: the return value is optional (but if data is returned, it must not be false).\\n * @param token The token targeted by the call.\\n * @param data The call data (encoded using abi.encode or one of its variants).\\n */\\n function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that\\n // the target address contains contract code and also asserts for success in the low-level call.\\n\\n bytes memory returndata = address(token).functionCall(data, \\\"SafeERC20: low-level call failed\\\");\\n if (returndata.length > 0) { // Return data is optional\\n // solhint-disable-next-line max-line-length\\n require(abi.decode(returndata, (bool)), \\\"SafeERC20: ERC20 operation did not succeed\\\");\\n }\\n }\\n}\\n\",\"keccak256\":\"0xf12dfbe97e6276980b83d2830bb0eb75e0cf4f3e626c2471137f82158ae6a0fc\"},\"@openzeppelin/contracts/utils/Address.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.2 <0.8.0;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize, which returns 0 for contracts in\\n // construction, since the code is only stored at the end of the\\n // constructor execution.\\n\\n uint256 size;\\n // solhint-disable-next-line no-inline-assembly\\n assembly { size := extcodesize(account) }\\n return size > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\\n (bool success, ) = recipient.call{ value: amount }(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain`call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls\\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\\n return _verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\\n require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return _verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\\n require(isContract(target), \\\"Address: delegate call to non-contract\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return _verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0x28911e614500ae7c607a432a709d35da25f3bc5ddc8bd12b278b66358070c0ea\"},\"@openzeppelin/contracts/utils/Context.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\n/*\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with GSN meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n function _msgSender() internal view virtual returns (address payable) {\\n return msg.sender;\\n }\\n\\n function _msgData() internal view virtual returns (bytes memory) {\\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\\n return msg.data;\\n }\\n}\\n\",\"keccak256\":\"0x8d3cb350f04ff49cfb10aef08d87f19dcbaecc8027b0bed12f3275cd12f38cf0\"},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\n/**\\n * @dev Library for managing\\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\\n * types.\\n *\\n * Sets have the following properties:\\n *\\n * - Elements are added, removed, and checked for existence in constant time\\n * (O(1)).\\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\\n *\\n * ```\\n * contract Example {\\n * // Add the library methods\\n * using EnumerableSet for EnumerableSet.AddressSet;\\n *\\n * // Declare a set state variable\\n * EnumerableSet.AddressSet private mySet;\\n * }\\n * ```\\n *\\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\\n * and `uint256` (`UintSet`) are supported.\\n */\\nlibrary EnumerableSet {\\n // To implement this library for multiple types with as little code\\n // repetition as possible, we write it in terms of a generic Set type with\\n // bytes32 values.\\n // The Set implementation uses private functions, and user-facing\\n // implementations (such as AddressSet) are just wrappers around the\\n // underlying Set.\\n // This means that we can only create new EnumerableSets for types that fit\\n // in bytes32.\\n\\n struct Set {\\n // Storage of set values\\n bytes32[] _values;\\n\\n // Position of the value in the `values` array, plus 1 because index 0\\n // means a value is not in the set.\\n mapping (bytes32 => uint256) _indexes;\\n }\\n\\n /**\\n * @dev Add a value to a set. O(1).\\n *\\n * Returns true if the value was added to the set, that is if it was not\\n * already present.\\n */\\n function _add(Set storage set, bytes32 value) private returns (bool) {\\n if (!_contains(set, value)) {\\n set._values.push(value);\\n // The value is stored at length-1, but we add 1 to all indexes\\n // and use 0 as a sentinel value\\n set._indexes[value] = set._values.length;\\n return true;\\n } else {\\n return false;\\n }\\n }\\n\\n /**\\n * @dev Removes a value from a set. O(1).\\n *\\n * Returns true if the value was removed from the set, that is if it was\\n * present.\\n */\\n function _remove(Set storage set, bytes32 value) private returns (bool) {\\n // We read and store the value's index to prevent multiple reads from the same storage slot\\n uint256 valueIndex = set._indexes[value];\\n\\n if (valueIndex != 0) { // Equivalent to contains(set, value)\\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\\n // the array, and then remove the last element (sometimes called as 'swap and pop').\\n // This modifies the order of the array, as noted in {at}.\\n\\n uint256 toDeleteIndex = valueIndex - 1;\\n uint256 lastIndex = set._values.length - 1;\\n\\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\\n\\n bytes32 lastvalue = set._values[lastIndex];\\n\\n // Move the last value to the index where the value to delete is\\n set._values[toDeleteIndex] = lastvalue;\\n // Update the index for the moved value\\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\\n\\n // Delete the slot where the moved value was stored\\n set._values.pop();\\n\\n // Delete the index for the deleted slot\\n delete set._indexes[value];\\n\\n return true;\\n } else {\\n return false;\\n }\\n }\\n\\n /**\\n * @dev Returns true if the value is in the set. O(1).\\n */\\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\\n return set._indexes[value] != 0;\\n }\\n\\n /**\\n * @dev Returns the number of values on the set. O(1).\\n */\\n function _length(Set storage set) private view returns (uint256) {\\n return set._values.length;\\n }\\n\\n /**\\n * @dev Returns the value stored at position `index` in the set. O(1).\\n *\\n * Note that there are no guarantees on the ordering of values inside the\\n * array, and it may change when more values are added or removed.\\n *\\n * Requirements:\\n *\\n * - `index` must be strictly less than {length}.\\n */\\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\\n require(set._values.length > index, \\\"EnumerableSet: index out of bounds\\\");\\n return set._values[index];\\n }\\n\\n // Bytes32Set\\n\\n struct Bytes32Set {\\n Set _inner;\\n }\\n\\n /**\\n * @dev Add a value to a set. O(1).\\n *\\n * Returns true if the value was added to the set, that is if it was not\\n * already present.\\n */\\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\\n return _add(set._inner, value);\\n }\\n\\n /**\\n * @dev Removes a value from a set. O(1).\\n *\\n * Returns true if the value was removed from the set, that is if it was\\n * present.\\n */\\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\\n return _remove(set._inner, value);\\n }\\n\\n /**\\n * @dev Returns true if the value is in the set. O(1).\\n */\\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\\n return _contains(set._inner, value);\\n }\\n\\n /**\\n * @dev Returns the number of values in the set. O(1).\\n */\\n function length(Bytes32Set storage set) internal view returns (uint256) {\\n return _length(set._inner);\\n }\\n\\n /**\\n * @dev Returns the value stored at position `index` in the set. O(1).\\n *\\n * Note that there are no guarantees on the ordering of values inside the\\n * array, and it may change when more values are added or removed.\\n *\\n * Requirements:\\n *\\n * - `index` must be strictly less than {length}.\\n */\\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\\n return _at(set._inner, index);\\n }\\n\\n // AddressSet\\n\\n struct AddressSet {\\n Set _inner;\\n }\\n\\n /**\\n * @dev Add a value to a set. O(1).\\n *\\n * Returns true if the value was added to the set, that is if it was not\\n * already present.\\n */\\n function add(AddressSet storage set, address value) internal returns (bool) {\\n return _add(set._inner, bytes32(uint256(uint160(value))));\\n }\\n\\n /**\\n * @dev Removes a value from a set. O(1).\\n *\\n * Returns true if the value was removed from the set, that is if it was\\n * present.\\n */\\n function remove(AddressSet storage set, address value) internal returns (bool) {\\n return _remove(set._inner, bytes32(uint256(uint160(value))));\\n }\\n\\n /**\\n * @dev Returns true if the value is in the set. O(1).\\n */\\n function contains(AddressSet storage set, address value) internal view returns (bool) {\\n return _contains(set._inner, bytes32(uint256(uint160(value))));\\n }\\n\\n /**\\n * @dev Returns the number of values in the set. O(1).\\n */\\n function length(AddressSet storage set) internal view returns (uint256) {\\n return _length(set._inner);\\n }\\n\\n /**\\n * @dev Returns the value stored at position `index` in the set. O(1).\\n *\\n * Note that there are no guarantees on the ordering of values inside the\\n * array, and it may change when more values are added or removed.\\n *\\n * Requirements:\\n *\\n * - `index` must be strictly less than {length}.\\n */\\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\\n return address(uint160(uint256(_at(set._inner, index))));\\n }\\n\\n\\n // UintSet\\n\\n struct UintSet {\\n Set _inner;\\n }\\n\\n /**\\n * @dev Add a value to a set. O(1).\\n *\\n * Returns true if the value was added to the set, that is if it was not\\n * already present.\\n */\\n function add(UintSet storage set, uint256 value) internal returns (bool) {\\n return _add(set._inner, bytes32(value));\\n }\\n\\n /**\\n * @dev Removes a value from a set. O(1).\\n *\\n * Returns true if the value was removed from the set, that is if it was\\n * present.\\n */\\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\\n return _remove(set._inner, bytes32(value));\\n }\\n\\n /**\\n * @dev Returns true if the value is in the set. O(1).\\n */\\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\\n return _contains(set._inner, bytes32(value));\\n }\\n\\n /**\\n * @dev Returns the number of values on the set. O(1).\\n */\\n function length(UintSet storage set) internal view returns (uint256) {\\n return _length(set._inner);\\n }\\n\\n /**\\n * @dev Returns the value stored at position `index` in the set. O(1).\\n *\\n * Note that there are no guarantees on the ordering of values inside the\\n * array, and it may change when more values are added or removed.\\n *\\n * Requirements:\\n *\\n * - `index` must be strictly less than {length}.\\n */\\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\\n return uint256(_at(set._inner, index));\\n }\\n}\\n\",\"keccak256\":\"0x1562cd9922fbf739edfb979f506809e2743789cbde3177515542161c3d04b164\"},\"@openzeppelin/contracts/utils/Pausable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\nimport \\\"./Context.sol\\\";\\n\\n/**\\n * @dev Contract module which allows children to implement an emergency stop\\n * mechanism that can be triggered by an authorized account.\\n *\\n * This module is used through inheritance. It will make available the\\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\\n * the functions of your contract. Note that they will not be pausable by\\n * simply including this module, only once the modifiers are put in place.\\n */\\nabstract contract Pausable is Context {\\n /**\\n * @dev Emitted when the pause is triggered by `account`.\\n */\\n event Paused(address account);\\n\\n /**\\n * @dev Emitted when the pause is lifted by `account`.\\n */\\n event Unpaused(address account);\\n\\n bool private _paused;\\n\\n /**\\n * @dev Initializes the contract in unpaused state.\\n */\\n constructor () internal {\\n _paused = false;\\n }\\n\\n /**\\n * @dev Returns true if the contract is paused, and false otherwise.\\n */\\n function paused() public view virtual returns (bool) {\\n return _paused;\\n }\\n\\n /**\\n * @dev Modifier to make a function callable only when the contract is not paused.\\n *\\n * Requirements:\\n *\\n * - The contract must not be paused.\\n */\\n modifier whenNotPaused() {\\n require(!paused(), \\\"Pausable: paused\\\");\\n _;\\n }\\n\\n /**\\n * @dev Modifier to make a function callable only when the contract is paused.\\n *\\n * Requirements:\\n *\\n * - The contract must be paused.\\n */\\n modifier whenPaused() {\\n require(paused(), \\\"Pausable: not paused\\\");\\n _;\\n }\\n\\n /**\\n * @dev Triggers stopped state.\\n *\\n * Requirements:\\n *\\n * - The contract must not be paused.\\n */\\n function _pause() internal virtual whenNotPaused {\\n _paused = true;\\n emit Paused(_msgSender());\\n }\\n\\n /**\\n * @dev Returns to normal state.\\n *\\n * Requirements:\\n *\\n * - The contract must be paused.\\n */\\n function _unpause() internal virtual whenPaused {\\n _paused = false;\\n emit Unpaused(_msgSender());\\n }\\n}\\n\",\"keccak256\":\"0x212fb1b1d4beaf74354dad9bc329f44ee3c5375ef1c32acff76b4ecefc10f1d8\"},\"@openzeppelin/contracts/utils/ReentrancyGuard.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\n/**\\n * @dev Contract module that helps prevent reentrant calls to a function.\\n *\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\n * available, which can be applied to functions to make sure there are no nested\\n * (reentrant) calls to them.\\n *\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\n * `nonReentrant` may not call one another. This can be worked around by making\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\n * points to them.\\n *\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\n * to protect against it, check out our blog post\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\n */\\nabstract contract ReentrancyGuard {\\n // Booleans are more expensive than uint256 or any type that takes up a full\\n // word because each write operation emits an extra SLOAD to first read the\\n // slot's contents, replace the bits taken up by the boolean, and then write\\n // back. This is the compiler's defense against contract upgrades and\\n // pointer aliasing, and it cannot be disabled.\\n\\n // The values being non-zero value makes deployment a bit more expensive,\\n // but in exchange the refund on every call to nonReentrant will be lower in\\n // amount. Since refunds are capped to a percentage of the total\\n // transaction's gas, it is best to keep them low in cases like this one, to\\n // increase the likelihood of the full refund coming into effect.\\n uint256 private constant _NOT_ENTERED = 1;\\n uint256 private constant _ENTERED = 2;\\n\\n uint256 private _status;\\n\\n constructor () internal {\\n _status = _NOT_ENTERED;\\n }\\n\\n /**\\n * @dev Prevents a contract from calling itself, directly or indirectly.\\n * Calling a `nonReentrant` function from another `nonReentrant`\\n * function is not supported. It is possible to prevent this from happening\\n * by making the `nonReentrant` function external, and make it call a\\n * `private` function that does the actual work.\\n */\\n modifier nonReentrant() {\\n // On the first call to nonReentrant, _notEntered will be true\\n require(_status != _ENTERED, \\\"ReentrancyGuard: reentrant call\\\");\\n\\n // Any calls to nonReentrant after this point will fail\\n _status = _ENTERED;\\n\\n _;\\n\\n // By storing the original value once again, a refund is triggered (see\\n // https://eips.ethereum.org/EIPS/eip-2200)\\n _status = _NOT_ENTERED;\\n }\\n}\\n\",\"keccak256\":\"0x8bbbc2f5c10065ee272592ae0a7a6ceb23de2fbd81564ee0bb015ecf404d5f61\"},\"@stacktical/dsla-protocol/contracts/MessengerRegistry.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.6.6;\\npragma experimental ABIEncoderV2;\\n\\nimport './messenger/IMessenger.sol';\\n\\n/**\\n * @title MessengerRegistry\\n * @dev MessengerRegistry is a contract to register openly distributed Messengers\\n */\\ncontract MessengerRegistry {\\n struct Messenger {\\n address ownerAddress;\\n address messengerAddress;\\n string specificationUrl;\\n uint256 precision;\\n uint256 requestsCounter;\\n uint256 fulfillsCounter;\\n uint256 id;\\n }\\n\\n /// @dev array to store the messengers\\n Messenger[] public messengers;\\n /// @dev (messengerAddress=>bool) to check if the Messenger was\\n mapping(address => bool) public registeredMessengers;\\n /// @dev (userAddress=>messengerAddress[]) to register the messengers of an owner\\n mapping(address => uint256[]) public ownerMessengers;\\n /// @dev (userAddress=>messengerAddress[]) to register the owner of a Messenger\\n address public slaRegistry;\\n\\n event MessengerRegistered(\\n address indexed ownerAddress,\\n address indexed messengerAddress,\\n string specificationUrl,\\n uint256 precision,\\n uint256 id\\n );\\n\\n event MessengerModified(\\n address indexed ownerAddress,\\n address indexed messengerAddress,\\n string specificationUrl,\\n uint256 precision,\\n uint256 id\\n );\\n\\n /**\\n * @dev sets the SLARegistry contract address and can only be called\\n * once\\n */\\n function setSLARegistry() external {\\n // Only able to trigger this function once\\n require(\\n address(slaRegistry) == address(0),\\n 'SLARegistry address has already been set'\\n );\\n\\n slaRegistry = msg.sender;\\n }\\n\\n /**\\n * @dev function to register a new Messenger\\n */\\n function registerMessenger(\\n address _callerAddress,\\n address _messengerAddress,\\n string calldata _specificationUrl\\n ) external {\\n require(\\n msg.sender == slaRegistry,\\n 'Should only be called using the SLARegistry contract'\\n );\\n require(\\n !registeredMessengers[_messengerAddress],\\n 'messenger already registered'\\n );\\n\\n IMessenger messenger = IMessenger(_messengerAddress);\\n address messengerOwner = messenger.owner();\\n require(\\n messengerOwner == _callerAddress,\\n 'Should only be called by the messenger owner'\\n );\\n uint256 precision = messenger.messengerPrecision();\\n uint256 requestsCounter = messenger.requestsCounter();\\n uint256 fulfillsCounter = messenger.fulfillsCounter();\\n registeredMessengers[_messengerAddress] = true;\\n uint256 id = messengers.length;\\n ownerMessengers[messengerOwner].push(id);\\n\\n messengers.push(\\n Messenger({\\n ownerAddress: messengerOwner,\\n messengerAddress: _messengerAddress,\\n specificationUrl: _specificationUrl,\\n precision: precision,\\n requestsCounter: requestsCounter,\\n fulfillsCounter: fulfillsCounter,\\n id: id\\n })\\n );\\n\\n emit MessengerRegistered(\\n messengerOwner,\\n _messengerAddress,\\n _specificationUrl,\\n precision,\\n id\\n );\\n }\\n\\n /**\\n * @dev function to modifyMessenger a Messenger\\n */\\n function modifyMessenger(\\n string calldata _specificationUrl,\\n uint256 _messengerId\\n ) external {\\n Messenger storage storedMessenger = messengers[_messengerId];\\n IMessenger messenger = IMessenger(storedMessenger.messengerAddress);\\n require(\\n msg.sender == messenger.owner(),\\n 'Can only be modified by the owner'\\n );\\n storedMessenger.specificationUrl = _specificationUrl;\\n storedMessenger.ownerAddress = msg.sender;\\n emit MessengerModified(\\n storedMessenger.ownerAddress,\\n storedMessenger.messengerAddress,\\n storedMessenger.specificationUrl,\\n storedMessenger.precision,\\n storedMessenger.id\\n );\\n }\\n\\n function getMessengers() external view returns (Messenger[] memory) {\\n Messenger[] memory returnMessengers = new Messenger[](\\n messengers.length\\n );\\n for (uint256 index = 0; index < messengers.length; index++) {\\n IMessenger messenger = IMessenger(\\n messengers[index].messengerAddress\\n );\\n uint256 requestsCounter = messenger.requestsCounter();\\n uint256 fulfillsCounter = messenger.fulfillsCounter();\\n returnMessengers[index] = Messenger({\\n ownerAddress: messengers[index].ownerAddress,\\n messengerAddress: messengers[index].messengerAddress,\\n specificationUrl: messengers[index].specificationUrl,\\n precision: messengers[index].precision,\\n requestsCounter: requestsCounter,\\n fulfillsCounter: fulfillsCounter,\\n id: messengers[index].id\\n });\\n }\\n return returnMessengers;\\n }\\n\\n function getMessengersLength() external view returns (uint256) {\\n return messengers.length;\\n }\\n}\\n\",\"keccak256\":\"0x859e06cc384032fb8673bd5fa55170dd9402e343b6769a7509c3c902280a0ad2\"},\"@stacktical/dsla-protocol/contracts/PeriodRegistry.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.6.6;\\npragma experimental ABIEncoderV2;\\n\\nimport '@openzeppelin/contracts/math/SafeMath.sol';\\nimport '@openzeppelin/contracts/access/Ownable.sol';\\n\\n/**\\n * @title SLARegistry\\n * @dev SLARegistry is a contract for handling creation of service level\\n * agreements and keeping track of the created agreements\\n */\\ncontract PeriodRegistry is Ownable {\\n using SafeMath for uint256;\\n\\n enum PeriodType {\\n Hourly,\\n Daily,\\n Weekly,\\n BiWeekly,\\n Monthly,\\n Yearly\\n }\\n\\n /// @dev struct to store the definition of a period\\n struct PeriodDefinition {\\n bool initialized;\\n uint256[] starts;\\n uint256[] ends;\\n }\\n\\n /// @dev (periodType=>PeriodDefinition) hourly/weekly/biWeekly/monthly/yearly are periodTypes\\n mapping(PeriodType => PeriodDefinition) public periodDefinitions;\\n\\n /**\\n * @dev event to log a new period initialized\\n *@param periodType 1. period type i.e. Hourly, Daily, Weekly, BiWeekly, Monthly, Yearly\\n *@param periodsAdded 2. amount of periods added\\n */\\n event PeriodInitialized(PeriodType periodType, uint256 periodsAdded);\\n\\n /**\\n * @dev event to log a new period initialized\\n *@param periodType 1. period type i.e. Hourly, Daily, Weekly, BiWeekly, Monthly, Yearly\\n *@param periodsAdded 2. amount of periods added\\n */\\n event PeriodModified(PeriodType periodType, uint256 periodsAdded);\\n\\n /**\\n * @dev public function for creating canonical service level agreements\\n *@param _periodType 1. period type i.e. Hourly, Daily, Weekly, BiWeekly, Monthly, Yearly\\n *@param _periodStarts 2. array of the starts of the period\\n *@param _periodEnds 3. array of the ends of the period\\n */\\n function initializePeriod(\\n PeriodType _periodType,\\n uint256[] memory _periodStarts,\\n uint256[] memory _periodEnds\\n ) public onlyOwner {\\n PeriodDefinition storage periodDefinition = periodDefinitions[\\n _periodType\\n ];\\n require(\\n !periodDefinition.initialized,\\n 'Period type already initialized'\\n );\\n require(\\n _periodStarts.length == _periodEnds.length,\\n 'Period type starts and ends should match'\\n );\\n require(_periodStarts.length > 0, \\\"Period length can't be 0\\\");\\n for (uint256 index = 0; index < _periodStarts.length; index++) {\\n require(\\n _periodStarts[index] < _periodEnds[index],\\n 'Start should be before end'\\n );\\n if (index < _periodStarts.length - 1) {\\n require(\\n _periodStarts[index + 1].sub(_periodEnds[index]) == 1,\\n 'Start of a period should be 1 second after the end of the previous period'\\n );\\n }\\n periodDefinition.starts.push(_periodStarts[index]);\\n periodDefinition.ends.push(_periodEnds[index]);\\n }\\n periodDefinition.initialized = true;\\n emit PeriodInitialized(_periodType, _periodStarts.length);\\n }\\n\\n /**\\n * @dev function to add new periods to certain period type\\n *@param _periodType 1. period type i.e. Hourly, Daily, Weekly, BiWeekly, Monthly, Yearly\\n *@param _periodStarts 2. array of uint256 of the period starts to add\\n *@param _periodEnds 3. array of uint256 of the period starts to add\\n */\\n function addPeriodsToPeriodType(\\n PeriodType _periodType,\\n uint256[] memory _periodStarts,\\n uint256[] memory _periodEnds\\n ) public onlyOwner {\\n require(_periodStarts.length > 0, \\\"Period length can't be 0\\\");\\n PeriodDefinition storage periodDefinition = periodDefinitions[\\n _periodType\\n ];\\n require(periodDefinition.initialized, 'Period was not initialized yet');\\n for (uint256 index = 0; index < _periodStarts.length; index++) {\\n require(\\n _periodStarts[index] < _periodEnds[index],\\n 'Start should be before end'\\n );\\n if (index < _periodStarts.length.sub(1)) {\\n require(\\n _periodStarts[index + 1].sub(_periodEnds[index]) == 1,\\n 'Start of a period should be 1 second after the end of the previous period'\\n );\\n }\\n periodDefinition.starts.push(_periodStarts[index]);\\n periodDefinition.ends.push(_periodEnds[index]);\\n }\\n emit PeriodModified(_periodType, _periodStarts.length);\\n }\\n\\n /**\\n * @dev public function to get the start and end of a period\\n *@param _periodType 1. period type i.e. Hourly, Daily, Weekly, BiWeekly, Monthly, Yearly\\n *@param _periodId 2. period id to get start and end\\n */\\n function getPeriodStartAndEnd(PeriodType _periodType, uint256 _periodId)\\n public\\n view\\n returns (uint256 start, uint256 end)\\n {\\n start = periodDefinitions[_periodType].starts[_periodId];\\n end = periodDefinitions[_periodType].ends[_periodId];\\n }\\n\\n /**\\n * @dev public function to check if a periodType id is initialized\\n *@param _periodType 1. period type i.e. Hourly, Daily, Weekly, BiWeekly, Monthly, Yearly\\n */\\n function isInitializedPeriod(PeriodType _periodType)\\n public\\n view\\n returns (bool initialized)\\n {\\n PeriodDefinition memory periodDefinition = periodDefinitions[\\n _periodType\\n ];\\n initialized = periodDefinition.initialized;\\n }\\n\\n /**\\n * @dev public function to check if a period id is valid i.e. it belongs to the added id array\\n *@param _periodType 1. period type i.e. Hourly, Daily, Weekly, BiWeekly, Monthly, Yearly\\n *@param _periodId 2. period id to get start and end\\n */\\n function isValidPeriod(PeriodType _periodType, uint256 _periodId)\\n public\\n view\\n returns (bool valid)\\n {\\n PeriodDefinition memory periodDefinition = periodDefinitions[\\n _periodType\\n ];\\n valid = periodDefinition.starts.length.sub(1) >= _periodId;\\n }\\n\\n /**\\n * @dev public function to check if a period has finished\\n *@param _periodType 1. period type i.e. Hourly, Daily, Weekly, BiWeekly, Monthly, Yearly\\n *@param _periodId 2. period id to get start and end\\n */\\n function periodIsFinished(PeriodType _periodType, uint256 _periodId)\\n public\\n view\\n returns (bool finished)\\n {\\n require(\\n isValidPeriod(_periodType, _periodId),\\n 'Period data is not valid'\\n );\\n finished =\\n periodDefinitions[_periodType].ends[_periodId] < block.timestamp;\\n }\\n\\n /**\\n * @dev public function to check if a period has started\\n *@param _periodType 1. period type i.e. Hourly, Daily, Weekly, BiWeekly, Monthly, Yearly\\n *@param _periodId 2. period id to get start and end\\n */\\n function periodHasStarted(PeriodType _periodType, uint256 _periodId)\\n public\\n view\\n returns (bool started)\\n {\\n require(\\n isValidPeriod(_periodType, _periodId),\\n 'Period data is not valid'\\n );\\n started =\\n periodDefinitions[_periodType].starts[_periodId] < block.timestamp;\\n }\\n\\n /**\\n * @dev public function to get the periodDefinitions\\n */\\n function getPeriodDefinitions()\\n public\\n view\\n returns (PeriodDefinition[] memory)\\n {\\n // 6 period types\\n PeriodDefinition[] memory periodDefinition = new PeriodDefinition[](6);\\n periodDefinition[0] = periodDefinitions[PeriodType.Hourly];\\n periodDefinition[1] = periodDefinitions[PeriodType.Daily];\\n periodDefinition[2] = periodDefinitions[PeriodType.Weekly];\\n periodDefinition[3] = periodDefinitions[PeriodType.BiWeekly];\\n periodDefinition[4] = periodDefinitions[PeriodType.Monthly];\\n periodDefinition[5] = periodDefinitions[PeriodType.Yearly];\\n return periodDefinition;\\n }\\n}\\n\",\"keccak256\":\"0x5d86e2ef74a74f7ccc4afbc21a67252eca0aaae82bf8c5145ebb5abc5d534a33\"},\"@stacktical/dsla-protocol/contracts/SLA.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.6.6;\\npragma experimental ABIEncoderV2;\\n\\nimport '@openzeppelin/contracts/access/Ownable.sol';\\nimport '@openzeppelin/contracts/token/ERC20/IERC20.sol';\\nimport '@openzeppelin/contracts/math/SafeMath.sol';\\nimport './SLARegistry.sol';\\nimport './SLORegistry.sol';\\nimport './StakeRegistry.sol';\\nimport './PeriodRegistry.sol';\\nimport './Staking.sol';\\n\\n/**\\n * @title SLA\\n * @dev SLA is a service level agreement contract used for service downtime\\n * compensation\\n */\\ncontract SLA is Staking {\\n using SafeMath for uint256;\\n\\n enum Status {\\n NotVerified,\\n Respected,\\n NotRespected\\n }\\n\\n struct PeriodSLI {\\n uint256 timestamp;\\n uint256 sli;\\n Status status;\\n }\\n\\n //\\n string public ipfsHash;\\n address public immutable messengerAddress;\\n SLARegistry public slaRegistry;\\n PeriodRegistry private immutable periodRegistry;\\n SLORegistry private immutable sloRegistry;\\n uint256 public immutable creationBlockNumber;\\n uint128 public immutable initialPeriodId;\\n uint128 public immutable finalPeriodId;\\n PeriodRegistry.PeriodType public immutable periodType;\\n /// @dev extra data for customized workflows\\n bytes32[] public extraData;\\n\\n bool private _breachedContract = false;\\n uint256 public nextVerifiablePeriod;\\n\\n /// @dev periodId=>PeriodSLI mapping\\n mapping(uint256 => PeriodSLI) public periodSLIs;\\n\\n /**\\n * @dev event for SLI creation logging\\n * @param timestamp 1. the time the SLI has been registered\\n * @param sli 2. the value of the SLI\\n * @param periodId 3. the id of the given period\\n */\\n event SLICreated(uint256 timestamp, uint256 sli, uint256 periodId);\\n\\n /**\\n * @dev event for Stake loging\\n * @param tokenAddress 1. -\\n * @param periodId 2. -\\n * @param amount 3. -\\n * @param caller 4. -\\n */\\n event Stake(\\n address indexed tokenAddress,\\n uint256 indexed periodId,\\n address indexed caller,\\n uint256 amount\\n );\\n /**\\n * @dev event for Stake loging\\n * @param tokenAddress 1. -\\n * @param periodId 2. -\\n * @param amount 3. -\\n * @param caller 4. -\\n */\\n event ProviderWithdraw(\\n address indexed tokenAddress,\\n uint256 indexed periodId,\\n address indexed caller,\\n uint256 amount\\n );\\n /**\\n * @dev event for Stake loging\\n * @param tokenAddress 1. -\\n * @param periodId 2. -\\n * @param amount 3. -\\n * @param caller 4. -\\n */\\n event UserWithdraw(\\n address indexed tokenAddress,\\n uint256 indexed periodId,\\n address indexed caller,\\n uint256 amount\\n );\\n\\n /**\\n * @dev throws if called by any address other than the messenger contract.\\n */\\n modifier onlyMessenger() {\\n require(msg.sender == messengerAddress, 'only messenger');\\n _;\\n }\\n\\n /**\\n * @dev throws if called by any address other than the messenger contract.\\n */\\n modifier onlySLARegistry() {\\n require(msg.sender == address(slaRegistry), 'only SLARegistry');\\n _;\\n }\\n\\n /**\\n * @dev throws if called with an amount less or equal to zero.\\n */\\n modifier notZero(uint256 _amount) {\\n require(_amount > 0, 'amount cant be 0');\\n _;\\n }\\n\\n /**\\n * @param _owner 1. -\\n * @param _ipfsHash 3. -\\n * @param _messengerAddress 3. -\\n * @param _initialPeriodId 4. -\\n * @param _finalPeriodId 4. -\\n * @param _periodType 5. -\\n * @param _whitelisted 8. -\\n * @param _extraData 9. -\\n * @param _slaID 10. -\\n */\\n constructor(\\n address _owner,\\n bool _whitelisted,\\n PeriodRegistry.PeriodType _periodType,\\n address _messengerAddress,\\n uint128 _initialPeriodId,\\n uint128 _finalPeriodId,\\n uint128 _slaID,\\n string memory _ipfsHash,\\n bytes32[] memory _extraData,\\n uint64 _leverage\\n )\\n public\\n Staking(\\n SLARegistry(msg.sender),\\n _periodType,\\n _whitelisted,\\n _slaID,\\n _leverage,\\n _owner\\n )\\n {\\n transferOwnership(_owner);\\n ipfsHash = _ipfsHash;\\n messengerAddress = _messengerAddress;\\n slaRegistry = SLARegistry(msg.sender);\\n periodRegistry = slaRegistry.periodRegistry();\\n sloRegistry = slaRegistry.sloRegistry();\\n creationBlockNumber = block.number;\\n initialPeriodId = _initialPeriodId;\\n finalPeriodId = _finalPeriodId;\\n periodType = _periodType;\\n extraData = _extraData;\\n nextVerifiablePeriod = _initialPeriodId;\\n }\\n\\n /**\\n * @dev external function to register SLI's and check them against the SLORegistry\\n * @param _sli 1. the value of the SLI to check\\n * @param _periodId 2. the id of the given period\\n */\\n function registerSLI(uint256 _sli, uint256 _periodId)\\n external\\n onlyMessenger\\n {\\n emit SLICreated(block.timestamp, _sli, _periodId);\\n nextVerifiablePeriod = _periodId + 1;\\n PeriodSLI storage periodSLI = periodSLIs[_periodId];\\n periodSLI.sli = _sli;\\n periodSLI.timestamp = block.timestamp;\\n (uint256 sloValue, ) = sloRegistry.registeredSLO(address(this));\\n if (sloRegistry.isRespected(_sli, address(this))) {\\n periodSLI.status = Status.Respected;\\n uint256 precision = 10000;\\n uint256 deviation = _sli.sub(sloValue).mul(precision).div(\\n _sli.add(sloValue).div(2)\\n );\\n uint256 normalizedPeriodId = _periodId.sub(initialPeriodId).add(1);\\n uint256 rewardPercentage = deviation.mul(normalizedPeriodId).div(\\n finalPeriodId - initialPeriodId + 1\\n );\\n _setRespectedPeriodReward(_periodId, rewardPercentage, precision);\\n } else {\\n periodSLI.status = Status.NotRespected;\\n _setUsersCompensation(_periodId);\\n _breachedContract = true;\\n }\\n }\\n\\n function isAllowedPeriod(uint256 _periodId) external view returns (bool) {\\n if (_periodId < initialPeriodId) return false;\\n if (_periodId > finalPeriodId) return false;\\n return true;\\n }\\n\\n function contractFinished() public view returns (bool) {\\n (, uint256 endOfLastValidPeriod) = periodRegistry.getPeriodStartAndEnd(\\n periodType,\\n finalPeriodId\\n );\\n return\\n _breachedContract == true ||\\n (block.timestamp >= endOfLastValidPeriod &&\\n periodSLIs[finalPeriodId].status != Status.NotVerified);\\n }\\n\\n /**\\n *@dev stake _amount tokens into the _token contract\\n *@param _amount 1. amount to be staked\\n *@param _token 2. address of the ERC to be staked\\n */\\n\\n function stakeTokens(uint256 _amount, address _token)\\n external\\n notZero(_amount)\\n {\\n bool isContractFinished = contractFinished();\\n require(!isContractFinished, 'finished contract');\\n _stake(_amount, _token);\\n emit Stake(_token, nextVerifiablePeriod, msg.sender, _amount);\\n StakeRegistry stakeRegistry = slaRegistry.stakeRegistry();\\n stakeRegistry.registerStakedSla(msg.sender);\\n }\\n\\n function withdrawProviderTokens(uint256 _amount, address _tokenAddress)\\n external\\n notZero(_amount)\\n {\\n bool isContractFinished = contractFinished();\\n emit ProviderWithdraw(\\n _tokenAddress,\\n nextVerifiablePeriod,\\n msg.sender,\\n _amount\\n );\\n _withdrawProviderTokens(_amount, _tokenAddress, isContractFinished);\\n }\\n\\n /**\\n *@dev withdraw _amount tokens from the _token contract\\n *@param _amount 1. amount to be staked\\n *@param _tokenAddress 2. address of the ERC to be staked\\n */\\n\\n function withdrawUserTokens(uint256 _amount, address _tokenAddress)\\n external\\n notZero(_amount)\\n {\\n if (msg.sender != owner()) {\\n bool isContractFinished = contractFinished();\\n require(isContractFinished, 'not finished contract');\\n }\\n emit UserWithdraw(\\n _tokenAddress,\\n nextVerifiablePeriod,\\n msg.sender,\\n _amount\\n );\\n _withdrawUserTokens(_amount, _tokenAddress);\\n }\\n\\n function getStakersLength() external view returns (uint256) {\\n return stakers.length;\\n }\\n\\n function breachedContract() external view returns (bool) {\\n return _breachedContract;\\n }\\n}\\n\",\"keccak256\":\"0xd5a5e432c3c041280c30eb9d879384cee121bf7eb1a1e78a1a9b05c300a40fec\"},\"@stacktical/dsla-protocol/contracts/SLARegistry.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.6.6;\\npragma experimental ABIEncoderV2;\\n\\nimport '@openzeppelin/contracts/math/SafeMath.sol';\\nimport './SLA.sol';\\nimport './SLORegistry.sol';\\nimport './PeriodRegistry.sol';\\nimport './MessengerRegistry.sol';\\nimport './StakeRegistry.sol';\\nimport './messenger/IMessenger.sol';\\n\\n/**\\n * @title SLARegistry\\n * @dev SLARegistry is a contract for handling creation of service level\\n * agreements and keeping track of the created agreements\\n */\\ncontract SLARegistry {\\n using SafeMath for uint256;\\n\\n /// @dev SLO registry\\n SLORegistry public sloRegistry;\\n /// @dev Periods registry\\n PeriodRegistry public periodRegistry;\\n /// @dev Messengers registry\\n MessengerRegistry public messengerRegistry;\\n /// @dev Stake registry\\n StakeRegistry public stakeRegistry;\\n /// @dev stores the addresses of created SLAs\\n SLA[] public SLAs;\\n /// @dev stores the indexes of service level agreements owned by an user\\n mapping(address => uint256[]) private userToSLAIndexes;\\n /// @dev to check if registered SLA\\n mapping(address => bool) private registeredSLAs;\\n // value to lock past periods on SLA deployment\\n bool public immutable checkPastPeriod;\\n\\n /**\\n * @dev event for service level agreement creation logging\\n * @param sla 1. The address of the created service level agreement contract\\n * @param owner 2. The address of the owner of the service level agreement\\n */\\n event SLACreated(SLA indexed sla, address indexed owner);\\n\\n /**\\n * @dev event for service level agreement creation logging\\n * @param periodId 1. -\\n * @param sla 2. -\\n * @param caller 3. -\\n */\\n event SLIRequested(\\n uint256 periodId,\\n address indexed sla,\\n address indexed caller\\n );\\n\\n /**\\n * @dev event for service level agreement creation logging\\n * @param sla 1. -\\n * @param caller 2. -\\n */\\n event ReturnLockedValue(address indexed sla, address indexed caller);\\n\\n /**\\n * @dev constructor\\n * @param _sloRegistry 1. SLO Registry\\n * @param _periodRegistry 2. Periods registry\\n * @param _messengerRegistry 3. Messenger registry\\n * @param _stakeRegistry 4. Stake registry\\n * @param _checkPastPeriod 5. -\\n */\\n constructor(\\n SLORegistry _sloRegistry,\\n PeriodRegistry _periodRegistry,\\n MessengerRegistry _messengerRegistry,\\n StakeRegistry _stakeRegistry,\\n bool _checkPastPeriod\\n ) public {\\n sloRegistry = _sloRegistry;\\n sloRegistry.setSLARegistry();\\n periodRegistry = _periodRegistry;\\n stakeRegistry = _stakeRegistry;\\n stakeRegistry.setSLARegistry();\\n messengerRegistry = _messengerRegistry;\\n messengerRegistry.setSLARegistry();\\n checkPastPeriod = _checkPastPeriod;\\n }\\n\\n /**\\n * @dev public function for creating canonical service level agreements\\n * @param _sloValue 1. -\\n * @param _sloType 2. -\\n * @param _ipfsHash 3. -\\n * @param _periodType 4. -\\n * @param _initialPeriodId 5. -\\n * @param _finalPeriodId 6. -\\n * @param _messengerAddress 7. -\\n * @param _whitelisted 8. -\\n * @param _extraData 9. -\\n * @param _leverage 10. -\\n */\\n function createSLA(\\n uint256 _sloValue,\\n SLORegistry.SLOType _sloType,\\n bool _whitelisted,\\n address _messengerAddress,\\n PeriodRegistry.PeriodType _periodType,\\n uint128 _initialPeriodId,\\n uint128 _finalPeriodId,\\n string memory _ipfsHash,\\n bytes32[] memory _extraData,\\n uint64 _leverage\\n ) public {\\n bool validPeriod = periodRegistry.isValidPeriod(\\n _periodType,\\n _initialPeriodId\\n );\\n require(validPeriod, 'first period id invalid');\\n validPeriod = periodRegistry.isValidPeriod(_periodType, _finalPeriodId);\\n require(validPeriod, 'final period id invalid');\\n bool initializedPeriod = periodRegistry.isInitializedPeriod(\\n _periodType\\n );\\n require(initializedPeriod, 'period type not initialized');\\n require(\\n _finalPeriodId >= _initialPeriodId,\\n 'invalid finalPeriodId/initialPeriodId'\\n );\\n\\n if (checkPastPeriod) {\\n bool periodHasStarted = periodRegistry.periodHasStarted(\\n _periodType,\\n _initialPeriodId\\n );\\n require(!periodHasStarted, 'past period');\\n }\\n bool registeredMessenger = messengerRegistry.registeredMessengers(\\n _messengerAddress\\n );\\n require(registeredMessenger == true, 'invalid messenger');\\n\\n SLA sla = new SLA(\\n msg.sender,\\n _whitelisted,\\n _periodType,\\n _messengerAddress,\\n _initialPeriodId,\\n _finalPeriodId,\\n uint128(SLAs.length),\\n _ipfsHash,\\n _extraData,\\n _leverage\\n );\\n\\n sloRegistry.registerSLO(_sloValue, _sloType, address(sla));\\n stakeRegistry.lockDSLAValue(\\n msg.sender,\\n address(sla),\\n _finalPeriodId - _initialPeriodId + 1\\n );\\n SLAs.push(sla);\\n registeredSLAs[address(sla)] = true;\\n uint256 index = SLAs.length.sub(1);\\n userToSLAIndexes[msg.sender].push(index);\\n emit SLACreated(sla, msg.sender);\\n }\\n\\n /**\\n * @dev Gets SLI information for the specified SLA and SLO\\n * @param _periodId 1. id of the period\\n * @param _sla 2. SLA Address\\n * @param _ownerApproval 3. if approval by owner or msg.sender\\n */\\n function requestSLI(\\n uint256 _periodId,\\n SLA _sla,\\n bool _ownerApproval\\n ) public {\\n require(isRegisteredSLA(address(_sla)), 'invalid SLA');\\n require(\\n _periodId == _sla.nextVerifiablePeriod(),\\n 'not nextVerifiablePeriod'\\n );\\n (, , SLA.Status status) = _sla.periodSLIs(_periodId);\\n require(status == SLA.Status.NotVerified, 'invalid SLA status');\\n bool breachedContract = _sla.breachedContract();\\n require(!breachedContract, 'breached contract');\\n bool slaAllowedPeriodId = _sla.isAllowedPeriod(_periodId);\\n require(slaAllowedPeriodId, 'invalid period Id');\\n PeriodRegistry.PeriodType slaPeriodType = _sla.periodType();\\n bool periodFinished = periodRegistry.periodIsFinished(\\n slaPeriodType,\\n _periodId\\n );\\n require(periodFinished, 'period unfinished');\\n address slaMessenger = _sla.messengerAddress();\\n SLIRequested(_periodId, address(_sla), msg.sender);\\n IMessenger(slaMessenger).requestSLI(\\n _periodId,\\n address(_sla),\\n _ownerApproval,\\n msg.sender\\n );\\n stakeRegistry.distributeVerificationRewards(\\n address(_sla),\\n msg.sender,\\n _periodId\\n );\\n }\\n\\n function returnLockedValue(SLA _sla) public {\\n require(isRegisteredSLA(address(_sla)), 'invalid SLA');\\n require(msg.sender == _sla.owner(), 'msg.sender not owner');\\n uint256 lastValidPeriodId = _sla.finalPeriodId();\\n PeriodRegistry.PeriodType periodType = _sla.periodType();\\n (, uint256 endOfLastValidPeriod) = periodRegistry.getPeriodStartAndEnd(\\n periodType,\\n lastValidPeriodId\\n );\\n\\n (, , SLA.Status lastPeriodStatus) = _sla.periodSLIs(lastValidPeriodId);\\n require(\\n _sla.breachedContract() ||\\n (block.timestamp >= endOfLastValidPeriod &&\\n lastPeriodStatus != SLA.Status.NotVerified),\\n 'not finished contract'\\n );\\n ReturnLockedValue(address(_sla), msg.sender);\\n stakeRegistry.returnLockedValue(address(_sla));\\n }\\n\\n /**\\n * @dev function to declare this SLARegistry contract as SLARegistry of _messengerAddress\\n * @param _messengerAddress 1. address of the messenger\\n */\\n\\n function registerMessenger(\\n address _messengerAddress,\\n string memory _specificationUrl\\n ) public {\\n IMessenger(_messengerAddress).setSLARegistry();\\n messengerRegistry.registerMessenger(\\n msg.sender,\\n _messengerAddress,\\n _specificationUrl\\n );\\n }\\n\\n /**\\n * @dev public view function that returns the service level agreements that\\n * the given user is the owner of\\n * @param _user Address of the user for which to return the service level\\n * agreements\\n * @return array of SLAs\\n */\\n function userSLAs(address _user) public view returns (SLA[] memory) {\\n uint256 count = userToSLAIndexes[_user].length;\\n SLA[] memory SLAList = new SLA[](count);\\n uint256[] memory userSLAIndexes = userToSLAIndexes[_user];\\n\\n for (uint256 i = 0; i < count; i++) {\\n SLAList[i] = (SLAs[userSLAIndexes[i]]);\\n }\\n\\n return (SLAList);\\n }\\n\\n /**\\n * @dev public view function that returns all the service level agreements\\n * @return SLA[] array of SLAs\\n */\\n function allSLAs() public view returns (SLA[] memory) {\\n return (SLAs);\\n }\\n\\n /**\\n * @dev public view function that returns true if _slaAddress was deployed using this SLARegistry\\n * @param _slaAddress address of the SLA to be checked\\n */\\n function isRegisteredSLA(address _slaAddress) public view returns (bool) {\\n return registeredSLAs[_slaAddress];\\n }\\n}\\n\",\"keccak256\":\"0xd40118048652777b1a1d862d521a47c90e90ac23e3ce3ecd917852edca786a1e\"},\"@stacktical/dsla-protocol/contracts/SLORegistry.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.6.6;\\npragma experimental ABIEncoderV2;\\n\\n/**\\n * @title SLORegistry\\n * @dev SLORegistry is a contract for handling creation of service level\\n * objectives and querying those service level objectives\\n */\\ncontract SLORegistry {\\n enum SLOType {\\n EqualTo,\\n NotEqualTo,\\n SmallerThan,\\n SmallerOrEqualTo,\\n GreaterThan,\\n GreaterOrEqualTo\\n }\\n\\n struct SLO {\\n uint256 sloValue;\\n SLOType sloType;\\n }\\n /**\\n * @dev SLO Registered event\\n * @param sla 1. -\\n * @param sloValue 2. -\\n * @param sloType 3. -\\n */\\n event SLORegistered(address indexed sla, uint256 sloValue, SLOType sloType);\\n\\n address private slaRegistry;\\n mapping(address => SLO) public registeredSLO;\\n\\n modifier onlySLARegistry {\\n require(\\n msg.sender == slaRegistry,\\n 'Should only be called using the SLARegistry contract'\\n );\\n _;\\n }\\n\\n function setSLARegistry() public {\\n // Only able to trigger this function once\\n require(\\n address(slaRegistry) == address(0),\\n 'SLARegistry address has already been set'\\n );\\n slaRegistry = msg.sender;\\n }\\n\\n /**\\n * @dev public function for creating service level objectives\\n * @param _sloValue 1. -\\n * @param _sloType 2. -\\n * @param _slaAddress 3. -\\n */\\n function registerSLO(\\n uint256 _sloValue,\\n SLOType _sloType,\\n address _slaAddress\\n ) public onlySLARegistry {\\n registeredSLO[_slaAddress] = SLO({\\n sloValue: _sloValue,\\n sloType: _sloType\\n });\\n emit SLORegistered(_slaAddress, _sloValue, _sloType);\\n }\\n\\n /**\\n * @dev external view function to check a value against the SLO\\n * @param _value The SLI value to check against the SL\\n * @return boolean with the SLO honored state\\n */\\n function isRespected(uint256 _value, address _slaAddress)\\n public\\n view\\n returns (bool)\\n {\\n SLO memory slo = registeredSLO[_slaAddress];\\n SLOType sloType = slo.sloType;\\n uint256 sloValue = slo.sloValue;\\n\\n if (sloType == SLOType.EqualTo) {\\n return _value == sloValue;\\n }\\n\\n if (sloType == SLOType.NotEqualTo) {\\n return _value != sloValue;\\n }\\n\\n if (sloType == SLOType.SmallerThan) {\\n return _value < sloValue;\\n }\\n\\n if (sloType == SLOType.SmallerOrEqualTo) {\\n return _value <= sloValue;\\n }\\n\\n if (sloType == SLOType.GreaterThan) {\\n return _value > sloValue;\\n }\\n\\n if (sloType == SLOType.GreaterOrEqualTo) {\\n return _value >= sloValue;\\n }\\n revert(\\\"isRespected wasn't executed properly\\\");\\n }\\n}\\n\",\"keccak256\":\"0x15c7b1bb4b97a177cf56078bfcdace06a35e82cc68682e8f9f2414df99886cb1\"},\"@stacktical/dsla-protocol/contracts/StakeRegistry.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.6.6;\\npragma experimental ABIEncoderV2;\\n\\nimport '@openzeppelin/contracts/access/Ownable.sol';\\nimport '@openzeppelin/contracts/math/SafeMath.sol';\\nimport '@openzeppelin/contracts/presets/ERC20PresetMinterPauser.sol';\\nimport '@openzeppelin/contracts/token/ERC20/SafeERC20.sol';\\nimport '@openzeppelin/contracts/token/ERC20/ERC20.sol';\\nimport '@openzeppelin/contracts/utils/ReentrancyGuard.sol';\\nimport './SLA.sol';\\nimport './messenger/IMessenger.sol';\\nimport './SLARegistry.sol';\\nimport './StringUtils.sol';\\n\\n/**\\n * @title StakeRegistry\\n * @dev StakeRegistry is a contract to register the staking activity of the platform, along\\n with controlling certain admin privileged parameters\\n */\\ncontract StakeRegistry is Ownable, ReentrancyGuard {\\n using SafeERC20 for ERC20;\\n using SafeMath for uint256;\\n\\n /// @dev struct to return on getActivePool function.\\n struct ActivePool {\\n address SLAAddress;\\n uint256 stake;\\n string assetName;\\n address assetAddress;\\n }\\n\\n struct LockedValue {\\n uint256 lockedValue;\\n uint256 slaPeriodIdsLength;\\n uint256 dslaDepositByPeriod;\\n uint256 dslaPlatformReward;\\n uint256 dslaMessengerReward;\\n uint256 dslaUserReward;\\n uint256 dslaBurnedByVerification;\\n mapping(uint256 => bool) verifiedPeriods;\\n }\\n\\n address public DSLATokenAddress;\\n SLARegistry public slaRegistry;\\n\\n //______ onlyOwner modifiable parameters ______\\n\\n /// @dev corresponds to the burn rate of DSLA tokens, but divided by 1000 i.e burn percentage = DSLAburnRate/1000 %\\n uint256 private _DSLAburnRate = 3;\\n /// @dev (ownerAddress => slaAddress => LockedValue) stores the locked value by the staker\\n mapping(address => LockedValue) public slaLockedValue;\\n /// @dev DSLA deposit by period to create SLA\\n uint256 private _dslaDepositByPeriod = 1000 ether;\\n /// @dev DSLA rewarded to the foundation\\n uint256 private _dslaPlatformReward = 250 ether;\\n /// @dev DSLA rewarded to the Messenger creator\\n uint256 private _dslaMessengerReward = 250 ether;\\n /// @dev DSLA rewarded to user calling the period verification\\n uint256 private _dslaUserReward = 250 ether;\\n /// @dev DSLA burned after every period verification\\n uint256 private _dslaBurnedByVerification = 250 ether;\\n /// @dev max token length for allowedTokens array of Staking contracts\\n uint256 private _maxTokenLength = 1;\\n /// @dev max times of hedge leverage\\n uint64 private _maxLeverage = 100;\\n /// @dev burn DSLA after verification\\n bool private _burnDSLA = true;\\n\\n /// @dev array with the allowed tokens addresses of the StakeRegistry\\n address[] public allowedTokens;\\n\\n /// @dev (userAddress => SLA[]) with user staked SLAs to get tokenPool\\n mapping(address => SLA[]) public userStakedSlas;\\n\\n /**\\n * @dev event to log a verifiation reward distributed\\n * @param sla 1. The address of the created service level agreement contract\\n * @param requester 2. -\\n * @param userReward 3. -\\n * @param platformReward 4. -\\n * @param messengerReward 5. -\\n * @param burnedDSLA 6. -\\n */\\n event VerificationRewardDistributed(\\n address indexed sla,\\n address indexed requester,\\n uint256 userReward,\\n uint256 platformReward,\\n uint256 messengerReward,\\n uint256 burnedDSLA\\n );\\n\\n /**\\n * @dev event to log modifications on the staking parameters\\n *@param DSLAburnRate 1. (DSLAburnRate/1000)% of DSLA to be burned after a reward/compensation is paid\\n *@param dslaDepositByPeriod 2. DSLA deposit by period to create SLA\\n *@param dslaPlatformReward 3. DSLA rewarded to Stacktical team\\n *@param dslaUserReward 4. DSLA rewarded to user calling the period verification\\n *@param dslaBurnedByVerification 5. DSLA burned after every period verification\\n */\\n event StakingParametersModified(\\n uint256 DSLAburnRate,\\n uint256 dslaDepositByPeriod,\\n uint256 dslaPlatformReward,\\n uint256 dslaMessengerReward,\\n uint256 dslaUserReward,\\n uint256 dslaBurnedByVerification,\\n uint256 maxTokenLength,\\n uint64 maxLeverage,\\n bool burnDSLA\\n );\\n\\n /**\\n * @dev event to log modifications on the staking parameters\\n *@param sla 1. -\\n *@param owner 2. -\\n *@param amount 3. -\\n */\\n\\n event LockedValueReturned(\\n address indexed sla,\\n address indexed owner,\\n uint256 amount\\n );\\n\\n /**\\n * @dev event to log modifications on the staking parameters\\n *@param dTokenAddress 1. -\\n *@param sla 2. -\\n *@param name 3. -\\n *@param symbol 4. -\\n */\\n event DTokenCreated(\\n address indexed dTokenAddress,\\n address indexed sla,\\n string name,\\n string symbol\\n );\\n\\n /**\\n * @dev event to log modifications on the staking parameters\\n *@param sla 1. -\\n *@param owner 2. -\\n *@param amount 3. -\\n */\\n event ValueLocked(\\n address indexed sla,\\n address indexed owner,\\n uint256 amount\\n );\\n\\n /**\\n * @param _dslaTokenAddress 1. DSLA Token\\n */\\n constructor(address _dslaTokenAddress) public {\\n require(\\n _dslaDepositByPeriod ==\\n _dslaPlatformReward\\n .add(_dslaMessengerReward)\\n .add(_dslaUserReward)\\n .add(_dslaBurnedByVerification),\\n 'Staking parameters should match on summation'\\n );\\n DSLATokenAddress = _dslaTokenAddress;\\n allowedTokens.push(_dslaTokenAddress);\\n }\\n\\n /// @dev Throws if called by any address other than the SLARegistry contract or Chainlink Oracle.\\n modifier onlySLARegistry() {\\n require(\\n msg.sender == address(slaRegistry),\\n 'Can only be called by SLARegistry'\\n );\\n _;\\n }\\n\\n /**\\n * @dev sets the SLARegistry contract address and can only be called\\n * once\\n */\\n function setSLARegistry() external {\\n // Only able to trigger this function once\\n require(\\n address(slaRegistry) == address(0),\\n 'SLARegistry address has already been set'\\n );\\n\\n slaRegistry = SLARegistry(msg.sender);\\n }\\n\\n /**\\n *@dev add a token to ve allowed for staking\\n *@param _tokenAddress 1. address of the new allowed token\\n */\\n function addAllowedTokens(address _tokenAddress) external onlyOwner {\\n require(!isAllowedToken(_tokenAddress), 'token already added');\\n allowedTokens.push(_tokenAddress);\\n }\\n\\n function isAllowedToken(address _tokenAddress) public view returns (bool) {\\n for (uint256 index = 0; index < allowedTokens.length; index++) {\\n if (allowedTokens[index] == _tokenAddress) {\\n return true;\\n }\\n }\\n return false;\\n }\\n\\n /**\\n *@dev public view function that returns true if the _owner has staked on _sla\\n *@param _user 1. address to check\\n *@param _sla 2. sla to check\\n *@return bool, true if _sla was staked by _user\\n */\\n\\n function slaWasStakedByUser(address _user, address _sla)\\n public\\n view\\n returns (bool)\\n {\\n for (uint256 index = 0; index < userStakedSlas[_user].length; index++) {\\n if (address(userStakedSlas[_user][index]) == _sla) {\\n return true;\\n }\\n }\\n return false;\\n }\\n\\n /**\\n *@dev register the sending SLA contract as staked by _owner\\n *@param _owner 1. SLA contract to stake\\n */\\n function registerStakedSla(address _owner) external returns (bool) {\\n require(\\n slaRegistry.isRegisteredSLA(msg.sender),\\n 'Only for registered SLAs'\\n );\\n if (!slaWasStakedByUser(_owner, msg.sender)) {\\n userStakedSlas[_owner].push(SLA(msg.sender));\\n }\\n return true;\\n }\\n\\n /**\\n *@dev to create dTokens for staking\\n *@param _name 1. token name\\n *@param _symbol 2. token symbol\\n */\\n function createDToken(string calldata _name, string calldata _symbol)\\n external\\n returns (address)\\n {\\n require(\\n slaRegistry.isRegisteredSLA(msg.sender),\\n 'Only for registered SLAs'\\n );\\n ERC20PresetMinterPauser dToken = new ERC20PresetMinterPauser(\\n _name,\\n _symbol\\n );\\n dToken.grantRole(dToken.MINTER_ROLE(), msg.sender);\\n emit DTokenCreated(address(dToken), msg.sender, _name, _symbol);\\n return address(dToken);\\n }\\n\\n function lockDSLAValue(\\n address _slaOwner,\\n address _sla,\\n uint256 _periodIdsLength\\n ) external onlySLARegistry nonReentrant {\\n uint256 lockedValue = _dslaDepositByPeriod.mul(_periodIdsLength);\\n ERC20(DSLATokenAddress).safeTransferFrom(\\n _slaOwner,\\n address(this),\\n lockedValue\\n );\\n slaLockedValue[_sla] = LockedValue({\\n lockedValue: lockedValue,\\n slaPeriodIdsLength: _periodIdsLength,\\n dslaDepositByPeriod: _dslaDepositByPeriod,\\n dslaPlatformReward: _dslaPlatformReward,\\n dslaMessengerReward: _dslaMessengerReward,\\n dslaUserReward: _dslaUserReward,\\n dslaBurnedByVerification: _dslaBurnedByVerification\\n });\\n emit ValueLocked(_sla, _slaOwner, lockedValue);\\n }\\n\\n function distributeVerificationRewards(\\n address _sla,\\n address _verificationRewardReceiver,\\n uint256 _periodId\\n ) external onlySLARegistry nonReentrant {\\n LockedValue storage _lockedValue = slaLockedValue[_sla];\\n require(\\n !_lockedValue.verifiedPeriods[_periodId],\\n 'Period rewards already distributed'\\n );\\n _lockedValue.verifiedPeriods[_periodId] = true;\\n _lockedValue.lockedValue = _lockedValue.lockedValue.sub(\\n _lockedValue.dslaDepositByPeriod\\n );\\n ERC20(DSLATokenAddress).safeTransfer(\\n _verificationRewardReceiver,\\n _lockedValue.dslaUserReward\\n );\\n ERC20(DSLATokenAddress).safeTransfer(\\n owner(),\\n _lockedValue.dslaPlatformReward\\n );\\n ERC20(DSLATokenAddress).safeTransfer(\\n IMessenger(SLA(_sla).messengerAddress()).owner(),\\n _lockedValue.dslaMessengerReward\\n );\\n if (_burnDSLA) {\\n (bool success, ) = DSLATokenAddress.call(\\n abi.encodeWithSelector(\\n bytes4(keccak256(bytes('burn(uint256)'))),\\n _lockedValue.dslaBurnedByVerification\\n )\\n );\\n require(success, 'burn process failed');\\n }\\n emit VerificationRewardDistributed(\\n _sla,\\n _verificationRewardReceiver,\\n _lockedValue.dslaUserReward,\\n _lockedValue.dslaPlatformReward,\\n _lockedValue.dslaMessengerReward,\\n _lockedValue.dslaBurnedByVerification\\n );\\n }\\n\\n function returnLockedValue(address _sla)\\n external\\n onlySLARegistry\\n nonReentrant\\n {\\n LockedValue storage _lockedValue = slaLockedValue[_sla];\\n uint256 remainingBalance = _lockedValue.lockedValue;\\n require(remainingBalance > 0, 'locked value is empty');\\n _lockedValue.lockedValue = 0;\\n ERC20(DSLATokenAddress).safeTransfer(\\n SLA(_sla).owner(),\\n remainingBalance\\n );\\n emit LockedValueReturned(_sla, SLA(_sla).owner(), remainingBalance);\\n }\\n\\n /**\\n * @dev returns the active pools owned by a user.\\n * @param _slaOwner 1. owner of the active pool\\n * @return ActivePool[], array of structs: {SLAAddress,stake,assetName}\\n */\\n function getActivePool(address _slaOwner)\\n external\\n view\\n returns (ActivePool[] memory)\\n {\\n bytes4 NAME_SELECTOR = bytes4(keccak256(bytes('name()')));\\n uint256 stakeCounter = 0;\\n // Count the stakes of the user, checking every SLA staked\\n for (\\n uint256 index = 0;\\n index < userStakedSlas[_slaOwner].length;\\n index++\\n ) {\\n SLA currentSLA = SLA(userStakedSlas[_slaOwner][index]);\\n stakeCounter = stakeCounter.add(\\n currentSLA.getAllowedTokensLength()\\n );\\n }\\n\\n ActivePool[] memory activePools = new ActivePool[](stakeCounter);\\n // to insert on activePools array\\n uint256 stakePosition = 0;\\n for (\\n uint256 index = 0;\\n index < userStakedSlas[_slaOwner].length;\\n index++\\n ) {\\n SLA currentSLA = userStakedSlas[_slaOwner][index];\\n for (\\n uint256 tokenIndex = 0;\\n tokenIndex < currentSLA.getAllowedTokensLength();\\n tokenIndex++\\n ) {\\n (address tokenAddress, uint256 stake) = currentSLA\\n .getTokenStake(_slaOwner, tokenIndex);\\n (, bytes memory tokenNameBytes) = tokenAddress.staticcall(\\n abi.encodeWithSelector(NAME_SELECTOR)\\n );\\n ActivePool memory currentActivePool = ActivePool({\\n SLAAddress: address(currentSLA),\\n stake: stake,\\n assetName: string(tokenNameBytes),\\n assetAddress: tokenAddress\\n });\\n activePools[stakePosition] = currentActivePool;\\n stakePosition = stakePosition.add(1);\\n }\\n }\\n return activePools;\\n }\\n\\n //_______ OnlyOwner functions _______\\n function setStakingParameters(\\n uint256 DSLAburnRate,\\n uint256 dslaDepositByPeriod,\\n uint256 dslaPlatformReward,\\n uint256 dslaMessengerReward,\\n uint256 dslaUserReward,\\n uint256 dslaBurnedByVerification,\\n uint256 maxTokenLength,\\n uint64 maxLeverage,\\n bool burnDSLA\\n ) external onlyOwner {\\n _DSLAburnRate = DSLAburnRate;\\n _dslaDepositByPeriod = dslaDepositByPeriod;\\n _dslaPlatformReward = dslaPlatformReward;\\n _dslaMessengerReward = dslaMessengerReward;\\n _dslaUserReward = dslaUserReward;\\n _dslaBurnedByVerification = dslaBurnedByVerification;\\n _maxTokenLength = maxTokenLength;\\n _maxLeverage = maxLeverage;\\n _burnDSLA = burnDSLA;\\n require(\\n _dslaDepositByPeriod ==\\n _dslaPlatformReward\\n .add(_dslaMessengerReward)\\n .add(_dslaUserReward)\\n .add(_dslaBurnedByVerification),\\n 'Staking parameters should match on summation'\\n );\\n emit StakingParametersModified(\\n DSLAburnRate,\\n dslaDepositByPeriod,\\n dslaPlatformReward,\\n dslaMessengerReward,\\n dslaUserReward,\\n dslaBurnedByVerification,\\n maxTokenLength,\\n maxLeverage,\\n burnDSLA\\n );\\n }\\n\\n function getStakingParameters()\\n external\\n view\\n returns (\\n uint256 DSLAburnRate,\\n uint256 dslaDepositByPeriod,\\n uint256 dslaPlatformReward,\\n uint256 dslaMessengerReward,\\n uint256 dslaUserReward,\\n uint256 dslaBurnedByVerification,\\n uint256 maxTokenLength,\\n uint64 maxLeverage,\\n bool burnDSLA\\n )\\n {\\n DSLAburnRate = _DSLAburnRate;\\n dslaDepositByPeriod = _dslaDepositByPeriod;\\n dslaPlatformReward = _dslaPlatformReward;\\n dslaMessengerReward = _dslaMessengerReward;\\n dslaUserReward = _dslaUserReward;\\n dslaBurnedByVerification = _dslaBurnedByVerification;\\n maxTokenLength = _maxTokenLength;\\n maxLeverage = _maxLeverage;\\n burnDSLA = _burnDSLA;\\n }\\n\\n function periodIsVerified(address _sla, uint256 _periodId)\\n external\\n view\\n returns (bool)\\n {\\n return slaLockedValue[_sla].verifiedPeriods[_periodId];\\n }\\n}\\n\",\"keccak256\":\"0x0c97d763e3b20f026bbf2491d0e9051f592dbf4fb0088a50d2e2aa25ade93d2c\"},\"@stacktical/dsla-protocol/contracts/Staking.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.6.6;\\n\\nimport '@openzeppelin/contracts/token/ERC20/ERC20.sol';\\nimport '@openzeppelin/contracts/token/ERC20/SafeERC20.sol';\\nimport '@openzeppelin/contracts/presets/ERC20PresetMinterPauser.sol';\\nimport '@openzeppelin/contracts/access/Ownable.sol';\\nimport '@openzeppelin/contracts/math/SafeMath.sol';\\nimport './StakeRegistry.sol';\\nimport './SLARegistry.sol';\\nimport './PeriodRegistry.sol';\\nimport './StringUtils.sol';\\n\\ncontract Staking is Ownable {\\n using SafeMath for uint256;\\n using SafeERC20 for ERC20;\\n\\n /// @dev StakeRegistry contract\\n StakeRegistry private stakeRegistry;\\n /// @dev SLARegistry contract\\n PeriodRegistry private immutable periodRegistry;\\n /// @dev current SLA id\\n uint128 public immutable slaID;\\n\\n /// @dev (tokenAddress=>uint256) total pooled token balance\\n mapping(address => uint256) public providerPool;\\n /// @dev (tokenAddress=>uint256) total pooled token balance\\n mapping(address => uint256) public usersPool;\\n\\n ///@dev (tokenAddress=>dTokenAddress) to keep track of dToken for users\\n mapping(address => ERC20PresetMinterPauser) public duTokenRegistry;\\n ///@dev (tokenAddress=>dTokenAddress) to keep track of dToken for provider\\n mapping(address => ERC20PresetMinterPauser) public dpTokenRegistry;\\n\\n /// @dev address[] of the stakers of the SLA contract\\n address[] public stakers;\\n /// @dev (slaOwner=>bool)\\n mapping(address => bool) public registeredStakers;\\n /// @dev DSLA token address to burn fees\\n address public immutable dslaTokenAddress;\\n /// @dev array with the allowed tokens addresses for the current SLA\\n address[] public allowedTokens;\\n\\n /// @dev corresponds to the burn rate of DSLA tokens, but divided by 1000 i.e burn percentage = burnRate/1000 %\\n uint256 public immutable DSLAburnRate;\\n\\n /// @dev PeriodRegistry period type of the SLA contract\\n PeriodRegistry.PeriodType private immutable periodType;\\n\\n /// @dev boolean to declare if contract is whitelisted\\n bool public immutable whitelistedContract;\\n /// @dev (userAddress=bool) to declare whitelisted addresses\\n mapping(address => bool) public whitelist;\\n\\n uint64 public immutable leverage;\\n\\n modifier onlyAllowedToken(address _token) {\\n require(isAllowedToken(_token) == true, 'token not allowed');\\n _;\\n }\\n\\n modifier onlyWhitelisted {\\n if (whitelistedContract == true) {\\n require(whitelist[msg.sender] == true, 'not whitelisted');\\n }\\n _;\\n }\\n\\n /**\\n * @dev event for provider reward log\\n * @param periodId 1. id of the period\\n * @param tokenAddress 2. address of the token\\n * @param rewardPercentage 3. reward percentage for the provider\\n * @param rewardPercentagePrecision 4. reward percentage for the provider\\n * @param rewardAmount 5. amount rewarded\\n */\\n event ProviderRewardGenerated(\\n uint256 indexed periodId,\\n address indexed tokenAddress,\\n uint256 rewardPercentage,\\n uint256 rewardPercentagePrecision,\\n uint256 rewardAmount\\n );\\n\\n event UserCompensationGenerated(\\n uint256 indexed periodId,\\n address indexed tokenAddress,\\n uint256 usersStake,\\n uint256 leverage,\\n uint256 compensation\\n );\\n\\n event DTokensCreated(\\n address indexed tokenAddress,\\n address indexed dpTokenAddress,\\n string dpTokenName,\\n string dpTokenSymbol,\\n address indexed duTokenAddress,\\n string duTokenName,\\n string duTokenSymbol\\n );\\n\\n /**\\n *@param _slaRegistryAddress 1. period type of the SLA\\n *@param _periodType 3. period type of the SLA\\n *@param _whitelistedContract 5. enables the white list feature\\n *@param _slaID 6. identifies the SLA to uniquely to emit dTokens\\n */\\n constructor(\\n SLARegistry _slaRegistry,\\n PeriodRegistry.PeriodType _periodType,\\n bool _whitelistedContract,\\n uint128 _slaID,\\n uint64 _leverage,\\n address _contractOwner\\n ) public {\\n stakeRegistry = _slaRegistry.stakeRegistry();\\n periodRegistry = _slaRegistry.periodRegistry();\\n periodType = _periodType;\\n whitelistedContract = _whitelistedContract;\\n (\\n uint256 _DSLAburnRate,\\n ,\\n ,\\n ,\\n ,\\n ,\\n ,\\n uint64 _maxLeverage,\\n\\n ) = stakeRegistry.getStakingParameters();\\n dslaTokenAddress = stakeRegistry.DSLATokenAddress();\\n DSLAburnRate = _DSLAburnRate;\\n whitelist[_contractOwner] = true;\\n slaID = _slaID;\\n require(\\n _leverage <= _maxLeverage && _leverage >= 1,\\n 'incorrect leverage'\\n );\\n leverage = _leverage;\\n }\\n\\n function addUsersToWhitelist(address[] memory _userAddresses)\\n public\\n onlyOwner\\n {\\n for (uint256 index = 0; index < _userAddresses.length; index++) {\\n if (whitelist[_userAddresses[index]] == false) {\\n whitelist[_userAddresses[index]] = true;\\n }\\n }\\n }\\n\\n function removeUsersFromWhitelist(address[] calldata _userAddresses)\\n external\\n onlyOwner\\n {\\n for (uint256 index = 0; index < _userAddresses.length; index++) {\\n if (whitelist[_userAddresses[index]] == true) {\\n whitelist[_userAddresses[index]] = false;\\n }\\n }\\n }\\n\\n /**\\n *@dev add a token to ve allowed for staking\\n *@param _tokenAddress 1. address of the new allowed token\\n */\\n function addAllowedTokens(address _tokenAddress) external onlyOwner {\\n (, , , , , , uint256 maxTokenLength, , ) = stakeRegistry\\n .getStakingParameters();\\n require(!isAllowedToken(_tokenAddress), 'already added');\\n require(\\n stakeRegistry.isAllowedToken(_tokenAddress),\\n 'not allowed by SLARegistry'\\n );\\n allowedTokens.push(_tokenAddress);\\n require(maxTokenLength >= allowedTokens.length, 'max token length');\\n string memory dTokenID = StringUtils.uintToStr(slaID);\\n string memory duTokenName = string(\\n abi.encodePacked('DSLA-SHORT-', dTokenID)\\n );\\n string memory duTokenSymbol = string(\\n abi.encodePacked('DSLA-SP-', dTokenID)\\n );\\n string memory dpTokenName = string(\\n abi.encodePacked('DSLA-LONG-', dTokenID)\\n );\\n string memory dpTokenSymbol = string(\\n abi.encodePacked('DSLA-LP-', dTokenID)\\n );\\n\\n ERC20PresetMinterPauser duToken = ERC20PresetMinterPauser(\\n stakeRegistry.createDToken(duTokenName, duTokenSymbol)\\n );\\n ERC20PresetMinterPauser dpToken = ERC20PresetMinterPauser(\\n stakeRegistry.createDToken(dpTokenName, dpTokenSymbol)\\n );\\n\\n dpTokenRegistry[_tokenAddress] = dpToken;\\n duTokenRegistry[_tokenAddress] = duToken;\\n emit DTokensCreated(\\n _tokenAddress,\\n address(dpToken),\\n dpTokenName,\\n dpTokenName,\\n address(duToken),\\n duTokenName,\\n duTokenName\\n );\\n }\\n\\n /**\\n *@dev increase the amount staked per token\\n *@param _amount 1. amount to be staked\\n *@param _tokenAddress 2. address of the token\\n *@notice providers can stake at any time\\n *@notice users can stake at any time but no more than provider pool\\n */\\n function _stake(uint256 _amount, address _tokenAddress)\\n internal\\n onlyAllowedToken(_tokenAddress)\\n onlyWhitelisted\\n {\\n ERC20(_tokenAddress).safeTransferFrom(\\n msg.sender,\\n address(this),\\n _amount\\n );\\n //duTokens\\n if (msg.sender != owner()) {\\n (uint256 providerStake, uint256 usersStake) = (\\n providerPool[_tokenAddress],\\n usersPool[_tokenAddress]\\n );\\n require(\\n usersStake.add(_amount).mul(leverage) <= providerStake,\\n 'incorrect user stake'\\n );\\n ERC20PresetMinterPauser duToken = duTokenRegistry[_tokenAddress];\\n uint256 p0 = duToken.totalSupply();\\n\\n // if there's no minted tokens, then create 1-1 proportion\\n if (p0 == 0) {\\n duToken.mint(msg.sender, _amount);\\n } else {\\n uint256 t0 = usersPool[_tokenAddress];\\n // mint dTokens proportionally\\n uint256 mintedDUTokens = _amount.mul(p0).div(t0);\\n duToken.mint(msg.sender, mintedDUTokens);\\n }\\n usersPool[_tokenAddress] = usersPool[_tokenAddress].add(_amount);\\n //dpTokens\\n } else {\\n ERC20PresetMinterPauser dpToken = dpTokenRegistry[_tokenAddress];\\n uint256 p0 = dpToken.totalSupply();\\n\\n if (p0 == 0) {\\n dpToken.mint(msg.sender, _amount);\\n } else {\\n uint256 t0 = providerPool[_tokenAddress];\\n // mint dTokens proportionally\\n uint256 mintedDPTokens = _amount.mul(p0).div(t0);\\n dpToken.mint(msg.sender, mintedDPTokens);\\n }\\n\\n providerPool[_tokenAddress] = providerPool[_tokenAddress].add(\\n _amount\\n );\\n }\\n\\n if (registeredStakers[msg.sender] == false) {\\n registeredStakers[msg.sender] = true;\\n stakers.push(msg.sender);\\n }\\n }\\n\\n /**\\n *@dev sets the provider reward\\n *@notice it calculates the usersStake and calculates the provider reward from it.\\n * @param _periodId 1. id of the period\\n * @param _rewardPercentage to calculate the provider reward\\n * @param _precision used to avoid getting 0 after division in the SLA's registerSLI function\\n */\\n function _setRespectedPeriodReward(\\n uint256 _periodId,\\n uint256 _rewardPercentage,\\n uint256 _precision\\n ) internal {\\n for (uint256 index = 0; index < allowedTokens.length; index++) {\\n address tokenAddress = allowedTokens[index];\\n uint256 usersStake = usersPool[tokenAddress];\\n uint256 reward = usersStake.mul(_rewardPercentage).div(_precision);\\n\\n usersPool[tokenAddress] = usersPool[tokenAddress].sub(reward);\\n\\n providerPool[tokenAddress] = providerPool[tokenAddress].add(reward);\\n\\n emit ProviderRewardGenerated(\\n _periodId,\\n tokenAddress,\\n _rewardPercentage,\\n _precision,\\n reward\\n );\\n }\\n }\\n\\n /**\\n *@dev sets the users compensation pool\\n *@notice it calculates the usersStake and calculates the users compensation from it\\n */\\n function _setUsersCompensation(uint256 _periodId) internal {\\n for (uint256 index = 0; index < allowedTokens.length; index++) {\\n address tokenAddress = allowedTokens[index];\\n uint256 usersStake = usersPool[tokenAddress];\\n uint256 compensation = usersStake.mul(leverage);\\n providerPool[tokenAddress] = providerPool[tokenAddress].sub(\\n compensation\\n );\\n usersPool[tokenAddress] = usersPool[tokenAddress].add(compensation);\\n emit UserCompensationGenerated(\\n _periodId,\\n tokenAddress,\\n usersStake,\\n leverage,\\n compensation\\n );\\n }\\n }\\n\\n /**\\n *@dev withdraw staked tokens. Only dpToken owners can withdraw,\\n *@param _amount 1. amount to be withdrawn\\n *@param _tokenAddress 2. address of the token\\n *@param _contractFinished 3. contract finished\\n */\\n function _withdrawProviderTokens(\\n uint256 _amount,\\n address _tokenAddress,\\n bool _contractFinished\\n ) internal onlyAllowedToken(_tokenAddress) {\\n uint256 providerStake = providerPool[_tokenAddress];\\n uint256 usersStake = usersPool[_tokenAddress];\\n if (!_contractFinished) {\\n require(\\n providerStake.sub(_amount) >= usersStake.mul(leverage),\\n 'incorrect withdraw'\\n );\\n }\\n ERC20PresetMinterPauser dpToken = dpTokenRegistry[_tokenAddress];\\n uint256 p0 = dpToken.totalSupply();\\n uint256 t0 = providerPool[_tokenAddress];\\n // Burn duTokens in a way that it doesn't affect the PoolTokens/LPTokens average\\n // t0/p0 = (t0-_amount)/(p0-burnedDPTokens)\\n // burnedDPTokens = _amount*p0/t0\\n uint256 burnedDPTokens = _amount.mul(p0).div(t0);\\n dpToken.burnFrom(msg.sender, burnedDPTokens);\\n providerPool[_tokenAddress] = providerPool[_tokenAddress].sub(_amount);\\n ERC20(_tokenAddress).safeTransfer(msg.sender, _amount);\\n }\\n\\n /**\\n *@dev withdraw staked tokens. Only duToken owners can withdraw,\\n *@param _amount 1. amount to be withdrawn\\n *@param _tokenAddress 2. address of the token\\n */\\n function _withdrawUserTokens(uint256 _amount, address _tokenAddress)\\n internal\\n onlyAllowedToken(_tokenAddress)\\n {\\n ERC20PresetMinterPauser duToken = duTokenRegistry[_tokenAddress];\\n uint256 p0 = duToken.totalSupply();\\n uint256 t0 = usersPool[_tokenAddress];\\n // Burn duTokens in a way that it doesn't affect the PoolTokens/LPTokens\\n // average for current period.\\n // t0/p0 = (t0-_amount)/(p0-burnedDUTokens)\\n // burnedDUTokens = _amount*p0/t0\\n uint256 burnedDUTokens = _amount.mul(p0).div(t0);\\n duToken.burnFrom(msg.sender, burnedDUTokens);\\n usersPool[_tokenAddress] = usersPool[_tokenAddress].sub(_amount);\\n ERC20(_tokenAddress).safeTransfer(msg.sender, _amount);\\n }\\n\\n /**\\n *@dev use this function to evaluate the length of the allowed tokens length\\n *@return allowedTokens.length\\n */\\n function getAllowedTokensLength() external view returns (uint256) {\\n return allowedTokens.length;\\n }\\n\\n function getTokenStake(address _staker, uint256 _allowedTokenIndex)\\n external\\n view\\n returns (address tokenAddress, uint256 stake)\\n {\\n address allowedTokenAddress = allowedTokens[_allowedTokenIndex];\\n if (_staker == owner()) {\\n return (allowedTokenAddress, providerPool[allowedTokenAddress]);\\n } else {\\n ERC20PresetMinterPauser dToken = duTokenRegistry[\\n allowedTokenAddress\\n ];\\n uint256 dTokenSupply = dToken.totalSupply();\\n if (dTokenSupply == 0) {\\n return (allowedTokenAddress, 0);\\n }\\n uint256 dTokenBalance = dToken.balanceOf(_staker);\\n return (\\n allowedTokenAddress,\\n usersPool[allowedTokenAddress].mul(dTokenBalance).div(\\n dTokenSupply\\n )\\n );\\n }\\n }\\n\\n /**\\n *@dev checks in the allowedTokens array if there's a token with _tokenAddress value\\n *@param _tokenAddress 1. token address to check exixtence\\n *@return true if _tokenAddress exists in the allowedTokens array\\n */\\n function isAllowedToken(address _tokenAddress) public view returns (bool) {\\n for (uint256 index = 0; index < allowedTokens.length; index++) {\\n if (allowedTokens[index] == _tokenAddress) {\\n return true;\\n }\\n }\\n return false;\\n }\\n}\\n\",\"keccak256\":\"0xed24dfecab3a9fdac7ee97e7949d32c851105dc91445dfc3c67c62e056950a64\"},\"@stacktical/dsla-protocol/contracts/StringUtils.sol\":{\"content\":\"// solhint-disable-line\\npragma solidity 0.6.6;\\n\\nlibrary StringUtils {\\n function addressToString(address _address)\\n external\\n pure\\n returns (string memory)\\n {\\n bytes32 _bytes = bytes32(uint256(_address));\\n bytes memory HEX = '0123456789abcdef';\\n bytes memory _string = new bytes(42);\\n _string[0] = '0';\\n _string[1] = 'x';\\n for (uint256 i = 0; i < 20; i++) {\\n _string[2 + i * 2] = HEX[uint8(_bytes[i + 12] >> 4)];\\n _string[3 + i * 2] = HEX[uint8(_bytes[i + 12] & 0x0f)];\\n }\\n return string(_string);\\n }\\n\\n function bytes32ToStr(bytes32 _bytes32)\\n external\\n pure\\n returns (string memory)\\n {\\n uint8 i = 0;\\n while (i < 32 && _bytes32[i] != 0) {\\n i++;\\n }\\n bytes memory bytesArray = new bytes(i);\\n for (i = 0; i < 32 && _bytes32[i] != 0; i++) {\\n bytesArray[i] = _bytes32[i];\\n }\\n return string(bytesArray);\\n }\\n\\n function bytesToUint(bytes calldata b)\\n external\\n pure\\n returns (uint256 result)\\n {\\n result = 0;\\n for (uint256 i = 0; i < b.length; i++) {\\n if (uint8(b[i]) >= 48 && uint8(b[i]) <= 57) {\\n result = result * 10 + (uint8(b[i]) - 48);\\n }\\n }\\n return result;\\n }\\n\\n /*\\n ORACLIZE_API\\n Copyright (c) 2015-2016 Oraclize SRL\\n Copyright (c) 2016 Oraclize LTD\\n Permission is hereby granted, free of charge, to any person obtaining a copy\\n of this software and associated documentation files (the \\\"Software\\\"), to deal\\n in the Software without restriction, including without limitation the rights\\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\n copies of the Software, and to permit persons to whom the Software is\\n furnished to do so, subject to the following conditions:\\n The above copyright notice and this permission notice shall be included in\\n all copies or substantial portions of the Software.\\n THE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\\n THE SOFTWARE.\\n */\\n function uintToStr(uint256 _i)\\n external\\n pure\\n returns (string memory _uintAsString)\\n {\\n uint256 number = _i;\\n if (number == 0) {\\n return '0';\\n }\\n uint256 j = number;\\n uint256 len;\\n while (j != 0) {\\n len++;\\n j /= 10;\\n }\\n bytes memory bstr = new bytes(len);\\n uint256 k = len - 1;\\n while (number != 0) {\\n bstr[k--] = bytes1(uint8(48 + (number % 10)));\\n number /= 10;\\n }\\n return string(bstr);\\n }\\n}\\n\",\"keccak256\":\"0x4fc0b51621b1daf8722fb102c895c0c74f0c5c0f10d8467e26ac2f4e86f614d2\"},\"@stacktical/dsla-protocol/contracts/messenger/IMessenger.sol\":{\"content\":\"pragma solidity 0.6.6;\\n\\nimport '@openzeppelin/contracts/access/Ownable.sol';\\n\\n/**\\n * @title IMessenger\\n * @dev Interface to create new Messenger contract to add lo Messenger lists\\n */\\n\\nabstract contract IMessenger is Ownable {\\n struct SLIRequest {\\n address slaAddress;\\n uint256 periodId;\\n }\\n\\n /**\\n * @dev event emitted when having a response from Chainlink with the SLI\\n * @param slaAddress 1. SLA address to store the SLI\\n * @param periodId 2. id of the Chainlink request\\n * @param requestId 3. id of the Chainlink request\\n * @param chainlinkResponse 4. response from Chainlink\\n */\\n event SLIReceived(\\n address indexed slaAddress,\\n uint256 periodId,\\n bytes32 indexed requestId,\\n bytes32 chainlinkResponse\\n );\\n\\n /**\\n * @dev sets the SLARegistry contract address and can only be called once\\n */\\n function setSLARegistry() external virtual;\\n\\n /**\\n * @dev creates a ChainLink request to get a new SLI value for the\\n * given params. Can only be called by the SLARegistry contract or Chainlink Oracle.\\n * @param _periodId 1. id of the period to be queried\\n * @param _slaAddress 2. address of the receiver SLA\\n * @param _slaAddress 2. if approval by owner or msg.sender\\n */\\n\\n function requestSLI(\\n uint256 _periodId,\\n address _slaAddress,\\n bool _ownerApproval,\\n address _callerAddress\\n ) external virtual;\\n\\n /**\\n * @dev callback function for the Chainlink SLI request which stores\\n * the SLI in the SLA contract\\n * @param _requestId the ID of the ChainLink request\\n * @param _chainlinkResponseUint256 response object from Chainlink Oracles\\n */\\n function fulfillSLI(bytes32 _requestId, uint256 _chainlinkResponseUint256)\\n external\\n virtual;\\n\\n /**\\n * @dev gets the messenger precision\\n */\\n function messengerPrecision() external view virtual returns (uint256);\\n\\n /**\\n * @dev gets the slaRegistryAddress\\n */\\n function slaRegistryAddress() external view virtual returns (address);\\n\\n /**\\n * @dev gets the chainlink oracle contract address\\n */\\n function oracle() external view virtual returns (address);\\n\\n /**\\n * @dev gets the chainlink job id\\n */\\n function jobId() external view virtual returns (bytes32);\\n\\n /**\\n * @dev gets the fee amount of LINK token\\n */\\n function fee() external view virtual returns (uint256);\\n\\n /**\\n * @dev returns the requestsCounter\\n */\\n function requestsCounter() external view virtual returns (uint256);\\n\\n /**\\n * @dev returns the fulfillsCounter\\n */\\n function fulfillsCounter() external view virtual returns (uint256);\\n\\n function setChainlinkJobID(bytes32 _newJobId, uint256 _feeMultiplier)\\n external\\n virtual;\\n\\n function retryRequest(address _slaAddress, uint256 _periodId)\\n external\\n virtual;\\n}\\n\",\"keccak256\":\"0xf83da5044c8dbf6e108d183c76db071d0b20e2b8d025b16e145fcfa6230a7416\"},\"contracts/messengers/staking-efficiency/SEMessenger.sol\":{\"content\":\"pragma solidity 0.6.6;\\n\\npragma experimental ABIEncoderV2;\\n\\nimport '@chainlink/contracts/src/v0.6/ChainlinkClient.sol';\\n\\nimport '@stacktical/dsla-protocol/contracts/messenger/IMessenger.sol';\\nimport '@stacktical/dsla-protocol/contracts/SLA.sol';\\nimport '@stacktical/dsla-protocol/contracts/PeriodRegistry.sol';\\nimport '@stacktical/dsla-protocol/contracts/StringUtils.sol';\\nimport '@stacktical/dsla-protocol/contracts/StakeRegistry.sol';\\n\\nimport '@openzeppelin/contracts/token/ERC20/ERC20.sol';\\nimport '@openzeppelin/contracts/token/ERC20/SafeERC20.sol';\\n\\n/**\\n * @title SEMessenger\\n * @dev Staking efficiency Messenger\\n */\\n\\ncontract SEMessenger is ChainlinkClient, IMessenger, ReentrancyGuard {\\n using SafeERC20 for ERC20;\\n\\n /// @dev Mapping that stores chainlink sli request information\\n mapping(bytes32 => SLIRequest) public requestIdToSLIRequest;\\n /// @dev Array with all request IDs\\n bytes32[] public requests;\\n /// @dev The address of the SLARegistry contract\\n address private _slaRegistryAddress;\\n /// @dev Chainlink oracle address\\n address private immutable _oracle;\\n /// @dev chainlink jobId\\n bytes32 private _jobId;\\n // @dev fee for Chainlink querys. Currently 0.1 LINK\\n uint256 private constant _baseFee = 0.1 ether;\\n /// @dev fee for Chainlink querys. Currently 0.1 LINK\\n uint256 private _fee;\\n /// @dev to multiply the SLI value and get better precision. Useful to deploy SLO correctly\\n uint256 private constant _messengerPrecision = 10**3;\\n\\n uint256 private _requestsCounter;\\n uint256 private _fulfillsCounter;\\n PeriodRegistry private periodRegistry;\\n StakeRegistry private stakeRegistry;\\n bool private retry = false;\\n\\n /**\\n * @dev parameterize the variables according to network\\n * @notice sets the Chainlink parameters (oracle address, token address, jobId) and sets the SLARegistry to 0x0 address\\n * @param _messengerChainlinkOracle 1. the address of the oracle to create requests to\\n * @param _messengerChainlinkToken 2. the address of LINK token contract\\n * @param _messengerJobId 3. the job id for Staking efficiency job\\n * @param _feeMultiplier 6. states the amount of paid nodes running behind the precoordinator, to set the fee\\n */\\n constructor(\\n address _messengerChainlinkOracle,\\n address _messengerChainlinkToken,\\n bytes32 _messengerJobId,\\n uint256 _feeMultiplier,\\n PeriodRegistry _periodRegistry,\\n StakeRegistry _stakeRegistry\\n ) public {\\n _jobId = _messengerJobId;\\n setChainlinkToken(_messengerChainlinkToken);\\n _oracle = _messengerChainlinkOracle;\\n _fee = _feeMultiplier * _baseFee;\\n periodRegistry = _periodRegistry;\\n stakeRegistry = _stakeRegistry;\\n }\\n\\n /**\\n * @dev event emitted when modifying the jobId\\n * @param owner 1. -\\n * @param jobId 2. -\\n * @param fee 3. -\\n */\\n event JobIdModified(address indexed owner, bytes32 jobId, uint256 fee);\\n\\n /**\\n * @dev event emitted when modifying the jobId\\n * @param caller 1. -\\n * @param requestsCounter 2. -\\n * @param requestId 3. -\\n */\\n event SLIRequested(\\n address indexed caller,\\n uint256 requestsCounter,\\n bytes32 requestId\\n );\\n\\n /// @dev Throws if called by any address other than the SLARegistry contract or Chainlink Oracle.\\n modifier onlySLARegistry() {\\n if (!retry) {\\n require(\\n msg.sender == _slaRegistryAddress,\\n 'Can only be called by SLARegistry'\\n );\\n }\\n _;\\n }\\n\\n modifier retryLock() {\\n retry = true;\\n _;\\n retry = false;\\n }\\n\\n /**\\n * @dev sets the SLARegistry contract address and can only be called\\n * once\\n */\\n function setSLARegistry() public override {\\n // Only able to trigger this function once\\n require(\\n _slaRegistryAddress == address(0),\\n 'SLARegistry address has already been set'\\n );\\n\\n _slaRegistryAddress = msg.sender;\\n }\\n\\n /**\\n * @dev creates a ChainLink request to get a new SLI value for the\\n * given params. Can only be called by the SLARegistry contract or Chainlink Oracle.\\n * @param _periodId 1. value of the period id\\n * @param _slaAddress 2. SLA Address\\n * @param _messengerOwnerApproval 3. if approval by owner or msg sender\\n */\\n function requestSLI(\\n uint256 _periodId,\\n address _slaAddress,\\n bool _messengerOwnerApproval,\\n address _callerAddress\\n ) public override onlySLARegistry nonReentrant {\\n SLA sla = SLA(_slaAddress);\\n if (_messengerOwnerApproval) {\\n ERC20(chainlinkTokenAddress()).safeTransferFrom(\\n owner(),\\n address(this),\\n _fee\\n );\\n } else {\\n ERC20(chainlinkTokenAddress()).safeTransferFrom(\\n _callerAddress,\\n address(this),\\n _fee\\n );\\n }\\n Chainlink.Request memory request = buildChainlinkRequest(\\n _jobId,\\n address(this),\\n this.fulfillSLI.selector\\n );\\n (\\n uint256 sla_monitoring_start,\\n uint256 sla_monitoring_end\\n ) = periodRegistry.getPeriodStartAndEnd(sla.periodType(), _periodId);\\n request.add(\\n 'sla_monitoring_start',\\n StringUtils.uintToStr(sla_monitoring_start)\\n );\\n request.add(\\n 'sla_monitoring_end',\\n StringUtils.uintToStr(sla_monitoring_end)\\n );\\n request.add('sla_address', StringUtils.addressToString(_slaAddress));\\n\\n // Sends the request with 0.1 LINK to the oracle contract\\n bytes32 requestId = sendChainlinkRequestTo(_oracle, request, _fee);\\n\\n requests.push(requestId);\\n\\n requestIdToSLIRequest[requestId] = SLIRequest({\\n slaAddress: _slaAddress,\\n periodId: _periodId\\n });\\n\\n _requestsCounter += 1;\\n emit SLIRequested(_callerAddress, _requestsCounter, requestId);\\n }\\n\\n /**\\n * @dev callback function for the Chainlink SLI request which stores\\n * the SLI in the SLA contract\\n * @param _requestId the ID of the ChainLink request\\n * @param _chainlinkResponse response object from Chainlink Oracles\\n */\\n function fulfillSLI(bytes32 _requestId, uint256 _chainlinkResponse)\\n external\\n override\\n nonReentrant\\n recordChainlinkFulfillment(_requestId)\\n {\\n SLIRequest memory request = requestIdToSLIRequest[_requestId];\\n emit SLIReceived(\\n request.slaAddress,\\n request.periodId,\\n _requestId,\\n bytes32(_chainlinkResponse)\\n );\\n _fulfillsCounter += 1;\\n SLA(request.slaAddress).registerSLI(\\n _chainlinkResponse,\\n request.periodId\\n );\\n }\\n\\n function retryRequest(address _slaAddress, uint256 _periodId)\\n external\\n override\\n retryLock\\n {\\n require(\\n stakeRegistry.periodIsVerified(_slaAddress, _periodId),\\n 'StakeRegistry: not verified'\\n );\\n SLA sla = SLA(_slaAddress);\\n (, , SLA.Status status) = sla.periodSLIs(_periodId);\\n require(status == SLA.Status.NotVerified, 'SLA: verified');\\n requestSLI(_periodId, _slaAddress, false, msg.sender);\\n }\\n\\n /**\\n * @dev sets a new jobId, which is a agreement Id of a PreCoordinator contract\\n * @param _newJobId the id of the PreCoordinator agreement\\n * @param _feeMultiplier how many Chainlink nodes would be paid on the agreement id, to set the fee value\\n */\\n function setChainlinkJobID(bytes32 _newJobId, uint256 _feeMultiplier)\\n external\\n override\\n onlyOwner\\n {\\n _jobId = _newJobId;\\n _fee = _feeMultiplier * _baseFee;\\n emit JobIdModified(msg.sender, _newJobId, _fee);\\n }\\n\\n /**\\n * @dev returns the value of the sla registry address\\n */\\n function slaRegistryAddress() external view override returns (address) {\\n return _slaRegistryAddress;\\n }\\n\\n /**\\n * @dev returns the value of the messenger precision\\n */\\n function messengerPrecision() external view override returns (uint256) {\\n return _messengerPrecision;\\n }\\n\\n /**\\n * @dev returns the chainlink oracle contract address\\n */\\n function oracle() external view override returns (address) {\\n return _oracle;\\n }\\n\\n /**\\n * @dev returns the chainlink job id\\n */\\n function jobId() external view override returns (bytes32) {\\n return _jobId;\\n }\\n\\n /**\\n * @dev returns the chainlink fee value on LINK tokens\\n */\\n function fee() external view override returns (uint256) {\\n return _fee;\\n }\\n\\n /**\\n * @dev returns the requestsCounter\\n */\\n function requestsCounter() external view override returns (uint256) {\\n return _requestsCounter;\\n }\\n\\n /**\\n * @dev returns the fulfillsCounter\\n */\\n function fulfillsCounter() external view override returns (uint256) {\\n return _fulfillsCounter;\\n }\\n}\\n\",\"keccak256\":\"0x9e394669b3d07f95f48a869d876c149b414341e78134759f71429adece82aeee\"}},\"version\":1}", "storageLayout": { "storage": [ { @@ -15536,7 +15480,7 @@ "type": "t_uint8" }, { - "astId": 13289, + "astId": 13124, "contract": "contracts/tokens/PolygonERC20.sol:PolygonERC20", "label": "deployer", "offset": 1, @@ -185191,10 +185135,10 @@ "absolutePath": "contracts/messengers/staking-efficiency/SEMessenger.sol", "exportedSymbols": { "SEMessenger": [ - 13250 + 13085 ] }, - "id": 13251, + "id": 13086, "nodeType": "SourceUnit", "nodes": [ { @@ -185221,7 +185165,7 @@ "file": "@chainlink/contracts/src/v0.6/ChainlinkClient.sol", "id": 12579, "nodeType": "ImportDirective", - "scope": 13251, + "scope": 13086, "sourceUnit": 720, "src": "59:59:45", "symbolAliases": [], @@ -185232,7 +185176,7 @@ "file": "@stacktical/dsla-protocol/contracts/messenger/IMessenger.sol", "id": 12580, "nodeType": "ImportDirective", - "scope": 13251, + "scope": 13086, "sourceUnit": 12566, "src": "120:70:45", "symbolAliases": [], @@ -185243,7 +185187,7 @@ "file": "@stacktical/dsla-protocol/contracts/SLA.sol", "id": 12581, "nodeType": "ImportDirective", - "scope": 13251, + "scope": 13086, "sourceUnit": 9275, "src": "191:53:45", "symbolAliases": [], @@ -185254,7 +185198,7 @@ "file": "@stacktical/dsla-protocol/contracts/PeriodRegistry.sol", "id": 12582, "nodeType": "ImportDirective", - "scope": 13251, + "scope": 13086, "sourceUnit": 8707, "src": "245:64:45", "symbolAliases": [], @@ -185265,7 +185209,7 @@ "file": "@stacktical/dsla-protocol/contracts/StringUtils.sol", "id": 12583, "nodeType": "ImportDirective", - "scope": 13251, + "scope": 13086, "sourceUnit": 12463, "src": "310:61:45", "symbolAliases": [], @@ -185276,7 +185220,7 @@ "file": "@stacktical/dsla-protocol/contracts/StakeRegistry.sol", "id": 12584, "nodeType": "ImportDirective", - "scope": 13251, + "scope": 13086, "sourceUnit": 11078, "src": "372:63:45", "symbolAliases": [], @@ -185287,7 +185231,7 @@ "file": "@openzeppelin/contracts/token/ERC20/ERC20.sol", "id": 12585, "nodeType": "ImportDirective", - "scope": 13251, + "scope": 13086, "sourceUnit": 5932, "src": "437:55:45", "symbolAliases": [], @@ -185298,7 +185242,7 @@ "file": "@openzeppelin/contracts/token/ERC20/SafeERC20.sol", "id": 12586, "nodeType": "ImportDirective", - "scope": 13251, + "scope": 13086, "sourceUnit": 6319, "src": "493:59:45", "symbolAliases": [], @@ -185377,9 +185321,9 @@ "text": "@title SEMessenger\n@dev Staking efficiency Messenger" }, "fullyImplemented": true, - "id": 13250, + "id": 13085, "linearizedBaseContracts": [ - 13250, + 13085, 7261, 12565, 4937, @@ -185426,7 +185370,7 @@ "name": "requestIdToSLIRequest", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13250, + "scope": 13085, "src": "796:59:45", "stateVariable": true, "storageLocation": "default", @@ -185476,7 +185420,7 @@ "name": "requests", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13250, + "scope": 13085, "src": "901:25:45", "stateVariable": true, "storageLocation": "default", @@ -185514,7 +185458,7 @@ "name": "_slaRegistryAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13250, + "scope": 13085, "src": "985:35:45", "stateVariable": true, "storageLocation": "default", @@ -185543,7 +185487,7 @@ "name": "_oracle", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13250, + "scope": 13085, "src": "1064:33:45", "stateVariable": true, "storageLocation": "default", @@ -185572,7 +185516,7 @@ "name": "_jobId", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13250, + "scope": 13085, "src": "1132:22:45", "stateVariable": true, "storageLocation": "default", @@ -185600,7 +185544,7 @@ "name": "_baseFee", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13250, + "scope": 13085, "src": "1217:45:45", "stateVariable": true, "storageLocation": "default", @@ -185645,7 +185589,7 @@ "name": "_fee", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13250, + "scope": 13085, "src": "1326:20:45", "stateVariable": true, "storageLocation": "default", @@ -185673,7 +185617,7 @@ "name": "_messengerPrecision", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13250, + "scope": 13085, "src": "1448:52:45", "stateVariable": true, "storageLocation": "default", @@ -185755,7 +185699,7 @@ "name": "_requestsCounter", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13250, + "scope": 13085, "src": "1507:32:45", "stateVariable": true, "storageLocation": "default", @@ -185783,7 +185727,7 @@ "name": "_fulfillsCounter", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13250, + "scope": 13085, "src": "1545:32:45", "stateVariable": true, "storageLocation": "default", @@ -185811,7 +185755,7 @@ "name": "periodRegistry", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13250, + "scope": 13085, "src": "1583:37:45", "stateVariable": true, "storageLocation": "default", @@ -185841,7 +185785,7 @@ "name": "stakeRegistry", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13250, + "scope": 13085, "src": "1626:35:45", "stateVariable": true, "storageLocation": "default", @@ -185871,7 +185815,7 @@ "name": "retry", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13250, + "scope": 13085, "src": "1667:26:45", "stateVariable": true, "storageLocation": "default", @@ -186434,7 +186378,7 @@ "parameters": [], "src": "2506:0:45" }, - "scope": 13250, + "scope": 13085, "src": "2253:516:45", "stateMutability": "nonpayable", "virtual": false, @@ -187258,7 +187202,7 @@ "parameters": [], "src": "3829:0:45" }, - "scope": 13250, + "scope": 13085, "src": "3787:273:45", "stateMutability": "nonpayable", "virtual": false, @@ -187269,9 +187213,9 @@ 12500 ], "body": { - "id": 12892, + "id": 12885, "nodeType": "Block", - "src": "4606:1555:45", + "src": "4606:1494:45", "statements": [ { "assignments": [ @@ -187285,7 +187229,7 @@ "name": "sla", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 12892, + "scope": 12885, "src": "4616:7:45", "stateVariable": false, "storageLocation": "default", @@ -187411,7 +187355,7 @@ "referencedDeclaration": -28, "src": "4970:4:45", "typeDescriptions": { - "typeIdentifier": "t_contract$_SEMessenger_$13250", + "typeIdentifier": "t_contract$_SEMessenger_$13085", "typeString": "contract SEMessenger" } } @@ -187419,7 +187363,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_SEMessenger_$13250", + "typeIdentifier": "t_contract$_SEMessenger_$13085", "typeString": "contract SEMessenger" } ], @@ -187647,7 +187591,7 @@ "referencedDeclaration": -28, "src": "4793:4:45", "typeDescriptions": { - "typeIdentifier": "t_contract$_SEMessenger_$13250", + "typeIdentifier": "t_contract$_SEMessenger_$13085", "typeString": "contract SEMessenger" } } @@ -187655,7 +187599,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_SEMessenger_$13250", + "typeIdentifier": "t_contract$_SEMessenger_$13085", "typeString": "contract SEMessenger" } ], @@ -187841,7 +187785,7 @@ "name": "request", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 12892, + "scope": 12885, "src": "5031:32:45", "stateVariable": false, "storageLocation": "memory", @@ -187876,7 +187820,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12609, - "src": "5117:6:45", + "src": "5101:6:45", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -187892,9 +187836,9 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -28, - "src": "5149:4:45", + "src": "5129:4:45", "typeDescriptions": { - "typeIdentifier": "t_contract$_SEMessenger_$13250", + "typeIdentifier": "t_contract$_SEMessenger_$13085", "typeString": "contract SEMessenger" } } @@ -187902,7 +187846,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_SEMessenger_$13250", + "typeIdentifier": "t_contract$_SEMessenger_$13085", "typeString": "contract SEMessenger" } ], @@ -187912,7 +187856,7 @@ "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "5141:7:45", + "src": "5121:7:45", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" @@ -187921,7 +187865,7 @@ "id": 12801, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5141:7:45", + "src": "5121:7:45", "typeDescriptions": { "typeIdentifier": null, "typeString": null @@ -187936,7 +187880,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5141:13:45", + "src": "5121:13:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -187954,9 +187898,9 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -28, - "src": "5172:4:45", + "src": "5148:4:45", "typeDescriptions": { - "typeIdentifier": "t_contract$_SEMessenger_$13250", + "typeIdentifier": "t_contract$_SEMessenger_$13085", "typeString": "contract SEMessenger" } }, @@ -187967,8 +187911,8 @@ "lValueRequested": false, "memberName": "fulfillSLI", "nodeType": "MemberAccess", - "referencedDeclaration": 12971, - "src": "5172:15:45", + "referencedDeclaration": 12933, + "src": "5148:15:45", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", "typeString": "function (bytes32,uint256) external" @@ -187982,7 +187926,7 @@ "memberName": "selector", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5172:24:45", + "src": "5148:24:45", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -188009,7 +187953,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 357, - "src": "5078:21:45", + "src": "5066:21:45", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_address_$_t_bytes4_$returns$_t_struct$_Request_$23_memory_ptr_$", "typeString": "function (bytes32,address,bytes4) pure returns (struct Chainlink.Request memory)" @@ -188023,7 +187967,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5078:132:45", + "src": "5066:116:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_Request_$23_memory_ptr", @@ -188031,7 +187975,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "5031:179:45" + "src": "5031:151:45" }, { "assignments": [ @@ -188046,8 +187990,8 @@ "name": "sla_monitoring_start", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 12892, - "src": "5221:28:45", + "scope": 12885, + "src": "5206:28:45", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -188058,7 +188002,7 @@ "id": 12810, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5221:7:45", + "src": "5206:7:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -188074,8 +188018,8 @@ "name": "sla_monitoring_end", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 12892, - "src": "5251:26:45", + "scope": 12885, + "src": "5248:26:45", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -188086,7 +188030,7 @@ "id": 12812, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5251:7:45", + "src": "5248:7:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -188112,7 +188056,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12759, - "src": "5329:3:45", + "src": "5323:3:45", "typeDescriptions": { "typeIdentifier": "t_contract$_SLA_$9274", "typeString": "contract SLA" @@ -188126,7 +188070,7 @@ "memberName": "periodType", "nodeType": "MemberAccess", "referencedDeclaration": 8752, - "src": "5329:14:45", + "src": "5323:14:45", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_enum$_PeriodType_$8228_$", "typeString": "function () view external returns (enum PeriodRegistry.PeriodType)" @@ -188140,7 +188084,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5329:16:45", + "src": "5323:16:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_enum$_PeriodType_$8228", @@ -188154,7 +188098,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12744, - "src": "5347:9:45", + "src": "5341:9:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -188179,7 +188123,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12625, - "src": "5293:14:45", + "src": "5287:14:45", "typeDescriptions": { "typeIdentifier": "t_contract$_PeriodRegistry_$8706", "typeString": "contract PeriodRegistry" @@ -188193,7 +188137,7 @@ "memberName": "getPeriodStartAndEnd", "nodeType": "MemberAccess", "referencedDeclaration": 8521, - "src": "5293:35:45", + "src": "5287:35:45", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_enum$_PeriodType_$8228_$_t_uint256_$returns$_t_uint256_$_t_uint256_$", "typeString": "function (enum PeriodRegistry.PeriodType,uint256) view external returns (uint256,uint256)" @@ -188207,7 +188151,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5293:64:45", + "src": "5287:64:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$", @@ -188215,105 +188159,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "5220:137:45" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "6a6f625f74797065", - "id": 12825, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5379:10:45", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_676dc2770f945c1bf6d79e2c3764df434f759dd9d5dbe6cfdb486b4ee4e12ed7", - "typeString": "literal_string \"job_type\"" - }, - "value": "job_type" - }, - { - "argumentTypes": null, - "hexValue": "7374616b696e675f656666696369656e6379", - "id": 12826, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5391:20:45", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6e993e975bc138863e3828b345ea31a451adcd44e5f0441b2d1b0b7df5df6711", - "typeString": "literal_string \"staking_efficiency\"" - }, - "value": "staking_efficiency" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_676dc2770f945c1bf6d79e2c3764df434f759dd9d5dbe6cfdb486b4ee4e12ed7", - "typeString": "literal_string \"job_type\"" - }, - { - "typeIdentifier": "t_stringliteral_6e993e975bc138863e3828b345ea31a451adcd44e5f0441b2d1b0b7df5df6711", - "typeString": "literal_string \"staking_efficiency\"" - } - ], - "expression": { - "argumentTypes": null, - "id": 12822, - "name": "request", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12798, - "src": "5367:7:45", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Request_$23_memory_ptr", - "typeString": "struct Chainlink.Request memory" - } - }, - "id": 12824, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 119, - "src": "5367:11:45", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_Request_$23_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$bound_to$_t_struct$_Request_$23_memory_ptr_$", - "typeString": "function (struct Chainlink.Request memory,string memory,string memory) pure" - } - }, - "id": 12827, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5367:45:45", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12828, - "nodeType": "ExpressionStatement", - "src": "5367:45:45" + "src": "5192:159:45" }, { "expression": { @@ -188322,14 +188168,14 @@ { "argumentTypes": null, "hexValue": "736c615f6d6f6e69746f72696e675f7374617274", - "id": 12832, + "id": 12825, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "5447:22:45", + "src": "5386:22:45", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_4b74eee307f590fba37b62a78e565a87880ec6c0cfc40930b99d860b04f317fe", @@ -188342,12 +188188,12 @@ "arguments": [ { "argumentTypes": null, - "id": 12835, + "id": 12828, "name": "sla_monitoring_start", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12811, - "src": "5505:20:45", + "src": "5444:20:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -188363,18 +188209,18 @@ ], "expression": { "argumentTypes": null, - "id": 12833, + "id": 12826, "name": "StringUtils", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12462, - "src": "5483:11:45", + "src": "5422:11:45", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_StringUtils_$12462_$", "typeString": "type(library StringUtils)" } }, - "id": 12834, + "id": 12827, "isConstant": false, "isLValue": false, "isPure": false, @@ -188382,13 +188228,13 @@ "memberName": "uintToStr", "nodeType": "MemberAccess", "referencedDeclaration": 12461, - "src": "5483:21:45", + "src": "5422:21:45", "typeDescriptions": { "typeIdentifier": "t_function_delegatecall_pure$_t_uint256_$returns$_t_string_memory_ptr_$", "typeString": "function (uint256) pure returns (string memory)" } }, - "id": 12836, + "id": 12829, "isConstant": false, "isLValue": false, "isPure": false, @@ -188396,7 +188242,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5483:43:45", + "src": "5422:43:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -188417,18 +188263,18 @@ ], "expression": { "argumentTypes": null, - "id": 12829, + "id": 12822, "name": "request", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12798, - "src": "5422:7:45", + "src": "5361:7:45", "typeDescriptions": { "typeIdentifier": "t_struct$_Request_$23_memory_ptr", "typeString": "struct Chainlink.Request memory" } }, - "id": 12831, + "id": 12824, "isConstant": false, "isLValue": true, "isPure": false, @@ -188436,13 +188282,13 @@ "memberName": "add", "nodeType": "MemberAccess", "referencedDeclaration": 119, - "src": "5422:11:45", + "src": "5361:11:45", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_struct$_Request_$23_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$bound_to$_t_struct$_Request_$23_memory_ptr_$", "typeString": "function (struct Chainlink.Request memory,string memory,string memory) pure" } }, - "id": 12837, + "id": 12830, "isConstant": false, "isLValue": false, "isPure": false, @@ -188450,16 +188296,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5422:114:45", + "src": "5361:114:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 12838, + "id": 12831, "nodeType": "ExpressionStatement", - "src": "5422:114:45" + "src": "5361:114:45" }, { "expression": { @@ -188468,14 +188314,14 @@ { "argumentTypes": null, "hexValue": "736c615f6d6f6e69746f72696e675f656e64", - "id": 12842, + "id": 12835, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "5571:20:45", + "src": "5510:20:45", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_ec751b9618b3aa81f009deb8a53a04eb64a4c2b0fe75033e1da34fe4a3cb0a87", @@ -188488,12 +188334,12 @@ "arguments": [ { "argumentTypes": null, - "id": 12845, + "id": 12838, "name": "sla_monitoring_end", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12813, - "src": "5627:18:45", + "src": "5566:18:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -188509,18 +188355,18 @@ ], "expression": { "argumentTypes": null, - "id": 12843, + "id": 12836, "name": "StringUtils", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12462, - "src": "5605:11:45", + "src": "5544:11:45", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_StringUtils_$12462_$", "typeString": "type(library StringUtils)" } }, - "id": 12844, + "id": 12837, "isConstant": false, "isLValue": false, "isPure": false, @@ -188528,13 +188374,13 @@ "memberName": "uintToStr", "nodeType": "MemberAccess", "referencedDeclaration": 12461, - "src": "5605:21:45", + "src": "5544:21:45", "typeDescriptions": { "typeIdentifier": "t_function_delegatecall_pure$_t_uint256_$returns$_t_string_memory_ptr_$", "typeString": "function (uint256) pure returns (string memory)" } }, - "id": 12846, + "id": 12839, "isConstant": false, "isLValue": false, "isPure": false, @@ -188542,7 +188388,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5605:41:45", + "src": "5544:41:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -188563,18 +188409,18 @@ ], "expression": { "argumentTypes": null, - "id": 12839, + "id": 12832, "name": "request", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12798, - "src": "5546:7:45", + "src": "5485:7:45", "typeDescriptions": { "typeIdentifier": "t_struct$_Request_$23_memory_ptr", "typeString": "struct Chainlink.Request memory" } }, - "id": 12841, + "id": 12834, "isConstant": false, "isLValue": true, "isPure": false, @@ -188582,13 +188428,13 @@ "memberName": "add", "nodeType": "MemberAccess", "referencedDeclaration": 119, - "src": "5546:11:45", + "src": "5485:11:45", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_struct$_Request_$23_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$bound_to$_t_struct$_Request_$23_memory_ptr_$", "typeString": "function (struct Chainlink.Request memory,string memory,string memory) pure" } }, - "id": 12847, + "id": 12840, "isConstant": false, "isLValue": false, "isPure": false, @@ -188596,16 +188442,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5546:110:45", + "src": "5485:110:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 12848, + "id": 12841, "nodeType": "ExpressionStatement", - "src": "5546:110:45" + "src": "5485:110:45" }, { "expression": { @@ -188614,14 +188460,14 @@ { "argumentTypes": null, "hexValue": "736c615f61646472657373", - "id": 12852, + "id": 12845, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "5678:13:45", + "src": "5617:13:45", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_35dbc5ae4c8e5553c5e28816b058373648b9889f7d2072869cbc197b8ecf312a", @@ -188634,12 +188480,12 @@ "arguments": [ { "argumentTypes": null, - "id": 12855, + "id": 12848, "name": "_slaAddress", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12746, - "src": "5721:11:45", + "src": "5660:11:45", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -188655,18 +188501,18 @@ ], "expression": { "argumentTypes": null, - "id": 12853, + "id": 12846, "name": "StringUtils", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12462, - "src": "5693:11:45", + "src": "5632:11:45", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_StringUtils_$12462_$", "typeString": "type(library StringUtils)" } }, - "id": 12854, + "id": 12847, "isConstant": false, "isLValue": false, "isPure": false, @@ -188674,13 +188520,13 @@ "memberName": "addressToString", "nodeType": "MemberAccess", "referencedDeclaration": 12252, - "src": "5693:27:45", + "src": "5632:27:45", "typeDescriptions": { "typeIdentifier": "t_function_delegatecall_pure$_t_address_$returns$_t_string_memory_ptr_$", "typeString": "function (address) pure returns (string memory)" } }, - "id": 12856, + "id": 12849, "isConstant": false, "isLValue": false, "isPure": false, @@ -188688,7 +188534,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5693:40:45", + "src": "5632:40:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -188709,18 +188555,18 @@ ], "expression": { "argumentTypes": null, - "id": 12849, + "id": 12842, "name": "request", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12798, - "src": "5666:7:45", + "src": "5605:7:45", "typeDescriptions": { "typeIdentifier": "t_struct$_Request_$23_memory_ptr", "typeString": "struct Chainlink.Request memory" } }, - "id": 12851, + "id": 12844, "isConstant": false, "isLValue": true, "isPure": false, @@ -188728,13 +188574,13 @@ "memberName": "add", "nodeType": "MemberAccess", "referencedDeclaration": 119, - "src": "5666:11:45", + "src": "5605:11:45", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_struct$_Request_$23_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$bound_to$_t_struct$_Request_$23_memory_ptr_$", "typeString": "function (struct Chainlink.Request memory,string memory,string memory) pure" } }, - "id": 12857, + "id": 12850, "isConstant": false, "isLValue": false, "isPure": false, @@ -188742,31 +188588,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5666:68:45", + "src": "5605:68:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 12858, + "id": 12851, "nodeType": "ExpressionStatement", - "src": "5666:68:45" + "src": "5605:68:45" }, { "assignments": [ - 12860 + 12853 ], "declarations": [ { "constant": false, - "id": 12860, + "id": 12853, "mutability": "mutable", "name": "requestId", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 12892, - "src": "5811:17:45", + "scope": 12885, + "src": "5750:17:45", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -188774,10 +188620,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 12859, + "id": 12852, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "5811:7:45", + "src": "5750:7:45", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -188787,18 +188633,18 @@ "visibility": "internal" } ], - "id": 12866, + "id": 12859, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 12862, + "id": 12855, "name": "_oracle", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12607, - "src": "5854:7:45", + "src": "5793:7:45", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -188806,12 +188652,12 @@ }, { "argumentTypes": null, - "id": 12863, + "id": 12856, "name": "request", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12798, - "src": "5863:7:45", + "src": "5802:7:45", "typeDescriptions": { "typeIdentifier": "t_struct$_Request_$23_memory_ptr", "typeString": "struct Chainlink.Request memory" @@ -188819,12 +188665,12 @@ }, { "argumentTypes": null, - "id": 12864, + "id": 12857, "name": "_fee", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12614, - "src": "5872:4:45", + "src": "5811:4:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -188846,18 +188692,18 @@ "typeString": "uint256" } ], - "id": 12861, + "id": 12854, "name": "sendChainlinkRequestTo", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 434, - "src": "5831:22:45", + "src": "5770:22:45", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_struct$_Request_$23_memory_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (address,struct Chainlink.Request memory,uint256) returns (bytes32)" } }, - "id": 12865, + "id": 12858, "isConstant": false, "isLValue": false, "isPure": false, @@ -188865,7 +188711,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5831:46:45", + "src": "5770:46:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -188873,7 +188719,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "5811:66:45" + "src": "5750:66:45" }, { "expression": { @@ -188881,12 +188727,12 @@ "arguments": [ { "argumentTypes": null, - "id": 12870, + "id": 12863, "name": "requestId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 12860, - "src": "5902:9:45", + "referencedDeclaration": 12853, + "src": "5841:9:45", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -188902,18 +188748,18 @@ ], "expression": { "argumentTypes": null, - "id": 12867, + "id": 12860, "name": "requests", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12603, - "src": "5888:8:45", + "src": "5827:8:45", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 12869, + "id": 12862, "isConstant": false, "isLValue": false, "isPure": false, @@ -188921,13 +188767,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5888:13:45", + "src": "5827:13:45", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_bytes32_$returns$__$", "typeString": "function (bytes32)" } }, - "id": 12871, + "id": 12864, "isConstant": false, "isLValue": false, "isPure": false, @@ -188935,21 +188781,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5888:24:45", + "src": "5827:24:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 12872, + "id": 12865, "nodeType": "ExpressionStatement", - "src": "5888:24:45" + "src": "5827:24:45" }, { "expression": { "argumentTypes": null, - "id": 12880, + "id": 12873, "isConstant": false, "isLValue": false, "isPure": false, @@ -188958,26 +188804,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 12873, + "id": 12866, "name": "requestIdToSLIRequest", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12600, - "src": "5923:21:45", + "src": "5862:21:45", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_SLIRequest_$12473_storage_$", "typeString": "mapping(bytes32 => struct IMessenger.SLIRequest storage ref)" } }, - "id": 12875, + "id": 12868, "indexExpression": { "argumentTypes": null, - "id": 12874, + "id": 12867, "name": "requestId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 12860, - "src": "5945:9:45", + "referencedDeclaration": 12853, + "src": "5884:9:45", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -188988,7 +188834,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "5923:32:45", + "src": "5862:32:45", "typeDescriptions": { "typeIdentifier": "t_struct$_SLIRequest_$12473_storage", "typeString": "struct IMessenger.SLIRequest storage ref" @@ -189001,12 +188847,12 @@ "arguments": [ { "argumentTypes": null, - "id": 12877, + "id": 12870, "name": "_slaAddress", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12746, - "src": "5995:11:45", + "src": "5934:11:45", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -189014,12 +188860,12 @@ }, { "argumentTypes": null, - "id": 12878, + "id": 12871, "name": "_periodId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12744, - "src": "6030:9:45", + "src": "5969:9:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -189037,18 +188883,18 @@ "typeString": "uint256" } ], - "id": 12876, + "id": 12869, "name": "SLIRequest", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12473, - "src": "5958:10:45", + "src": "5897:10:45", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_SLIRequest_$12473_storage_ptr_$", "typeString": "type(struct IMessenger.SLIRequest storage pointer)" } }, - "id": 12879, + "id": 12872, "isConstant": false, "isLValue": false, "isPure": false, @@ -189059,39 +188905,39 @@ "periodId" ], "nodeType": "FunctionCall", - "src": "5958:92:45", + "src": "5897:92:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_SLIRequest_$12473_memory_ptr", "typeString": "struct IMessenger.SLIRequest memory" } }, - "src": "5923:127:45", + "src": "5862:127:45", "typeDescriptions": { "typeIdentifier": "t_struct$_SLIRequest_$12473_storage", "typeString": "struct IMessenger.SLIRequest storage ref" } }, - "id": 12881, + "id": 12874, "nodeType": "ExpressionStatement", - "src": "5923:127:45" + "src": "5862:127:45" }, { "expression": { "argumentTypes": null, - "id": 12884, + "id": 12877, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 12882, + "id": 12875, "name": "_requestsCounter", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12621, - "src": "6061:16:45", + "src": "6000:16:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -189102,14 +188948,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "31", - "id": 12883, + "id": 12876, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6081:1:45", + "src": "6020:1:45", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -189117,15 +188963,15 @@ }, "value": "1" }, - "src": "6061:21:45", + "src": "6000:21:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 12885, + "id": 12878, "nodeType": "ExpressionStatement", - "src": "6061:21:45" + "src": "6000:21:45" }, { "eventCall": { @@ -189133,12 +188979,12 @@ "arguments": [ { "argumentTypes": null, - "id": 12887, + "id": 12880, "name": "_callerAddress", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12750, - "src": "6110:14:45", + "src": "6049:14:45", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -189146,12 +188992,12 @@ }, { "argumentTypes": null, - "id": 12888, + "id": 12881, "name": "_requestsCounter", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12621, - "src": "6126:16:45", + "src": "6065:16:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -189159,12 +189005,12 @@ }, { "argumentTypes": null, - "id": 12889, + "id": 12882, "name": "requestId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 12860, - "src": "6144:9:45", + "referencedDeclaration": 12853, + "src": "6083:9:45", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -189186,18 +189032,18 @@ "typeString": "bytes32" } ], - "id": 12886, + "id": 12879, "name": "SLIRequested", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12691, - "src": "6097:12:45", + "src": "6036:12:45", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", "typeString": "function (address,uint256,bytes32)" } }, - "id": 12890, + "id": 12883, "isConstant": false, "isLValue": false, "isPure": false, @@ -189205,16 +189051,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6097:57:45", + "src": "6036:57:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 12891, + "id": 12884, "nodeType": "EmitStatement", - "src": "6092:62:45" + "src": "6031:62:45" } ] }, @@ -189225,7 +189071,7 @@ "text": "@dev creates a ChainLink request to get a new SLI value for the\ngiven params. Can only be called by the SLARegistry contract or Chainlink Oracle.\n@param _periodId 1. value of the period id\n@param _slaAddress 2. SLA Address\n@param _messengerOwnerApproval 3. if approval by owner or msg sender" }, "functionSelector": "97a82192", - "id": 12893, + "id": 12886, "implemented": true, "kind": "function", "modifiers": [ @@ -189287,7 +189133,7 @@ "name": "_periodId", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 12893, + "scope": 12886, "src": "4438:17:45", "stateVariable": false, "storageLocation": "default", @@ -189315,7 +189161,7 @@ "name": "_slaAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 12893, + "scope": 12886, "src": "4465:19:45", "stateVariable": false, "storageLocation": "default", @@ -189344,7 +189190,7 @@ "name": "_messengerOwnerApproval", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 12893, + "scope": 12886, "src": "4494:28:45", "stateVariable": false, "storageLocation": "default", @@ -189372,7 +189218,7 @@ "name": "_callerAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 12893, + "scope": 12886, "src": "4532:22:45", "stateVariable": false, "storageLocation": "default", @@ -189403,8 +189249,8 @@ "parameters": [], "src": "4606:0:45" }, - "scope": 13250, - "src": "4409:1752:45", + "scope": 13085, + "src": "4409:1691:45", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -189414,123 +189260,24 @@ 12508 ], "body": { - "id": 12970, + "id": 12932, "nodeType": "Block", - "src": "6608:666:45", + "src": "6533:389:45", "statements": [ { "assignments": [ - 12908 + 12901 ], "declarations": [ { "constant": false, - "id": 12908, - "mutability": "mutable", - "name": "_chainlinkResponse", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12970, - "src": "6618:26:45", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12907, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6618:7:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12913, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 12911, - "name": "_chainlinkResponseUint256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12898, - "src": "6655:25:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 12910, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6647:7:45", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 12909, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6647:7:45", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 12912, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6647:34:45", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6618:63:45" - }, - { - "assignments": [ - 12915 - ], - "declarations": [ - { - "constant": false, - "id": 12915, + "id": 12901, "mutability": "mutable", "name": "request", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 12970, - "src": "6691:25:45", + "scope": 12932, + "src": "6543:25:45", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -189539,11 +189286,11 @@ }, "typeName": { "contractScope": null, - "id": 12914, + "id": 12900, "name": "SLIRequest", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 12473, - "src": "6691:10:45", + "src": "6543:10:45", "typeDescriptions": { "typeIdentifier": "t_struct$_SLIRequest_$12473_storage_ptr", "typeString": "struct IMessenger.SLIRequest" @@ -189553,31 +189300,31 @@ "visibility": "internal" } ], - "id": 12919, + "id": 12905, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 12916, + "id": 12902, "name": "requestIdToSLIRequest", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12600, - "src": "6719:21:45", + "src": "6571:21:45", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_SLIRequest_$12473_storage_$", "typeString": "mapping(bytes32 => struct IMessenger.SLIRequest storage ref)" } }, - "id": 12918, + "id": 12904, "indexExpression": { "argumentTypes": null, - "id": 12917, + "id": 12903, "name": "_requestId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 12896, - "src": "6741:10:45", + "referencedDeclaration": 12889, + "src": "6593:10:45", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -189588,14 +189335,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6719:33:45", + "src": "6571:33:45", "typeDescriptions": { "typeIdentifier": "t_struct$_SLIRequest_$12473_storage", "typeString": "struct IMessenger.SLIRequest storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "6691:61:45" + "src": "6543:61:45" }, { "eventCall": { @@ -189605,18 +189352,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 12921, + "id": 12907, "name": "request", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 12915, - "src": "6792:7:45", + "referencedDeclaration": 12901, + "src": "6644:7:45", "typeDescriptions": { "typeIdentifier": "t_struct$_SLIRequest_$12473_memory_ptr", "typeString": "struct IMessenger.SLIRequest memory" } }, - "id": 12922, + "id": 12908, "isConstant": false, "isLValue": true, "isPure": false, @@ -189624,7 +189371,7 @@ "memberName": "slaAddress", "nodeType": "MemberAccess", "referencedDeclaration": 12470, - "src": "6792:18:45", + "src": "6644:18:45", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -189634,18 +189381,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 12923, + "id": 12909, "name": "request", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 12915, - "src": "6824:7:45", + "referencedDeclaration": 12901, + "src": "6676:7:45", "typeDescriptions": { "typeIdentifier": "t_struct$_SLIRequest_$12473_memory_ptr", "typeString": "struct IMessenger.SLIRequest memory" } }, - "id": 12924, + "id": 12910, "isConstant": false, "isLValue": true, "isPure": false, @@ -189653,7 +189400,7 @@ "memberName": "periodId", "nodeType": "MemberAccess", "referencedDeclaration": 12472, - "src": "6824:16:45", + "src": "6676:16:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -189661,12 +189408,12 @@ }, { "argumentTypes": null, - "id": 12925, + "id": 12911, "name": "_requestId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 12896, - "src": "6854:10:45", + "referencedDeclaration": 12889, + "src": "6706:10:45", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -189674,12 +189421,60 @@ }, { "argumentTypes": null, - "id": 12926, - "name": "_chainlinkResponse", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12908, - "src": "6878:18:45", + "arguments": [ + { + "argumentTypes": null, + "id": 12914, + "name": "_chainlinkResponse", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 12891, + "src": "6738:18:45", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 12913, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "6730:7:45", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes32_$", + "typeString": "type(bytes32)" + }, + "typeName": { + "id": 12912, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6730:7:45", + "typeDescriptions": { + "typeIdentifier": null, + "typeString": null + } + } + }, + "id": 12915, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6730:27:45", + "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -189705,18 +189500,18 @@ "typeString": "bytes32" } ], - "id": 12920, + "id": 12906, "name": "SLIReceived", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12484, - "src": "6767:11:45", + "src": "6619:11:45", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$_t_bytes32_$returns$__$", "typeString": "function (address,uint256,bytes32,bytes32)" } }, - "id": 12927, + "id": 12916, "isConstant": false, "isLValue": false, "isPure": false, @@ -189724,431 +189519,67 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6767:139:45", + "src": "6619:148:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 12928, + "id": 12917, "nodeType": "EmitStatement", - "src": "6762:144:45" + "src": "6614:153:45" }, { - "assignments": [ - 12930, - 12932 - ], - "declarations": [ - { - "constant": false, - "id": 12930, - "mutability": "mutable", - "name": "hits", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12970, - "src": "6917:12:45", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12929, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6917:7:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12932, - "mutability": "mutable", - "name": "misses", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12970, - "src": "6931:14:45", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12931, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6931:7:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12936, - "initialValue": { + "expression": { "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 12934, - "name": "_chainlinkResponse", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12908, - "src": "6962:18:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 12933, - "name": "parseSLIData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13098, - "src": "6949:12:45", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_uint256_$_t_uint256_$", - "typeString": "function (bytes32) pure returns (uint256,uint256)" - } - }, - "id": 12935, + "id": 12920, "isConstant": false, "isLValue": false, "isPure": false, - "kind": "functionCall", "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6949:32:45", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$", - "typeString": "tuple(uint256,uint256)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6916:65:45" - }, - { - "assignments": [ - 12938 - ], - "declarations": [ - { - "constant": false, - "id": 12938, - "mutability": "mutable", - "name": "total", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12970, - "src": "6991:13:45", - "stateVariable": false, - "storageLocation": "default", + "leftHandSide": { + "argumentTypes": null, + "id": 12918, + "name": "_fulfillsCounter", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 12623, + "src": "6777:16:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" - }, - "typeName": { - "id": 12937, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6991:7:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12943, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 12941, - "name": "misses", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12932, - "src": "7016:6:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 12939, - "name": "hits", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12930, - "src": "7007:4:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 12940, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 4434, - "src": "7007:8:45", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 12942, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7007:16:45", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6991:32:45" - }, - { - "assignments": [ - 12945 - ], - "declarations": [ - { - "constant": false, - "id": 12945, - "mutability": "mutable", - "name": "stakingEfficiency", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12970, - "src": "7033:25:45", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12944, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7033:7:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12955, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 12953, - "name": "total", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12938, - "src": "7113:5:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 12950, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "hexValue": "313030", - "id": 12948, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7082:3:45", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - }, - "value": "100" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "argumentTypes": null, - "id": 12949, - "name": "_messengerPrecision", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12619, - "src": "7088:19:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7082:25:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 12946, - "name": "hits", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12930, - "src": "7073:4:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 12947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 4495, - "src": "7073:8:45", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 12951, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7073:35:45", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 12952, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "31", + "id": 12919, "isConstant": false, "isLValue": false, - "isPure": false, + "isPure": true, + "kind": "number", "lValueRequested": false, - "memberName": "div", - "nodeType": "MemberAccess", - "referencedDeclaration": 4521, - "src": "7073:39:45", + "nodeType": "Literal", + "src": "6797:1:45", + "subdenomination": null, "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" }, - "id": 12954, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7073:46:45", - "tryCall": false, + "src": "6777:21:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "nodeType": "VariableDeclarationStatement", - "src": "7033:86:45" + "id": 12921, + "nodeType": "ExpressionStatement", + "src": "6777:21:45" }, { "expression": { @@ -190156,12 +189587,12 @@ "arguments": [ { "argumentTypes": null, - "id": 12961, - "name": "stakingEfficiency", + "id": 12927, + "name": "_chainlinkResponse", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 12945, - "src": "7178:17:45", + "referencedDeclaration": 12891, + "src": "6857:18:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -190171,18 +189602,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 12962, + "id": 12928, "name": "request", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 12915, - "src": "7209:7:45", + "referencedDeclaration": 12901, + "src": "6889:7:45", "typeDescriptions": { "typeIdentifier": "t_struct$_SLIRequest_$12473_memory_ptr", "typeString": "struct IMessenger.SLIRequest memory" } }, - "id": 12963, + "id": 12929, "isConstant": false, "isLValue": true, "isPure": false, @@ -190190,7 +189621,7 @@ "memberName": "periodId", "nodeType": "MemberAccess", "referencedDeclaration": 12472, - "src": "7209:16:45", + "src": "6889:16:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -190215,18 +189646,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 12957, + "id": 12923, "name": "request", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 12915, - "src": "7133:7:45", + "referencedDeclaration": 12901, + "src": "6812:7:45", "typeDescriptions": { "typeIdentifier": "t_struct$_SLIRequest_$12473_memory_ptr", "typeString": "struct IMessenger.SLIRequest memory" } }, - "id": 12958, + "id": 12924, "isConstant": false, "isLValue": true, "isPure": false, @@ -190234,7 +189665,7 @@ "memberName": "slaAddress", "nodeType": "MemberAccess", "referencedDeclaration": 12470, - "src": "7133:18:45", + "src": "6812:18:45", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -190248,18 +189679,18 @@ "typeString": "address" } ], - "id": 12956, + "id": 12922, "name": "SLA", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 9274, - "src": "7129:3:45", + "src": "6808:3:45", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_SLA_$9274_$", "typeString": "type(contract SLA)" } }, - "id": 12959, + "id": 12925, "isConstant": false, "isLValue": false, "isPure": false, @@ -190267,14 +189698,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7129:23:45", + "src": "6808:23:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_contract$_SLA_$9274", "typeString": "contract SLA" } }, - "id": 12960, + "id": 12926, "isConstant": false, "isLValue": false, "isPure": false, @@ -190282,13 +189713,13 @@ "memberName": "registerSLI", "nodeType": "MemberAccess", "referencedDeclaration": 9081, - "src": "7129:35:45", + "src": "6808:35:45", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_uint256_$returns$__$", "typeString": "function (uint256,uint256) external" } }, - "id": 12964, + "id": 12930, "isConstant": false, "isLValue": false, "isPure": false, @@ -190296,155 +189727,104 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7129:106:45", + "src": "6808:107:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 12965, + "id": 12931, "nodeType": "ExpressionStatement", - "src": "7129:106:45" - }, - { - "expression": { - "argumentTypes": null, - "id": 12968, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 12966, - "name": "_fulfillsCounter", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12623, - "src": "7246:16:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "31", - "id": 12967, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7266:1:45", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7246:21:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 12969, - "nodeType": "ExpressionStatement", - "src": "7246:21:45" + "src": "6808:107:45" } ] }, "documentation": { - "id": 12894, + "id": 12887, "nodeType": "StructuredDocumentation", - "src": "6167:255:45", - "text": "@dev callback function for the Chainlink SLI request which stores\nthe SLI in the SLA contract\n@param _requestId the ID of the ChainLink request\n@param _chainlinkResponseUint256 response object from Chainlink Oracles" + "src": "6106:248:45", + "text": "@dev callback function for the Chainlink SLI request which stores\nthe SLI in the SLA contract\n@param _requestId the ID of the ChainLink request\n@param _chainlinkResponse response object from Chainlink Oracles" }, "functionSelector": "bc0bfc00", - "id": 12971, + "id": 12933, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 12902, + "id": 12895, "modifierName": { "argumentTypes": null, - "id": 12901, + "id": 12894, "name": "nonReentrant", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7260, - "src": "6544:12:45", + "src": "6469:12:45", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "6544:12:45" + "src": "6469:12:45" }, { "arguments": [ { "argumentTypes": null, - "id": 12904, + "id": 12897, "name": "_requestId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 12896, - "src": "6592:10:45", + "referencedDeclaration": 12889, + "src": "6517:10:45", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 12905, + "id": 12898, "modifierName": { "argumentTypes": null, - "id": 12903, + "id": 12896, "name": "recordChainlinkFulfillment", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 699, - "src": "6565:26:45", + "src": "6490:26:45", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_bytes32_$", "typeString": "modifier (bytes32)" } }, "nodeType": "ModifierInvocation", - "src": "6565:38:45" + "src": "6490:38:45" } ], "name": "fulfillSLI", "nodeType": "FunctionDefinition", "overrides": { - "id": 12900, + "id": 12893, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "6527:8:45" + "src": "6452:8:45" }, "parameters": { - "id": 12899, + "id": 12892, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 12896, + "id": 12889, "mutability": "mutable", "name": "_requestId", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 12971, - "src": "6447:18:45", + "scope": 12933, + "src": "6379:18:45", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -190452,10 +189832,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 12895, + "id": 12888, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "6447:7:45", + "src": "6379:7:45", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -190466,13 +189846,13 @@ }, { "constant": false, - "id": 12898, + "id": 12891, "mutability": "mutable", - "name": "_chainlinkResponseUint256", + "name": "_chainlinkResponse", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 12971, - "src": "6467:33:45", + "scope": 12933, + "src": "6399:26:45", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -190480,10 +189860,10 @@ "typeString": "uint256" }, "typeName": { - "id": 12897, + "id": 12890, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6467:7:45", + "src": "6399:7:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -190493,1728 +189873,28 @@ "visibility": "internal" } ], - "src": "6446:55:45" + "src": "6378:48:45" }, "returnParameters": { - "id": 12906, + "id": 12899, "nodeType": "ParameterList", "parameters": [], - "src": "6608:0:45" + "src": "6533:0:45" }, - "scope": 13250, - "src": "6427:847:45", + "scope": 13085, + "src": "6359:563:45", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, - { - "body": { - "id": 13097, - "nodeType": "Block", - "src": "7547:961:45", - "statements": [ - { - "assignments": [ - 12982 - ], - "declarations": [ - { - "constant": false, - "id": 12982, - "mutability": "mutable", - "name": "bytesSLIData", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13097, - "src": "7557:25:45", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12981, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7557:5:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12990, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 12987, - "name": "sliData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12974, - "src": "7616:7:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 12985, - "name": "StringUtils", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12462, - "src": "7591:11:45", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_StringUtils_$12462_$", - "typeString": "type(library StringUtils)" - } - }, - "id": 12986, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "bytes32ToStr", - "nodeType": "MemberAccess", - "referencedDeclaration": 12316, - "src": "7591:24:45", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_bytes32_$returns$_t_string_memory_ptr_$", - "typeString": "function (bytes32) pure returns (string memory)" - } - }, - "id": 12988, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7591:33:45", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 12984, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7585:5:45", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 12983, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7585:5:45", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 12989, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7585:40:45", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7557:68:45" - }, - { - "assignments": [ - 12992 - ], - "declarations": [ - { - "constant": false, - "id": 12992, - "mutability": "mutable", - "name": "sliDataLength", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13097, - "src": "7635:21:45", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12991, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7635:7:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12995, - "initialValue": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 12993, - "name": "bytesSLIData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12982, - "src": "7659:12:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 12994, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "7659:19:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7635:43:45" - }, - { - "assignments": [ - 12997 - ], - "declarations": [ - { - "constant": false, - "id": 12997, - "mutability": "mutable", - "name": "bytesHits", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13097, - "src": "7688:22:45", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12996, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7688:5:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 13002, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13000, - "name": "sliDataLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12992, - "src": "7723:13:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 12999, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "7713:9:45", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 12998, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7717:5:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 13001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7713:24:45", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7688:49:45" - }, - { - "assignments": [ - 13004 - ], - "declarations": [ - { - "constant": false, - "id": 13004, - "mutability": "mutable", - "name": "bytesMisses", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13097, - "src": "7747:24:45", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13003, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7747:5:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 13009, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13007, - "name": "sliDataLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12992, - "src": "7784:13:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 13006, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "7774:9:45", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 13005, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7778:5:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 13008, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7774:24:45", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7747:51:45" - }, - { - "body": { - "id": 13077, - "nodeType": "Block", - "src": "7860:489:45", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 13026, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13019, - "name": "bytesSLIData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12982, - "src": "7878:12:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 13021, - "indexExpression": { - "argumentTypes": null, - "id": 13020, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13011, - "src": "7891:5:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7878:19:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "2c", - "id": 13024, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7908:3:45", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3e7a35b97029f9e0cf6effd71c1a7958822e9a217d3a3aec886668a7dd8231cb", - "typeString": "literal_string \",\"" - }, - "value": "," - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3e7a35b97029f9e0cf6effd71c1a7958822e9a217d3a3aec886668a7dd8231cb", - "typeString": "literal_string \",\"" - } - ], - "id": 13023, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7901:6:45", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 13022, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "7901:6:45", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 13025, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7901:11:45", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "7878:34:45", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 13076, - "nodeType": "IfStatement", - "src": "7874:465:45", - "trueBody": { - "id": 13075, - "nodeType": "Block", - "src": "7914:425:45", - "statements": [ - { - "body": { - "id": 13045, - "nodeType": "Block", - "src": "7983:81:45", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 13043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13037, - "name": "bytesHits", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12997, - "src": "8005:9:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 13039, - "indexExpression": { - "argumentTypes": null, - "id": 13038, - "name": "index2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13028, - "src": "8015:6:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8005:17:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13040, - "name": "bytesSLIData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12982, - "src": "8025:12:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 13042, - "indexExpression": { - "argumentTypes": null, - "id": 13041, - "name": "index2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13028, - "src": "8038:6:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8025:20:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "8005:40:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 13044, - "nodeType": "ExpressionStatement", - "src": "8005:40:45" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13033, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13031, - "name": "index2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13028, - "src": "7957:6:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "id": 13032, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13011, - "src": "7966:5:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7957:14:45", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 13046, - "initializationExpression": { - "assignments": [ - 13028 - ], - "declarations": [ - { - "constant": false, - "id": 13028, - "mutability": "mutable", - "name": "index2", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13046, - "src": "7937:14:45", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13027, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7937:7:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 13030, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 13029, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7954:1:45", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7937:18:45" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 13035, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7973:8:45", - "subExpression": { - "argumentTypes": null, - "id": 13034, - "name": "index2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13028, - "src": "7973:6:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 13036, - "nodeType": "ExpressionStatement", - "src": "7973:8:45" - }, - "nodeType": "ForStatement", - "src": "7932:132:45" - }, - { - "body": { - "id": 13073, - "nodeType": "Block", - "src": "8230:95:45", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 13071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13061, - "name": "bytesMisses", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13004, - "src": "8252:11:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 13063, - "indexExpression": { - "argumentTypes": null, - "id": 13062, - "name": "index3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13048, - "src": "8264:6:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8252:19:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13064, - "name": "bytesSLIData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12982, - "src": "8274:12:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 13070, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13069, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13067, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13065, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13011, - "src": "8287:5:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 13066, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8295:1:45", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "8287:9:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "id": 13068, - "name": "index3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13048, - "src": "8299:6:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8287:18:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8274:32:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "8252:54:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 13072, - "nodeType": "ExpressionStatement", - "src": "8252:54:45" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13051, - "name": "index3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13048, - "src": "8147:6:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13056, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13052, - "name": "sliDataLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12992, - "src": "8156:13:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "id": 13053, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13011, - "src": "8172:5:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8156:21:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 13055, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8180:1:45", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "8156:25:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8147:34:45", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 13074, - "initializationExpression": { - "assignments": [ - 13048 - ], - "declarations": [ - { - "constant": false, - "id": 13048, - "mutability": "mutable", - "name": "index3", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13074, - "src": "8107:14:45", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13047, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8107:7:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 13050, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 13049, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8124:1:45", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "8107:18:45" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 13059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8203:8:45", - "subExpression": { - "argumentTypes": null, - "id": 13058, - "name": "index3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13048, - "src": "8203:6:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 13060, - "nodeType": "ExpressionStatement", - "src": "8203:8:45" - }, - "nodeType": "ForStatement", - "src": "8081:244:45" - } - ] - } - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13015, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13013, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13011, - "src": "7828:5:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "id": 13014, - "name": "sliDataLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12992, - "src": "7836:13:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7828:21:45", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 13078, - "initializationExpression": { - "assignments": [ - 13011 - ], - "declarations": [ - { - "constant": false, - "id": 13011, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13078, - "src": "7813:13:45", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13010, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7813:7:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 13012, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "7813:13:45" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 13017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7851:7:45", - "subExpression": { - "argumentTypes": null, - "id": 13016, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13011, - "src": "7851:5:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 13018, - "nodeType": "ExpressionStatement", - "src": "7851:7:45" - }, - "nodeType": "ForStatement", - "src": "7808:541:45" - }, - { - "assignments": [ - 13080 - ], - "declarations": [ - { - "constant": false, - "id": 13080, - "mutability": "mutable", - "name": "hits", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13097, - "src": "8358:12:45", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13079, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8358:7:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 13085, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13083, - "name": "bytesHits", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12997, - "src": "8397:9:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 13081, - "name": "StringUtils", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12462, - "src": "8373:11:45", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_StringUtils_$12462_$", - "typeString": "type(library StringUtils)" - } - }, - "id": 13082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "bytesToUint", - "nodeType": "MemberAccess", - "referencedDeclaration": 12378, - "src": "8373:23:45", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 13084, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8373:34:45", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8358:49:45" - }, - { - "assignments": [ - 13087 - ], - "declarations": [ - { - "constant": false, - "id": 13087, - "mutability": "mutable", - "name": "misses", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13097, - "src": "8417:14:45", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13086, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8417:7:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 13092, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13090, - "name": "bytesMisses", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13004, - "src": "8458:11:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 13088, - "name": "StringUtils", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12462, - "src": "8434:11:45", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_StringUtils_$12462_$", - "typeString": "type(library StringUtils)" - } - }, - "id": 13089, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "bytesToUint", - "nodeType": "MemberAccess", - "referencedDeclaration": 12378, - "src": "8434:23:45", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 13091, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8434:36:45", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8417:53:45" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "id": 13093, - "name": "hits", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13080, - "src": "8488:4:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 13094, - "name": "misses", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13087, - "src": "8494:6:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 13095, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "8487:14:45", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$", - "typeString": "tuple(uint256,uint256)" - } - }, - "functionReturnParameters": 12980, - "id": 13096, - "nodeType": "Return", - "src": "8480:21:45" - } - ] - }, - "documentation": { - "id": 12972, - "nodeType": "StructuredDocumentation", - "src": "7280:156:45", - "text": "@dev recieves a string of \"hits,misses\" data and returns hits and misses as uint256\n@param sliData the ID of the ChainLink request" - }, - "functionSelector": "04e4fc01", - "id": 13098, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "parseSLIData", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12975, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12974, - "mutability": "mutable", - "name": "sliData", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13098, - "src": "7463:15:45", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12973, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7463:7:45", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7462:17:45" - }, - "returnParameters": { - "id": 12980, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12977, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13098, - "src": "7525:7:45", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12976, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7525:7:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12979, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13098, - "src": "7534:7:45", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12978, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7534:7:45", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7524:18:45" - }, - "scope": 13250, - "src": "7441:1067:45", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, { "baseFunctions": [ 12564 ], "body": { - "id": 13149, + "id": 12984, "nodeType": "Block", - "src": "8632:373:45", + "src": "7046:373:45", "statements": [ { "expression": { @@ -192225,12 +189905,12 @@ "arguments": [ { "argumentTypes": null, - "id": 13111, + "id": 12946, "name": "_slaAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 13100, - "src": "8694:11:45", + "referencedDeclaration": 12935, + "src": "7108:11:45", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -192238,12 +189918,12 @@ }, { "argumentTypes": null, - "id": 13112, + "id": 12947, "name": "_periodId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 13102, - "src": "8707:9:45", + "referencedDeclaration": 12937, + "src": "7121:9:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -192263,18 +189943,18 @@ ], "expression": { "argumentTypes": null, - "id": 13109, + "id": 12944, "name": "stakeRegistry", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12627, - "src": "8663:13:45", + "src": "7077:13:45", "typeDescriptions": { "typeIdentifier": "t_contract$_StakeRegistry_$11077", "typeString": "contract StakeRegistry" } }, - "id": 13110, + "id": 12945, "isConstant": false, "isLValue": false, "isPure": false, @@ -192282,13 +189962,13 @@ "memberName": "periodIsVerified", "nodeType": "MemberAccess", "referencedDeclaration": 11076, - "src": "8663:30:45", + "src": "7077:30:45", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view external returns (bool)" } }, - "id": 13113, + "id": 12948, "isConstant": false, "isLValue": false, "isPure": false, @@ -192296,7 +189976,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8663:54:45", + "src": "7077:54:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -192306,14 +189986,14 @@ { "argumentTypes": null, "hexValue": "5374616b6552656769737472793a206e6f74207665726966696564", - "id": 13114, + "id": 12949, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "8731:29:45", + "src": "7145:29:45", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_4bb94bd6cf7433f319c86c5900dfb827f85a9ffc1122a4275e409c72d017a2d8", @@ -192333,7 +190013,7 @@ "typeString": "literal_string \"StakeRegistry: not verified\"" } ], - "id": 13108, + "id": 12943, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -192341,13 +190021,13 @@ -18 ], "referencedDeclaration": -18, - "src": "8642:7:45", + "src": "7056:7:45", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 13115, + "id": 12950, "isConstant": false, "isLValue": false, "isPure": false, @@ -192355,31 +190035,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8642:128:45", + "src": "7056:128:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 13116, + "id": 12951, "nodeType": "ExpressionStatement", - "src": "8642:128:45" + "src": "7056:128:45" }, { "assignments": [ - 13118 + 12953 ], "declarations": [ { "constant": false, - "id": 13118, + "id": 12953, "mutability": "mutable", "name": "sla", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13149, - "src": "8780:7:45", + "scope": 12984, + "src": "7194:7:45", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -192388,11 +190068,11 @@ }, "typeName": { "contractScope": null, - "id": 13117, + "id": 12952, "name": "SLA", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 9274, - "src": "8780:3:45", + "src": "7194:3:45", "typeDescriptions": { "typeIdentifier": "t_contract$_SLA_$9274", "typeString": "contract SLA" @@ -192402,18 +190082,18 @@ "visibility": "internal" } ], - "id": 13122, + "id": 12957, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 13120, + "id": 12955, "name": "_slaAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 13100, - "src": "8794:11:45", + "referencedDeclaration": 12935, + "src": "7208:11:45", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -192427,18 +190107,18 @@ "typeString": "address" } ], - "id": 13119, + "id": 12954, "name": "SLA", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 9274, - "src": "8790:3:45", + "src": "7204:3:45", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_SLA_$9274_$", "typeString": "type(contract SLA)" } }, - "id": 13121, + "id": 12956, "isConstant": false, "isLValue": false, "isPure": false, @@ -192446,7 +190126,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8790:16:45", + "src": "7204:16:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_contract$_SLA_$9274", @@ -192454,26 +190134,26 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "8780:26:45" + "src": "7194:26:45" }, { "assignments": [ null, null, - 13126 + 12961 ], "declarations": [ null, null, { "constant": false, - "id": 13126, + "id": 12961, "mutability": "mutable", "name": "status", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13149, - "src": "8821:17:45", + "scope": 12984, + "src": "7235:17:45", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -192482,11 +190162,11 @@ }, "typeName": { "contractScope": null, - "id": 13125, + "id": 12960, "name": "SLA.Status", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 8727, - "src": "8821:10:45", + "src": "7235:10:45", "typeDescriptions": { "typeIdentifier": "t_enum$_Status_$8727", "typeString": "enum SLA.Status" @@ -192496,18 +190176,18 @@ "visibility": "internal" } ], - "id": 13131, + "id": 12966, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 13129, + "id": 12964, "name": "_periodId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 13102, - "src": "8857:9:45", + "referencedDeclaration": 12937, + "src": "7271:9:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -192523,18 +190203,18 @@ ], "expression": { "argumentTypes": null, - "id": 13127, + "id": 12962, "name": "sla", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 13118, - "src": "8842:3:45", + "referencedDeclaration": 12953, + "src": "7256:3:45", "typeDescriptions": { "typeIdentifier": "t_contract$_SLA_$9274", "typeString": "contract SLA" } }, - "id": 13128, + "id": 12963, "isConstant": false, "isLValue": false, "isPure": false, @@ -192542,13 +190222,13 @@ "memberName": "periodSLIs", "nodeType": "MemberAccess", "referencedDeclaration": 8764, - "src": "8842:14:45", + "src": "7256:14:45", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_uint256_$_t_uint256_$_t_enum$_Status_$8727_$", "typeString": "function (uint256) view external returns (uint256,uint256,enum SLA.Status)" } }, - "id": 13130, + "id": 12965, "isConstant": false, "isLValue": false, "isPure": false, @@ -192556,7 +190236,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8842:25:45", + "src": "7256:25:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$_t_enum$_Status_$8727_$", @@ -192564,7 +190244,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "8816:51:45" + "src": "7230:51:45" }, { "expression": { @@ -192576,19 +190256,19 @@ "typeIdentifier": "t_enum$_Status_$8727", "typeString": "enum SLA.Status" }, - "id": 13137, + "id": 12972, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 13133, + "id": 12968, "name": "status", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 13126, - "src": "8885:6:45", + "referencedDeclaration": 12961, + "src": "7299:6:45", "typeDescriptions": { "typeIdentifier": "t_enum$_Status_$8727", "typeString": "enum SLA.Status" @@ -192602,18 +190282,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 13134, + "id": 12969, "name": "SLA", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 9274, - "src": "8895:3:45", + "src": "7309:3:45", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_SLA_$9274_$", "typeString": "type(contract SLA)" } }, - "id": 13135, + "id": 12970, "isConstant": false, "isLValue": false, "isPure": false, @@ -192621,13 +190301,13 @@ "memberName": "Status", "nodeType": "MemberAccess", "referencedDeclaration": 8727, - "src": "8895:10:45", + "src": "7309:10:45", "typeDescriptions": { "typeIdentifier": "t_type$_t_enum$_Status_$8727_$", "typeString": "type(enum SLA.Status)" } }, - "id": 13136, + "id": 12971, "isConstant": false, "isLValue": false, "isPure": true, @@ -192635,13 +190315,13 @@ "memberName": "NotVerified", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8895:22:45", + "src": "7309:22:45", "typeDescriptions": { "typeIdentifier": "t_enum$_Status_$8727", "typeString": "enum SLA.Status" } }, - "src": "8885:32:45", + "src": "7299:32:45", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -192650,14 +190330,14 @@ { "argumentTypes": null, "hexValue": "534c413a207665726966696564", - "id": 13138, + "id": 12973, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "8919:15:45", + "src": "7333:15:45", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_50b930956145b2da5b9aa942c07e0f0052fccadfefc92c2a43047352281271d6", @@ -192677,7 +190357,7 @@ "typeString": "literal_string \"SLA: verified\"" } ], - "id": 13132, + "id": 12967, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -192685,13 +190365,13 @@ -18 ], "referencedDeclaration": -18, - "src": "8877:7:45", + "src": "7291:7:45", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 13139, + "id": 12974, "isConstant": false, "isLValue": false, "isPure": false, @@ -192699,16 +190379,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8877:58:45", + "src": "7291:58:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 13140, + "id": 12975, "nodeType": "ExpressionStatement", - "src": "8877:58:45" + "src": "7291:58:45" }, { "expression": { @@ -192716,12 +190396,12 @@ "arguments": [ { "argumentTypes": null, - "id": 13142, + "id": 12977, "name": "_periodId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 13102, - "src": "8956:9:45", + "referencedDeclaration": 12937, + "src": "7370:9:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -192729,12 +190409,12 @@ }, { "argumentTypes": null, - "id": 13143, + "id": 12978, "name": "_slaAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 13100, - "src": "8967:11:45", + "referencedDeclaration": 12935, + "src": "7381:11:45", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -192743,14 +190423,14 @@ { "argumentTypes": null, "hexValue": "66616c7365", - "id": 13144, + "id": 12979, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "8980:5:45", + "src": "7394:5:45", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -192762,18 +190442,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 13145, + "id": 12980, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -15, - "src": "8987:3:45", + "src": "7401:3:45", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 13146, + "id": 12981, "isConstant": false, "isLValue": false, "isPure": false, @@ -192781,7 +190461,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8987:10:45", + "src": "7401:10:45", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -192807,18 +190487,18 @@ "typeString": "address payable" } ], - "id": 13141, + "id": 12976, "name": "requestSLI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 12893, - "src": "8945:10:45", + "referencedDeclaration": 12886, + "src": "7359:10:45", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_address_$_t_bool_$_t_address_$returns$__$", "typeString": "function (uint256,address,bool,address)" } }, - "id": 13147, + "id": 12982, "isConstant": false, "isLValue": false, "isPure": false, @@ -192826,66 +190506,66 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8945:53:45", + "src": "7359:53:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 13148, + "id": 12983, "nodeType": "ExpressionStatement", - "src": "8945:53:45" + "src": "7359:53:45" } ] }, "documentation": null, "functionSelector": "e450f061", - "id": 13150, + "id": 12985, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 13106, + "id": 12941, "modifierName": { "argumentTypes": null, - "id": 13105, + "id": 12940, "name": "retryLock", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12720, - "src": "8618:9:45", + "src": "7032:9:45", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "8618:9:45" + "src": "7032:9:45" } ], "name": "retryRequest", "nodeType": "FunctionDefinition", "overrides": { - "id": 13104, + "id": 12939, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "8601:8:45" + "src": "7015:8:45" }, "parameters": { - "id": 13103, + "id": 12938, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 13100, + "id": 12935, "mutability": "mutable", "name": "_slaAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13150, - "src": "8536:19:45", + "scope": 12985, + "src": "6950:19:45", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -192893,10 +190573,10 @@ "typeString": "address" }, "typeName": { - "id": 13099, + "id": 12934, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8536:7:45", + "src": "6950:7:45", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -192908,13 +190588,13 @@ }, { "constant": false, - "id": 13102, + "id": 12937, "mutability": "mutable", "name": "_periodId", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13150, - "src": "8557:17:45", + "scope": 12985, + "src": "6971:17:45", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -192922,10 +190602,10 @@ "typeString": "uint256" }, "typeName": { - "id": 13101, + "id": 12936, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8557:7:45", + "src": "6971:7:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -192935,16 +190615,16 @@ "visibility": "internal" } ], - "src": "8535:40:45" + "src": "6949:40:45" }, "returnParameters": { - "id": 13107, + "id": 12942, "nodeType": "ParameterList", "parameters": [], - "src": "8632:0:45" + "src": "7046:0:45" }, - "scope": 13250, - "src": "8514:491:45", + "scope": 13085, + "src": "6928:491:45", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -192954,26 +190634,26 @@ 12557 ], "body": { - "id": 13178, + "id": 13013, "nodeType": "Block", - "src": "9409:134:45", + "src": "7823:134:45", "statements": [ { "expression": { "argumentTypes": null, - "id": 13163, + "id": 12998, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 13161, + "id": 12996, "name": "_jobId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12609, - "src": "9419:6:45", + "src": "7833:6:45", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -192983,43 +190663,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 13162, + "id": 12997, "name": "_newJobId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 13153, - "src": "9428:9:45", + "referencedDeclaration": 12988, + "src": "7842:9:45", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "9419:18:45", + "src": "7833:18:45", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 13164, + "id": 12999, "nodeType": "ExpressionStatement", - "src": "9419:18:45" + "src": "7833:18:45" }, { "expression": { "argumentTypes": null, - "id": 13169, + "id": 13004, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 13165, + "id": 13000, "name": "_fee", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12614, - "src": "9447:4:45", + "src": "7861:4:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -193033,19 +190713,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 13168, + "id": 13003, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 13166, + "id": 13001, "name": "_feeMultiplier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 13155, - "src": "9454:14:45", + "referencedDeclaration": 12990, + "src": "7868:14:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -193055,32 +190735,32 @@ "operator": "*", "rightExpression": { "argumentTypes": null, - "id": 13167, + "id": 13002, "name": "_baseFee", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12612, - "src": "9471:8:45", + "src": "7885:8:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9454:25:45", + "src": "7868:25:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9447:32:45", + "src": "7861:32:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 13170, + "id": 13005, "nodeType": "ExpressionStatement", - "src": "9447:32:45" + "src": "7861:32:45" }, { "eventCall": { @@ -193090,18 +190770,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 13172, + "id": 13007, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -15, - "src": "9508:3:45", + "src": "7922:3:45", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 13173, + "id": 13008, "isConstant": false, "isLValue": false, "isPure": false, @@ -193109,7 +190789,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "9508:10:45", + "src": "7922:10:45", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -193117,12 +190797,12 @@ }, { "argumentTypes": null, - "id": 13174, + "id": 13009, "name": "_newJobId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 13153, - "src": "9520:9:45", + "referencedDeclaration": 12988, + "src": "7934:9:45", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -193130,12 +190810,12 @@ }, { "argumentTypes": null, - "id": 13175, + "id": 13010, "name": "_fee", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12614, - "src": "9531:4:45", + "src": "7945:4:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -193157,18 +190837,18 @@ "typeString": "uint256" } ], - "id": 13171, + "id": 13006, "name": "JobIdModified", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12682, - "src": "9494:13:45", + "src": "7908:13:45", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_uint256_$returns$__$", "typeString": "function (address,bytes32,uint256)" } }, - "id": 13176, + "id": 13011, "isConstant": false, "isLValue": false, "isPure": false, @@ -193176,71 +190856,71 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9494:42:45", + "src": "7908:42:45", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 13177, + "id": 13012, "nodeType": "EmitStatement", - "src": "9489:47:45" + "src": "7903:47:45" } ] }, "documentation": { - "id": 13151, + "id": 12986, "nodeType": "StructuredDocumentation", - "src": "9011:267:45", + "src": "7425:267:45", "text": "@dev sets a new jobId, which is a agreement Id of a PreCoordinator contract\n@param _newJobId the id of the PreCoordinator agreement\n@param _feeMultiplier how many Chainlink nodes would be paid on the agreement id, to set the fee value" }, "functionSelector": "292733bf", - "id": 13179, + "id": 13014, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 13159, + "id": 12994, "modifierName": { "argumentTypes": null, - "id": 13158, + "id": 12993, "name": "onlyOwner", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4886, - "src": "9395:9:45", + "src": "7809:9:45", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "9395:9:45" + "src": "7809:9:45" } ], "name": "setChainlinkJobID", "nodeType": "FunctionDefinition", "overrides": { - "id": 13157, + "id": 12992, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "9378:8:45" + "src": "7792:8:45" }, "parameters": { - "id": 13156, + "id": 12991, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 13153, + "id": 12988, "mutability": "mutable", "name": "_newJobId", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13179, - "src": "9310:17:45", + "scope": 13014, + "src": "7724:17:45", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -193248,10 +190928,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 13152, + "id": 12987, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "9310:7:45", + "src": "7724:7:45", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -193262,13 +190942,13 @@ }, { "constant": false, - "id": 13155, + "id": 12990, "mutability": "mutable", "name": "_feeMultiplier", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13179, - "src": "9329:22:45", + "scope": 13014, + "src": "7743:22:45", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -193276,10 +190956,10 @@ "typeString": "uint256" }, "typeName": { - "id": 13154, + "id": 12989, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "9329:7:45", + "src": "7743:7:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -193289,16 +190969,16 @@ "visibility": "internal" } ], - "src": "9309:43:45" + "src": "7723:43:45" }, "returnParameters": { - "id": 13160, + "id": 12995, "nodeType": "ParameterList", "parameters": [], - "src": "9409:0:45" + "src": "7823:0:45" }, - "scope": 13250, - "src": "9283:260:45", + "scope": 13085, + "src": "7697:260:45", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -193308,69 +190988,69 @@ 12520 ], "body": { - "id": 13188, + "id": 13023, "nodeType": "Block", - "src": "9694:43:45", + "src": "8108:43:45", "statements": [ { "expression": { "argumentTypes": null, - "id": 13186, + "id": 13021, "name": "_slaRegistryAddress", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12605, - "src": "9711:19:45", + "src": "8125:19:45", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 13185, - "id": 13187, + "functionReturnParameters": 13020, + "id": 13022, "nodeType": "Return", - "src": "9704:26:45" + "src": "8118:26:45" } ] }, "documentation": { - "id": 13180, + "id": 13015, "nodeType": "StructuredDocumentation", - "src": "9549:69:45", + "src": "7963:69:45", "text": "@dev returns the value of the sla registry address" }, "functionSelector": "6e71890d", - "id": 13189, + "id": 13024, "implemented": true, "kind": "function", "modifiers": [], "name": "slaRegistryAddress", "nodeType": "FunctionDefinition", "overrides": { - "id": 13182, + "id": 13017, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "9667:8:45" + "src": "8081:8:45" }, "parameters": { - "id": 13181, + "id": 13016, "nodeType": "ParameterList", "parameters": [], - "src": "9650:2:45" + "src": "8064:2:45" }, "returnParameters": { - "id": 13185, + "id": 13020, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 13184, + "id": 13019, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13189, - "src": "9685:7:45", + "scope": 13024, + "src": "8099:7:45", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -193378,10 +191058,10 @@ "typeString": "address" }, "typeName": { - "id": 13183, + "id": 13018, "name": "address", "nodeType": "ElementaryTypeName", - "src": "9685:7:45", + "src": "8099:7:45", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -193392,10 +191072,10 @@ "visibility": "internal" } ], - "src": "9684:9:45" + "src": "8098:9:45" }, - "scope": 13250, - "src": "9623:114:45", + "scope": 13085, + "src": "8037:114:45", "stateMutability": "view", "virtual": false, "visibility": "external" @@ -193405,69 +191085,69 @@ 12514 ], "body": { - "id": 13198, + "id": 13033, "nodeType": "Block", - "src": "9887:43:45", + "src": "8301:43:45", "statements": [ { "expression": { "argumentTypes": null, - "id": 13196, + "id": 13031, "name": "_messengerPrecision", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12619, - "src": "9904:19:45", + "src": "8318:19:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 13195, - "id": 13197, + "functionReturnParameters": 13030, + "id": 13032, "nodeType": "Return", - "src": "9897:26:45" + "src": "8311:26:45" } ] }, "documentation": { - "id": 13190, + "id": 13025, "nodeType": "StructuredDocumentation", - "src": "9743:68:45", + "src": "8157:68:45", "text": "@dev returns the value of the messenger precision" }, "functionSelector": "c9b0cb22", - "id": 13199, + "id": 13034, "implemented": true, "kind": "function", "modifiers": [], "name": "messengerPrecision", "nodeType": "FunctionDefinition", "overrides": { - "id": 13192, + "id": 13027, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "9860:8:45" + "src": "8274:8:45" }, "parameters": { - "id": 13191, + "id": 13026, "nodeType": "ParameterList", "parameters": [], - "src": "9843:2:45" + "src": "8257:2:45" }, "returnParameters": { - "id": 13195, + "id": 13030, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 13194, + "id": 13029, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13199, - "src": "9878:7:45", + "scope": 13034, + "src": "8292:7:45", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -193475,10 +191155,10 @@ "typeString": "uint256" }, "typeName": { - "id": 13193, + "id": 13028, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "9878:7:45", + "src": "8292:7:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -193488,10 +191168,10 @@ "visibility": "internal" } ], - "src": "9877:9:45" + "src": "8291:9:45" }, - "scope": 13250, - "src": "9816:114:45", + "scope": 13085, + "src": "8230:114:45", "stateMutability": "view", "virtual": false, "visibility": "external" @@ -193501,69 +191181,69 @@ 12526 ], "body": { - "id": 13208, + "id": 13043, "nodeType": "Block", - "src": "10069:31:45", + "src": "8483:31:45", "statements": [ { "expression": { "argumentTypes": null, - "id": 13206, + "id": 13041, "name": "_oracle", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12607, - "src": "10086:7:45", + "src": "8500:7:45", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 13205, - "id": 13207, + "functionReturnParameters": 13040, + "id": 13042, "nodeType": "Return", - "src": "10079:14:45" + "src": "8493:14:45" } ] }, "documentation": { - "id": 13200, + "id": 13035, "nodeType": "StructuredDocumentation", - "src": "9936:69:45", + "src": "8350:69:45", "text": "@dev returns the chainlink oracle contract address" }, "functionSelector": "7dc0d1d0", - "id": 13209, + "id": 13044, "implemented": true, "kind": "function", "modifiers": [], "name": "oracle", "nodeType": "FunctionDefinition", "overrides": { - "id": 13202, + "id": 13037, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "10042:8:45" + "src": "8456:8:45" }, "parameters": { - "id": 13201, + "id": 13036, "nodeType": "ParameterList", "parameters": [], - "src": "10025:2:45" + "src": "8439:2:45" }, "returnParameters": { - "id": 13205, + "id": 13040, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 13204, + "id": 13039, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13209, - "src": "10060:7:45", + "scope": 13044, + "src": "8474:7:45", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -193571,10 +191251,10 @@ "typeString": "address" }, "typeName": { - "id": 13203, + "id": 13038, "name": "address", "nodeType": "ElementaryTypeName", - "src": "10060:7:45", + "src": "8474:7:45", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -193585,10 +191265,10 @@ "visibility": "internal" } ], - "src": "10059:9:45" + "src": "8473:9:45" }, - "scope": 13250, - "src": "10010:90:45", + "scope": 13085, + "src": "8424:90:45", "stateMutability": "view", "virtual": false, "visibility": "external" @@ -193598,69 +191278,69 @@ 12532 ], "body": { - "id": 13218, + "id": 13053, "nodeType": "Block", - "src": "10221:30:45", + "src": "8635:30:45", "statements": [ { "expression": { "argumentTypes": null, - "id": 13216, + "id": 13051, "name": "_jobId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12609, - "src": "10238:6:45", + "src": "8652:6:45", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 13215, - "id": 13217, + "functionReturnParameters": 13050, + "id": 13052, "nodeType": "Return", - "src": "10231:13:45" + "src": "8645:13:45" } ] }, "documentation": { - "id": 13210, + "id": 13045, "nodeType": "StructuredDocumentation", - "src": "10106:52:45", + "src": "8520:52:45", "text": "@dev returns the chainlink job id" }, "functionSelector": "c2939d97", - "id": 13219, + "id": 13054, "implemented": true, "kind": "function", "modifiers": [], "name": "jobId", "nodeType": "FunctionDefinition", "overrides": { - "id": 13212, + "id": 13047, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "10194:8:45" + "src": "8608:8:45" }, "parameters": { - "id": 13211, + "id": 13046, "nodeType": "ParameterList", "parameters": [], - "src": "10177:2:45" + "src": "8591:2:45" }, "returnParameters": { - "id": 13215, + "id": 13050, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 13214, + "id": 13049, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13219, - "src": "10212:7:45", + "scope": 13054, + "src": "8626:7:45", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -193668,10 +191348,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 13213, + "id": 13048, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "10212:7:45", + "src": "8626:7:45", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -193681,10 +191361,10 @@ "visibility": "internal" } ], - "src": "10211:9:45" + "src": "8625:9:45" }, - "scope": 13250, - "src": "10163:88:45", + "scope": 13085, + "src": "8577:88:45", "stateMutability": "view", "virtual": false, "visibility": "external" @@ -193694,69 +191374,69 @@ 12538 ], "body": { - "id": 13228, + "id": 13063, "nodeType": "Block", - "src": "10388:28:45", + "src": "8802:28:45", "statements": [ { "expression": { "argumentTypes": null, - "id": 13226, + "id": 13061, "name": "_fee", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12614, - "src": "10405:4:45", + "src": "8819:4:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 13225, - "id": 13227, + "functionReturnParameters": 13060, + "id": 13062, "nodeType": "Return", - "src": "10398:11:45" + "src": "8812:11:45" } ] }, "documentation": { - "id": 13220, + "id": 13055, "nodeType": "StructuredDocumentation", - "src": "10257:70:45", + "src": "8671:70:45", "text": "@dev returns the chainlink fee value on LINK tokens" }, "functionSelector": "ddca3f43", - "id": 13229, + "id": 13064, "implemented": true, "kind": "function", "modifiers": [], "name": "fee", "nodeType": "FunctionDefinition", "overrides": { - "id": 13222, + "id": 13057, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "10361:8:45" + "src": "8775:8:45" }, "parameters": { - "id": 13221, + "id": 13056, "nodeType": "ParameterList", "parameters": [], - "src": "10344:2:45" + "src": "8758:2:45" }, "returnParameters": { - "id": 13225, + "id": 13060, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 13224, + "id": 13059, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13229, - "src": "10379:7:45", + "scope": 13064, + "src": "8793:7:45", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -193764,10 +191444,10 @@ "typeString": "uint256" }, "typeName": { - "id": 13223, + "id": 13058, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "10379:7:45", + "src": "8793:7:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -193777,10 +191457,10 @@ "visibility": "internal" } ], - "src": "10378:9:45" + "src": "8792:9:45" }, - "scope": 13250, - "src": "10332:84:45", + "scope": 13085, + "src": "8746:84:45", "stateMutability": "view", "virtual": false, "visibility": "external" @@ -193790,69 +191470,69 @@ 12544 ], "body": { - "id": 13238, + "id": 13073, "nodeType": "Block", - "src": "10546:40:45", + "src": "8960:40:45", "statements": [ { "expression": { "argumentTypes": null, - "id": 13236, + "id": 13071, "name": "_requestsCounter", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12621, - "src": "10563:16:45", + "src": "8977:16:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 13235, - "id": 13237, + "functionReturnParameters": 13070, + "id": 13072, "nodeType": "Return", - "src": "10556:23:45" + "src": "8970:23:45" } ] }, "documentation": { - "id": 13230, + "id": 13065, "nodeType": "StructuredDocumentation", - "src": "10422:51:45", + "src": "8836:51:45", "text": "@dev returns the requestsCounter" }, "functionSelector": "663c2269", - "id": 13239, + "id": 13074, "implemented": true, "kind": "function", "modifiers": [], "name": "requestsCounter", "nodeType": "FunctionDefinition", "overrides": { - "id": 13232, + "id": 13067, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "10519:8:45" + "src": "8933:8:45" }, "parameters": { - "id": 13231, + "id": 13066, "nodeType": "ParameterList", "parameters": [], - "src": "10502:2:45" + "src": "8916:2:45" }, "returnParameters": { - "id": 13235, + "id": 13070, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 13234, + "id": 13069, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13239, - "src": "10537:7:45", + "scope": 13074, + "src": "8951:7:45", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -193860,10 +191540,10 @@ "typeString": "uint256" }, "typeName": { - "id": 13233, + "id": 13068, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "10537:7:45", + "src": "8951:7:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -193873,10 +191553,10 @@ "visibility": "internal" } ], - "src": "10536:9:45" + "src": "8950:9:45" }, - "scope": 13250, - "src": "10478:108:45", + "scope": 13085, + "src": "8892:108:45", "stateMutability": "view", "virtual": false, "visibility": "external" @@ -193886,69 +191566,69 @@ 12550 ], "body": { - "id": 13248, + "id": 13083, "nodeType": "Block", - "src": "10716:40:45", + "src": "9130:40:45", "statements": [ { "expression": { "argumentTypes": null, - "id": 13246, + "id": 13081, "name": "_fulfillsCounter", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12623, - "src": "10733:16:45", + "src": "9147:16:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 13245, - "id": 13247, + "functionReturnParameters": 13080, + "id": 13082, "nodeType": "Return", - "src": "10726:23:45" + "src": "9140:23:45" } ] }, "documentation": { - "id": 13240, + "id": 13075, "nodeType": "StructuredDocumentation", - "src": "10592:51:45", + "src": "9006:51:45", "text": "@dev returns the fulfillsCounter" }, "functionSelector": "a50c5425", - "id": 13249, + "id": 13084, "implemented": true, "kind": "function", "modifiers": [], "name": "fulfillsCounter", "nodeType": "FunctionDefinition", "overrides": { - "id": 13242, + "id": 13077, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "10689:8:45" + "src": "9103:8:45" }, "parameters": { - "id": 13241, + "id": 13076, "nodeType": "ParameterList", "parameters": [], - "src": "10672:2:45" + "src": "9086:2:45" }, "returnParameters": { - "id": 13245, + "id": 13080, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 13244, + "id": 13079, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13249, - "src": "10707:7:45", + "scope": 13084, + "src": "9121:7:45", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -193956,10 +191636,10 @@ "typeString": "uint256" }, "typeName": { - "id": 13243, + "id": 13078, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "10707:7:45", + "src": "9121:7:45", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -193969,20 +191649,20 @@ "visibility": "internal" } ], - "src": "10706:9:45" + "src": "9120:9:45" }, - "scope": 13250, - "src": "10648:108:45", + "scope": 13085, + "src": "9062:108:45", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 13251, - "src": "622:10136:45" + "scope": 13086, + "src": "622:8550:45" } ], - "src": "0:10759:45" + "src": "0:9173:45" }, "id": 45 }, @@ -193991,14 +191671,14 @@ "absolutePath": "contracts/tokens/EthereumERC20.sol", "exportedSymbols": { "EthereumERC20": [ - 13277 + 13112 ] }, - "id": 13278, + "id": 13113, "nodeType": "SourceUnit", "nodes": [ { - "id": 13252, + "id": 13087, "literals": [ "solidity", "0.6", @@ -194010,9 +191690,9 @@ { "absolutePath": "@openzeppelin/contracts/presets/ERC20PresetMinterPauser.sol", "file": "@openzeppelin/contracts/presets/ERC20PresetMinterPauser.sol", - "id": 13253, + "id": 13088, "nodeType": "ImportDirective", - "scope": 13278, + "scope": 13113, "sourceUnit": 5429, "src": "56:69:46", "symbolAliases": [], @@ -194025,7 +191705,7 @@ "arguments": null, "baseName": { "contractScope": null, - "id": 13254, + "id": 13089, "name": "ERC20PresetMinterPauser", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 5428, @@ -194035,7 +191715,7 @@ "typeString": "contract ERC20PresetMinterPauser" } }, - "id": 13255, + "id": 13090, "nodeType": "InheritanceSpecifier", "src": "153:23:46" } @@ -194053,9 +191733,9 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 13277, + "id": 13112, "linearizedBaseContracts": [ - 13277, + 13112, 5428, 6027, 7221, @@ -194070,7 +191750,7 @@ "nodes": [ { "body": { - "id": 13275, + "id": 13110, "nodeType": "Block", "src": "470:41:46", "statements": [ @@ -194082,7 +191762,7 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 13268, + "id": 13103, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -194093,7 +191773,7 @@ "typeString": "msg" } }, - "id": 13269, + "id": 13104, "isConstant": false, "isLValue": false, "isPure": false, @@ -194113,7 +191793,7 @@ "typeIdentifier": "t_rational_1000000000000000000000000000_by_1", "typeString": "int_const 1000000000000000000000000000" }, - "id": 13272, + "id": 13107, "isConstant": false, "isLValue": false, "isPure": true, @@ -194121,7 +191801,7 @@ "leftExpression": { "argumentTypes": null, "hexValue": "3130", - "id": 13270, + "id": 13105, "isConstant": false, "isLValue": false, "isPure": true, @@ -194141,7 +191821,7 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3237", - "id": 13271, + "id": 13106, "isConstant": false, "isLValue": false, "isPure": true, @@ -194174,7 +191854,7 @@ "typeString": "int_const 1000000000000000000000000000" } ], - "id": 13267, + "id": 13102, "name": "mint", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -194185,7 +191865,7 @@ "typeString": "function (address,uint256)" } }, - "id": 13273, + "id": 13108, "isConstant": false, "isLValue": false, "isPure": false, @@ -194200,19 +191880,19 @@ "typeString": "tuple()" } }, - "id": 13274, + "id": 13109, "nodeType": "ExpressionStatement", "src": "480:24:46" } ] }, "documentation": { - "id": 13256, + "id": 13091, "nodeType": "StructuredDocumentation", "src": "183:163:46", "text": "@dev Sets the values for {name} and {symbol}, {decimals} have\na default value of 18.\n@notice token name: DSLA , token symbol: DSLA" }, - "id": 13276, + "id": 13111, "implemented": true, "kind": "constructor", "modifiers": [ @@ -194220,11 +191900,11 @@ "arguments": [ { "argumentTypes": null, - "id": 13263, + "id": 13098, "name": "name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 13258, + "referencedDeclaration": 13093, "src": "452:4:46", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -194233,11 +191913,11 @@ }, { "argumentTypes": null, - "id": 13264, + "id": 13099, "name": "symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 13260, + "referencedDeclaration": 13095, "src": "458:6:46", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -194245,10 +191925,10 @@ } } ], - "id": 13265, + "id": 13100, "modifierName": { "argumentTypes": null, - "id": 13262, + "id": 13097, "name": "ERC20PresetMinterPauser", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -194267,17 +191947,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 13261, + "id": 13096, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 13258, + "id": 13093, "mutability": "mutable", "name": "name", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13276, + "scope": 13111, "src": "363:18:46", "stateVariable": false, "storageLocation": "memory", @@ -194286,7 +191966,7 @@ "typeString": "string" }, "typeName": { - "id": 13257, + "id": 13092, "name": "string", "nodeType": "ElementaryTypeName", "src": "363:6:46", @@ -194300,12 +191980,12 @@ }, { "constant": false, - "id": 13260, + "id": 13095, "mutability": "mutable", "name": "symbol", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13276, + "scope": 13111, "src": "383:20:46", "stateVariable": false, "storageLocation": "memory", @@ -194314,7 +191994,7 @@ "typeString": "string" }, "typeName": { - "id": 13259, + "id": 13094, "name": "string", "nodeType": "ElementaryTypeName", "src": "383:6:46", @@ -194330,19 +192010,19 @@ "src": "362:42:46" }, "returnParameters": { - "id": 13266, + "id": 13101, "nodeType": "ParameterList", "parameters": [], "src": "470:0:46" }, - "scope": 13277, + "scope": 13112, "src": "351:160:46", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" } ], - "scope": 13278, + "scope": 13113, "src": "127:386:46" } ], @@ -194355,14 +192035,14 @@ "absolutePath": "contracts/tokens/PolygonERC20.sol", "exportedSymbols": { "PolygonERC20": [ - 13319 + 13154 ] }, - "id": 13320, + "id": 13155, "nodeType": "SourceUnit", "nodes": [ { - "id": 13279, + "id": 13114, "literals": [ "solidity", "0.6", @@ -194374,16 +192054,16 @@ { "absolutePath": "@openzeppelin/contracts/token/ERC20/ERC20.sol", "file": "@openzeppelin/contracts/token/ERC20/ERC20.sol", - "id": 13281, + "id": 13116, "nodeType": "ImportDirective", - "scope": 13320, + "scope": 13155, "sourceUnit": 5932, "src": "24:68:47", "symbolAliases": [ { "foreign": { "argumentTypes": null, - "id": 13280, + "id": 13115, "name": "ERC20", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -194402,9 +192082,9 @@ { "absolutePath": "@openzeppelin/contracts/math/SafeMath.sol", "file": "@openzeppelin/contracts/math/SafeMath.sol", - "id": 13282, + "id": 13117, "nodeType": "ImportDirective", - "scope": 13320, + "scope": 13155, "sourceUnit": 5293, "src": "93:51:47", "symbolAliases": [], @@ -194417,7 +192097,7 @@ "arguments": null, "baseName": { "contractScope": null, - "id": 13283, + "id": 13118, "name": "ERC20", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 5931, @@ -194427,7 +192107,7 @@ "typeString": "contract ERC20" } }, - "id": 13284, + "id": 13119, "nodeType": "InheritanceSpecifier", "src": "171:5:47" } @@ -194440,9 +192120,9 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 13319, + "id": 13154, "linearizedBaseContracts": [ - 13319, + 13154, 5931, 6105, 6637 @@ -194451,10 +192131,10 @@ "nodeType": "ContractDefinition", "nodes": [ { - "id": 13287, + "id": 13122, "libraryName": { "contractScope": null, - "id": 13285, + "id": 13120, "name": "SafeMath", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 5292, @@ -194467,7 +192147,7 @@ "nodeType": "UsingForDirective", "src": "183:27:47", "typeName": { - "id": 13286, + "id": 13121, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "202:7:47", @@ -194479,12 +192159,12 @@ }, { "constant": false, - "id": 13289, + "id": 13124, "mutability": "mutable", "name": "deployer", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13319, + "scope": 13154, "src": "300:16:47", "stateVariable": true, "storageLocation": "default", @@ -194493,7 +192173,7 @@ "typeString": "address" }, "typeName": { - "id": 13288, + "id": 13123, "name": "address", "nodeType": "ElementaryTypeName", "src": "300:7:47", @@ -194508,7 +192188,7 @@ }, { "body": { - "id": 13317, + "id": 13152, "nodeType": "Block", "src": "424:102:47", "statements": [ @@ -194519,7 +192199,7 @@ { "argumentTypes": null, "hexValue": "3138", - "id": 13301, + "id": 13136, "isConstant": false, "isLValue": false, "isPure": true, @@ -194542,7 +192222,7 @@ "typeString": "int_const 18" } ], - "id": 13300, + "id": 13135, "name": "_setupDecimals", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -194553,7 +192233,7 @@ "typeString": "function (uint8)" } }, - "id": 13302, + "id": 13137, "isConstant": false, "isLValue": false, "isPure": false, @@ -194568,25 +192248,25 @@ "typeString": "tuple()" } }, - "id": 13303, + "id": 13138, "nodeType": "ExpressionStatement", "src": "434:18:47" }, { "expression": { "argumentTypes": null, - "id": 13307, + "id": 13142, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 13304, + "id": 13139, "name": "deployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 13289, + "referencedDeclaration": 13124, "src": "462:8:47", "typeDescriptions": { "typeIdentifier": "t_address", @@ -194599,7 +192279,7 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 13305, + "id": 13140, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -194610,7 +192290,7 @@ "typeString": "msg" } }, - "id": 13306, + "id": 13141, "isConstant": false, "isLValue": false, "isPure": false, @@ -194630,7 +192310,7 @@ "typeString": "address" } }, - "id": 13308, + "id": 13143, "nodeType": "ExpressionStatement", "src": "462:21:47" }, @@ -194642,7 +192322,7 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 13310, + "id": 13145, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -194653,7 +192333,7 @@ "typeString": "msg" } }, - "id": 13311, + "id": 13146, "isConstant": false, "isLValue": false, "isPure": false, @@ -194673,7 +192353,7 @@ "typeIdentifier": "t_rational_1000000000000000000000000000_by_1", "typeString": "int_const 1000000000000000000000000000" }, - "id": 13314, + "id": 13149, "isConstant": false, "isLValue": false, "isPure": true, @@ -194681,7 +192361,7 @@ "leftExpression": { "argumentTypes": null, "hexValue": "3130", - "id": 13312, + "id": 13147, "isConstant": false, "isLValue": false, "isPure": true, @@ -194701,7 +192381,7 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3237", - "id": 13313, + "id": 13148, "isConstant": false, "isLValue": false, "isPure": true, @@ -194734,7 +192414,7 @@ "typeString": "int_const 1000000000000000000000000000" } ], - "id": 13309, + "id": 13144, "name": "_mint", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -194745,7 +192425,7 @@ "typeString": "function (address,uint256)" } }, - "id": 13315, + "id": 13150, "isConstant": false, "isLValue": false, "isPure": false, @@ -194760,14 +192440,14 @@ "typeString": "tuple()" } }, - "id": 13316, + "id": 13151, "nodeType": "ExpressionStatement", "src": "494:25:47" } ] }, "documentation": null, - "id": 13318, + "id": 13153, "implemented": true, "kind": "constructor", "modifiers": [ @@ -194775,11 +192455,11 @@ "arguments": [ { "argumentTypes": null, - "id": 13296, + "id": 13131, "name": "name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 13291, + "referencedDeclaration": 13126, "src": "406:4:47", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -194788,11 +192468,11 @@ }, { "argumentTypes": null, - "id": 13297, + "id": 13132, "name": "symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 13293, + "referencedDeclaration": 13128, "src": "412:6:47", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -194800,10 +192480,10 @@ } } ], - "id": 13298, + "id": 13133, "modifierName": { "argumentTypes": null, - "id": 13295, + "id": 13130, "name": "ERC20", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -194822,17 +192502,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 13294, + "id": 13129, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 13291, + "id": 13126, "mutability": "mutable", "name": "name", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13318, + "scope": 13153, "src": "335:18:47", "stateVariable": false, "storageLocation": "memory", @@ -194841,7 +192521,7 @@ "typeString": "string" }, "typeName": { - "id": 13290, + "id": 13125, "name": "string", "nodeType": "ElementaryTypeName", "src": "335:6:47", @@ -194855,12 +192535,12 @@ }, { "constant": false, - "id": 13293, + "id": 13128, "mutability": "mutable", "name": "symbol", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 13318, + "scope": 13153, "src": "355:20:47", "stateVariable": false, "storageLocation": "memory", @@ -194869,7 +192549,7 @@ "typeString": "string" }, "typeName": { - "id": 13292, + "id": 13127, "name": "string", "nodeType": "ElementaryTypeName", "src": "355:6:47", @@ -194885,19 +192565,19 @@ "src": "334:42:47" }, "returnParameters": { - "id": 13299, + "id": 13134, "nodeType": "ParameterList", "parameters": [], "src": "424:0:47" }, - "scope": 13319, + "scope": 13154, "src": "323:203:47", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" } ], - "scope": 13320, + "scope": 13155, "src": "146:1911:47" } ], diff --git a/artifacts/contracts/messengers/staking-efficiency/SEMessenger.sol/SEMessenger.dbg.json b/artifacts/contracts/messengers/staking-efficiency/SEMessenger.sol/SEMessenger.dbg.json index 2d1b3bba..0383765d 100644 --- a/artifacts/contracts/messengers/staking-efficiency/SEMessenger.sol/SEMessenger.dbg.json +++ b/artifacts/contracts/messengers/staking-efficiency/SEMessenger.sol/SEMessenger.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/contracts/messengers/staking-efficiency/SEMessenger.sol/SEMessenger.json b/artifacts/contracts/messengers/staking-efficiency/SEMessenger.sol/SEMessenger.json index 973c3c83..0c812fe8 100644 --- a/artifacts/contracts/messengers/staking-efficiency/SEMessenger.sol/SEMessenger.json +++ b/artifacts/contracts/messengers/staking-efficiency/SEMessenger.sol/SEMessenger.json @@ -200,7 +200,7 @@ }, { "internalType": "uint256", - "name": "_chainlinkResponseUint256", + "name": "_chainlinkResponse", "type": "uint256" } ], @@ -274,30 +274,6 @@ "stateMutability": "view", "type": "function" }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "sliData", - "type": "bytes32" - } - ], - "name": "parseSLIData", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, { "inputs": [], "name": "renounceOwnership", @@ -459,34 +435,22 @@ "type": "function" } ], - "bytecode": "0x60a060405260016004556010805460ff60a01b191690553480156200002357600080fd5b50604051620022ea380380620022ea833981016040819052620000469162000147565b60006200005b6001600160e01b036200012116565b600680546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600755600b849055620000c7856001600160e01b036200012516565b60609590951b6001600160601b03191660805267016345785d8a000091909102600c55600f80546001600160a01b03199081166001600160a01b039384161790915560108054909116919094161790925550620001dc9050565b3390565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60008060008060008060c0878903121562000160578182fd5b86516200016d81620001c3565b60208801519096506200018081620001c3565b8095505060408701519350606087015192506080870151620001a281620001c3565b60a0880151909250620001b581620001c3565b809150509295509295509295565b6001600160a01b0381168114620001d957600080fd5b50565b60805160601c6120eb620001ff600039806106b25280610ac152506120eb6000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c8063a50c5425116100a2578063c9b0cb2211610071578063c9b0cb2214610206578063ddca3f431461020e578063e450f06114610216578063f2fde38b14610229578063f38815891461023c57610116565b8063a50c5425146101c2578063ae401eb9146101ca578063bc0bfc00146101eb578063c2939d97146101fe57610116565b8063715018a6116100e9578063715018a6146101845780637dc0d1d01461018c57806381d12c58146101945780638da5cb5b146101a757806397a82192146101af57610116565b806304e4fc011461011b578063292733bf14610145578063663c22691461015a5780636e71890d1461016f575b600080fd5b61012e610129366004611979565b610244565b60405161013c929190611c90565b60405180910390f35b610158610153366004611991565b610577565b005b610162610612565b60405161013c9190611c87565b610177610618565b60405161013c9190611b9e565b610158610627565b6101776106b0565b6101626101a2366004611979565b6106d4565b6101776106f2565b6101586101bd366004611a84565b610701565b610162610bba565b6101dd6101d8366004611979565b610bc0565b60405161013c929190611bd6565b6101586101f9366004611991565b610be5565b610162610dcd565b610162610dd3565b610162610dd9565b610158610224366004611933565b610ddf565b610158610237366004611918565b610f66565b610158611027565b600080606073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__63ef0b2368856040518263ffffffff1660e01b81526004016102809190611c87565b60006040518083038186803b15801561029857600080fd5b505af41580156102ac573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102d491908101906119d1565b805190915060608167ffffffffffffffff811180156102f257600080fd5b506040519080825280601f01601f19166020018201604052801561031d576020820181803683370190505b50905060608267ffffffffffffffff8111801561033957600080fd5b506040519080825280601f01601f191660200182016040528015610364576020820181803683370190505b50905060005b8381101561045157600b60fa1b6001600160f81b03191685828151811061038d57fe5b01602001516001600160f81b03191614156104495760005b818110156103ef578581815181106103b957fe5b602001015160f81c60f81b8482815181106103d057fe5b60200101906001600160f81b031916908160001a9053506001016103a5565b5060005b60018286030381101561044757858183600101018151811061041157fe5b602001015160f81c60f81b83828151811061042857fe5b60200101906001600160f81b031916908160001a9053506001016103f3565b505b60010161036a565b506040516302d06d0560e01b815260009073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__906302d06d059061048c908690600401611c9e565b60206040518083038186803b1580156104a457600080fd5b505af41580156104b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dc9190611a6c565b9050600073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__6302d06d05846040518263ffffffff1660e01b81526004016105179190611c9e565b60206040518083038186803b15801561052f57600080fd5b505af4158015610543573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105679190611a6c565b9197509095505050505050915091565b61057f611064565b6001600160a01b03166105906106f2565b6001600160a01b0316146105bf5760405162461bcd60e51b81526004016105b690611f2e565b60405180910390fd5b600b82905567016345785d8a00008102600c81905560405133917f8e7e22d2820965fa1a8fa3ad76db76127e2f1baaf65f50c4e267f28b2254f7cb91610606918691611c90565b60405180910390a25050565b600d5490565b600a546001600160a01b031690565b61062f611064565b6001600160a01b03166106406106f2565b6001600160a01b0316146106665760405162461bcd60e51b81526004016105b690611f2e565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b7f000000000000000000000000000000000000000000000000000000000000000090565b600981815481106106e157fe5b600091825260209091200154905081565b6006546001600160a01b031690565b601054600160a01b900460ff1661073c57600a546001600160a01b0316331461073c5760405162461bcd60e51b81526004016105b690611eac565b6002600754141561075f5760405162461bcd60e51b81526004016105b69061202c565b600260075582821561079e576107996107766106f2565b30600c54610782611068565b6001600160a01b031692919063ffffffff61107716565b6107ae565b6107ae8230600c54610782611068565b6107b661189b565b600b546107ca9030622f02ff60ea1b6110d5565b9050600080600f60009054906101000a90046001600160a01b03166001600160a01b031663ffa61235856001600160a01b03166346e0fbae6040518163ffffffff1660e01b815260040160206040518083038186803b15801561082c57600080fd5b505afa158015610840573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086491906119b2565b8a6040518363ffffffff1660e01b8152600401610882929190611cb1565b604080518083038186803b15801561089957600080fd5b505afa1580156108ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d19190611ad6565b91509150610934604051806040016040528060088152602001676a6f625f7479706560c01b815250604051806040016040528060128152602001717374616b696e675f656666696369656e637960701b815250856111029092919063ffffffff16565b60408051808201825260148152731cdb1857db5bdb9a5d1bdc9a5b99d7dcdd185c9d60621b6020820152905163fc966d4560e01b81526109fb919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__9063fc966d4590610999908790600401611c87565b60006040518083038186803b1580156109b157600080fd5b505af41580156109c5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109ed91908101906119d1565b85919063ffffffff61110216565b60408051808201825260128152711cdb1857db5bdb9a5d1bdc9a5b99d7d95b9960721b6020820152905163fc966d4560e01b8152610a5e919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__9063fc966d4590610999908690600401611c87565b604080518082018252600b81526a736c615f6164647265737360a81b60208201529051635e57966d60e01b8152610aba919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__90635e57966d90610999908c90600401611b9e565b6000610ae97f000000000000000000000000000000000000000000000000000000000000000085600c54611131565b6009805460018082019092557f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af018290556040805180820182526001600160a01b038c8116825260208083018f81526000878152600890925290849020925183546001600160a01b0319169083161783555191840191909155600d80549093019283905590519293508816917feab5eb77e722078f3fab7eb6a77c74f7001181e1e3a74d51b7b5747ee1b31cb991610ba2918590611c90565b60405180910390a25050600160075550505050505050565b600e5490565b600860205260009081526040902080546001909101546001600160a01b039091169082565b60026007541415610c085760405162461bcd60e51b81526004016105b69061202c565b600260075560008281526005602052604090205482906001600160a01b03163314610c455760405162461bcd60e51b81526004016105b690611f9a565b60008181526005602052604080822080546001600160a01b03191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a281610c916118d0565b506000848152600860209081526040918290208251808401845281546001600160a01b0316808252600190920154928101839052925187927f56514ef6e1ffd0f970ebf32dc181e476384e6e53a8351719040b4030318a933b91610cf791908790611c90565b60405180910390a3600080610d0b84610244565b90925090506000610d22838363ffffffff61127016565b90506000610d4982610d3d86620186a063ffffffff61129e16565b9063ffffffff6112d816565b85516020870151604051636bd2e21160e11b81529293506001600160a01b039091169163d7a5c42291610d8191859190600401611c90565b600060405180830381600087803b158015610d9b57600080fd5b505af1158015610daf573d6000803e3d6000fd5b5050600e805460019081019091556007555050505050505050505050565b600b5490565b6103e890565b600c5490565b6010805460ff60a01b1916600160a01b179081905560405163ab9a81a560e01b81526001600160a01b039091169063ab9a81a590610e239085908590600401611bd6565b60206040518083038186803b158015610e3b57600080fd5b505afa158015610e4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e73919061195d565b610e8f5760405162461bcd60e51b81526004016105b690611d89565b6040516320c876ef60e11b815282906000906001600160a01b03831690634190edde90610ec0908690600401611c87565b60606040518083038186803b158015610ed857600080fd5b505afa158015610eec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f109190611af9565b925060009150610f1d9050565b816002811115610f2957fe5b14610f465760405162461bcd60e51b81526004016105b690611dc0565b610f538385600033610701565b50506010805460ff60a01b191690555050565b610f6e611064565b6001600160a01b0316610f7f6106f2565b6001600160a01b031614610fa55760405162461bcd60e51b81526004016105b690611f2e565b6001600160a01b038116610fcb5760405162461bcd60e51b81526004016105b690611cc9565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b0316156110505760405162461bcd60e51b81526004016105b690611e64565b600a80546001600160a01b03191633179055565b3390565b6002546001600160a01b031690565b6110cf846323b872dd60e01b85858560405160240161109893929190611bb2565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261130d565b50505050565b6110dd61189b565b6110e561189b565b6110f78186868663ffffffff61139c16565b9150505b9392505050565b6080830151611117908363ffffffff6113d916565b608083015161112c908263ffffffff6113d916565b505050565b600030600454604051602001611148929190611b7c565b60408051808303601f19018152918152815160209283012060045460608701526000818152600590935281832080546001600160a01b0319166001600160a01b038916179055905190925082917fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af991a26002546001600160a01b0316634000aea085846111d4876113f6565b6040518463ffffffff1660e01b81526004016111f293929190611c57565b602060405180830381600087803b15801561120c57600080fd5b505af1158015611220573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611244919061195d565b6112605760405162461bcd60e51b81526004016105b690611d46565b6004805460010190559392505050565b6000828201838110156112955760405162461bcd60e51b81526004016105b690611d0f565b90505b92915050565b6000826112ad57506000611298565b828202828482816112ba57fe5b04146112955760405162461bcd60e51b81526004016105b690611eed565b60008082116112f95760405162461bcd60e51b81526004016105b690611e2d565b600082848161130457fe5b04949350505050565b6060611362826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114729092919063ffffffff16565b80519091501561112c5780806020019051810190611380919061195d565b61112c5760405162461bcd60e51b81526004016105b690611fe2565b6113a461189b565b6113b48560800151610100611489565b50509183526001600160a01b031660208301526001600160e01b031916604082015290565b6113e682600383516114c3565b61112c828263ffffffff6115cd16565b6060634042994660e01b60008084600001518560200151866040015187606001516001896080015160000151604051602401611439989796959493929190611bef565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091529050919050565b606061148184846000856115e7565b949350505050565b6114916118e7565b60208206156114a65760208206602003820191505b506020828101829052604080518085526000815290920101905290565b601781116114ea576114e48360e0600585901b16831763ffffffff6116a816565b5061112c565b60ff81116115205761150d836018611fe0600586901b161763ffffffff6116a816565b506114e48382600163ffffffff6116c016565b61ffff811161155757611544836019611fe0600586901b161763ffffffff6116a816565b506114e48382600263ffffffff6116c016565b63ffffffff81116115905761157d83601a611fe0600586901b161763ffffffff6116a816565b506114e48382600463ffffffff6116c016565b67ffffffffffffffff811161112c576115ba83601b611fe0600586901b161763ffffffff6116a816565b506110cf8382600863ffffffff6116c016565b6115d56118e7565b611295838460000151518485516116d9565b6060824710156116095760405162461bcd60e51b81526004016105b690611de7565b61161285611785565b61162e5760405162461bcd60e51b81526004016105b690611f63565b60006060866001600160a01b0316858760405161164b9190611b60565b60006040518083038185875af1925050503d8060008114611688576040519150601f19603f3d011682016040523d82523d6000602084013e61168d565b606091505b509150915061169d82828661178b565b979650505050505050565b6116b06118e7565b61129583846000015151846117c4565b6116c86118e7565b61148184856000015151858561180f565b6116e16118e7565b82518211156116ef57600080fd5b846020015182850111156117195761171985611711876020015187860161186d565b600202611884565b6000808651805187602083010193508088870111156117385787860182525b505050602084015b6020841061175f5780518252601f199093019260209182019101611740565b51815160001960208690036101000a019081169019919091161790525083949350505050565b3b151590565b6060831561179a5750816110fb565b8251156117aa5782518084602001fd5b8160405162461bcd60e51b81526004016105b69190611c9e565b6117cc6118e7565b836020015183106117e8576117e8848560200151600202611884565b835180516020858301018481535080851415611805576001810182525b5093949350505050565b6118176118e7565b846020015184830111156118345761183485858401600202611884565b60006001836101000a0390508551838682010185831982511617815250805184870111156118625783860181525b509495945050505050565b60008183111561187e575081611298565b50919050565b81516118908383611489565b506110cf83826115cd565b6040805160a0810182526000808252602082018190529181018290526060810191909152608081016118cb6118e7565b905290565b604080518082019091526000808252602082015290565b604051806040016040528060608152602001600081525090565b80356001600160a01b038116811461129857600080fd5b600060208284031215611929578081fd5b6112958383611901565b60008060408385031215611945578081fd5b61194f8484611901565b946020939093013593505050565b60006020828403121561196e578081fd5b8151611295816120a7565b60006020828403121561198a578081fd5b5035919050565b600080604083850312156119a3578182fd5b50508035926020909101359150565b6000602082840312156119c3578081fd5b815160068110611295578182fd5b6000602082840312156119e2578081fd5b815167ffffffffffffffff808211156119f9578283fd5b81840185601f820112611a0a578384fd5b8051925081831115611a1a578384fd5b604051601f8401601f191681016020018381118282101715611a3a578586fd5b604052838152818401602001871015611a51578485fd5b611a62846020830160208501612063565b9695505050505050565b600060208284031215611a7d578081fd5b5051919050565b60008060008060808587031215611a99578182fd5b843593506020850135611aab8161208f565b92506040850135611abb816120a7565b91506060850135611acb8161208f565b939692955090935050565b60008060408385031215611ae8578182fd5b505080516020909101519092909150565b600080600060608486031215611b0d578283fd5b8351925060208401519150604084015160038110611b29578182fd5b809150509250925092565b60008151808452611b4c816020860160208601612063565b601f01601f19169290920160200192915050565b60008251611b72818460208701612063565b9190910192915050565b60609290921b6bffffffffffffffffffffffff19168252601482015260340190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0389811682526020820189905260408201889052861660608201526001600160e01b03198516608082015260a0810184905260c0810183905261010060e08201819052600090611c4883820185611b34565b9b9a5050505050505050505050565b600060018060a01b038516825283602083015260606040830152611c7e6060830184611b34565b95945050505050565b90815260200190565b918252602082015260400190565b6000602082526112956020830184611b34565b6040810160068410611cbf57fe5b9281526020015290565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526023908201527f756e61626c6520746f207472616e73666572416e6443616c6c20746f206f7261604082015262636c6560e81b606082015260800190565b6020808252601b908201527f5374616b6552656769737472793a206e6f742076657269666965640000000000604082015260600190565b6020808252600d908201526c14d3104e881d995c9a599a5959609a1b604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b60208082526028908201527f534c41526567697374727920616464726573732068617320616c7265616479206040820152671899595b881cd95d60c21b606082015260800190565b60208082526021908201527f43616e206f6e6c792062652063616c6c656420627920534c41526567697374726040820152607960f81b606082015260800190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526028908201527f536f75726365206d75737420626520746865206f7261636c65206f6620746865604082015267081c995c5d595cdd60c21b606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60005b8381101561207e578181015183820152602001612066565b838111156110cf5750506000910152565b6001600160a01b03811681146120a457600080fd5b50565b80151581146120a457600080fdfea2646970667358221220be1138e5e16755dbeb09faf107d72c051c7484ee288184c37ef28202f4bdd18164736f6c63430006060033", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101165760003560e01c8063a50c5425116100a2578063c9b0cb2211610071578063c9b0cb2214610206578063ddca3f431461020e578063e450f06114610216578063f2fde38b14610229578063f38815891461023c57610116565b8063a50c5425146101c2578063ae401eb9146101ca578063bc0bfc00146101eb578063c2939d97146101fe57610116565b8063715018a6116100e9578063715018a6146101845780637dc0d1d01461018c57806381d12c58146101945780638da5cb5b146101a757806397a82192146101af57610116565b806304e4fc011461011b578063292733bf14610145578063663c22691461015a5780636e71890d1461016f575b600080fd5b61012e610129366004611979565b610244565b60405161013c929190611c90565b60405180910390f35b610158610153366004611991565b610577565b005b610162610612565b60405161013c9190611c87565b610177610618565b60405161013c9190611b9e565b610158610627565b6101776106b0565b6101626101a2366004611979565b6106d4565b6101776106f2565b6101586101bd366004611a84565b610701565b610162610bba565b6101dd6101d8366004611979565b610bc0565b60405161013c929190611bd6565b6101586101f9366004611991565b610be5565b610162610dcd565b610162610dd3565b610162610dd9565b610158610224366004611933565b610ddf565b610158610237366004611918565b610f66565b610158611027565b600080606073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__63ef0b2368856040518263ffffffff1660e01b81526004016102809190611c87565b60006040518083038186803b15801561029857600080fd5b505af41580156102ac573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102d491908101906119d1565b805190915060608167ffffffffffffffff811180156102f257600080fd5b506040519080825280601f01601f19166020018201604052801561031d576020820181803683370190505b50905060608267ffffffffffffffff8111801561033957600080fd5b506040519080825280601f01601f191660200182016040528015610364576020820181803683370190505b50905060005b8381101561045157600b60fa1b6001600160f81b03191685828151811061038d57fe5b01602001516001600160f81b03191614156104495760005b818110156103ef578581815181106103b957fe5b602001015160f81c60f81b8482815181106103d057fe5b60200101906001600160f81b031916908160001a9053506001016103a5565b5060005b60018286030381101561044757858183600101018151811061041157fe5b602001015160f81c60f81b83828151811061042857fe5b60200101906001600160f81b031916908160001a9053506001016103f3565b505b60010161036a565b506040516302d06d0560e01b815260009073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__906302d06d059061048c908690600401611c9e565b60206040518083038186803b1580156104a457600080fd5b505af41580156104b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dc9190611a6c565b9050600073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__6302d06d05846040518263ffffffff1660e01b81526004016105179190611c9e565b60206040518083038186803b15801561052f57600080fd5b505af4158015610543573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105679190611a6c565b9197509095505050505050915091565b61057f611064565b6001600160a01b03166105906106f2565b6001600160a01b0316146105bf5760405162461bcd60e51b81526004016105b690611f2e565b60405180910390fd5b600b82905567016345785d8a00008102600c81905560405133917f8e7e22d2820965fa1a8fa3ad76db76127e2f1baaf65f50c4e267f28b2254f7cb91610606918691611c90565b60405180910390a25050565b600d5490565b600a546001600160a01b031690565b61062f611064565b6001600160a01b03166106406106f2565b6001600160a01b0316146106665760405162461bcd60e51b81526004016105b690611f2e565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b7f000000000000000000000000000000000000000000000000000000000000000090565b600981815481106106e157fe5b600091825260209091200154905081565b6006546001600160a01b031690565b601054600160a01b900460ff1661073c57600a546001600160a01b0316331461073c5760405162461bcd60e51b81526004016105b690611eac565b6002600754141561075f5760405162461bcd60e51b81526004016105b69061202c565b600260075582821561079e576107996107766106f2565b30600c54610782611068565b6001600160a01b031692919063ffffffff61107716565b6107ae565b6107ae8230600c54610782611068565b6107b661189b565b600b546107ca9030622f02ff60ea1b6110d5565b9050600080600f60009054906101000a90046001600160a01b03166001600160a01b031663ffa61235856001600160a01b03166346e0fbae6040518163ffffffff1660e01b815260040160206040518083038186803b15801561082c57600080fd5b505afa158015610840573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086491906119b2565b8a6040518363ffffffff1660e01b8152600401610882929190611cb1565b604080518083038186803b15801561089957600080fd5b505afa1580156108ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d19190611ad6565b91509150610934604051806040016040528060088152602001676a6f625f7479706560c01b815250604051806040016040528060128152602001717374616b696e675f656666696369656e637960701b815250856111029092919063ffffffff16565b60408051808201825260148152731cdb1857db5bdb9a5d1bdc9a5b99d7dcdd185c9d60621b6020820152905163fc966d4560e01b81526109fb919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__9063fc966d4590610999908790600401611c87565b60006040518083038186803b1580156109b157600080fd5b505af41580156109c5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109ed91908101906119d1565b85919063ffffffff61110216565b60408051808201825260128152711cdb1857db5bdb9a5d1bdc9a5b99d7d95b9960721b6020820152905163fc966d4560e01b8152610a5e919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__9063fc966d4590610999908690600401611c87565b604080518082018252600b81526a736c615f6164647265737360a81b60208201529051635e57966d60e01b8152610aba919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__90635e57966d90610999908c90600401611b9e565b6000610ae97f000000000000000000000000000000000000000000000000000000000000000085600c54611131565b6009805460018082019092557f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af018290556040805180820182526001600160a01b038c8116825260208083018f81526000878152600890925290849020925183546001600160a01b0319169083161783555191840191909155600d80549093019283905590519293508816917feab5eb77e722078f3fab7eb6a77c74f7001181e1e3a74d51b7b5747ee1b31cb991610ba2918590611c90565b60405180910390a25050600160075550505050505050565b600e5490565b600860205260009081526040902080546001909101546001600160a01b039091169082565b60026007541415610c085760405162461bcd60e51b81526004016105b69061202c565b600260075560008281526005602052604090205482906001600160a01b03163314610c455760405162461bcd60e51b81526004016105b690611f9a565b60008181526005602052604080822080546001600160a01b03191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a281610c916118d0565b506000848152600860209081526040918290208251808401845281546001600160a01b0316808252600190920154928101839052925187927f56514ef6e1ffd0f970ebf32dc181e476384e6e53a8351719040b4030318a933b91610cf791908790611c90565b60405180910390a3600080610d0b84610244565b90925090506000610d22838363ffffffff61127016565b90506000610d4982610d3d86620186a063ffffffff61129e16565b9063ffffffff6112d816565b85516020870151604051636bd2e21160e11b81529293506001600160a01b039091169163d7a5c42291610d8191859190600401611c90565b600060405180830381600087803b158015610d9b57600080fd5b505af1158015610daf573d6000803e3d6000fd5b5050600e805460019081019091556007555050505050505050505050565b600b5490565b6103e890565b600c5490565b6010805460ff60a01b1916600160a01b179081905560405163ab9a81a560e01b81526001600160a01b039091169063ab9a81a590610e239085908590600401611bd6565b60206040518083038186803b158015610e3b57600080fd5b505afa158015610e4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e73919061195d565b610e8f5760405162461bcd60e51b81526004016105b690611d89565b6040516320c876ef60e11b815282906000906001600160a01b03831690634190edde90610ec0908690600401611c87565b60606040518083038186803b158015610ed857600080fd5b505afa158015610eec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f109190611af9565b925060009150610f1d9050565b816002811115610f2957fe5b14610f465760405162461bcd60e51b81526004016105b690611dc0565b610f538385600033610701565b50506010805460ff60a01b191690555050565b610f6e611064565b6001600160a01b0316610f7f6106f2565b6001600160a01b031614610fa55760405162461bcd60e51b81526004016105b690611f2e565b6001600160a01b038116610fcb5760405162461bcd60e51b81526004016105b690611cc9565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b0316156110505760405162461bcd60e51b81526004016105b690611e64565b600a80546001600160a01b03191633179055565b3390565b6002546001600160a01b031690565b6110cf846323b872dd60e01b85858560405160240161109893929190611bb2565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261130d565b50505050565b6110dd61189b565b6110e561189b565b6110f78186868663ffffffff61139c16565b9150505b9392505050565b6080830151611117908363ffffffff6113d916565b608083015161112c908263ffffffff6113d916565b505050565b600030600454604051602001611148929190611b7c565b60408051808303601f19018152918152815160209283012060045460608701526000818152600590935281832080546001600160a01b0319166001600160a01b038916179055905190925082917fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af991a26002546001600160a01b0316634000aea085846111d4876113f6565b6040518463ffffffff1660e01b81526004016111f293929190611c57565b602060405180830381600087803b15801561120c57600080fd5b505af1158015611220573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611244919061195d565b6112605760405162461bcd60e51b81526004016105b690611d46565b6004805460010190559392505050565b6000828201838110156112955760405162461bcd60e51b81526004016105b690611d0f565b90505b92915050565b6000826112ad57506000611298565b828202828482816112ba57fe5b04146112955760405162461bcd60e51b81526004016105b690611eed565b60008082116112f95760405162461bcd60e51b81526004016105b690611e2d565b600082848161130457fe5b04949350505050565b6060611362826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114729092919063ffffffff16565b80519091501561112c5780806020019051810190611380919061195d565b61112c5760405162461bcd60e51b81526004016105b690611fe2565b6113a461189b565b6113b48560800151610100611489565b50509183526001600160a01b031660208301526001600160e01b031916604082015290565b6113e682600383516114c3565b61112c828263ffffffff6115cd16565b6060634042994660e01b60008084600001518560200151866040015187606001516001896080015160000151604051602401611439989796959493929190611bef565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091529050919050565b606061148184846000856115e7565b949350505050565b6114916118e7565b60208206156114a65760208206602003820191505b506020828101829052604080518085526000815290920101905290565b601781116114ea576114e48360e0600585901b16831763ffffffff6116a816565b5061112c565b60ff81116115205761150d836018611fe0600586901b161763ffffffff6116a816565b506114e48382600163ffffffff6116c016565b61ffff811161155757611544836019611fe0600586901b161763ffffffff6116a816565b506114e48382600263ffffffff6116c016565b63ffffffff81116115905761157d83601a611fe0600586901b161763ffffffff6116a816565b506114e48382600463ffffffff6116c016565b67ffffffffffffffff811161112c576115ba83601b611fe0600586901b161763ffffffff6116a816565b506110cf8382600863ffffffff6116c016565b6115d56118e7565b611295838460000151518485516116d9565b6060824710156116095760405162461bcd60e51b81526004016105b690611de7565b61161285611785565b61162e5760405162461bcd60e51b81526004016105b690611f63565b60006060866001600160a01b0316858760405161164b9190611b60565b60006040518083038185875af1925050503d8060008114611688576040519150601f19603f3d011682016040523d82523d6000602084013e61168d565b606091505b509150915061169d82828661178b565b979650505050505050565b6116b06118e7565b61129583846000015151846117c4565b6116c86118e7565b61148184856000015151858561180f565b6116e16118e7565b82518211156116ef57600080fd5b846020015182850111156117195761171985611711876020015187860161186d565b600202611884565b6000808651805187602083010193508088870111156117385787860182525b505050602084015b6020841061175f5780518252601f199093019260209182019101611740565b51815160001960208690036101000a019081169019919091161790525083949350505050565b3b151590565b6060831561179a5750816110fb565b8251156117aa5782518084602001fd5b8160405162461bcd60e51b81526004016105b69190611c9e565b6117cc6118e7565b836020015183106117e8576117e8848560200151600202611884565b835180516020858301018481535080851415611805576001810182525b5093949350505050565b6118176118e7565b846020015184830111156118345761183485858401600202611884565b60006001836101000a0390508551838682010185831982511617815250805184870111156118625783860181525b509495945050505050565b60008183111561187e575081611298565b50919050565b81516118908383611489565b506110cf83826115cd565b6040805160a0810182526000808252602082018190529181018290526060810191909152608081016118cb6118e7565b905290565b604080518082019091526000808252602082015290565b604051806040016040528060608152602001600081525090565b80356001600160a01b038116811461129857600080fd5b600060208284031215611929578081fd5b6112958383611901565b60008060408385031215611945578081fd5b61194f8484611901565b946020939093013593505050565b60006020828403121561196e578081fd5b8151611295816120a7565b60006020828403121561198a578081fd5b5035919050565b600080604083850312156119a3578182fd5b50508035926020909101359150565b6000602082840312156119c3578081fd5b815160068110611295578182fd5b6000602082840312156119e2578081fd5b815167ffffffffffffffff808211156119f9578283fd5b81840185601f820112611a0a578384fd5b8051925081831115611a1a578384fd5b604051601f8401601f191681016020018381118282101715611a3a578586fd5b604052838152818401602001871015611a51578485fd5b611a62846020830160208501612063565b9695505050505050565b600060208284031215611a7d578081fd5b5051919050565b60008060008060808587031215611a99578182fd5b843593506020850135611aab8161208f565b92506040850135611abb816120a7565b91506060850135611acb8161208f565b939692955090935050565b60008060408385031215611ae8578182fd5b505080516020909101519092909150565b600080600060608486031215611b0d578283fd5b8351925060208401519150604084015160038110611b29578182fd5b809150509250925092565b60008151808452611b4c816020860160208601612063565b601f01601f19169290920160200192915050565b60008251611b72818460208701612063565b9190910192915050565b60609290921b6bffffffffffffffffffffffff19168252601482015260340190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0389811682526020820189905260408201889052861660608201526001600160e01b03198516608082015260a0810184905260c0810183905261010060e08201819052600090611c4883820185611b34565b9b9a5050505050505050505050565b600060018060a01b038516825283602083015260606040830152611c7e6060830184611b34565b95945050505050565b90815260200190565b918252602082015260400190565b6000602082526112956020830184611b34565b6040810160068410611cbf57fe5b9281526020015290565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526023908201527f756e61626c6520746f207472616e73666572416e6443616c6c20746f206f7261604082015262636c6560e81b606082015260800190565b6020808252601b908201527f5374616b6552656769737472793a206e6f742076657269666965640000000000604082015260600190565b6020808252600d908201526c14d3104e881d995c9a599a5959609a1b604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b60208082526028908201527f534c41526567697374727920616464726573732068617320616c7265616479206040820152671899595b881cd95d60c21b606082015260800190565b60208082526021908201527f43616e206f6e6c792062652063616c6c656420627920534c41526567697374726040820152607960f81b606082015260800190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526028908201527f536f75726365206d75737420626520746865206f7261636c65206f6620746865604082015267081c995c5d595cdd60c21b606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60005b8381101561207e578181015183820152602001612066565b838111156110cf5750506000910152565b6001600160a01b03811681146120a457600080fd5b50565b80151581146120a457600080fdfea2646970667358221220be1138e5e16755dbeb09faf107d72c051c7484ee288184c37ef28202f4bdd18164736f6c63430006060033", + "bytecode": "0x60a060405260016004556010805460ff60a01b191690553480156200002357600080fd5b5060405162001d7c38038062001d7c833981016040819052620000469162000147565b60006200005b6001600160e01b036200012116565b600680546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600755600b849055620000c7856001600160e01b036200012516565b60609590951b6001600160601b03191660805267016345785d8a000091909102600c55600f80546001600160a01b03199081166001600160a01b039384161790915560108054909116919094161790925550620001dc9050565b3390565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60008060008060008060c0878903121562000160578182fd5b86516200016d81620001c3565b60208801519096506200018081620001c3565b8095505060408701519350606087015192506080870151620001a281620001c3565b60a0880151909250620001b581620001c3565b809150509295509295509295565b6001600160a01b0381168114620001d957600080fd5b50565b60805160601c611b7d620001ff6000398061035352806107055250611b7d6000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c8063a50c5425116100a2578063c9b0cb2211610071578063c9b0cb22146101da578063ddca3f43146101e2578063e450f061146101ea578063f2fde38b146101fd578063f3881589146102105761010b565b8063a50c542514610196578063ae401eb91461019e578063bc0bfc00146101bf578063c2939d97146101d25761010b565b80637dc0d1d0116100de5780637dc0d1d01461016057806381d12c58146101685780638da5cb5b1461017b57806397a82192146101835761010b565b8063292733bf14610110578063663c2269146101255780636e71890d14610143578063715018a614610158575b600080fd5b61012361011e3660046114ea565b610218565b005b61012d6102b3565b60405161013a91906117c8565b60405180910390f35b61014b6102b9565b60405161013a91906116df565b6101236102c8565b61014b610351565b61012d6101763660046114d2565b610375565b61014b610393565b6101236101913660046115c5565b6103a2565b61012d6107fe565b6101b16101ac3660046114d2565b610804565b60405161013a929190611717565b6101236101cd3660046114ea565b610829565b61012d6109bd565b61012d6109c3565b61012d6109c9565b6101236101f836600461148c565b6109cf565b61012361020b366004611471565b610b56565b610123610c17565b610220610c54565b6001600160a01b0316610231610393565b6001600160a01b0316146102605760405162461bcd60e51b8152600401610257906119c0565b60405180910390fd5b600b82905567016345785d8a00008102600c81905560405133917f8e7e22d2820965fa1a8fa3ad76db76127e2f1baaf65f50c4e267f28b2254f7cb916102a79186916117d1565b60405180910390a25050565b600d5490565b600a546001600160a01b031690565b6102d0610c54565b6001600160a01b03166102e1610393565b6001600160a01b0316146103075760405162461bcd60e51b8152600401610257906119c0565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b7f000000000000000000000000000000000000000000000000000000000000000090565b6009818154811061038257fe5b600091825260209091200154905081565b6006546001600160a01b031690565b601054600160a01b900460ff166103dd57600a546001600160a01b031633146103dd5760405162461bcd60e51b81526004016102579061197f565b600260075414156104005760405162461bcd60e51b815260040161025790611abe565b600260075582821561043f5761043a610417610393565b30600c54610423610c58565b6001600160a01b031692919063ffffffff610c6716565b61044f565b61044f8230600c54610423610c58565b6104576113f4565b600b5461046b9030622f02ff60ea1b610cc5565b9050600080600f60009054906101000a90046001600160a01b03166001600160a01b031663ffa61235856001600160a01b03166346e0fbae6040518163ffffffff1660e01b815260040160206040518083038186803b1580156104cd57600080fd5b505afa1580156104e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610505919061150b565b8a6040518363ffffffff1660e01b81526004016105239291906117df565b604080518083038186803b15801561053a57600080fd5b505afa15801561054e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105729190611617565b9150915061063f604051806040016040528060148152602001731cdb1857db5bdb9a5d1bdc9a5b99d7dcdd185c9d60621b81525073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__63fc966d45856040518263ffffffff1660e01b81526004016105dd91906117c8565b60006040518083038186803b1580156105f557600080fd5b505af4158015610609573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610631919081019061152a565b85919063ffffffff610cf216565b60408051808201825260128152711cdb1857db5bdb9a5d1bdc9a5b99d7d95b9960721b6020820152905163fc966d4560e01b81526106a2919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__9063fc966d45906105dd9086906004016117c8565b604080518082018252600b81526a736c615f6164647265737360a81b60208201529051635e57966d60e01b81526106fe919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__90635e57966d906105dd908c906004016116df565b600061072d7f000000000000000000000000000000000000000000000000000000000000000085600c54610d21565b6009805460018082019092557f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af018290556040805180820182526001600160a01b038c8116825260208083018f81526000878152600890925290849020925183546001600160a01b0319169083161783555191840191909155600d80549093019283905590519293508816917feab5eb77e722078f3fab7eb6a77c74f7001181e1e3a74d51b7b5747ee1b31cb9916107e69185906117d1565b60405180910390a25050600160075550505050505050565b600e5490565b600860205260009081526040902080546001909101546001600160a01b039091169082565b6002600754141561084c5760405162461bcd60e51b815260040161025790611abe565b600260075560008281526005602052604090205482906001600160a01b031633146108895760405162461bcd60e51b815260040161025790611a2c565b60008181526005602052604080822080546001600160a01b03191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a26108d4611429565b506000838152600860209081526040918290208251808401845281546001600160a01b0316808252600190920154928101839052925186927f56514ef6e1ffd0f970ebf32dc181e476384e6e53a8351719040b4030318a933b9161093a919088906117d1565b60405180910390a3600e8054600101905580516020820151604051636bd2e21160e11b81526001600160a01b039092169163d7a5c42291610980918791906004016117d1565b600060405180830381600087803b15801561099a57600080fd5b505af11580156109ae573d6000803e3d6000fd5b50506001600755505050505050565b600b5490565b6103e890565b600c5490565b6010805460ff60a01b1916600160a01b179081905560405163ab9a81a560e01b81526001600160a01b039091169063ab9a81a590610a139085908590600401611717565b60206040518083038186803b158015610a2b57600080fd5b505afa158015610a3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6391906114b6565b610a7f5760405162461bcd60e51b815260040161025790611893565b6040516320c876ef60e11b815282906000906001600160a01b03831690634190edde90610ab09086906004016117c8565b60606040518083038186803b158015610ac857600080fd5b505afa158015610adc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b00919061163a565b925060009150610b0d9050565b816002811115610b1957fe5b14610b365760405162461bcd60e51b8152600401610257906118ca565b610b4383856000336103a2565b50506010805460ff60a01b191690555050565b610b5e610c54565b6001600160a01b0316610b6f610393565b6001600160a01b031614610b955760405162461bcd60e51b8152600401610257906119c0565b6001600160a01b038116610bbb5760405162461bcd60e51b81526004016102579061180a565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b031615610c405760405162461bcd60e51b815260040161025790611937565b600a80546001600160a01b03191633179055565b3390565b6002546001600160a01b031690565b610cbf846323b872dd60e01b858585604051602401610c88939291906116f3565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610e60565b50505050565b610ccd6113f4565b610cd56113f4565b610ce78186868663ffffffff610eef16565b9150505b9392505050565b6080830151610d07908363ffffffff610f2c16565b6080830151610d1c908263ffffffff610f2c16565b505050565b600030600454604051602001610d389291906116bd565b60408051808303601f19018152918152815160209283012060045460608701526000818152600590935281832080546001600160a01b0319166001600160a01b038916179055905190925082917fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af991a26002546001600160a01b0316634000aea08584610dc487610f49565b6040518463ffffffff1660e01b8152600401610de293929190611798565b602060405180830381600087803b158015610dfc57600080fd5b505af1158015610e10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3491906114b6565b610e505760405162461bcd60e51b815260040161025790611850565b6004805460010190559392505050565b6060610eb5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610fc59092919063ffffffff16565b805190915015610d1c5780806020019051810190610ed391906114b6565b610d1c5760405162461bcd60e51b815260040161025790611a74565b610ef76113f4565b610f078560800151610100610fdc565b50509183526001600160a01b031660208301526001600160e01b031916604082015290565b610f39826003835161101c565b610d1c828263ffffffff61112616565b6060634042994660e01b60008084600001518560200151866040015187606001516001896080015160000151604051602401610f8c989796959493929190611730565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091529050919050565b6060610fd48484600085611140565b949350505050565b610fe4611440565b6020820615610ff95760208206602003820191505b506020808301829052604080518085526000815283019091019052815b92915050565b601781116110435761103d8360e0600585901b16831763ffffffff61120116565b50610d1c565b60ff811161107957611066836018611fe0600586901b161763ffffffff61120116565b5061103d8382600163ffffffff61121916565b61ffff81116110b05761109d836019611fe0600586901b161763ffffffff61120116565b5061103d8382600263ffffffff61121916565b63ffffffff81116110e9576110d683601a611fe0600586901b161763ffffffff61120116565b5061103d8382600463ffffffff61121916565b67ffffffffffffffff8111610d1c5761111383601b611fe0600586901b161763ffffffff61120116565b50610cbf8382600863ffffffff61121916565b61112e611440565b610ceb83846000015151848551611232565b6060824710156111625760405162461bcd60e51b8152600401610257906118f1565b61116b856112de565b6111875760405162461bcd60e51b8152600401610257906119f5565b60006060866001600160a01b031685876040516111a491906116a1565b60006040518083038185875af1925050503d80600081146111e1576040519150601f19603f3d011682016040523d82523d6000602084013e6111e6565b606091505b50915091506111f68282866112e4565b979650505050505050565b611209611440565b610ceb838460000151518461131d565b611221611440565b610fd4848560000151518585611368565b61123a611440565b825182111561124857600080fd5b84602001518285011115611272576112728561126a87602001518786016113c6565b6002026113dd565b6000808651805187602083010193508088870111156112915787860182525b505050602084015b602084106112b85780518252601f199093019260209182019101611299565b51815160001960208690036101000a019081169019919091161790525083949350505050565b3b151590565b606083156112f3575081610ceb565b8251156113035782518084602001fd5b8160405162461bcd60e51b815260040161025791906117f7565b611325611440565b83602001518310611341576113418485602001516002026113dd565b83518051602085830101848153508085141561135e576001810182525b5093949350505050565b611370611440565b8460200151848301111561138d5761138d858584016002026113dd565b60006001836101000a0390508551838682010185831982511617815250805184870111156113bb5783860181525b509495945050505050565b6000818311156113d7575081611016565b50919050565b81516113e98383610fdc565b50610cbf8382611126565b6040805160a081018252600080825260208201819052918101829052606081019190915260808101611424611440565b905290565b604080518082019091526000808252602082015290565b604051806040016040528060608152602001600081525090565b80356001600160a01b038116811461101657600080fd5b600060208284031215611482578081fd5b610ceb838361145a565b6000806040838503121561149e578081fd5b6114a8848461145a565b946020939093013593505050565b6000602082840312156114c7578081fd5b8151610ceb81611b39565b6000602082840312156114e3578081fd5b5035919050565b600080604083850312156114fc578182fd5b50508035926020909101359150565b60006020828403121561151c578081fd5b815160068110610ceb578182fd5b60006020828403121561153b578081fd5b815167ffffffffffffffff80821115611552578283fd5b81840185601f820112611563578384fd5b8051925081831115611573578384fd5b604051601f8401601f191681016020018381118282101715611593578586fd5b6040528381528184016020018710156115aa578485fd5b6115bb846020830160208501611af5565b9695505050505050565b600080600080608085870312156115da578182fd5b8435935060208501356115ec81611b21565b925060408501356115fc81611b39565b9150606085013561160c81611b21565b939692955090935050565b60008060408385031215611629578182fd5b505080516020909101519092909150565b60008060006060848603121561164e578283fd5b835192506020840151915060408401516003811061166a578182fd5b809150509250925092565b6000815180845261168d816020860160208601611af5565b601f01601f19169290920160200192915050565b600082516116b3818460208701611af5565b9190910192915050565b60609290921b6bffffffffffffffffffffffff19168252601482015260340190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0389811682526020820189905260408201889052861660608201526001600160e01b03198516608082015260a0810184905260c0810183905261010060e0820181905260009061178983820185611675565b9b9a5050505050505050505050565b600060018060a01b0385168252836020830152606060408301526117bf6060830184611675565b95945050505050565b90815260200190565b918252602082015260400190565b60408101600684106117ed57fe5b9281526020015290565b600060208252610ceb6020830184611675565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526023908201527f756e61626c6520746f207472616e73666572416e6443616c6c20746f206f7261604082015262636c6560e81b606082015260800190565b6020808252601b908201527f5374616b6552656769737472793a206e6f742076657269666965640000000000604082015260600190565b6020808252600d908201526c14d3104e881d995c9a599a5959609a1b604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b60208082526028908201527f534c41526567697374727920616464726573732068617320616c7265616479206040820152671899595b881cd95d60c21b606082015260800190565b60208082526021908201527f43616e206f6e6c792062652063616c6c656420627920534c41526567697374726040820152607960f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526028908201527f536f75726365206d75737420626520746865206f7261636c65206f6620746865604082015267081c995c5d595cdd60c21b606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60005b83811015611b10578181015183820152602001611af8565b83811115610cbf5750506000910152565b6001600160a01b0381168114611b3657600080fd5b50565b8015158114611b3657600080fdfea264697066735822122050dea7ee923b63937e4885c9c865c4173c09ba9e1be99fdf9b89fbb09fd4e7c464736f6c63430006060033", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061010b5760003560e01c8063a50c5425116100a2578063c9b0cb2211610071578063c9b0cb22146101da578063ddca3f43146101e2578063e450f061146101ea578063f2fde38b146101fd578063f3881589146102105761010b565b8063a50c542514610196578063ae401eb91461019e578063bc0bfc00146101bf578063c2939d97146101d25761010b565b80637dc0d1d0116100de5780637dc0d1d01461016057806381d12c58146101685780638da5cb5b1461017b57806397a82192146101835761010b565b8063292733bf14610110578063663c2269146101255780636e71890d14610143578063715018a614610158575b600080fd5b61012361011e3660046114ea565b610218565b005b61012d6102b3565b60405161013a91906117c8565b60405180910390f35b61014b6102b9565b60405161013a91906116df565b6101236102c8565b61014b610351565b61012d6101763660046114d2565b610375565b61014b610393565b6101236101913660046115c5565b6103a2565b61012d6107fe565b6101b16101ac3660046114d2565b610804565b60405161013a929190611717565b6101236101cd3660046114ea565b610829565b61012d6109bd565b61012d6109c3565b61012d6109c9565b6101236101f836600461148c565b6109cf565b61012361020b366004611471565b610b56565b610123610c17565b610220610c54565b6001600160a01b0316610231610393565b6001600160a01b0316146102605760405162461bcd60e51b8152600401610257906119c0565b60405180910390fd5b600b82905567016345785d8a00008102600c81905560405133917f8e7e22d2820965fa1a8fa3ad76db76127e2f1baaf65f50c4e267f28b2254f7cb916102a79186916117d1565b60405180910390a25050565b600d5490565b600a546001600160a01b031690565b6102d0610c54565b6001600160a01b03166102e1610393565b6001600160a01b0316146103075760405162461bcd60e51b8152600401610257906119c0565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b7f000000000000000000000000000000000000000000000000000000000000000090565b6009818154811061038257fe5b600091825260209091200154905081565b6006546001600160a01b031690565b601054600160a01b900460ff166103dd57600a546001600160a01b031633146103dd5760405162461bcd60e51b81526004016102579061197f565b600260075414156104005760405162461bcd60e51b815260040161025790611abe565b600260075582821561043f5761043a610417610393565b30600c54610423610c58565b6001600160a01b031692919063ffffffff610c6716565b61044f565b61044f8230600c54610423610c58565b6104576113f4565b600b5461046b9030622f02ff60ea1b610cc5565b9050600080600f60009054906101000a90046001600160a01b03166001600160a01b031663ffa61235856001600160a01b03166346e0fbae6040518163ffffffff1660e01b815260040160206040518083038186803b1580156104cd57600080fd5b505afa1580156104e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610505919061150b565b8a6040518363ffffffff1660e01b81526004016105239291906117df565b604080518083038186803b15801561053a57600080fd5b505afa15801561054e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105729190611617565b9150915061063f604051806040016040528060148152602001731cdb1857db5bdb9a5d1bdc9a5b99d7dcdd185c9d60621b81525073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__63fc966d45856040518263ffffffff1660e01b81526004016105dd91906117c8565b60006040518083038186803b1580156105f557600080fd5b505af4158015610609573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610631919081019061152a565b85919063ffffffff610cf216565b60408051808201825260128152711cdb1857db5bdb9a5d1bdc9a5b99d7d95b9960721b6020820152905163fc966d4560e01b81526106a2919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__9063fc966d45906105dd9086906004016117c8565b604080518082018252600b81526a736c615f6164647265737360a81b60208201529051635e57966d60e01b81526106fe919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__90635e57966d906105dd908c906004016116df565b600061072d7f000000000000000000000000000000000000000000000000000000000000000085600c54610d21565b6009805460018082019092557f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af018290556040805180820182526001600160a01b038c8116825260208083018f81526000878152600890925290849020925183546001600160a01b0319169083161783555191840191909155600d80549093019283905590519293508816917feab5eb77e722078f3fab7eb6a77c74f7001181e1e3a74d51b7b5747ee1b31cb9916107e69185906117d1565b60405180910390a25050600160075550505050505050565b600e5490565b600860205260009081526040902080546001909101546001600160a01b039091169082565b6002600754141561084c5760405162461bcd60e51b815260040161025790611abe565b600260075560008281526005602052604090205482906001600160a01b031633146108895760405162461bcd60e51b815260040161025790611a2c565b60008181526005602052604080822080546001600160a01b03191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a26108d4611429565b506000838152600860209081526040918290208251808401845281546001600160a01b0316808252600190920154928101839052925186927f56514ef6e1ffd0f970ebf32dc181e476384e6e53a8351719040b4030318a933b9161093a919088906117d1565b60405180910390a3600e8054600101905580516020820151604051636bd2e21160e11b81526001600160a01b039092169163d7a5c42291610980918791906004016117d1565b600060405180830381600087803b15801561099a57600080fd5b505af11580156109ae573d6000803e3d6000fd5b50506001600755505050505050565b600b5490565b6103e890565b600c5490565b6010805460ff60a01b1916600160a01b179081905560405163ab9a81a560e01b81526001600160a01b039091169063ab9a81a590610a139085908590600401611717565b60206040518083038186803b158015610a2b57600080fd5b505afa158015610a3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6391906114b6565b610a7f5760405162461bcd60e51b815260040161025790611893565b6040516320c876ef60e11b815282906000906001600160a01b03831690634190edde90610ab09086906004016117c8565b60606040518083038186803b158015610ac857600080fd5b505afa158015610adc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b00919061163a565b925060009150610b0d9050565b816002811115610b1957fe5b14610b365760405162461bcd60e51b8152600401610257906118ca565b610b4383856000336103a2565b50506010805460ff60a01b191690555050565b610b5e610c54565b6001600160a01b0316610b6f610393565b6001600160a01b031614610b955760405162461bcd60e51b8152600401610257906119c0565b6001600160a01b038116610bbb5760405162461bcd60e51b81526004016102579061180a565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b031615610c405760405162461bcd60e51b815260040161025790611937565b600a80546001600160a01b03191633179055565b3390565b6002546001600160a01b031690565b610cbf846323b872dd60e01b858585604051602401610c88939291906116f3565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610e60565b50505050565b610ccd6113f4565b610cd56113f4565b610ce78186868663ffffffff610eef16565b9150505b9392505050565b6080830151610d07908363ffffffff610f2c16565b6080830151610d1c908263ffffffff610f2c16565b505050565b600030600454604051602001610d389291906116bd565b60408051808303601f19018152918152815160209283012060045460608701526000818152600590935281832080546001600160a01b0319166001600160a01b038916179055905190925082917fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af991a26002546001600160a01b0316634000aea08584610dc487610f49565b6040518463ffffffff1660e01b8152600401610de293929190611798565b602060405180830381600087803b158015610dfc57600080fd5b505af1158015610e10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3491906114b6565b610e505760405162461bcd60e51b815260040161025790611850565b6004805460010190559392505050565b6060610eb5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610fc59092919063ffffffff16565b805190915015610d1c5780806020019051810190610ed391906114b6565b610d1c5760405162461bcd60e51b815260040161025790611a74565b610ef76113f4565b610f078560800151610100610fdc565b50509183526001600160a01b031660208301526001600160e01b031916604082015290565b610f39826003835161101c565b610d1c828263ffffffff61112616565b6060634042994660e01b60008084600001518560200151866040015187606001516001896080015160000151604051602401610f8c989796959493929190611730565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091529050919050565b6060610fd48484600085611140565b949350505050565b610fe4611440565b6020820615610ff95760208206602003820191505b506020808301829052604080518085526000815283019091019052815b92915050565b601781116110435761103d8360e0600585901b16831763ffffffff61120116565b50610d1c565b60ff811161107957611066836018611fe0600586901b161763ffffffff61120116565b5061103d8382600163ffffffff61121916565b61ffff81116110b05761109d836019611fe0600586901b161763ffffffff61120116565b5061103d8382600263ffffffff61121916565b63ffffffff81116110e9576110d683601a611fe0600586901b161763ffffffff61120116565b5061103d8382600463ffffffff61121916565b67ffffffffffffffff8111610d1c5761111383601b611fe0600586901b161763ffffffff61120116565b50610cbf8382600863ffffffff61121916565b61112e611440565b610ceb83846000015151848551611232565b6060824710156111625760405162461bcd60e51b8152600401610257906118f1565b61116b856112de565b6111875760405162461bcd60e51b8152600401610257906119f5565b60006060866001600160a01b031685876040516111a491906116a1565b60006040518083038185875af1925050503d80600081146111e1576040519150601f19603f3d011682016040523d82523d6000602084013e6111e6565b606091505b50915091506111f68282866112e4565b979650505050505050565b611209611440565b610ceb838460000151518461131d565b611221611440565b610fd4848560000151518585611368565b61123a611440565b825182111561124857600080fd5b84602001518285011115611272576112728561126a87602001518786016113c6565b6002026113dd565b6000808651805187602083010193508088870111156112915787860182525b505050602084015b602084106112b85780518252601f199093019260209182019101611299565b51815160001960208690036101000a019081169019919091161790525083949350505050565b3b151590565b606083156112f3575081610ceb565b8251156113035782518084602001fd5b8160405162461bcd60e51b815260040161025791906117f7565b611325611440565b83602001518310611341576113418485602001516002026113dd565b83518051602085830101848153508085141561135e576001810182525b5093949350505050565b611370611440565b8460200151848301111561138d5761138d858584016002026113dd565b60006001836101000a0390508551838682010185831982511617815250805184870111156113bb5783860181525b509495945050505050565b6000818311156113d7575081611016565b50919050565b81516113e98383610fdc565b50610cbf8382611126565b6040805160a081018252600080825260208201819052918101829052606081019190915260808101611424611440565b905290565b604080518082019091526000808252602082015290565b604051806040016040528060608152602001600081525090565b80356001600160a01b038116811461101657600080fd5b600060208284031215611482578081fd5b610ceb838361145a565b6000806040838503121561149e578081fd5b6114a8848461145a565b946020939093013593505050565b6000602082840312156114c7578081fd5b8151610ceb81611b39565b6000602082840312156114e3578081fd5b5035919050565b600080604083850312156114fc578182fd5b50508035926020909101359150565b60006020828403121561151c578081fd5b815160068110610ceb578182fd5b60006020828403121561153b578081fd5b815167ffffffffffffffff80821115611552578283fd5b81840185601f820112611563578384fd5b8051925081831115611573578384fd5b604051601f8401601f191681016020018381118282101715611593578586fd5b6040528381528184016020018710156115aa578485fd5b6115bb846020830160208501611af5565b9695505050505050565b600080600080608085870312156115da578182fd5b8435935060208501356115ec81611b21565b925060408501356115fc81611b39565b9150606085013561160c81611b21565b939692955090935050565b60008060408385031215611629578182fd5b505080516020909101519092909150565b60008060006060848603121561164e578283fd5b835192506020840151915060408401516003811061166a578182fd5b809150509250925092565b6000815180845261168d816020860160208601611af5565b601f01601f19169290920160200192915050565b600082516116b3818460208701611af5565b9190910192915050565b60609290921b6bffffffffffffffffffffffff19168252601482015260340190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0389811682526020820189905260408201889052861660608201526001600160e01b03198516608082015260a0810184905260c0810183905261010060e0820181905260009061178983820185611675565b9b9a5050505050505050505050565b600060018060a01b0385168252836020830152606060408301526117bf6060830184611675565b95945050505050565b90815260200190565b918252602082015260400190565b60408101600684106117ed57fe5b9281526020015290565b600060208252610ceb6020830184611675565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526023908201527f756e61626c6520746f207472616e73666572416e6443616c6c20746f206f7261604082015262636c6560e81b606082015260800190565b6020808252601b908201527f5374616b6552656769737472793a206e6f742076657269666965640000000000604082015260600190565b6020808252600d908201526c14d3104e881d995c9a599a5959609a1b604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b60208082526028908201527f534c41526567697374727920616464726573732068617320616c7265616479206040820152671899595b881cd95d60c21b606082015260800190565b60208082526021908201527f43616e206f6e6c792062652063616c6c656420627920534c41526567697374726040820152607960f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526028908201527f536f75726365206d75737420626520746865206f7261636c65206f6620746865604082015267081c995c5d595cdd60c21b606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60005b83811015611b10578181015183820152602001611af8565b83811115610cbf5750506000910152565b6001600160a01b0381168114611b3657600080fd5b50565b8015158114611b3657600080fdfea264697066735822122050dea7ee923b63937e4885c9c865c4173c09ba9e1be99fdf9b89fbb09fd4e7c464736f6c63430006060033", "linkReferences": { "@stacktical/dsla-protocol/contracts/StringUtils.sol": { "StringUtils": [ { "length": 20, - "start": 1098 - }, - { - "length": 20, - "start": 1635 - }, - { - "length": 20, - "start": 1761 - }, - { - "length": 20, - "start": 2928 + "start": 1959 }, { "length": 20, - "start": 3125 + "start": 2169 }, { "length": 20, - "start": 3217 + "start": 2261 } ] } @@ -496,27 +460,15 @@ "StringUtils": [ { "length": 20, - "start": 587 - }, - { - "length": 20, - "start": 1124 - }, - { - "length": 20, - "start": 1250 - }, - { - "length": 20, - "start": 2417 + "start": 1448 }, { "length": 20, - "start": 2614 + "start": 1658 }, { "length": 20, - "start": 2706 + "start": 1750 } ] } diff --git a/artifacts/contracts/tokens/EthereumERC20.sol/EthereumERC20.dbg.json b/artifacts/contracts/tokens/EthereumERC20.sol/EthereumERC20.dbg.json index af68930f..817164c9 100644 --- a/artifacts/contracts/tokens/EthereumERC20.sol/EthereumERC20.dbg.json +++ b/artifacts/contracts/tokens/EthereumERC20.sol/EthereumERC20.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/artifacts/contracts/tokens/PolygonERC20.sol/PolygonERC20.dbg.json b/artifacts/contracts/tokens/PolygonERC20.sol/PolygonERC20.dbg.json index af68930f..817164c9 100644 --- a/artifacts/contracts/tokens/PolygonERC20.sol/PolygonERC20.dbg.json +++ b/artifacts/contracts/tokens/PolygonERC20.sol/PolygonERC20.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../build-info/d6d030e19809afb07d0f1b774cdfb9ac.json" + "buildInfo": "../../../build-info/b72170c1da43a51079648d607119c060.json" } diff --git a/cache/solidity-files-cache.json b/cache/solidity-files-cache.json index 067524d4..f8ec62b6 100644 --- a/cache/solidity-files-cache.json +++ b/cache/solidity-files-cache.json @@ -1389,8 +1389,8 @@ ] }, "/Users/matiasbn/stacktical/stacktical-developer-toolkit/contracts/messengers/staking-efficiency/SEMessenger.sol": { - "lastModificationDate": 1623458144550, - "contentHash": "c3823f2450e119f9dfb46e1e37531eb6", + "lastModificationDate": 1623791419485, + "contentHash": "ba23ae1dcbc8aa8a8fa6867fa35a5965", "sourceName": "contracts/messengers/staking-efficiency/SEMessenger.sol", "solcConfig": { "version": "0.6.6", diff --git a/chainlinkUtils.ts b/chainlinkUtils.ts index 98ed6cb0..a5aa6ad9 100644 --- a/chainlinkUtils.ts +++ b/chainlinkUtils.ts @@ -122,10 +122,7 @@ const postChainlinkJob = async ( type: jobName, }, { - type: 'copy', - params: { - copyPath: ['result'], - }, + type: 'EthUint256', }, { type: 'ethtx', diff --git a/contracts/messengers/staking-efficiency/SEMessenger.sol b/contracts/messengers/staking-efficiency/SEMessenger.sol index 84b58ace..57c8a941 100644 --- a/contracts/messengers/staking-efficiency/SEMessenger.sol +++ b/contracts/messengers/staking-efficiency/SEMessenger.sol @@ -146,15 +146,15 @@ contract SEMessenger is ChainlinkClient, IMessenger, ReentrancyGuard { _fee ); } - Chainlink.Request memory request = - buildChainlinkRequest( - _jobId, - address(this), - this.fulfillSLI.selector - ); - (uint256 sla_monitoring_start, uint256 sla_monitoring_end) = - periodRegistry.getPeriodStartAndEnd(sla.periodType(), _periodId); - request.add('job_type', 'staking_efficiency'); + Chainlink.Request memory request = buildChainlinkRequest( + _jobId, + address(this), + this.fulfillSLI.selector + ); + ( + uint256 sla_monitoring_start, + uint256 sla_monitoring_end + ) = periodRegistry.getPeriodStartAndEnd(sla.periodType(), _periodId); request.add( 'sla_monitoring_start', StringUtils.uintToStr(sla_monitoring_start) @@ -183,64 +183,26 @@ contract SEMessenger is ChainlinkClient, IMessenger, ReentrancyGuard { * @dev callback function for the Chainlink SLI request which stores * the SLI in the SLA contract * @param _requestId the ID of the ChainLink request - * @param _chainlinkResponseUint256 response object from Chainlink Oracles + * @param _chainlinkResponse response object from Chainlink Oracles */ - function fulfillSLI(bytes32 _requestId, uint256 _chainlinkResponseUint256) + function fulfillSLI(bytes32 _requestId, uint256 _chainlinkResponse) external override nonReentrant recordChainlinkFulfillment(_requestId) { - bytes32 _chainlinkResponse = bytes32(_chainlinkResponseUint256); SLIRequest memory request = requestIdToSLIRequest[_requestId]; emit SLIReceived( request.slaAddress, request.periodId, _requestId, - _chainlinkResponse + bytes32(_chainlinkResponse) ); - (uint256 hits, uint256 misses) = parseSLIData(_chainlinkResponse); - uint256 total = hits.add(misses); - uint256 stakingEfficiency = - hits.mul(100 * _messengerPrecision).div(total); + _fulfillsCounter += 1; SLA(request.slaAddress).registerSLI( - stakingEfficiency, + _chainlinkResponse, request.periodId ); - - _fulfillsCounter += 1; - } - - /** - * @dev recieves a string of "hits,misses" data and returns hits and misses as uint256 - * @param sliData the ID of the ChainLink request - */ - function parseSLIData(bytes32 sliData) - public - pure - returns (uint256, uint256) - { - bytes memory bytesSLIData = bytes(StringUtils.bytes32ToStr(sliData)); - uint256 sliDataLength = bytesSLIData.length; - bytes memory bytesHits = new bytes(sliDataLength); - bytes memory bytesMisses = new bytes(sliDataLength); - for (uint256 index; index < sliDataLength; index++) { - if (bytesSLIData[index] == bytes1(',')) { - for (uint256 index2 = 0; index2 < index; index2++) { - bytesHits[index2] = bytesSLIData[index2]; - } - for ( - uint256 index3 = 0; - index3 < sliDataLength - index - 1; - index3++ - ) { - bytesMisses[index3] = bytesSLIData[index + 1 + index3]; - } - } - } - uint256 hits = StringUtils.bytesToUint(bytesHits); - uint256 misses = StringUtils.bytesToUint(bytesMisses); - return (hits, misses); } function retryRequest(address _slaAddress, uint256 _periodId) diff --git a/services/external-adapter/abis.ts b/services/external-adapter/abis.ts index 7fa8da57..9e5625c0 100644 --- a/services/external-adapter/abis.ts +++ b/services/external-adapter/abis.ts @@ -606,6 +606,465 @@ const SLAABI = [ }, ]; +const MessengerABI = [ + { + inputs: [ + { + internalType: 'address', + name: '_messengerChainlinkOracle', + type: 'address', + }, + { + internalType: 'address', + name: '_messengerChainlinkToken', + type: 'address', + }, + { + internalType: 'bytes32', + name: '_messengerJobId', + type: 'bytes32', + }, + { + internalType: 'uint256', + name: '_feeMultiplier', + type: 'uint256', + }, + { + internalType: 'contract PeriodRegistry', + name: '_periodRegistry', + type: 'address', + }, + { + internalType: 'contract StakeRegistry', + name: '_stakeRegistry', + type: 'address', + }, + ], + stateMutability: 'nonpayable', + type: 'constructor', + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: 'bytes32', + name: 'id', + type: 'bytes32', + }, + ], + name: 'ChainlinkCancelled', + type: 'event', + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: 'bytes32', + name: 'id', + type: 'bytes32', + }, + ], + name: 'ChainlinkFulfilled', + type: 'event', + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: 'bytes32', + name: 'id', + type: 'bytes32', + }, + ], + name: 'ChainlinkRequested', + type: 'event', + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: 'address', + name: 'owner', + type: 'address', + }, + { + indexed: false, + internalType: 'bytes32', + name: 'jobId', + type: 'bytes32', + }, + { + indexed: false, + internalType: 'uint256', + name: 'fee', + type: 'uint256', + }, + ], + name: 'JobIdModified', + 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: 'slaAddress', + type: 'address', + }, + { + indexed: false, + internalType: 'uint256', + name: 'periodId', + type: 'uint256', + }, + { + indexed: true, + internalType: 'bytes32', + name: 'requestId', + type: 'bytes32', + }, + { + indexed: false, + internalType: 'bytes32', + name: 'chainlinkResponse', + type: 'bytes32', + }, + ], + name: 'SLIReceived', + type: 'event', + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: 'address', + name: 'caller', + type: 'address', + }, + { + indexed: false, + internalType: 'uint256', + name: 'requestsCounter', + type: 'uint256', + }, + { + indexed: false, + internalType: 'bytes32', + name: 'requestId', + type: 'bytes32', + }, + ], + name: 'SLIRequested', + type: 'event', + }, + { + inputs: [], + name: 'fee', + outputs: [ + { + internalType: 'uint256', + name: '', + type: 'uint256', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [ + { + internalType: 'bytes32', + name: '_requestId', + type: 'bytes32', + }, + { + internalType: 'uint256', + name: '_chainlinkResponseUint256', + type: 'uint256', + }, + ], + name: 'fulfillSLI', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, + { + inputs: [], + name: 'fulfillsCounter', + outputs: [ + { + internalType: 'uint256', + name: '', + type: 'uint256', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [], + name: 'jobId', + outputs: [ + { + internalType: 'bytes32', + name: '', + type: 'bytes32', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [], + name: 'messengerPrecision', + outputs: [ + { + internalType: 'uint256', + name: '', + type: 'uint256', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [], + name: 'oracle', + outputs: [ + { + internalType: 'address', + name: '', + type: 'address', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [], + name: 'owner', + outputs: [ + { + internalType: 'address', + name: '', + type: 'address', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [ + { + internalType: 'bytes32', + name: 'sliData', + type: 'bytes32', + }, + ], + name: 'parseSLIData', + outputs: [ + { + internalType: 'uint256', + name: '', + type: 'uint256', + }, + { + internalType: 'uint256', + name: '', + type: 'uint256', + }, + ], + stateMutability: 'pure', + type: 'function', + }, + { + inputs: [], + name: 'renounceOwnership', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, + { + inputs: [ + { + internalType: 'bytes32', + name: '', + type: 'bytes32', + }, + ], + name: 'requestIdToSLIRequest', + outputs: [ + { + internalType: 'address', + name: 'slaAddress', + type: 'address', + }, + { + internalType: 'uint256', + name: 'periodId', + type: 'uint256', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [ + { + internalType: 'uint256', + name: '_periodId', + type: 'uint256', + }, + { + internalType: 'address', + name: '_slaAddress', + type: 'address', + }, + { + internalType: 'bool', + name: '_messengerOwnerApproval', + type: 'bool', + }, + { + internalType: 'address', + name: '_callerAddress', + type: 'address', + }, + ], + name: 'requestSLI', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, + { + inputs: [ + { + internalType: 'uint256', + name: '', + type: 'uint256', + }, + ], + name: 'requests', + outputs: [ + { + internalType: 'bytes32', + name: '', + type: 'bytes32', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [], + name: 'requestsCounter', + outputs: [ + { + internalType: 'uint256', + name: '', + type: 'uint256', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [ + { + internalType: 'address', + name: '_slaAddress', + type: 'address', + }, + { + internalType: 'uint256', + name: '_periodId', + type: 'uint256', + }, + ], + name: 'retryRequest', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, + { + inputs: [ + { + internalType: 'bytes32', + name: '_newJobId', + type: 'bytes32', + }, + { + internalType: 'uint256', + name: '_feeMultiplier', + type: 'uint256', + }, + ], + name: 'setChainlinkJobID', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, + { + inputs: [], + name: 'setSLARegistry', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, + { + inputs: [], + name: 'slaRegistryAddress', + outputs: [ + { + internalType: 'address', + name: '', + type: 'address', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [ + { + internalType: 'address', + name: 'newOwner', + type: 'address', + }, + ], + name: 'transferOwnership', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, +]; + module.exports = { SLAABI, + MessengerABI, }; diff --git a/services/external-adapter/helpers.ts b/services/external-adapter/helpers.ts deleted file mode 100644 index b6435dc2..00000000 --- a/services/external-adapter/helpers.ts +++ /dev/null @@ -1,61 +0,0 @@ -require('dotenv').config(); - -const axios = require('axios'); -import * as crypto from 'crypto'; -const Web3 = require('web3'); -const { toChecksumAddress } = require('web3-utils'); - -const { SLAABI } = require('./abis'); - -function createRandomAddress() { - return toChecksumAddress(`0x${crypto.randomBytes(20).toString('hex')}`); -} - -function createValidatorData() { - const delegatorsNumber = Math.floor(10 * Math.random()) + 1; - const delegators = []; - for (let index = 0; index < delegatorsNumber; index += 1) { - const delegator = createRandomAddress(); - delegators.push(delegator); - } - const total = Math.floor(10000 * Math.random()); - const total_stake = Math.floor(10000 * Math.random()); - const hits = Math.floor((total * (100 - Math.random() * 20)) / 100); - const misses = total - hits; - const staking_efficiency_percent = (hits * 100) / total; - return { - total_stake, - total, - hits, - misses, - staking_efficiency_percent, - delegators, - }; -} - -function createAnalyticsData(validatorAddress) { - return { - [validatorAddress]: { ...createValidatorData() }, - }; -} - -async function getIPFSDataFromCID(cid) { - const { data } = await axios.get(`${process.env.IPFS_URI}/ipfs/${cid}`); - return data; -} - -async function getSLAData(address) { - const web3 = new Web3(process.env.WEB3_URI); - const slaContract = new web3.eth.Contract(SLAABI, address); - const ipfsCID = await slaContract.methods.ipfsHash().call(); - console.log(`SLA IPFS url: ${process.env.IPFS_URI}/ipfs/${ipfsCID}`); - const periodType = await slaContract.methods.periodType().call(); - const networkName = await slaContract.methods.extraData(0).call(); - const ipfsData = await getIPFSDataFromCID(ipfsCID); - return { ...ipfsData, periodType, networkName }; -} - -module.exports = { - getSLAData, - createAnalyticsData, -}; diff --git a/services/external-adapter/index.ts b/services/external-adapter/index.ts index f8ab1a6e..9c178f37 100644 --- a/services/external-adapter/index.ts +++ b/services/external-adapter/index.ts @@ -1,20 +1,46 @@ -const { fromAscii, padRight } = require('web3-utils'); -const express = require('express'); require('dotenv').config(); +const express = require('express'); +const axios = require('axios'); +const Web3 = require('web3'); + +const { SLAABI, MessengerABI } = require('./abis'); + +type SLAData = { + serviceName: string; + serviceDescription: string; + serviceImage: string; + serviceURL: string; + serviceAddress: string; + serviceTicker: string; + + periodType: number; + networkName: string; + messengerAddress: string; +}; + +async function getSLAData(address): Promise { + const web3 = new Web3(process.env.WEB3_URI); + const slaContract = new web3.eth.Contract(SLAABI, address); + const ipfsCID = await slaContract.methods.ipfsHash().call(); + console.log(`SLA IPFS url: ${process.env.IPFS_URI}/ipfs/${ipfsCID}`); + const periodType = await slaContract.methods.periodType().call(); + const networkName = await slaContract.methods.extraData(0).call(); + const messengerAddress = await slaContract.methods.messengerAddress().call(); + const { data } = await axios.get(`${process.env.IPFS_URI}/ipfs/${ipfsCID}`); + return { ...data, periodType, networkName, messengerAddress }; +} -const { createAnalyticsData, getSLAData } = require('./helpers'); - -async function getValidatorAPR(params) { - const slaData = await getSLAData(params.sla_address); - console.log('SLA Data from IPFS:'); - const analyticsData = createAnalyticsData(slaData.serviceAddress); - console.log('Analytics data:'); - console.log(analyticsData); - const { hits, misses } = analyticsData[slaData.serviceAddress]; - console.log(`hits: ${hits}, misses: ${misses}`); - const response = padRight(fromAscii(`${hits},${misses}`), 64); - console.log(`hits,misses parsed to bytes32: ${response}`); - return response; +async function getSLI(slaData: SLAData) { + const web3 = new Web3(process.env.WEB3_URI); + const messenger = new web3.eth.Contract( + MessengerABI, + slaData.messengerAddress + ); + const precision = await messenger.methods.messengerPrecision().call(); + // Just a random SLI, multiplied by 100 to get percentage + const sli = Math.random() * 100; + // times messenger precision to calculate on chain + return Math.floor(sli * precision); } const app = express(); @@ -24,22 +50,16 @@ app.post('/', async (req, res) => { const { id, data } = req.body; console.log('Request Body:'); console.log(req.body); - let result; - switch (data.job_type) { - case 'staking_efficiency': - // eslint-disable-next-line no-case-declarations - const getAPR = { - sla_address: data.sla_address, - sla_monitoring_start: data.sla_monitoring_start, - sla_monitoring_end: data.sla_monitoring_end, - }; - result = await getValidatorAPR(getAPR); - break; - default: - throw new Error('Job type not identified'); - } - console.log('result:'); - console.log(result); + const requestData = { + sla_address: data.sla_address, + sla_monitoring_start: data.sla_monitoring_start, + sla_monitoring_end: data.sla_monitoring_end, + }; + const slaData = await getSLAData(requestData.sla_address); + console.log('SLA Data:'); + console.log(slaData); + const result = await getSLI(slaData); + console.log('result:', result); res.send({ jobRunID: id, data: { diff --git a/subtasks.ts b/subtasks.ts index 3cc40923..ee1a6d66 100644 --- a/subtasks.ts +++ b/subtasks.ts @@ -71,7 +71,6 @@ export enum SUB_TASK_NAMES { BOOTSTRAP_STAKE_REGISTRY = 'BOOTSTRAP_STAKE_REGISTRY', SET_CONTRACTS_ALLOWANCE = 'SET_CONTRACTS_ALLOWANCE', REQUEST_SLI = 'REQUEST_SLI', - RETRY_REQUEST_SLI = 'RETRY_REQUEST_SLI', GET_PRECOORDINATOR = 'GET_PRECOORDINATOR', SET_PRECOORDINATOR = 'SET_PRECOORDINATOR', DEPLOY_LOCAL_CHAINLINK_NODES = 'DEPLOY_LOCAL_CHAINLINK_NODES', @@ -961,6 +960,8 @@ subtask(SUB_TASK_NAMES.DEPLOY_SLA, undefined).setAction( const slaConfigs = taskArgs.id ? [deploy_sla[taskArgs.id]] : deploy_sla; for (let config of slaConfigs) { printSeparator(); + console.log('Deploying SLA:'); + console.log(config); const { serviceMetadata, sloValue, diff --git a/typechain/SEMessenger.d.ts b/typechain/SEMessenger.d.ts index c98a436a..9795ea87 100644 --- a/typechain/SEMessenger.d.ts +++ b/typechain/SEMessenger.d.ts @@ -28,7 +28,6 @@ interface SEMessengerInterface extends ethers.utils.Interface { "messengerPrecision()": FunctionFragment; "oracle()": FunctionFragment; "owner()": FunctionFragment; - "parseSLIData(bytes32)": FunctionFragment; "renounceOwnership()": FunctionFragment; "requestIdToSLIRequest(bytes32)": FunctionFragment; "requestSLI(uint256,address,bool,address)": FunctionFragment; @@ -57,10 +56,6 @@ interface SEMessengerInterface extends ethers.utils.Interface { ): string; encodeFunctionData(functionFragment: "oracle", values?: undefined): string; encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "parseSLIData", - values: [BytesLike] - ): string; encodeFunctionData( functionFragment: "renounceOwnership", values?: undefined @@ -115,10 +110,6 @@ interface SEMessengerInterface extends ethers.utils.Interface { ): Result; decodeFunctionResult(functionFragment: "oracle", data: BytesLike): Result; decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "parseSLIData", - data: BytesLike - ): Result; decodeFunctionResult( functionFragment: "renounceOwnership", data: BytesLike @@ -221,7 +212,7 @@ export class SEMessenger extends BaseContract { fulfillSLI( _requestId: BytesLike, - _chainlinkResponseUint256: BigNumberish, + _chainlinkResponse: BigNumberish, overrides?: Overrides & { from?: string | Promise } ): Promise; @@ -235,11 +226,6 @@ export class SEMessenger extends BaseContract { owner(overrides?: CallOverrides): Promise<[string]>; - parseSLIData( - sliData: BytesLike, - overrides?: CallOverrides - ): Promise<[BigNumber, BigNumber]>; - renounceOwnership( overrides?: Overrides & { from?: string | Promise } ): Promise; @@ -291,7 +277,7 @@ export class SEMessenger extends BaseContract { fulfillSLI( _requestId: BytesLike, - _chainlinkResponseUint256: BigNumberish, + _chainlinkResponse: BigNumberish, overrides?: Overrides & { from?: string | Promise } ): Promise; @@ -305,11 +291,6 @@ export class SEMessenger extends BaseContract { owner(overrides?: CallOverrides): Promise; - parseSLIData( - sliData: BytesLike, - overrides?: CallOverrides - ): Promise<[BigNumber, BigNumber]>; - renounceOwnership( overrides?: Overrides & { from?: string | Promise } ): Promise; @@ -359,7 +340,7 @@ export class SEMessenger extends BaseContract { fulfillSLI( _requestId: BytesLike, - _chainlinkResponseUint256: BigNumberish, + _chainlinkResponse: BigNumberish, overrides?: CallOverrides ): Promise; @@ -373,11 +354,6 @@ export class SEMessenger extends BaseContract { owner(overrides?: CallOverrides): Promise; - parseSLIData( - sliData: BytesLike, - overrides?: CallOverrides - ): Promise<[BigNumber, BigNumber]>; - renounceOwnership(overrides?: CallOverrides): Promise; requestIdToSLIRequest( @@ -481,7 +457,7 @@ export class SEMessenger extends BaseContract { fulfillSLI( _requestId: BytesLike, - _chainlinkResponseUint256: BigNumberish, + _chainlinkResponse: BigNumberish, overrides?: Overrides & { from?: string | Promise } ): Promise; @@ -495,11 +471,6 @@ export class SEMessenger extends BaseContract { owner(overrides?: CallOverrides): Promise; - parseSLIData( - sliData: BytesLike, - overrides?: CallOverrides - ): Promise; - renounceOwnership( overrides?: Overrides & { from?: string | Promise } ): Promise; @@ -550,7 +521,7 @@ export class SEMessenger extends BaseContract { fulfillSLI( _requestId: BytesLike, - _chainlinkResponseUint256: BigNumberish, + _chainlinkResponse: BigNumberish, overrides?: Overrides & { from?: string | Promise } ): Promise; @@ -566,11 +537,6 @@ export class SEMessenger extends BaseContract { owner(overrides?: CallOverrides): Promise; - parseSLIData( - sliData: BytesLike, - overrides?: CallOverrides - ): Promise; - renounceOwnership( overrides?: Overrides & { from?: string | Promise } ): Promise; diff --git a/typechain/factories/SEMessenger__factory.ts b/typechain/factories/SEMessenger__factory.ts index 8e1f53e0..1eff3ad8 100644 --- a/typechain/factories/SEMessenger__factory.ts +++ b/typechain/factories/SEMessenger__factory.ts @@ -212,7 +212,7 @@ const _abi = [ }, { internalType: "uint256", - name: "_chainlinkResponseUint256", + name: "_chainlinkResponse", type: "uint256", }, ], @@ -286,30 +286,6 @@ const _abi = [ stateMutability: "view", type: "function", }, - { - inputs: [ - { - internalType: "bytes32", - name: "sliData", - type: "bytes32", - }, - ], - name: "parseSLIData", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "pure", - type: "function", - }, { inputs: [], name: "renounceOwnership", @@ -473,7 +449,7 @@ const _abi = [ ]; const _bytecode = - "0x60a060405260016004556010805460ff60a01b191690553480156200002357600080fd5b50604051620022ea380380620022ea833981016040819052620000469162000147565b60006200005b6001600160e01b036200012116565b600680546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600755600b849055620000c7856001600160e01b036200012516565b60609590951b6001600160601b03191660805267016345785d8a000091909102600c55600f80546001600160a01b03199081166001600160a01b039384161790915560108054909116919094161790925550620001dc9050565b3390565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60008060008060008060c0878903121562000160578182fd5b86516200016d81620001c3565b60208801519096506200018081620001c3565b8095505060408701519350606087015192506080870151620001a281620001c3565b60a0880151909250620001b581620001c3565b809150509295509295509295565b6001600160a01b0381168114620001d957600080fd5b50565b60805160601c6120eb620001ff600039806106b25280610ac152506120eb6000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c8063a50c5425116100a2578063c9b0cb2211610071578063c9b0cb2214610206578063ddca3f431461020e578063e450f06114610216578063f2fde38b14610229578063f38815891461023c57610116565b8063a50c5425146101c2578063ae401eb9146101ca578063bc0bfc00146101eb578063c2939d97146101fe57610116565b8063715018a6116100e9578063715018a6146101845780637dc0d1d01461018c57806381d12c58146101945780638da5cb5b146101a757806397a82192146101af57610116565b806304e4fc011461011b578063292733bf14610145578063663c22691461015a5780636e71890d1461016f575b600080fd5b61012e610129366004611979565b610244565b60405161013c929190611c90565b60405180910390f35b610158610153366004611991565b610577565b005b610162610612565b60405161013c9190611c87565b610177610618565b60405161013c9190611b9e565b610158610627565b6101776106b0565b6101626101a2366004611979565b6106d4565b6101776106f2565b6101586101bd366004611a84565b610701565b610162610bba565b6101dd6101d8366004611979565b610bc0565b60405161013c929190611bd6565b6101586101f9366004611991565b610be5565b610162610dcd565b610162610dd3565b610162610dd9565b610158610224366004611933565b610ddf565b610158610237366004611918565b610f66565b610158611027565b600080606073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__63ef0b2368856040518263ffffffff1660e01b81526004016102809190611c87565b60006040518083038186803b15801561029857600080fd5b505af41580156102ac573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102d491908101906119d1565b805190915060608167ffffffffffffffff811180156102f257600080fd5b506040519080825280601f01601f19166020018201604052801561031d576020820181803683370190505b50905060608267ffffffffffffffff8111801561033957600080fd5b506040519080825280601f01601f191660200182016040528015610364576020820181803683370190505b50905060005b8381101561045157600b60fa1b6001600160f81b03191685828151811061038d57fe5b01602001516001600160f81b03191614156104495760005b818110156103ef578581815181106103b957fe5b602001015160f81c60f81b8482815181106103d057fe5b60200101906001600160f81b031916908160001a9053506001016103a5565b5060005b60018286030381101561044757858183600101018151811061041157fe5b602001015160f81c60f81b83828151811061042857fe5b60200101906001600160f81b031916908160001a9053506001016103f3565b505b60010161036a565b506040516302d06d0560e01b815260009073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__906302d06d059061048c908690600401611c9e565b60206040518083038186803b1580156104a457600080fd5b505af41580156104b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dc9190611a6c565b9050600073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__6302d06d05846040518263ffffffff1660e01b81526004016105179190611c9e565b60206040518083038186803b15801561052f57600080fd5b505af4158015610543573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105679190611a6c565b9197509095505050505050915091565b61057f611064565b6001600160a01b03166105906106f2565b6001600160a01b0316146105bf5760405162461bcd60e51b81526004016105b690611f2e565b60405180910390fd5b600b82905567016345785d8a00008102600c81905560405133917f8e7e22d2820965fa1a8fa3ad76db76127e2f1baaf65f50c4e267f28b2254f7cb91610606918691611c90565b60405180910390a25050565b600d5490565b600a546001600160a01b031690565b61062f611064565b6001600160a01b03166106406106f2565b6001600160a01b0316146106665760405162461bcd60e51b81526004016105b690611f2e565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b7f000000000000000000000000000000000000000000000000000000000000000090565b600981815481106106e157fe5b600091825260209091200154905081565b6006546001600160a01b031690565b601054600160a01b900460ff1661073c57600a546001600160a01b0316331461073c5760405162461bcd60e51b81526004016105b690611eac565b6002600754141561075f5760405162461bcd60e51b81526004016105b69061202c565b600260075582821561079e576107996107766106f2565b30600c54610782611068565b6001600160a01b031692919063ffffffff61107716565b6107ae565b6107ae8230600c54610782611068565b6107b661189b565b600b546107ca9030622f02ff60ea1b6110d5565b9050600080600f60009054906101000a90046001600160a01b03166001600160a01b031663ffa61235856001600160a01b03166346e0fbae6040518163ffffffff1660e01b815260040160206040518083038186803b15801561082c57600080fd5b505afa158015610840573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086491906119b2565b8a6040518363ffffffff1660e01b8152600401610882929190611cb1565b604080518083038186803b15801561089957600080fd5b505afa1580156108ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d19190611ad6565b91509150610934604051806040016040528060088152602001676a6f625f7479706560c01b815250604051806040016040528060128152602001717374616b696e675f656666696369656e637960701b815250856111029092919063ffffffff16565b60408051808201825260148152731cdb1857db5bdb9a5d1bdc9a5b99d7dcdd185c9d60621b6020820152905163fc966d4560e01b81526109fb919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__9063fc966d4590610999908790600401611c87565b60006040518083038186803b1580156109b157600080fd5b505af41580156109c5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109ed91908101906119d1565b85919063ffffffff61110216565b60408051808201825260128152711cdb1857db5bdb9a5d1bdc9a5b99d7d95b9960721b6020820152905163fc966d4560e01b8152610a5e919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__9063fc966d4590610999908690600401611c87565b604080518082018252600b81526a736c615f6164647265737360a81b60208201529051635e57966d60e01b8152610aba919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__90635e57966d90610999908c90600401611b9e565b6000610ae97f000000000000000000000000000000000000000000000000000000000000000085600c54611131565b6009805460018082019092557f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af018290556040805180820182526001600160a01b038c8116825260208083018f81526000878152600890925290849020925183546001600160a01b0319169083161783555191840191909155600d80549093019283905590519293508816917feab5eb77e722078f3fab7eb6a77c74f7001181e1e3a74d51b7b5747ee1b31cb991610ba2918590611c90565b60405180910390a25050600160075550505050505050565b600e5490565b600860205260009081526040902080546001909101546001600160a01b039091169082565b60026007541415610c085760405162461bcd60e51b81526004016105b69061202c565b600260075560008281526005602052604090205482906001600160a01b03163314610c455760405162461bcd60e51b81526004016105b690611f9a565b60008181526005602052604080822080546001600160a01b03191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a281610c916118d0565b506000848152600860209081526040918290208251808401845281546001600160a01b0316808252600190920154928101839052925187927f56514ef6e1ffd0f970ebf32dc181e476384e6e53a8351719040b4030318a933b91610cf791908790611c90565b60405180910390a3600080610d0b84610244565b90925090506000610d22838363ffffffff61127016565b90506000610d4982610d3d86620186a063ffffffff61129e16565b9063ffffffff6112d816565b85516020870151604051636bd2e21160e11b81529293506001600160a01b039091169163d7a5c42291610d8191859190600401611c90565b600060405180830381600087803b158015610d9b57600080fd5b505af1158015610daf573d6000803e3d6000fd5b5050600e805460019081019091556007555050505050505050505050565b600b5490565b6103e890565b600c5490565b6010805460ff60a01b1916600160a01b179081905560405163ab9a81a560e01b81526001600160a01b039091169063ab9a81a590610e239085908590600401611bd6565b60206040518083038186803b158015610e3b57600080fd5b505afa158015610e4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e73919061195d565b610e8f5760405162461bcd60e51b81526004016105b690611d89565b6040516320c876ef60e11b815282906000906001600160a01b03831690634190edde90610ec0908690600401611c87565b60606040518083038186803b158015610ed857600080fd5b505afa158015610eec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f109190611af9565b925060009150610f1d9050565b816002811115610f2957fe5b14610f465760405162461bcd60e51b81526004016105b690611dc0565b610f538385600033610701565b50506010805460ff60a01b191690555050565b610f6e611064565b6001600160a01b0316610f7f6106f2565b6001600160a01b031614610fa55760405162461bcd60e51b81526004016105b690611f2e565b6001600160a01b038116610fcb5760405162461bcd60e51b81526004016105b690611cc9565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b0316156110505760405162461bcd60e51b81526004016105b690611e64565b600a80546001600160a01b03191633179055565b3390565b6002546001600160a01b031690565b6110cf846323b872dd60e01b85858560405160240161109893929190611bb2565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261130d565b50505050565b6110dd61189b565b6110e561189b565b6110f78186868663ffffffff61139c16565b9150505b9392505050565b6080830151611117908363ffffffff6113d916565b608083015161112c908263ffffffff6113d916565b505050565b600030600454604051602001611148929190611b7c565b60408051808303601f19018152918152815160209283012060045460608701526000818152600590935281832080546001600160a01b0319166001600160a01b038916179055905190925082917fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af991a26002546001600160a01b0316634000aea085846111d4876113f6565b6040518463ffffffff1660e01b81526004016111f293929190611c57565b602060405180830381600087803b15801561120c57600080fd5b505af1158015611220573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611244919061195d565b6112605760405162461bcd60e51b81526004016105b690611d46565b6004805460010190559392505050565b6000828201838110156112955760405162461bcd60e51b81526004016105b690611d0f565b90505b92915050565b6000826112ad57506000611298565b828202828482816112ba57fe5b04146112955760405162461bcd60e51b81526004016105b690611eed565b60008082116112f95760405162461bcd60e51b81526004016105b690611e2d565b600082848161130457fe5b04949350505050565b6060611362826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114729092919063ffffffff16565b80519091501561112c5780806020019051810190611380919061195d565b61112c5760405162461bcd60e51b81526004016105b690611fe2565b6113a461189b565b6113b48560800151610100611489565b50509183526001600160a01b031660208301526001600160e01b031916604082015290565b6113e682600383516114c3565b61112c828263ffffffff6115cd16565b6060634042994660e01b60008084600001518560200151866040015187606001516001896080015160000151604051602401611439989796959493929190611bef565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091529050919050565b606061148184846000856115e7565b949350505050565b6114916118e7565b60208206156114a65760208206602003820191505b506020828101829052604080518085526000815290920101905290565b601781116114ea576114e48360e0600585901b16831763ffffffff6116a816565b5061112c565b60ff81116115205761150d836018611fe0600586901b161763ffffffff6116a816565b506114e48382600163ffffffff6116c016565b61ffff811161155757611544836019611fe0600586901b161763ffffffff6116a816565b506114e48382600263ffffffff6116c016565b63ffffffff81116115905761157d83601a611fe0600586901b161763ffffffff6116a816565b506114e48382600463ffffffff6116c016565b67ffffffffffffffff811161112c576115ba83601b611fe0600586901b161763ffffffff6116a816565b506110cf8382600863ffffffff6116c016565b6115d56118e7565b611295838460000151518485516116d9565b6060824710156116095760405162461bcd60e51b81526004016105b690611de7565b61161285611785565b61162e5760405162461bcd60e51b81526004016105b690611f63565b60006060866001600160a01b0316858760405161164b9190611b60565b60006040518083038185875af1925050503d8060008114611688576040519150601f19603f3d011682016040523d82523d6000602084013e61168d565b606091505b509150915061169d82828661178b565b979650505050505050565b6116b06118e7565b61129583846000015151846117c4565b6116c86118e7565b61148184856000015151858561180f565b6116e16118e7565b82518211156116ef57600080fd5b846020015182850111156117195761171985611711876020015187860161186d565b600202611884565b6000808651805187602083010193508088870111156117385787860182525b505050602084015b6020841061175f5780518252601f199093019260209182019101611740565b51815160001960208690036101000a019081169019919091161790525083949350505050565b3b151590565b6060831561179a5750816110fb565b8251156117aa5782518084602001fd5b8160405162461bcd60e51b81526004016105b69190611c9e565b6117cc6118e7565b836020015183106117e8576117e8848560200151600202611884565b835180516020858301018481535080851415611805576001810182525b5093949350505050565b6118176118e7565b846020015184830111156118345761183485858401600202611884565b60006001836101000a0390508551838682010185831982511617815250805184870111156118625783860181525b509495945050505050565b60008183111561187e575081611298565b50919050565b81516118908383611489565b506110cf83826115cd565b6040805160a0810182526000808252602082018190529181018290526060810191909152608081016118cb6118e7565b905290565b604080518082019091526000808252602082015290565b604051806040016040528060608152602001600081525090565b80356001600160a01b038116811461129857600080fd5b600060208284031215611929578081fd5b6112958383611901565b60008060408385031215611945578081fd5b61194f8484611901565b946020939093013593505050565b60006020828403121561196e578081fd5b8151611295816120a7565b60006020828403121561198a578081fd5b5035919050565b600080604083850312156119a3578182fd5b50508035926020909101359150565b6000602082840312156119c3578081fd5b815160068110611295578182fd5b6000602082840312156119e2578081fd5b815167ffffffffffffffff808211156119f9578283fd5b81840185601f820112611a0a578384fd5b8051925081831115611a1a578384fd5b604051601f8401601f191681016020018381118282101715611a3a578586fd5b604052838152818401602001871015611a51578485fd5b611a62846020830160208501612063565b9695505050505050565b600060208284031215611a7d578081fd5b5051919050565b60008060008060808587031215611a99578182fd5b843593506020850135611aab8161208f565b92506040850135611abb816120a7565b91506060850135611acb8161208f565b939692955090935050565b60008060408385031215611ae8578182fd5b505080516020909101519092909150565b600080600060608486031215611b0d578283fd5b8351925060208401519150604084015160038110611b29578182fd5b809150509250925092565b60008151808452611b4c816020860160208601612063565b601f01601f19169290920160200192915050565b60008251611b72818460208701612063565b9190910192915050565b60609290921b6bffffffffffffffffffffffff19168252601482015260340190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0389811682526020820189905260408201889052861660608201526001600160e01b03198516608082015260a0810184905260c0810183905261010060e08201819052600090611c4883820185611b34565b9b9a5050505050505050505050565b600060018060a01b038516825283602083015260606040830152611c7e6060830184611b34565b95945050505050565b90815260200190565b918252602082015260400190565b6000602082526112956020830184611b34565b6040810160068410611cbf57fe5b9281526020015290565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526023908201527f756e61626c6520746f207472616e73666572416e6443616c6c20746f206f7261604082015262636c6560e81b606082015260800190565b6020808252601b908201527f5374616b6552656769737472793a206e6f742076657269666965640000000000604082015260600190565b6020808252600d908201526c14d3104e881d995c9a599a5959609a1b604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b60208082526028908201527f534c41526567697374727920616464726573732068617320616c7265616479206040820152671899595b881cd95d60c21b606082015260800190565b60208082526021908201527f43616e206f6e6c792062652063616c6c656420627920534c41526567697374726040820152607960f81b606082015260800190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526028908201527f536f75726365206d75737420626520746865206f7261636c65206f6620746865604082015267081c995c5d595cdd60c21b606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60005b8381101561207e578181015183820152602001612066565b838111156110cf5750506000910152565b6001600160a01b03811681146120a457600080fd5b50565b80151581146120a457600080fdfea2646970667358221220be1138e5e16755dbeb09faf107d72c051c7484ee288184c37ef28202f4bdd18164736f6c63430006060033"; + "0x60a060405260016004556010805460ff60a01b191690553480156200002357600080fd5b5060405162001d7c38038062001d7c833981016040819052620000469162000147565b60006200005b6001600160e01b036200012116565b600680546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600755600b849055620000c7856001600160e01b036200012516565b60609590951b6001600160601b03191660805267016345785d8a000091909102600c55600f80546001600160a01b03199081166001600160a01b039384161790915560108054909116919094161790925550620001dc9050565b3390565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60008060008060008060c0878903121562000160578182fd5b86516200016d81620001c3565b60208801519096506200018081620001c3565b8095505060408701519350606087015192506080870151620001a281620001c3565b60a0880151909250620001b581620001c3565b809150509295509295509295565b6001600160a01b0381168114620001d957600080fd5b50565b60805160601c611b7d620001ff6000398061035352806107055250611b7d6000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c8063a50c5425116100a2578063c9b0cb2211610071578063c9b0cb22146101da578063ddca3f43146101e2578063e450f061146101ea578063f2fde38b146101fd578063f3881589146102105761010b565b8063a50c542514610196578063ae401eb91461019e578063bc0bfc00146101bf578063c2939d97146101d25761010b565b80637dc0d1d0116100de5780637dc0d1d01461016057806381d12c58146101685780638da5cb5b1461017b57806397a82192146101835761010b565b8063292733bf14610110578063663c2269146101255780636e71890d14610143578063715018a614610158575b600080fd5b61012361011e3660046114ea565b610218565b005b61012d6102b3565b60405161013a91906117c8565b60405180910390f35b61014b6102b9565b60405161013a91906116df565b6101236102c8565b61014b610351565b61012d6101763660046114d2565b610375565b61014b610393565b6101236101913660046115c5565b6103a2565b61012d6107fe565b6101b16101ac3660046114d2565b610804565b60405161013a929190611717565b6101236101cd3660046114ea565b610829565b61012d6109bd565b61012d6109c3565b61012d6109c9565b6101236101f836600461148c565b6109cf565b61012361020b366004611471565b610b56565b610123610c17565b610220610c54565b6001600160a01b0316610231610393565b6001600160a01b0316146102605760405162461bcd60e51b8152600401610257906119c0565b60405180910390fd5b600b82905567016345785d8a00008102600c81905560405133917f8e7e22d2820965fa1a8fa3ad76db76127e2f1baaf65f50c4e267f28b2254f7cb916102a79186916117d1565b60405180910390a25050565b600d5490565b600a546001600160a01b031690565b6102d0610c54565b6001600160a01b03166102e1610393565b6001600160a01b0316146103075760405162461bcd60e51b8152600401610257906119c0565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b7f000000000000000000000000000000000000000000000000000000000000000090565b6009818154811061038257fe5b600091825260209091200154905081565b6006546001600160a01b031690565b601054600160a01b900460ff166103dd57600a546001600160a01b031633146103dd5760405162461bcd60e51b81526004016102579061197f565b600260075414156104005760405162461bcd60e51b815260040161025790611abe565b600260075582821561043f5761043a610417610393565b30600c54610423610c58565b6001600160a01b031692919063ffffffff610c6716565b61044f565b61044f8230600c54610423610c58565b6104576113f4565b600b5461046b9030622f02ff60ea1b610cc5565b9050600080600f60009054906101000a90046001600160a01b03166001600160a01b031663ffa61235856001600160a01b03166346e0fbae6040518163ffffffff1660e01b815260040160206040518083038186803b1580156104cd57600080fd5b505afa1580156104e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610505919061150b565b8a6040518363ffffffff1660e01b81526004016105239291906117df565b604080518083038186803b15801561053a57600080fd5b505afa15801561054e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105729190611617565b9150915061063f604051806040016040528060148152602001731cdb1857db5bdb9a5d1bdc9a5b99d7dcdd185c9d60621b81525073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__63fc966d45856040518263ffffffff1660e01b81526004016105dd91906117c8565b60006040518083038186803b1580156105f557600080fd5b505af4158015610609573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610631919081019061152a565b85919063ffffffff610cf216565b60408051808201825260128152711cdb1857db5bdb9a5d1bdc9a5b99d7d95b9960721b6020820152905163fc966d4560e01b81526106a2919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__9063fc966d45906105dd9086906004016117c8565b604080518082018252600b81526a736c615f6164647265737360a81b60208201529051635e57966d60e01b81526106fe919073__$89e48f3f2b1d5dfed70cd34b0db16ca79e$__90635e57966d906105dd908c906004016116df565b600061072d7f000000000000000000000000000000000000000000000000000000000000000085600c54610d21565b6009805460018082019092557f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af018290556040805180820182526001600160a01b038c8116825260208083018f81526000878152600890925290849020925183546001600160a01b0319169083161783555191840191909155600d80549093019283905590519293508816917feab5eb77e722078f3fab7eb6a77c74f7001181e1e3a74d51b7b5747ee1b31cb9916107e69185906117d1565b60405180910390a25050600160075550505050505050565b600e5490565b600860205260009081526040902080546001909101546001600160a01b039091169082565b6002600754141561084c5760405162461bcd60e51b815260040161025790611abe565b600260075560008281526005602052604090205482906001600160a01b031633146108895760405162461bcd60e51b815260040161025790611a2c565b60008181526005602052604080822080546001600160a01b03191690555182917f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a91a26108d4611429565b506000838152600860209081526040918290208251808401845281546001600160a01b0316808252600190920154928101839052925186927f56514ef6e1ffd0f970ebf32dc181e476384e6e53a8351719040b4030318a933b9161093a919088906117d1565b60405180910390a3600e8054600101905580516020820151604051636bd2e21160e11b81526001600160a01b039092169163d7a5c42291610980918791906004016117d1565b600060405180830381600087803b15801561099a57600080fd5b505af11580156109ae573d6000803e3d6000fd5b50506001600755505050505050565b600b5490565b6103e890565b600c5490565b6010805460ff60a01b1916600160a01b179081905560405163ab9a81a560e01b81526001600160a01b039091169063ab9a81a590610a139085908590600401611717565b60206040518083038186803b158015610a2b57600080fd5b505afa158015610a3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6391906114b6565b610a7f5760405162461bcd60e51b815260040161025790611893565b6040516320c876ef60e11b815282906000906001600160a01b03831690634190edde90610ab09086906004016117c8565b60606040518083038186803b158015610ac857600080fd5b505afa158015610adc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b00919061163a565b925060009150610b0d9050565b816002811115610b1957fe5b14610b365760405162461bcd60e51b8152600401610257906118ca565b610b4383856000336103a2565b50506010805460ff60a01b191690555050565b610b5e610c54565b6001600160a01b0316610b6f610393565b6001600160a01b031614610b955760405162461bcd60e51b8152600401610257906119c0565b6001600160a01b038116610bbb5760405162461bcd60e51b81526004016102579061180a565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b031615610c405760405162461bcd60e51b815260040161025790611937565b600a80546001600160a01b03191633179055565b3390565b6002546001600160a01b031690565b610cbf846323b872dd60e01b858585604051602401610c88939291906116f3565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610e60565b50505050565b610ccd6113f4565b610cd56113f4565b610ce78186868663ffffffff610eef16565b9150505b9392505050565b6080830151610d07908363ffffffff610f2c16565b6080830151610d1c908263ffffffff610f2c16565b505050565b600030600454604051602001610d389291906116bd565b60408051808303601f19018152918152815160209283012060045460608701526000818152600590935281832080546001600160a01b0319166001600160a01b038916179055905190925082917fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af991a26002546001600160a01b0316634000aea08584610dc487610f49565b6040518463ffffffff1660e01b8152600401610de293929190611798565b602060405180830381600087803b158015610dfc57600080fd5b505af1158015610e10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3491906114b6565b610e505760405162461bcd60e51b815260040161025790611850565b6004805460010190559392505050565b6060610eb5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610fc59092919063ffffffff16565b805190915015610d1c5780806020019051810190610ed391906114b6565b610d1c5760405162461bcd60e51b815260040161025790611a74565b610ef76113f4565b610f078560800151610100610fdc565b50509183526001600160a01b031660208301526001600160e01b031916604082015290565b610f39826003835161101c565b610d1c828263ffffffff61112616565b6060634042994660e01b60008084600001518560200151866040015187606001516001896080015160000151604051602401610f8c989796959493929190611730565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091529050919050565b6060610fd48484600085611140565b949350505050565b610fe4611440565b6020820615610ff95760208206602003820191505b506020808301829052604080518085526000815283019091019052815b92915050565b601781116110435761103d8360e0600585901b16831763ffffffff61120116565b50610d1c565b60ff811161107957611066836018611fe0600586901b161763ffffffff61120116565b5061103d8382600163ffffffff61121916565b61ffff81116110b05761109d836019611fe0600586901b161763ffffffff61120116565b5061103d8382600263ffffffff61121916565b63ffffffff81116110e9576110d683601a611fe0600586901b161763ffffffff61120116565b5061103d8382600463ffffffff61121916565b67ffffffffffffffff8111610d1c5761111383601b611fe0600586901b161763ffffffff61120116565b50610cbf8382600863ffffffff61121916565b61112e611440565b610ceb83846000015151848551611232565b6060824710156111625760405162461bcd60e51b8152600401610257906118f1565b61116b856112de565b6111875760405162461bcd60e51b8152600401610257906119f5565b60006060866001600160a01b031685876040516111a491906116a1565b60006040518083038185875af1925050503d80600081146111e1576040519150601f19603f3d011682016040523d82523d6000602084013e6111e6565b606091505b50915091506111f68282866112e4565b979650505050505050565b611209611440565b610ceb838460000151518461131d565b611221611440565b610fd4848560000151518585611368565b61123a611440565b825182111561124857600080fd5b84602001518285011115611272576112728561126a87602001518786016113c6565b6002026113dd565b6000808651805187602083010193508088870111156112915787860182525b505050602084015b602084106112b85780518252601f199093019260209182019101611299565b51815160001960208690036101000a019081169019919091161790525083949350505050565b3b151590565b606083156112f3575081610ceb565b8251156113035782518084602001fd5b8160405162461bcd60e51b815260040161025791906117f7565b611325611440565b83602001518310611341576113418485602001516002026113dd565b83518051602085830101848153508085141561135e576001810182525b5093949350505050565b611370611440565b8460200151848301111561138d5761138d858584016002026113dd565b60006001836101000a0390508551838682010185831982511617815250805184870111156113bb5783860181525b509495945050505050565b6000818311156113d7575081611016565b50919050565b81516113e98383610fdc565b50610cbf8382611126565b6040805160a081018252600080825260208201819052918101829052606081019190915260808101611424611440565b905290565b604080518082019091526000808252602082015290565b604051806040016040528060608152602001600081525090565b80356001600160a01b038116811461101657600080fd5b600060208284031215611482578081fd5b610ceb838361145a565b6000806040838503121561149e578081fd5b6114a8848461145a565b946020939093013593505050565b6000602082840312156114c7578081fd5b8151610ceb81611b39565b6000602082840312156114e3578081fd5b5035919050565b600080604083850312156114fc578182fd5b50508035926020909101359150565b60006020828403121561151c578081fd5b815160068110610ceb578182fd5b60006020828403121561153b578081fd5b815167ffffffffffffffff80821115611552578283fd5b81840185601f820112611563578384fd5b8051925081831115611573578384fd5b604051601f8401601f191681016020018381118282101715611593578586fd5b6040528381528184016020018710156115aa578485fd5b6115bb846020830160208501611af5565b9695505050505050565b600080600080608085870312156115da578182fd5b8435935060208501356115ec81611b21565b925060408501356115fc81611b39565b9150606085013561160c81611b21565b939692955090935050565b60008060408385031215611629578182fd5b505080516020909101519092909150565b60008060006060848603121561164e578283fd5b835192506020840151915060408401516003811061166a578182fd5b809150509250925092565b6000815180845261168d816020860160208601611af5565b601f01601f19169290920160200192915050565b600082516116b3818460208701611af5565b9190910192915050565b60609290921b6bffffffffffffffffffffffff19168252601482015260340190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0389811682526020820189905260408201889052861660608201526001600160e01b03198516608082015260a0810184905260c0810183905261010060e0820181905260009061178983820185611675565b9b9a5050505050505050505050565b600060018060a01b0385168252836020830152606060408301526117bf6060830184611675565b95945050505050565b90815260200190565b918252602082015260400190565b60408101600684106117ed57fe5b9281526020015290565b600060208252610ceb6020830184611675565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526023908201527f756e61626c6520746f207472616e73666572416e6443616c6c20746f206f7261604082015262636c6560e81b606082015260800190565b6020808252601b908201527f5374616b6552656769737472793a206e6f742076657269666965640000000000604082015260600190565b6020808252600d908201526c14d3104e881d995c9a599a5959609a1b604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b60208082526028908201527f534c41526567697374727920616464726573732068617320616c7265616479206040820152671899595b881cd95d60c21b606082015260800190565b60208082526021908201527f43616e206f6e6c792062652063616c6c656420627920534c41526567697374726040820152607960f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526028908201527f536f75726365206d75737420626520746865206f7261636c65206f6620746865604082015267081c995c5d595cdd60c21b606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60005b83811015611b10578181015183820152602001611af8565b83811115610cbf5750506000910152565b6001600160a01b0381168114611b3657600080fd5b50565b8015158114611b3657600080fdfea264697066735822122050dea7ee923b63937e4885c9c865c4173c09ba9e1be99fdf9b89fbb09fd4e7c464736f6c63430006060033"; export class SEMessenger__factory extends ContractFactory { constructor(