Verified contractExactGPL-3.0
VaultProxy
Address0xfe68d7e5903f98a79b2d649cd0548a02e8ebdd67
- Balance
0 ETH
- Transactions
0
- Compiler
solc 0.6.12
- Same code
1,548 more contracts
Details
- Compiler
- solc 0.6.12+commit.27d51765
- Language
- solidity
- Optimization
- No
- EVM version
- istanbul
- License
- GPL-3.0
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 22,705,131
- Creation transaction
- 0x94ad6f5b04…bc02c6d48e
- Proxy implementation
- 0x891dee04…33468a38VaultLib
- Main copy (most transactions)
- 0x4819ac09…31fa6ab6
138 files
The source code is large: one file is shown at a time. Choose a file in the list.
- contracts/persistent/vault/VaultProxy.solmain2.47 KB
- @openzeppelin/contracts/GSN/Context.sol933 B
- @openzeppelin/contracts/access/Ownable.sol2.23 KB
- @openzeppelin/contracts/math/SafeMath.sol5.2 KB
- @openzeppelin/contracts/math/SignedSafeMath.sol2.66 KB
- @openzeppelin/contracts/token/ERC20/ERC20.sol10.79 KB
- @openzeppelin/contracts/token/ERC20/ERC20Burnable.sol1.17 KB
- @openzeppelin/contracts/token/ERC20/IERC20.sol2.7 KB
- @openzeppelin/contracts/token/ERC20/SafeERC20.sol3.71 KB
- @openzeppelin/contracts/utils/Address.sol5.88 KB
- @openzeppelin/contracts/utils/EnumerableSet.sol7.79 KB
- contracts/mocks/MockVaultLib.sol905 B
- contracts/mocks/adapters/MockGenericAdapter.sol6.22 KB
- contracts/mocks/integratees/MockChaiIntegratee.sol2.12 KB
- contracts/mocks/integratees/MockGenericIntegratee.sol1.32 KB
- contracts/mocks/integratees/MockKyberIntegratee.sol3.86 KB
- contracts/mocks/integratees/MockParaSwapIntegratee.sol3.93 KB
- contracts/mocks/integratees/MockSynthetixIntegratee.sol5.8 KB
- contracts/mocks/integratees/MockUniswapV2Integratee.sol9.59 KB
- contracts/mocks/integratees/compound/MockCEtherIntegratee.sol1.26 KB
- contracts/mocks/integratees/compound/MockCTokenBase.sol3.74 KB
- contracts/mocks/integratees/compound/MockCTokenIntegratee.sol1.39 KB
- contracts/mocks/integratees/utils/MockIntegrateeBase.sol1.6 KB
- contracts/mocks/integratees/utils/SimpleMockIntegrateeBase.sol1.13 KB
- contracts/mocks/prices/CentralizedRateProvider.sol8.27 KB
- contracts/mocks/prices/MockChaiPriceSource.sol925 B
- contracts/mocks/prices/MockChainlinkPriceSource.sol1.25 KB
- contracts/mocks/prices/MockSynthetixPriceSource.sol4.03 KB
- contracts/mocks/prices/MockUniswapV2PriceSource.sol1.92 KB
- contracts/mocks/tokens/MockReentrancyToken.sol1.58 KB
- contracts/mocks/tokens/MockSynthetixToken.sol2.02 KB
- contracts/mocks/tokens/MockToken.sol913 B
- contracts/mocks/utils/EthConstantMixin.sol405 B
- contracts/mocks/utils/NormalizedRateProviderBase.sol1.67 KB
- contracts/mocks/utils/RateProviderBase.sol2.2 KB
- contracts/mocks/utils/SwapperBase.sol2.87 KB
- contracts/persistent/dispatcher/Dispatcher.sol24.68 KB
- contracts/persistent/dispatcher/IDispatcher.sol2.57 KB
- contracts/persistent/utils/IMigratableVault.sol751 B
- contracts/persistent/utils/IMigrationHookHandler.sol904 B
- contracts/persistent/vault/VaultLibBase1.sol979 B
- contracts/persistent/vault/VaultLibBaseCore.sol4.68 KB
- contracts/persistent/vault/utils/ProxiableVaultLib.sol1.75 KB
- contracts/persistent/vault/utils/SharesTokenBase.sol5.38 KB
- contracts/persistent/vault/utils/VaultLibSafeMath.sol2.13 KB
- contracts/release/core/fund-deployer/FundDeployer.sol19.78 KB
- contracts/release/core/fund-deployer/IFundDeployer.sol658 B
- contracts/release/core/fund/comptroller/ComptrollerLib.sol39.06 KB
- contracts/release/core/fund/comptroller/ComptrollerProxy.sol648 B
- contracts/release/core/fund/comptroller/IComptroller.sol1.26 KB
- contracts/release/core/fund/vault/IVault.sol1.29 KB
- contracts/release/core/fund/vault/VaultLib.sol8.88 KB
- contracts/release/extensions/IExtension.sol755 B
- contracts/release/extensions/fee-manager/FeeManager.sol21.61 KB
- contracts/release/extensions/fee-manager/IFee.sol1.67 KB
- contracts/release/extensions/fee-manager/IFeeManager.sol901 B
- contracts/release/extensions/fee-manager/fees/EntranceRateBurnFee.sol907 B
- contracts/release/extensions/fee-manager/fees/EntranceRateDirectFee.sol939 B
- contracts/release/extensions/fee-manager/fees/ManagementFee.sol7.02 KB
- contracts/release/extensions/fee-manager/fees/PerformanceFee.sol19.69 KB
- contracts/release/extensions/fee-manager/fees/utils/EntranceRateFeeBase.sol4.93 KB
- contracts/release/extensions/fee-manager/fees/utils/FeeBase.sol3.05 KB
- contracts/release/extensions/integration-manager/IIntegrationManager.sol522 B
- contracts/release/extensions/integration-manager/IntegrationManager.sol33.88 KB
- contracts/release/extensions/integration-manager/integrations/IIntegrationAdapter.sol989 B
- contracts/release/extensions/integration-manager/integrations/adapters/ChaiAdapter.sol5.83 KB
- contracts/release/extensions/integration-manager/integrations/adapters/CompoundAdapter.sol7.45 KB
- contracts/release/extensions/integration-manager/integrations/adapters/KyberAdapter.sol7.45 KB
- contracts/release/extensions/integration-manager/integrations/adapters/ParaSwapAdapter.sol10.75 KB
- contracts/release/extensions/integration-manager/integrations/adapters/SynthetixAdapter.sol5.95 KB
- contracts/release/extensions/integration-manager/integrations/adapters/TrackedAssetsAdapter.sol3.19 KB
- contracts/release/extensions/integration-manager/integrations/adapters/UniswapV2Adapter.sol12.38 KB
- contracts/release/extensions/integration-manager/integrations/adapters/ZeroExV2Adapter.sol13.77 KB
- contracts/release/extensions/integration-manager/integrations/utils/AdapterBase.sol4.57 KB
- contracts/release/extensions/integration-manager/integrations/utils/IntegrationSelectors.sol1.03 KB
- contracts/release/extensions/policy-manager/IPolicy.sol1.18 KB
- contracts/release/extensions/policy-manager/IPolicyManager.sol768 B
- contracts/release/extensions/policy-manager/PolicyManager.sol13.63 KB
- contracts/release/extensions/policy-manager/policies/buy-shares/BuySharesCallerWhitelist.sol3.66 KB
- contracts/release/extensions/policy-manager/policies/buy-shares/InvestorWhitelist.sol3.63 KB
- contracts/release/extensions/policy-manager/policies/buy-shares/MinMaxInvestment.sol5.39 KB
- contracts/release/extensions/policy-manager/policies/buy-shares/utils/BuySharesSetupPolicyBase.sol1.38 KB
- contracts/release/extensions/policy-manager/policies/buy-shares/utils/PreBuySharesValidatePolicyBase.sol1.41 KB
- contracts/release/extensions/policy-manager/policies/call-on-integration/AdapterBlacklist.sol2.5 KB
- contracts/release/extensions/policy-manager/policies/call-on-integration/AdapterWhitelist.sol2.5 KB
- contracts/release/extensions/policy-manager/policies/call-on-integration/AssetBlacklist.sol3.62 KB
- contracts/release/extensions/policy-manager/policies/call-on-integration/AssetWhitelist.sol3.66 KB
- contracts/release/extensions/policy-manager/policies/call-on-integration/GuaranteedRedemption.sol10.31 KB
- contracts/release/extensions/policy-manager/policies/call-on-integration/MaxConcentration.sol7 KB
- contracts/release/extensions/policy-manager/policies/call-on-integration/utils/PostCallOnIntegrationValidatePolicyBase.sol1.67 KB
- contracts/release/extensions/policy-manager/policies/call-on-integration/utils/PreCallOnIntegrationValidatePolicyBase.sol1.34 KB
- contracts/release/extensions/policy-manager/policies/utils/AddressListPolicyMixin.sol2.99 KB
- contracts/release/extensions/policy-manager/policies/utils/PolicyBase.sol1.68 KB
- contracts/release/extensions/utils/ExtensionBase.sol3.17 KB
- contracts/release/extensions/utils/FundDeployerOwnerMixin.sol1.49 KB
- contracts/release/extensions/utils/PermissionedVaultActionMixin.sol4.42 KB
- contracts/release/infrastructure/price-feeds/derivatives/AggregatedDerivativePriceFeed.sol6.82 KB
- contracts/release/infrastructure/price-feeds/derivatives/IAggregatedDerivativePriceFeed.sol563 B
- contracts/release/infrastructure/price-feeds/derivatives/IDerivativePriceFeed.sol683 B
- contracts/release/infrastructure/price-feeds/derivatives/feeds/ChaiPriceFeed.sol2.96 KB
- contracts/release/infrastructure/price-feeds/derivatives/feeds/CompoundPriceFeed.sol4 KB
- contracts/release/infrastructure/price-feeds/derivatives/feeds/SynthetixPriceFeed.sol6.81 KB
- contracts/release/infrastructure/price-feeds/derivatives/feeds/UniswapV2PoolPriceFeed.sol10.62 KB
- contracts/release/infrastructure/price-feeds/derivatives/feeds/WdgldPriceFeed.sol4.72 KB
- contracts/release/infrastructure/price-feeds/primitives/ChainlinkPriceFeed.sol19.13 KB
- contracts/release/infrastructure/price-feeds/primitives/IPrimitivePriceFeed.sol778 B
- contracts/release/infrastructure/price-feeds/utils/UniswapV2PoolTokenValueCalculator.sol7.22 KB
- contracts/release/infrastructure/utils/DispatcherOwnerMixin.sol1.45 KB
- contracts/release/infrastructure/value-interpreter/IValueInterpreter.sol1.01 KB
- contracts/release/infrastructure/value-interpreter/ValueInterpreter.sol8.41 KB
- contracts/release/interfaces/ICERC20.sol822 B
- contracts/release/interfaces/ICEther.sol490 B
- contracts/release/interfaces/IChai.sol614 B
- contracts/release/interfaces/IChainlinkAggregator.sol535 B
- contracts/release/interfaces/IKyberNetworkProxy.sol681 B
- contracts/release/interfaces/IMakerDaoPot.sol666 B
- contracts/release/interfaces/IParaSwapAugustusSwapper.sol929 B
- contracts/release/interfaces/ISynthetix.sol568 B
- contracts/release/interfaces/ISynthetixAddressResolver.sol513 B
- contracts/release/interfaces/ISynthetixExchangeRates.sol492 B
- contracts/release/interfaces/ISynthetixExchanger.sol768 B
- contracts/release/interfaces/ISynthetixProxyERC20.sol465 B
- contracts/release/interfaces/ISynthetixSynth.sol460 B
- contracts/release/interfaces/IUniswapV2Factory.sol621 B
- contracts/release/interfaces/IUniswapV2Pair.sol860 B
- contracts/release/interfaces/IUniswapV2Router2.sol1.12 KB
- contracts/release/interfaces/IWETH.sol462 B
- contracts/release/interfaces/IZeroExV2.sol1.87 KB
- contracts/release/peripheral/FundActionsWrapper.sol4.58 KB
- contracts/release/peripheral/shares-requestors/AuthUserExecutedSharesRequestorFactory.sol4.59 KB
- contracts/release/peripheral/shares-requestors/AuthUserExecutedSharesRequestorLib.sol12.05 KB
- contracts/release/peripheral/shares-requestors/AuthUserExecutedSharesRequestorProxy.sol551 B
- contracts/release/peripheral/shares-requestors/IAuthUserExecutedSharesRequestor.sol471 B
- contracts/release/utils/AddressArrayLib.sol2.61 KB
- contracts/release/utils/AssetFinalityResolver.sol2.66 KB
- contracts/release/utils/MakerDaoMath.sol2.32 KB
- contracts/release/utils/MathHelpers.sol1.4 KB
- contracts/release/utils/Proxy.sol1.94 KB
contracts/release/extensions/policy-manager/PolicyManager.sol
// SPDX-License-Identifier: GPL-3.0
/*
This file is part of the Enzyme Protocol.
(c) Enzyme Council <[email protected]>
For the full license information, please view the LICENSE
file that was distributed with this source code.
*/
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/utils/EnumerableSet.sol";
import "../../core/fund/vault/IVault.sol";
import "../utils/ExtensionBase.sol";
import "../utils/FundDeployerOwnerMixin.sol";
import "./IPolicy.sol";
import "./IPolicyManager.sol";
/// @title PolicyManager Contract
/// @author Enzyme Council <[email protected]>
/// @notice Manages policies for funds
contract PolicyManager is IPolicyManager, ExtensionBase, FundDeployerOwnerMixin {
using EnumerableSet for EnumerableSet.AddressSet;
event PolicyDeregistered(address indexed policy, string indexed identifier);
event PolicyDisabledForFund(address indexed comptrollerProxy, address indexed policy);
event PolicyEnabledForFund(
address indexed comptrollerProxy,
address indexed policy,
bytes settingsData
);
event PolicyRegistered(
address indexed policy,
string indexed identifier,
PolicyHook[] implementedHooks
);
EnumerableSet.AddressSet private registeredPolicies;
mapping(address => mapping(PolicyHook => bool)) private policyToHookToIsImplemented;
mapping(address => EnumerableSet.AddressSet) private comptrollerProxyToPolicies;
modifier onlyBuySharesHooks(address _policy) {
require(
!policyImplementsHook(_policy, PolicyHook.PreCallOnIntegration) &&
!policyImplementsHook(_policy, PolicyHook.PostCallOnIntegration),
"onlyBuySharesHooks: Disallowed hook"
);
_;
}
modifier onlyEnabledPolicyForFund(address _comptrollerProxy, address _policy) {
require(
policyIsEnabledForFund(_comptrollerProxy, _policy),
"onlyEnabledPolicyForFund: Policy not enabled"
);
_;
}
constructor(address _fundDeployer) public FundDeployerOwnerMixin(_fundDeployer) {}
// EXTERNAL FUNCTIONS
/// @notice Validates and initializes policies as necessary prior to fund activation
/// @param _isMigratedFund True if the fund is migrating to this release
/// @dev Caller is expected to be a valid ComptrollerProxy, but there isn't a need to validate.
function activateForFund(bool _isMigratedFund) external override {
address vaultProxy = __setValidatedVaultProxy(msg.sender);
// Policies must assert that they are congruent with migrated vault state
if (_isMigratedFund) {
address[] memory enabledPolicies = getEnabledPoliciesForFund(msg.sender);
for (uint256 i; i < enabledPolicies.length; i++) {
__activatePolicyForFund(msg.sender, vaultProxy, enabledPolicies[i]);
}
}
}
/// @notice Deactivates policies for a fund by destroying storage
function deactivateForFund() external override {
delete comptrollerProxyToVaultProxy[msg.sender];
for (uint256 i = comptrollerProxyToPolicies[msg.sender].length(); i > 0; i--) {
comptrollerProxyToPolicies[msg.sender].remove(
comptrollerProxyToPolicies[msg.sender].at(i - 1)
);
}
}
/// @notice Disables a policy for a fund
/// @param _comptrollerProxy The ComptrollerProxy of the fund
/// @param _policy The policy address to disable
function disablePolicyForFund(address _comptrollerProxy, address _policy)
external
onlyBuySharesHooks(_policy)
onlyEnabledPolicyForFund(_comptrollerProxy, _policy)
{
__validateIsFundOwner(getVaultProxyForFund(_comptrollerProxy), msg.sender);
comptrollerProxyToPolicies[_comptrollerProxy].remove(_policy);
emit PolicyDisabledForFund(_comptrollerProxy, _policy);
}
/// @notice Enables a policy for a fund
/// @param _comptrollerProxy The ComptrollerProxy of the fund
/// @param _policy The policy address to enable
/// @param _settingsData The encoded settings data with which to configure the policy
/// @dev Disabling a policy does not delete fund config on the policy, so if a policy is
/// disabled and then enabled again, its initial state will be the previous config. It is the
/// policy's job to determine how to merge that config with the _settingsData param in this function.
function enablePolicyForFund(
address _comptrollerProxy,
address _policy,
bytes calldata _settingsData
) external onlyBuySharesHooks(_policy) {
address vaultProxy = getVaultProxyForFund(_comptrollerProxy);
__validateIsFundOwner(vaultProxy, msg.sender);
__enablePolicyForFund(_comptrollerProxy, _policy, _settingsData);
__activatePolicyForFund(_comptrollerProxy, vaultProxy, _policy);
}
/// @notice Enable policies for use in a fund
/// @param _configData Encoded config data
/// @dev Only called during init() on ComptrollerProxy deployment
function setConfigForFund(bytes calldata _configData) external override {
(address[] memory policies, bytes[] memory settingsData) = abi.decode(
_configData,
(address[], bytes[])
);
// Sanity check
require(
policies.length == settingsData.length,
"setConfigForFund: policies and settingsData array lengths unequal"
);
// Enable each policy with settings
for (uint256 i; i < policies.length; i++) {
__enablePolicyForFund(msg.sender, policies[i], settingsData[i]);
}
}
/// @notice Updates policy settings for a fund
/// @param _comptrollerProxy The ComptrollerProxy of the fund
/// @param _policy The Policy contract to update
/// @param _settingsData The encoded settings data with which to update the policy config
function updatePolicySettingsForFund(
address _comptrollerProxy,
address _policy,
bytes calldata _settingsData
) external onlyBuySharesHooks(_policy) onlyEnabledPolicyForFund(_comptrollerProxy, _policy) {
address vaultProxy = getVaultProxyForFund(_comptrollerProxy);
__validateIsFundOwner(vaultProxy, msg.sender);
IPolicy(_policy).updateFundSettings(_comptrollerProxy, vaultProxy, _settingsData);
}
/// @notice Validates all policies that apply to a given hook for a fund
/// @param _comptrollerProxy The ComptrollerProxy of the fund
/// @param _hook The PolicyHook for which to validate policies
/// @param _validationData The encoded data with which to validate the filtered policies
function validatePolicies(
address _comptrollerProxy,
PolicyHook _hook,
bytes calldata _validationData
) external override {
address vaultProxy = getVaultProxyForFund(_comptrollerProxy);
address[] memory policies = getEnabledPoliciesForFund(_comptrollerProxy);
for (uint256 i; i < policies.length; i++) {
if (!policyImplementsHook(policies[i], _hook)) {
continue;
}
require(
IPolicy(policies[i]).validateRule(
_comptrollerProxy,
vaultProxy,
_hook,
_validationData
),
string(
abi.encodePacked(
"Rule evaluated to false: ",
IPolicy(policies[i]).identifier()
)
)
);
}
}
// PRIVATE FUNCTIONS
/// @dev Helper to activate a policy for a fund
function __activatePolicyForFund(
address _comptrollerProxy,
address _vaultProxy,
address _policy
) private {
IPolicy(_policy).activateForFund(_comptrollerProxy, _vaultProxy);
}
/// @dev Helper to set config and enable policies for a fund
function __enablePolicyForFund(
address _comptrollerProxy,
address _policy,
bytes memory _settingsData
) private {
require(
!policyIsEnabledForFund(_comptrollerProxy, _policy),
"__enablePolicyForFund: policy already enabled"
);
require(policyIsRegistered(_policy), "__enablePolicyForFund: Policy is not registered");
// Set fund config on policy
if (_settingsData.length > 0) {
IPolicy(_policy).addFundSettings(_comptrollerProxy, _settingsData);
}
// Add policy
comptrollerProxyToPolicies[_comptrollerProxy].add(_policy);
emit PolicyEnabledForFund(_comptrollerProxy, _policy, _settingsData);
}
/// @dev Helper to validate fund owner.
/// Preferred to a modifier because allows gas savings if re-using _vaultProxy.
function __validateIsFundOwner(address _vaultProxy, address _who) private view {
require(
_who == IVault(_vaultProxy).getOwner(),
"Only the fund owner can call this function"
);
}
///////////////////////
// POLICIES REGISTRY //
///////////////////////
/// @notice Remove policies from the list of registered policies
/// @param _policies Addresses of policies to be registered
function deregisterPolicies(address[] calldata _policies) external onlyFundDeployerOwner {
require(_policies.length > 0, "deregisterPolicies: _policies cannot be empty");
for (uint256 i; i < _policies.length; i++) {
require(
policyIsRegistered(_policies[i]),
"deregisterPolicies: policy is not registered"
);
registeredPolicies.remove(_policies[i]);
emit PolicyDeregistered(_policies[i], IPolicy(_policies[i]).identifier());
}
}
/// @notice Add policies to the list of registered policies
/// @param _policies Addresses of policies to be registered
function registerPolicies(address[] calldata _policies) external onlyFundDeployerOwner {
require(_policies.length > 0, "registerPolicies: _policies cannot be empty");
for (uint256 i; i < _policies.length; i++) {
require(
!policyIsRegistered(_policies[i]),
"registerPolicies: policy already registered"
);
registeredPolicies.add(_policies[i]);
// Store the hooks that a policy implements for later use.
// Fronts the gas for calls to check if a hook is implemented, and guarantees
// that the implementsHooks return value does not change post-registration.
IPolicy policyContract = IPolicy(_policies[i]);
PolicyHook[] memory implementedHooks = policyContract.implementedHooks();
for (uint256 j; j < implementedHooks.length; j++) {
policyToHookToIsImplemented[_policies[i]][implementedHooks[j]] = true;
}
emit PolicyRegistered(_policies[i], policyContract.identifier(), implementedHooks);
}
}
///////////////////
// STATE GETTERS //
///////////////////
/// @notice Get all registered policies
/// @return registeredPoliciesArray_ A list of all registered policy addresses
function getRegisteredPolicies()
external
view
returns (address[] memory registeredPoliciesArray_)
{
registeredPoliciesArray_ = new address[](registeredPolicies.length());
for (uint256 i; i < registeredPoliciesArray_.length; i++) {
registeredPoliciesArray_[i] = registeredPolicies.at(i);
}
}
/// @notice Get a list of enabled policies for a given fund
/// @param _comptrollerProxy The ComptrollerProxy of the fund
/// @return enabledPolicies_ An array of enabled policy addresses
function getEnabledPoliciesForFund(address _comptrollerProxy)
public
view
returns (address[] memory enabledPolicies_)
{
enabledPolicies_ = new address[](comptrollerProxyToPolicies[_comptrollerProxy].length());
for (uint256 i; i < enabledPolicies_.length; i++) {
enabledPolicies_[i] = comptrollerProxyToPolicies[_comptrollerProxy].at(i);
}
}
/// @notice Checks if a policy implements a particular hook
/// @param _policy The address of the policy to check
/// @param _hook The PolicyHook to check
/// @return implementsHook_ True if the policy implements the hook
function policyImplementsHook(address _policy, PolicyHook _hook)
public
view
returns (bool implementsHook_)
{
return policyToHookToIsImplemented[_policy][_hook];
}
/// @notice Check if a policy is enabled for the fund
/// @param _comptrollerProxy The ComptrollerProxy of the fund to check
/// @param _policy The address of the policy to check
/// @return isEnabled_ True if the policy is enabled for the fund
function policyIsEnabledForFund(address _comptrollerProxy, address _policy)
public
view
returns (bool isEnabled_)
{
return comptrollerProxyToPolicies[_comptrollerProxy].contains(_policy);
}
/// @notice Check whether a policy is registered
/// @param _policy The address of the policy to check
/// @return isRegistered_ True if the policy is registered
function policyIsRegistered(address _policy) public view returns (bool isRegistered_) {
return registeredPolicies.contains(_policy);
}
}
Compiler settingsShow
{
"metadata": {
"bytecodeHash": "ipfs",
"useLiteralContent": true
},
"libraries": {},
"optimizer": {
"runs": 200,
"details": {
"cse": true,
"yul": false,
"peephole": true,
"deduplicate": true,
"orderLiterals": true,
"jumpdestRemover": true,
"constantOptimizer": true
}
},
"evmVersion": "istanbul",
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.