@etherisc/gif-next 3.0.0-b45deea-213 → 3.0.0-bc9951f-650
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -0
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +1 -1
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +2 -2
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +2 -2
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +44 -56
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +145 -100
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +2 -2
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +2 -2
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +2 -2
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +2 -2
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +2 -2
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +2 -2
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +2 -2
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +2 -2
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2 -2
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +2 -2
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
- package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.dbg.json +1 -1
- package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.json +248 -84
- package/artifacts/contracts/examples/flight/FlightMessageVerifier.sol/FlightMessageVerifier.dbg.json +1 -1
- package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.dbg.json +1 -1
- package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.json +135 -28
- package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.json +82 -35
- package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.dbg.json +1 -1
- package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.json +2 -2
- package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.json +2 -2
- package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.dbg.json +1 -1
- package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.json +301 -650
- package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.json +83 -36
- package/artifacts/contracts/examples/flight/FlightProductManager.sol/FlightProductManager.dbg.json +4 -0
- package/artifacts/contracts/examples/flight/FlightProductManager.sol/FlightProductManager.json +711 -0
- package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.dbg.json +1 -1
- package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +2 -2
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +2 -2
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +2 -2
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +2 -2
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +2 -2
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2 -2
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +2 -2
- package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
- package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +2 -2
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +102 -114
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +2 -2
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +93 -34
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +2 -2
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +2 -2
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2 -2
- package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +1 -1
- package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +2 -2
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +1 -1
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +2 -2
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +2 -2
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +2 -2
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +2 -2
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +2 -2
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +2 -2
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +2 -2
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +2 -2
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +2 -2
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +2 -2
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +2 -2
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +2 -2
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +2 -2
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +2 -2
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +2 -2
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +2 -2
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +2 -2
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +2 -2
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +20 -12
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +2 -2
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +2 -2
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +2 -2
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +2 -2
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +2 -2
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +2 -2
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +101 -113
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +2 -2
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +2 -2
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +2 -2
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +110 -122
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +56 -62
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +2 -2
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +2 -2
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +2 -2
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +1 -1
- package/artifacts/contracts/shared/IAuthorizedComponent.sol/IAuthorizedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IAuthorizedComponent.sol/IAuthorizedComponent.json +633 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +2 -2
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +2 -2
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +2 -2
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +2 -2
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +2 -2
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +2 -2
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2 -2
- package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +2 -2
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +2 -2
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RequestIdSet.sol/LibRequestIdSet.dbg.json +1 -1
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
- package/contracts/authorization/AccessAdmin.sol +25 -23
- package/contracts/authorization/AccessAdminLib.sol +20 -3
- package/contracts/examples/flight/FlightLib.sol +90 -75
- package/contracts/examples/flight/FlightOracle.sol +32 -2
- package/contracts/examples/flight/FlightOracleAuthorization.sol +24 -5
- package/contracts/examples/flight/FlightProduct.sol +225 -217
- package/contracts/examples/flight/FlightProductAuthorization.sol +35 -10
- package/contracts/examples/flight/FlightProductManager.sol +49 -0
- package/contracts/instance/InstanceAdmin.sol +0 -1
- package/contracts/instance/InstanceReader.sol +16 -4
- package/contracts/oracle/BasicOracle.sol +1 -0
- package/contracts/oracle/Oracle.sol +2 -2
- package/contracts/product/PolicyServiceLib.sol +5 -3
- package/contracts/registry/RegistryAdmin.sol +7 -1
- package/contracts/registry/ReleaseAdmin.sol +8 -1
- package/contracts/shared/IAuthorizedComponent.sol +15 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +2 -5
- package/contracts/shared/InstanceLinkedComponent.sol +2 -1
- package/package.json +1 -1
@@ -232,8 +232,8 @@
|
|
232
232
|
"type": "function"
|
233
233
|
}
|
234
234
|
],
|
235
|
-
"bytecode": "0x608060405234801561000f575f80fd5b5060405161109a38038061109a83398101604081905261002e9161036f565b336100388161015a565b506100a1826001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610078573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061009c91906103a7565b6101ad565b600180546001600160a01b038481166001600160a01b03199283161783556002805491851691909216179055604051631488c84560e01b815260048101919091525f19602482015261015390600a9073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af415801561012a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061014e91906103a7565b61022a565b50506103ed565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b5f5433906001600160a01b031681146101e85760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f0361021d576040516361798f2f60e11b81526001600160a01b03831660048201526024016101df565b6102268261015a565b5050565b600380546002805461ffff60a01b1916600160a01b61ffff87168102919091179091556001600160a01b031982166001600160a01b0385161790925560408051639fa6a6e360e01b815290519290910464ffffffffff169173__$f55ca14f1ddce1b88fe30d23ae45f595f4$__91639fa6a6e39160048083019260209291908290030181865af41580156102c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102e491906103c9565b6003805464ffffffffff60a01b1916600160a01b64ffffffffff938416021790556040805161ffff861681526001600160a01b0385166020820152918316908201527f2a0eb9f19ed48e9bf39d5ecf984fe1328eb541f176779a22a90373d8237f295d9060600160405180910390a1505050565b6001600160a01b038116811461036c575f80fd5b50565b5f8060408385031215610380575f80fd5b825161038b81610358565b602084015190925061039c81610358565b809150509250929050565b5f602082840312156103b7575f80fd5b81516103c281610358565b9392505050565b5f602082840312156103d9575f80fd5b815164ffffffffff811681146103c2575f80fd5b610ca0806103fa5f395ff3fe608060405234801561000f575f80fd5b5060043610610060575f3560e01c806376ba15b6146100645780637a9e5e4b146100795780638129fc1c1461008c5780638755a73f146100945780638fb36037146100bc578063bf7e214f146100dd575b5f80fd5b610077610072366004610a1f565b6100f7565b005b610077610087366004610a54565b610110565b610077610189565b6100a76100a2366004610a83565b61028d565b60405190151581526020015b60405180910390f35b6100c46104c0565b6040516001600160e01b031990911681526020016100b3565b5f546040516001600160a01b0390911681526020016100b3565b610102335f366104e2565b61010c82826105d1565b5050565b5f5433906001600160a01b0316811461014b5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610180576040516361798f2f60e11b81526001600160a01b0383166004820152602401610142565b61010c826106ff565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f811580156101ce5750825b90505f8267ffffffffffffffff1660011480156101ea5750303b155b9050811580156101f8575080155b156102165760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561024057845460ff60401b1916600160401b1785555b831561028657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b6002545f9061ffff600160a01b909104811690851610156102af57505f6104b7565b5f73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156102f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031b9190610aee565b90506103278482610752565b801561033857506103388382610752565b15610346575f9150506104b7565b6103508482610752565b8061036057506103608382610752565b1561036f5760019150506104b7565b6040516355205f0f60e01b81526001600160601b03851660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906355205f0f90602401602060405180830381865af41580156103c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103eb9190610b09565b6040516355205f0f60e01b81526001600160601b03861660048201529091505f9073__$3bac17678db7ae928afa209f2f44deec9c$__906355205f0f90602401602060405180830381865af4158015610446573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061046a9190610b09565b90505f6001600160a01b0380831690841611156104925761048b83836107dd565b905061049f565b61049c82846107dd565b90505b6003546001600160a01b039081169116101593505050505b95945050505050565b5f8054600160a01b900460ff166104d657505f90565b50638fb3603760e01b90565b5f806105156104f85f546001600160a01b031690565b863061050760045f898b610b24565b61051091610b4b565b61082b565b91509150816102865763ffffffff8116156105ae575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee9061056f90889088908890600401610b83565b5f604051808303815f87803b158015610586575f80fd5b505af1158015610598573d5f803e3d5ffd5b50505f805460ff60a01b19169055506102869050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610142565b600380546002805461ffff60a01b1916600160a01b61ffff87168102919091179091556001600160a01b031982166001600160a01b0385161790925560408051639fa6a6e360e01b815290519290910464ffffffffff169173__$f55ca14f1ddce1b88fe30d23ae45f595f4$__91639fa6a6e39160048083019260209291908290030181865af4158015610667573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061068b9190610bc2565b6003805464ffffffffff60a01b1916600160a01b64ffffffffff938416021790556040805161ffff861681526001600160a01b0385166020820152918316908201527f2a0eb9f19ed48e9bf39d5ecf984fe1328eb541f176779a22a90373d8237f295d9060600160405180910390a1505050565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$
|
236
|
-
"deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610060575f3560e01c806376ba15b6146100645780637a9e5e4b146100795780638129fc1c1461008c5780638755a73f146100945780638fb36037146100bc578063bf7e214f146100dd575b5f80fd5b610077610072366004610a1f565b6100f7565b005b610077610087366004610a54565b610110565b610077610189565b6100a76100a2366004610a83565b61028d565b60405190151581526020015b60405180910390f35b6100c46104c0565b6040516001600160e01b031990911681526020016100b3565b5f546040516001600160a01b0390911681526020016100b3565b610102335f366104e2565b61010c82826105d1565b5050565b5f5433906001600160a01b0316811461014b5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610180576040516361798f2f60e11b81526001600160a01b0383166004820152602401610142565b61010c826106ff565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f811580156101ce5750825b90505f8267ffffffffffffffff1660011480156101ea5750303b155b9050811580156101f8575080155b156102165760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561024057845460ff60401b1916600160401b1785555b831561028657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b6002545f9061ffff600160a01b909104811690851610156102af57505f6104b7565b5f73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156102f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031b9190610aee565b90506103278482610752565b801561033857506103388382610752565b15610346575f9150506104b7565b6103508482610752565b8061036057506103608382610752565b1561036f5760019150506104b7565b6040516355205f0f60e01b81526001600160601b03851660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906355205f0f90602401602060405180830381865af41580156103c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103eb9190610b09565b6040516355205f0f60e01b81526001600160601b03861660048201529091505f9073__$3bac17678db7ae928afa209f2f44deec9c$__906355205f0f90602401602060405180830381865af4158015610446573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061046a9190610b09565b90505f6001600160a01b0380831690841611156104925761048b83836107dd565b905061049f565b61049c82846107dd565b90505b6003546001600160a01b039081169116101593505050505b95945050505050565b5f8054600160a01b900460ff166104d657505f90565b50638fb3603760e01b90565b5f806105156104f85f546001600160a01b031690565b863061050760045f898b610b24565b61051091610b4b565b61082b565b91509150816102865763ffffffff8116156105ae575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee9061056f90889088908890600401610b83565b5f604051808303815f87803b158015610586575f80fd5b505af1158015610598573d5f803e3d5ffd5b50505f805460ff60a01b19169055506102869050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610142565b600380546002805461ffff60a01b1916600160a01b61ffff87168102919091179091556001600160a01b031982166001600160a01b0385161790925560408051639fa6a6e360e01b815290519290910464ffffffffff169173__$f55ca14f1ddce1b88fe30d23ae45f595f4$__91639fa6a6e39160048083019260209291908290030181865af4158015610667573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061068b9190610bc2565b6003805464ffffffffff60a01b1916600160a01b64ffffffffff938416021790556040805161ffff861681526001600160a01b0385166020820152918316908201527f2a0eb9f19ed48e9bf39d5ecf984fe1328eb541f176779a22a90373d8237f295d9060600160405180910390a1505050565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$
|
235
|
+
"bytecode": "0x608060405234801561000f575f80fd5b5060405161109a38038061109a83398101604081905261002e9161036f565b336100388161015a565b506100a1826001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610078573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061009c91906103a7565b6101ad565b600180546001600160a01b038481166001600160a01b03199283161783556002805491851691909216179055604051631488c84560e01b815260048101919091525f19602482015261015390600a9073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af415801561012a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061014e91906103a7565b61022a565b50506103ed565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b5f5433906001600160a01b031681146101e85760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f0361021d576040516361798f2f60e11b81526001600160a01b03831660048201526024016101df565b6102268261015a565b5050565b600380546002805461ffff60a01b1916600160a01b61ffff87168102919091179091556001600160a01b031982166001600160a01b0385161790925560408051639fa6a6e360e01b815290519290910464ffffffffff169173__$f55ca14f1ddce1b88fe30d23ae45f595f4$__91639fa6a6e39160048083019260209291908290030181865af41580156102c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102e491906103c9565b6003805464ffffffffff60a01b1916600160a01b64ffffffffff938416021790556040805161ffff861681526001600160a01b0385166020820152918316908201527f2a0eb9f19ed48e9bf39d5ecf984fe1328eb541f176779a22a90373d8237f295d9060600160405180910390a1505050565b6001600160a01b038116811461036c575f80fd5b50565b5f8060408385031215610380575f80fd5b825161038b81610358565b602084015190925061039c81610358565b809150509250929050565b5f602082840312156103b7575f80fd5b81516103c281610358565b9392505050565b5f602082840312156103d9575f80fd5b815164ffffffffff811681146103c2575f80fd5b610ca0806103fa5f395ff3fe608060405234801561000f575f80fd5b5060043610610060575f3560e01c806376ba15b6146100645780637a9e5e4b146100795780638129fc1c1461008c5780638755a73f146100945780638fb36037146100bc578063bf7e214f146100dd575b5f80fd5b610077610072366004610a1f565b6100f7565b005b610077610087366004610a54565b610110565b610077610189565b6100a76100a2366004610a83565b61028d565b60405190151581526020015b60405180910390f35b6100c46104c0565b6040516001600160e01b031990911681526020016100b3565b5f546040516001600160a01b0390911681526020016100b3565b610102335f366104e2565b61010c82826105d1565b5050565b5f5433906001600160a01b0316811461014b5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610180576040516361798f2f60e11b81526001600160a01b0383166004820152602401610142565b61010c826106ff565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f811580156101ce5750825b90505f8267ffffffffffffffff1660011480156101ea5750303b155b9050811580156101f8575080155b156102165760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561024057845460ff60401b1916600160401b1785555b831561028657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b6002545f9061ffff600160a01b909104811690851610156102af57505f6104b7565b5f73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156102f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031b9190610aee565b90506103278482610752565b801561033857506103388382610752565b15610346575f9150506104b7565b6103508482610752565b8061036057506103608382610752565b1561036f5760019150506104b7565b6040516355205f0f60e01b81526001600160601b03851660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906355205f0f90602401602060405180830381865af41580156103c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103eb9190610b09565b6040516355205f0f60e01b81526001600160601b03861660048201529091505f9073__$3bac17678db7ae928afa209f2f44deec9c$__906355205f0f90602401602060405180830381865af4158015610446573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061046a9190610b09565b90505f6001600160a01b0380831690841611156104925761048b83836107dd565b905061049f565b61049c82846107dd565b90505b6003546001600160a01b039081169116101593505050505b95945050505050565b5f8054600160a01b900460ff166104d657505f90565b50638fb3603760e01b90565b5f806105156104f85f546001600160a01b031690565b863061050760045f898b610b24565b61051091610b4b565b61082b565b91509150816102865763ffffffff8116156105ae575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee9061056f90889088908890600401610b83565b5f604051808303815f87803b158015610586575f80fd5b505af1158015610598573d5f803e3d5ffd5b50505f805460ff60a01b19169055506102869050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610142565b600380546002805461ffff60a01b1916600160a01b61ffff87168102919091179091556001600160a01b031982166001600160a01b0385161790925560408051639fa6a6e360e01b815290519290910464ffffffffff169173__$f55ca14f1ddce1b88fe30d23ae45f595f4$__91639fa6a6e39160048083019260209291908290030181865af4158015610667573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061068b9190610bc2565b6003805464ffffffffff60a01b1916600160a01b64ffffffffff938416021790556040805161ffff861681526001600160a01b0385166020820152918316908201527f2a0eb9f19ed48e9bf39d5ecf984fe1328eb541f176779a22a90373d8237f295d9060600160405180910390a1505050565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af41580156107b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d69190610bf5565b9392505050565b5f816001600160a01b03165f0361080757604051630f6c8fc360e21b815260040160405180910390fd5b6107d6836001600160a01b031666038d7ea4c68000846001600160a01b0316610933565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516108999190610c0e565b5f60405180830381855afa9150503d805f81146108d1576040519150601f19603f3d011682016040523d82523d5f602084013e6108d6565b606091505b5091509150811561092857604081511061090857808060200190518101906108fe9190610c24565b9094509250610928565b602081511061092857808060200190518101906109259190610bf5565b93505b505094509492505050565b5f838302815f1985870982811083820303915050805f036109675783828161095d5761095d610c56565b04925050506107d6565b8084116109875760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b803561ffff81168114610a03575f80fd5b919050565b6001600160a01b0381168114610a1c575f80fd5b50565b5f8060408385031215610a30575f80fd5b610a39836109f2565b91506020830135610a4981610a08565b809150509250929050565b5f60208284031215610a64575f80fd5b81356107d681610a08565b6001600160601b0381168114610a1c575f80fd5b5f805f805f60a08688031215610a97575f80fd5b8535610aa281610a6f565b94506020860135610ab281610a08565b9350610ac0604087016109f2565b92506060860135610ad081610a6f565b91506080860135610ae081610a6f565b809150509295509295909350565b5f60208284031215610afe575f80fd5b81516107d681610a6f565b5f60208284031215610b19575f80fd5b81516107d681610a08565b5f8085851115610b32575f80fd5b83861115610b3e575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015610b7c576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215610bd2575f80fd5b815164ffffffffff811681146107d6575f80fd5b80518015158114610a03575f80fd5b5f60208284031215610c05575f80fd5b6107d682610be6565b5f82518060208501845e5f920191825250919050565b5f8060408385031215610c35575f80fd5b610c3e83610be6565b9150602083015163ffffffff81168114610a49575f80fd5b634e487b7160e01b5f52601260045260245ffdfea2646970667358221220f6a416d80f07d86057955f54992c135eeca570821064de52af89d2b99826cb7b64736f6c634300081a0033",
|
236
|
+
"deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610060575f3560e01c806376ba15b6146100645780637a9e5e4b146100795780638129fc1c1461008c5780638755a73f146100945780638fb36037146100bc578063bf7e214f146100dd575b5f80fd5b610077610072366004610a1f565b6100f7565b005b610077610087366004610a54565b610110565b610077610189565b6100a76100a2366004610a83565b61028d565b60405190151581526020015b60405180910390f35b6100c46104c0565b6040516001600160e01b031990911681526020016100b3565b5f546040516001600160a01b0390911681526020016100b3565b610102335f366104e2565b61010c82826105d1565b5050565b5f5433906001600160a01b0316811461014b5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610180576040516361798f2f60e11b81526001600160a01b0383166004820152602401610142565b61010c826106ff565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f811580156101ce5750825b90505f8267ffffffffffffffff1660011480156101ea5750303b155b9050811580156101f8575080155b156102165760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561024057845460ff60401b1916600160401b1785555b831561028657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b6002545f9061ffff600160a01b909104811690851610156102af57505f6104b7565b5f73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156102f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031b9190610aee565b90506103278482610752565b801561033857506103388382610752565b15610346575f9150506104b7565b6103508482610752565b8061036057506103608382610752565b1561036f5760019150506104b7565b6040516355205f0f60e01b81526001600160601b03851660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906355205f0f90602401602060405180830381865af41580156103c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103eb9190610b09565b6040516355205f0f60e01b81526001600160601b03861660048201529091505f9073__$3bac17678db7ae928afa209f2f44deec9c$__906355205f0f90602401602060405180830381865af4158015610446573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061046a9190610b09565b90505f6001600160a01b0380831690841611156104925761048b83836107dd565b905061049f565b61049c82846107dd565b90505b6003546001600160a01b039081169116101593505050505b95945050505050565b5f8054600160a01b900460ff166104d657505f90565b50638fb3603760e01b90565b5f806105156104f85f546001600160a01b031690565b863061050760045f898b610b24565b61051091610b4b565b61082b565b91509150816102865763ffffffff8116156105ae575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee9061056f90889088908890600401610b83565b5f604051808303815f87803b158015610586575f80fd5b505af1158015610598573d5f803e3d5ffd5b50505f805460ff60a01b19169055506102869050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610142565b600380546002805461ffff60a01b1916600160a01b61ffff87168102919091179091556001600160a01b031982166001600160a01b0385161790925560408051639fa6a6e360e01b815290519290910464ffffffffff169173__$f55ca14f1ddce1b88fe30d23ae45f595f4$__91639fa6a6e39160048083019260209291908290030181865af4158015610667573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061068b9190610bc2565b6003805464ffffffffff60a01b1916600160a01b64ffffffffff938416021790556040805161ffff861681526001600160a01b0385166020820152918316908201527f2a0eb9f19ed48e9bf39d5ecf984fe1328eb541f176779a22a90373d8237f295d9060600160405180910390a1505050565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af41580156107b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d69190610bf5565b9392505050565b5f816001600160a01b03165f0361080757604051630f6c8fc360e21b815260040160405180910390fd5b6107d6836001600160a01b031666038d7ea4c68000846001600160a01b0316610933565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516108999190610c0e565b5f60405180830381855afa9150503d805f81146108d1576040519150601f19603f3d011682016040523d82523d5f602084013e6108d6565b606091505b5091509150811561092857604081511061090857808060200190518101906108fe9190610c24565b9094509250610928565b602081511061092857808060200190518101906109259190610bf5565b93505b505094509492505050565b5f838302815f1985870982811083820303915050805f036109675783828161095d5761095d610c56565b04925050506107d6565b8084116109875760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b803561ffff81168114610a03575f80fd5b919050565b6001600160a01b0381168114610a1c575f80fd5b50565b5f8060408385031215610a30575f80fd5b610a39836109f2565b91506020830135610a4981610a08565b809150509250929050565b5f60208284031215610a64575f80fd5b81356107d681610a08565b6001600160601b0381168114610a1c575f80fd5b5f805f805f60a08688031215610a97575f80fd5b8535610aa281610a6f565b94506020860135610ab281610a08565b9350610ac0604087016109f2565b92506060860135610ad081610a6f565b91506080860135610ae081610a6f565b809150509295509295909350565b5f60208284031215610afe575f80fd5b81516107d681610a6f565b5f60208284031215610b19575f80fd5b81516107d681610a08565b5f8085851115610b32575f80fd5b83861115610b3e575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015610b7c576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215610bd2575f80fd5b815164ffffffffff811681146107d6575f80fd5b80518015158114610a03575f80fd5b5f60208284031215610c05575f80fd5b6107d682610be6565b5f82518060208501845e5f920191825250919050565b5f8060408385031215610c35575f80fd5b610c3e83610be6565b9150602083015163ffffffff81168114610a49575f80fd5b634e487b7160e01b5f52601260045260245ffdfea2646970667358221220f6a416d80f07d86057955f54992c135eeca570821064de52af89d2b99826cb7b64736f6c634300081a0033",
|
237
237
|
"linkReferences": {
|
238
238
|
"contracts/type/Amount.sol": {
|
239
239
|
"AmountLib": [
|
@@ -534,8 +534,8 @@
|
|
534
534
|
"type": "function"
|
535
535
|
}
|
536
536
|
],
|
537
|
-
"bytecode": "0x611ac7610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100d6575f3560e01c806379d0499411610093578063c6edc3dd1161006e578063c6edc3dd146101e6578063e31a9b2b146101ee578063e3bedc7d14610201578063f87bf37314610209575f80fd5b806379d049941461019f5780638122426c146101b2578063bf381be6146101c5575f80fd5b80631fcac27a146100da5780633e7964a11461010a578063504a473d14610128578063647b8c2f14610149578063658501a61461015e5780636f678e291461017e575b5f80fd5b6100ed6100e83660046112ba565b610211565b6040516001600160601b0390911681526020015b60405180910390f35b6101126102a3565b60405164ffffffffff9091168152602001610101565b61013b6101363660046112f1565b610320565b604051908152602001610101565b61015c61015736600461132c565b6103bb565b005b6101666107d9565b6040516001600160a01b039091168152602001610101565b61019161018c3660046113aa565b610856565b6040516101019291906114ce565b61015c6101ad3660046114ec565b610a6f565b61015c6101c0366004611545565b610aef565b6101d86101d3366004611593565b610b68565b6040516101019291906115d0565b610112610d7f565b6101666101fc3660046115ec565b610dbb565b610112610f1d565b610166610f59565b604051636e5912e760e01b81526001600160601b03831660048201526001600160a01b03821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__90636e5912e790604401602060405180830381865af4158015610278573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061029c9190611629565b9392505050565b604051630319d08b60e21b8152630966018060048201525f9073__$71e292c09eace9601b3e21e68a1278917a$__90630c67422c906024015b602060405180830381865af41580156102f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031b919061164f565b905090565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015610391573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103b5919061166a565b92915050565b604051630a4d29dd60e31b81526001600160601b038516600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610411573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104359190611690565b156104535760405163019dbc4d60e31b815260040160405180910390fd5b60405163134fc55b60e11b81526001600160601b03851660048201526001600160a01b0386169063269f8ab690602401602060405180830381865afa15801561049e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104c29190611690565b156104f057604051638bf515e960e01b81526001600160601b03851660048201526024015b60405180910390fd5b604051637aad3e8f60e11b815260ff841660048201525f906001600160a01b0387169063f55a7d1e9060240161014060405180830381865afa158015610538573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061055c9190611739565b8051909150801561056e575080602001515b61059f57604051632778739960e11b81526001600160601b038616600482015260ff851660248201526044016104e7565b60405163f2c821f760e01b81526001600160601b03861660048201525f9073__$dacf551d137a232f87fa09e79113e25430$__9063f2c821f790602401602060405180830381865af41580156105f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061b9190611690565b9050816040015115801561062d575080155b1561065f57604051630a21f8d560e11b81526001600160601b038716600482015260ff861660248201526044016104e7565b80156107b95760405163e74d052f60e01b81526001600160601b03871660048201526001600160a01b0389169063e74d052f90602401602060405180830381865afa1580156106b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106d49190611690565b6106fc5760405163686c563560e11b81526001600160601b03871660048201526024016104e7565b6040516305247a1760e51b81526001600160601b03871660048201525f906001600160a01b038a169063a48f42e0906024015f60405180830381865afa158015610748573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261076f9190810190611899565b60400151905060ff808216908716146107b75760405163e3c5e85760e01b81526001600160601b038816600482015260ff8088166024830152821660448201526064016104e7565b505b6107c4868584610f9b565b6107cf868484611012565b5050505050505050565b604051631488c84560e01b81526021600482015260011960248201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c845906044015b602060405180830381865af4158015610832573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031b919061196b565b5f61085f611244565b5f856001600160a01b0316636291423a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561089c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c0919061196b565b60405163134fc55b60e11b81526001600160601b03871660048201529091506001600160a01b0382169063269f8ab690602401602060405180830381865afa15801561090e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109329190611690565b61095a5760405163686c563560e11b81526001600160601b03861660048201526024016104e7565b60405163153d412560e31b81526001600160601b03861660048201525f906001600160a01b0383169063a9ea09289060240161012060405180830381865afa1580156109a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109cc9190611986565b60c0015190506109de82878388610a6f565b60405163153d412560e31b81526001600160601b03871660048201526001600160a01b0383169063a9ea09289060240161012060405180830381865afa158015610a2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4e9190611986565b60e0810180516001600160a01b039097169052949794965093945050505050565b604051637aad3e8f60e11b815260ff831660048201525f906001600160a01b0386169063f55a7d1e9060240161014060405180830381865afa158015610ab7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610adb9190611739565b9050610ae8848383611012565b5050505050565b604051637aad3e8f60e11b815260ff831660048201525f906001600160a01b0386169063f55a7d1e9060240161014060405180830381865afa158015610b37573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b5b9190611739565b9050610ae8848383610f9b565b5f610b71611244565b5f856001600160a01b0316636291423a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bae573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd2919061196b565b60405163134fc55b60e11b81526001600160601b03871660048201529091506001600160a01b0382169063269f8ab690602401602060405180830381865afa158015610c20573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c449190611690565b610c6c5760405163686c563560e11b81526001600160601b03861660048201526024016104e7565b60405163153d412560e31b81526001600160601b03861660048201525f906001600160a01b0383169063a9ea09289060240161012060405180830381865afa158015610cba573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cde9190611986565b60c001519050610cf082878388610aef565b60405163153d412560e31b81526001600160601b03871660048201526001600160a01b0383169063a9ea09289060240161012060405180830381865afa158015610d3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d609190611986565b60a08101805164ffffffffff9097169052949794965093945050505050565b604051630319d08b60e21b815262f099c060048201525f9073__$71e292c09eace9601b3e21e68a1278917a$__90630c67422c906024016102dc565b5f8073__$bf7bc340cbb9229ef1de2c568356e67902$__631488c8456001866001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e399190611a3d565b886001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e999190611a3d565b610ea39190611a58565b6040516001600160e01b031960e085901b16815260048101929092525f0b6024820152604401602060405180830381865af4158015610ee4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f08919061196b565b9050610f148382611095565b95945050505050565b604051630319d08b60e21b81526201518060048201525f9073__$71e292c09eace9601b3e21e68a1278917a$__90630c67422c906024016102dc565b604051631488c84560e01b81526005600482015260011960248201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401610817565b610fa9828260a001516110ba565b80610fbd5750610fbd828260c0015161113d565b1561100d5760a081015160c0820151604051633a013bc560e21b81526001600160601b038616600482015264ffffffffff80861660248301529283166044820152911660648201526084016104e7565b505050565b60e08101516001600160a01b03908116908316108061104257506101008101516001600160a01b03908116908316115b1561100d5760e08101516101008201516040516338b6ab7560e11b81526001600160601b03861660048201526001600160a01b0380861660248301529283166044820152911660648201526084016104e7565b5f61029c836001600160a01b0316836001600160a01b031666038d7ea4c68000611185565b60405163add9ce9960e01b815264ffffffffff8084166004830152821660248201525f9073__$71e292c09eace9601b3e21e68a1278917a$__9063add9ce99906044015b602060405180830381865af4158015611119573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061029c9190611690565b6040516383ffcdef60e01b815264ffffffffff8084166004830152821660248201525f9073__$71e292c09eace9601b3e21e68a1278917a$__906383ffcdef906044016110fe565b5f838302815f1985870982811083820303915050805f036111b9578382816111af576111af611a7d565b049250505061029c565b8084116111d95760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b60408051610120810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e0810182905261010081019190915290565b6001600160601b03811681146112a3575f80fd5b50565b6001600160a01b03811681146112a3575f80fd5b5f80604083850312156112cb575f80fd5b82356112d68161128f565b915060208301356112e6816112a6565b809150509250929050565b5f60208284031215611301575f80fd5b813561029c8161128f565b60ff811681146112a3575f80fd5b64ffffffffff811681146112a3575f80fd5b5f805f805f8060c08789031215611341575f80fd5b863561134c816112a6565b9550602087013561135c816112a6565b9450604087013561136c8161128f565b9350606087013561137c8161130c565b9250608087013561138c8161131a565b915060a087013561139c816112a6565b809150509295509295509295565b5f805f606084860312156113bc575f80fd5b83356113c7816112a6565b925060208401356113d78161128f565b915060408401356113e7816112a6565b809150509250925092565b6001600160601b038151168252602081015161141960208401826001600160601b03169052565b506040810151611432604084018264ffffffffff169052565b50606081015161144d60608401826001600160601b03169052565b50608081015161146860808401826001600160601b03169052565b5060a081015161148160a084018264ffffffffff169052565b5060c081015161149660c084018260ff169052565b5060e08101516114b160e08401826001600160a01b03169052565b5061010081015161100d6101008401826001600160601b03169052565b6001600160a01b0383168152610140810161029c60208301846113f2565b5f805f80608085870312156114ff575f80fd5b843561150a816112a6565b9350602085013561151a8161128f565b9250604085013561152a8161130c565b9150606085013561153a816112a6565b939692955090935050565b5f805f8060808587031215611558575f80fd5b8435611563816112a6565b935060208501356115738161128f565b925060408501356115838161130c565b9150606085013561153a8161131a565b5f805f606084860312156115a5575f80fd5b83356115b0816112a6565b925060208401356115c08161128f565b915060408401356113e78161131a565b64ffffffffff83168152610140810161029c60208301846113f2565b5f805f606084860312156115fe575f80fd5b8335611609816112a6565b925060208401356113d7816112a6565b80516116248161128f565b919050565b5f60208284031215611639575f80fd5b815161029c8161128f565b80516116248161131a565b5f6020828403121561165f575f80fd5b815161029c8161131a565b5f6020828403121561167a575f80fd5b5051919050565b80518015158114611624575f80fd5b5f602082840312156116a0575f80fd5b61029c82611681565b634e487b7160e01b5f52604160045260245ffd5b604051610140810167ffffffffffffffff811182821017156116e1576116e16116a9565b60405290565b60405160e0810167ffffffffffffffff811182821017156116e1576116e16116a9565b604051610120810167ffffffffffffffff811182821017156116e1576116e16116a9565b8051611624816112a6565b5f61014082840312801561174b575f80fd5b506117546116bd565b61175d83611681565b815261176b60208401611681565b602082015261177c60408401611681565b604082015261178d60608401611619565b606082015261179e60808401611619565b60808201526117af60a08401611644565b60a08201526117c060c08401611644565b60c08201526117d160e0840161172e565b60e08201526117e3610100840161172e565b6101008201526117f66101208401611644565b6101208201529392505050565b80516116248161130c565b5f82601f83011261181d575f80fd5b815167ffffffffffffffff811115611837576118376116a9565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715611866576118666116a9565b60405281815283820160200185101561187d575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156118a9575f80fd5b815167ffffffffffffffff8111156118bf575f80fd5b820160e081850312156118d0575f80fd5b6118d86116e7565b6118e182611619565b81526118ef60208301611619565b602082015261190060408301611803565b604082015261191160608301611681565b60608201526119226080830161172e565b608082015261193360a0830161172e565b60a082015260c082015167ffffffffffffffff811115611951575f80fd5b61195d8682850161180e565b60c083015250949350505050565b5f6020828403121561197b575f80fd5b815161029c816112a6565b5f610120828403128015611998575f80fd5b506119a161170a565b6119aa83611619565b81526119b860208401611619565b60208201526119c960408401611644565b60408201526119da60608401611619565b60608201526119eb60808401611619565b60808201526119fc60a08401611644565b60a0820152611a0d60c08401611803565b60c0820152611a1e60e0840161172e565b60e0820152611a306101008401611619565b6101008201529392505050565b5f60208284031215611a4d575f80fd5b815161029c8161130c565b60ff82811682821603908111156103b557634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52601260045260245ffdfea2646970667358221220321c85424af2ef3f009e2a3a3fdf27fabf4174fe9cbcf55dbbd8c65ceeb8790f64736f6c634300081a0033",
|
538
|
-
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100d6575f3560e01c806379d0499411610093578063c6edc3dd1161006e578063c6edc3dd146101e6578063e31a9b2b146101ee578063e3bedc7d14610201578063f87bf37314610209575f80fd5b806379d049941461019f5780638122426c146101b2578063bf381be6146101c5575f80fd5b80631fcac27a146100da5780633e7964a11461010a578063504a473d14610128578063647b8c2f14610149578063658501a61461015e5780636f678e291461017e575b5f80fd5b6100ed6100e83660046112ba565b610211565b6040516001600160601b0390911681526020015b60405180910390f35b6101126102a3565b60405164ffffffffff9091168152602001610101565b61013b6101363660046112f1565b610320565b604051908152602001610101565b61015c61015736600461132c565b6103bb565b005b6101666107d9565b6040516001600160a01b039091168152602001610101565b61019161018c3660046113aa565b610856565b6040516101019291906114ce565b61015c6101ad3660046114ec565b610a6f565b61015c6101c0366004611545565b610aef565b6101d86101d3366004611593565b610b68565b6040516101019291906115d0565b610112610d7f565b6101666101fc3660046115ec565b610dbb565b610112610f1d565b610166610f59565b604051636e5912e760e01b81526001600160601b03831660048201526001600160a01b03821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__90636e5912e790604401602060405180830381865af4158015610278573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061029c9190611629565b9392505050565b604051630319d08b60e21b8152630966018060048201525f9073__$71e292c09eace9601b3e21e68a1278917a$__90630c67422c906024015b602060405180830381865af41580156102f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031b919061164f565b905090565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015610391573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103b5919061166a565b92915050565b604051630a4d29dd60e31b81526001600160601b038516600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610411573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104359190611690565b156104535760405163019dbc4d60e31b815260040160405180910390fd5b60405163134fc55b60e11b81526001600160601b03851660048201526001600160a01b0386169063269f8ab690602401602060405180830381865afa15801561049e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104c29190611690565b156104f057604051638bf515e960e01b81526001600160601b03851660048201526024015b60405180910390fd5b604051637aad3e8f60e11b815260ff841660048201525f906001600160a01b0387169063f55a7d1e9060240161014060405180830381865afa158015610538573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061055c9190611739565b8051909150801561056e575080602001515b61059f57604051632778739960e11b81526001600160601b038616600482015260ff851660248201526044016104e7565b60405163f2c821f760e01b81526001600160601b03861660048201525f9073__$dacf551d137a232f87fa09e79113e25430$__9063f2c821f790602401602060405180830381865af41580156105f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061b9190611690565b9050816040015115801561062d575080155b1561065f57604051630a21f8d560e11b81526001600160601b038716600482015260ff861660248201526044016104e7565b80156107b95760405163e74d052f60e01b81526001600160601b03871660048201526001600160a01b0389169063e74d052f90602401602060405180830381865afa1580156106b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106d49190611690565b6106fc5760405163686c563560e11b81526001600160601b03871660048201526024016104e7565b6040516305247a1760e51b81526001600160601b03871660048201525f906001600160a01b038a169063a48f42e0906024015f60405180830381865afa158015610748573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261076f9190810190611899565b60400151905060ff808216908716146107b75760405163e3c5e85760e01b81526001600160601b038816600482015260ff8088166024830152821660448201526064016104e7565b505b6107c4868584610f9b565b6107cf868484611012565b5050505050505050565b604051631488c84560e01b81526021600482015260011960248201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c845906044015b602060405180830381865af4158015610832573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031b919061196b565b5f61085f611244565b5f856001600160a01b0316636291423a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561089c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c0919061196b565b60405163134fc55b60e11b81526001600160601b03871660048201529091506001600160a01b0382169063269f8ab690602401602060405180830381865afa15801561090e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109329190611690565b61095a5760405163686c563560e11b81526001600160601b03861660048201526024016104e7565b60405163153d412560e31b81526001600160601b03861660048201525f906001600160a01b0383169063a9ea09289060240161012060405180830381865afa1580156109a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109cc9190611986565b60c0015190506109de82878388610a6f565b60405163153d412560e31b81526001600160601b03871660048201526001600160a01b0383169063a9ea09289060240161012060405180830381865afa158015610a2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4e9190611986565b60e0810180516001600160a01b039097169052949794965093945050505050565b604051637aad3e8f60e11b815260ff831660048201525f906001600160a01b0386169063f55a7d1e9060240161014060405180830381865afa158015610ab7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610adb9190611739565b9050610ae8848383611012565b5050505050565b604051637aad3e8f60e11b815260ff831660048201525f906001600160a01b0386169063f55a7d1e9060240161014060405180830381865afa158015610b37573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b5b9190611739565b9050610ae8848383610f9b565b5f610b71611244565b5f856001600160a01b0316636291423a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bae573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd2919061196b565b60405163134fc55b60e11b81526001600160601b03871660048201529091506001600160a01b0382169063269f8ab690602401602060405180830381865afa158015610c20573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c449190611690565b610c6c5760405163686c563560e11b81526001600160601b03861660048201526024016104e7565b60405163153d412560e31b81526001600160601b03861660048201525f906001600160a01b0383169063a9ea09289060240161012060405180830381865afa158015610cba573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cde9190611986565b60c001519050610cf082878388610aef565b60405163153d412560e31b81526001600160601b03871660048201526001600160a01b0383169063a9ea09289060240161012060405180830381865afa158015610d3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d609190611986565b60a08101805164ffffffffff9097169052949794965093945050505050565b604051630319d08b60e21b815262f099c060048201525f9073__$71e292c09eace9601b3e21e68a1278917a$__90630c67422c906024016102dc565b5f8073__$bf7bc340cbb9229ef1de2c568356e67902$__631488c8456001866001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e399190611a3d565b886001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e999190611a3d565b610ea39190611a58565b6040516001600160e01b031960e085901b16815260048101929092525f0b6024820152604401602060405180830381865af4158015610ee4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f08919061196b565b9050610f148382611095565b95945050505050565b604051630319d08b60e21b81526201518060048201525f9073__$71e292c09eace9601b3e21e68a1278917a$__90630c67422c906024016102dc565b604051631488c84560e01b81526005600482015260011960248201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401610817565b610fa9828260a001516110ba565b80610fbd5750610fbd828260c0015161113d565b1561100d5760a081015160c0820151604051633a013bc560e21b81526001600160601b038616600482015264ffffffffff80861660248301529283166044820152911660648201526084016104e7565b505050565b60e08101516001600160a01b03908116908316108061104257506101008101516001600160a01b03908116908316115b1561100d5760e08101516101008201516040516338b6ab7560e11b81526001600160601b03861660048201526001600160a01b0380861660248301529283166044820152911660648201526084016104e7565b5f61029c836001600160a01b0316836001600160a01b031666038d7ea4c68000611185565b60405163add9ce9960e01b815264ffffffffff8084166004830152821660248201525f9073__$71e292c09eace9601b3e21e68a1278917a$__9063add9ce99906044015b602060405180830381865af4158015611119573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061029c9190611690565b6040516383ffcdef60e01b815264ffffffffff8084166004830152821660248201525f9073__$71e292c09eace9601b3e21e68a1278917a$__906383ffcdef906044016110fe565b5f838302815f1985870982811083820303915050805f036111b9578382816111af576111af611a7d565b049250505061029c565b8084116111d95760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b60408051610120810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e0810182905261010081019190915290565b6001600160601b03811681146112a3575f80fd5b50565b6001600160a01b03811681146112a3575f80fd5b5f80604083850312156112cb575f80fd5b82356112d68161128f565b915060208301356112e6816112a6565b809150509250929050565b5f60208284031215611301575f80fd5b813561029c8161128f565b60ff811681146112a3575f80fd5b64ffffffffff811681146112a3575f80fd5b5f805f805f8060c08789031215611341575f80fd5b863561134c816112a6565b9550602087013561135c816112a6565b9450604087013561136c8161128f565b9350606087013561137c8161130c565b9250608087013561138c8161131a565b915060a087013561139c816112a6565b809150509295509295509295565b5f805f606084860312156113bc575f80fd5b83356113c7816112a6565b925060208401356113d78161128f565b915060408401356113e7816112a6565b809150509250925092565b6001600160601b038151168252602081015161141960208401826001600160601b03169052565b506040810151611432604084018264ffffffffff169052565b50606081015161144d60608401826001600160601b03169052565b50608081015161146860808401826001600160601b03169052565b5060a081015161148160a084018264ffffffffff169052565b5060c081015161149660c084018260ff169052565b5060e08101516114b160e08401826001600160a01b03169052565b5061010081015161100d6101008401826001600160601b03169052565b6001600160a01b0383168152610140810161029c60208301846113f2565b5f805f80608085870312156114ff575f80fd5b843561150a816112a6565b9350602085013561151a8161128f565b9250604085013561152a8161130c565b9150606085013561153a816112a6565b939692955090935050565b5f805f8060808587031215611558575f80fd5b8435611563816112a6565b935060208501356115738161128f565b925060408501356115838161130c565b9150606085013561153a8161131a565b5f805f606084860312156115a5575f80fd5b83356115b0816112a6565b925060208401356115c08161128f565b915060408401356113e78161131a565b64ffffffffff83168152610140810161029c60208301846113f2565b5f805f606084860312156115fe575f80fd5b8335611609816112a6565b925060208401356113d7816112a6565b80516116248161128f565b919050565b5f60208284031215611639575f80fd5b815161029c8161128f565b80516116248161131a565b5f6020828403121561165f575f80fd5b815161029c8161131a565b5f6020828403121561167a575f80fd5b5051919050565b80518015158114611624575f80fd5b5f602082840312156116a0575f80fd5b61029c82611681565b634e487b7160e01b5f52604160045260245ffd5b604051610140810167ffffffffffffffff811182821017156116e1576116e16116a9565b60405290565b60405160e0810167ffffffffffffffff811182821017156116e1576116e16116a9565b604051610120810167ffffffffffffffff811182821017156116e1576116e16116a9565b8051611624816112a6565b5f61014082840312801561174b575f80fd5b506117546116bd565b61175d83611681565b815261176b60208401611681565b602082015261177c60408401611681565b604082015261178d60608401611619565b606082015261179e60808401611619565b60808201526117af60a08401611644565b60a08201526117c060c08401611644565b60c08201526117d160e0840161172e565b60e08201526117e3610100840161172e565b6101008201526117f66101208401611644565b6101208201529392505050565b80516116248161130c565b5f82601f83011261181d575f80fd5b815167ffffffffffffffff811115611837576118376116a9565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715611866576118666116a9565b60405281815283820160200185101561187d575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156118a9575f80fd5b815167ffffffffffffffff8111156118bf575f80fd5b820160e081850312156118d0575f80fd5b6118d86116e7565b6118e182611619565b81526118ef60208301611619565b602082015261190060408301611803565b604082015261191160608301611681565b60608201526119226080830161172e565b608082015261193360a0830161172e565b60a082015260c082015167ffffffffffffffff811115611951575f80fd5b61195d8682850161180e565b60c083015250949350505050565b5f6020828403121561197b575f80fd5b815161029c816112a6565b5f610120828403128015611998575f80fd5b506119a161170a565b6119aa83611619565b81526119b860208401611619565b60208201526119c960408401611644565b60408201526119da60608401611619565b60608201526119eb60808401611619565b60808201526119fc60a08401611644565b60a0820152611a0d60c08401611803565b60c0820152611a1e60e0840161172e565b60e0820152611a306101008401611619565b6101008201529392505050565b5f60208284031215611a4d575f80fd5b815161029c8161130c565b60ff82811682821603908111156103b557634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52601260045260245ffdfea2646970667358221220321c85424af2ef3f009e2a3a3fdf27fabf4174fe9cbcf55dbbd8c65ceeb8790f64736f6c634300081a0033",
|
537
|
+
"bytecode": "0x611ac7610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100d6575f3560e01c806379d0499411610093578063c6edc3dd1161006e578063c6edc3dd146101e6578063e31a9b2b146101ee578063e3bedc7d14610201578063f87bf37314610209575f80fd5b806379d049941461019f5780638122426c146101b2578063bf381be6146101c5575f80fd5b80631fcac27a146100da5780633e7964a11461010a578063504a473d14610128578063647b8c2f14610149578063658501a61461015e5780636f678e291461017e575b5f80fd5b6100ed6100e83660046112ba565b610211565b6040516001600160601b0390911681526020015b60405180910390f35b6101126102a3565b60405164ffffffffff9091168152602001610101565b61013b6101363660046112f1565b610320565b604051908152602001610101565b61015c61015736600461132c565b6103bb565b005b6101666107d9565b6040516001600160a01b039091168152602001610101565b61019161018c3660046113aa565b610856565b6040516101019291906114ce565b61015c6101ad3660046114ec565b610a6f565b61015c6101c0366004611545565b610aef565b6101d86101d3366004611593565b610b68565b6040516101019291906115d0565b610112610d7f565b6101666101fc3660046115ec565b610dbb565b610112610f1d565b610166610f59565b604051636e5912e760e01b81526001600160601b03831660048201526001600160a01b03821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__90636e5912e790604401602060405180830381865af4158015610278573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061029c9190611629565b9392505050565b604051630319d08b60e21b8152630966018060048201525f9073__$71e292c09eace9601b3e21e68a1278917a$__90630c67422c906024015b602060405180830381865af41580156102f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031b919061164f565b905090565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015610391573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103b5919061166a565b92915050565b604051630a4d29dd60e31b81526001600160601b038516600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610411573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104359190611690565b156104535760405163019dbc4d60e31b815260040160405180910390fd5b60405163134fc55b60e11b81526001600160601b03851660048201526001600160a01b0386169063269f8ab690602401602060405180830381865afa15801561049e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104c29190611690565b156104f057604051638bf515e960e01b81526001600160601b03851660048201526024015b60405180910390fd5b604051637aad3e8f60e11b815260ff841660048201525f906001600160a01b0387169063f55a7d1e9060240161014060405180830381865afa158015610538573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061055c9190611739565b8051909150801561056e575080602001515b61059f57604051632778739960e11b81526001600160601b038616600482015260ff851660248201526044016104e7565b60405163f2c821f760e01b81526001600160601b03861660048201525f9073__$dacf551d137a232f87fa09e79113e25430$__9063f2c821f790602401602060405180830381865af41580156105f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061b9190611690565b9050816040015115801561062d575080155b1561065f57604051630a21f8d560e11b81526001600160601b038716600482015260ff861660248201526044016104e7565b80156107b95760405163e74d052f60e01b81526001600160601b03871660048201526001600160a01b0389169063e74d052f90602401602060405180830381865afa1580156106b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106d49190611690565b6106fc5760405163686c563560e11b81526001600160601b03871660048201526024016104e7565b6040516305247a1760e51b81526001600160601b03871660048201525f906001600160a01b038a169063a48f42e0906024015f60405180830381865afa158015610748573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261076f9190810190611899565b60400151905060ff808216908716146107b75760405163e3c5e85760e01b81526001600160601b038816600482015260ff8088166024830152821660448201526064016104e7565b505b6107c4868584610f9b565b6107cf868484611012565b5050505050505050565b604051631488c84560e01b81526021600482015260011960248201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c845906044015b602060405180830381865af4158015610832573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031b919061196b565b5f61085f611244565b5f856001600160a01b0316636291423a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561089c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c0919061196b565b60405163134fc55b60e11b81526001600160601b03871660048201529091506001600160a01b0382169063269f8ab690602401602060405180830381865afa15801561090e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109329190611690565b61095a5760405163686c563560e11b81526001600160601b03861660048201526024016104e7565b60405163153d412560e31b81526001600160601b03861660048201525f906001600160a01b0383169063a9ea09289060240161012060405180830381865afa1580156109a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109cc9190611986565b60c0015190506109de82878388610a6f565b60405163153d412560e31b81526001600160601b03871660048201526001600160a01b0383169063a9ea09289060240161012060405180830381865afa158015610a2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4e9190611986565b60e0810180516001600160a01b039097169052949794965093945050505050565b604051637aad3e8f60e11b815260ff831660048201525f906001600160a01b0386169063f55a7d1e9060240161014060405180830381865afa158015610ab7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610adb9190611739565b9050610ae8848383611012565b5050505050565b604051637aad3e8f60e11b815260ff831660048201525f906001600160a01b0386169063f55a7d1e9060240161014060405180830381865afa158015610b37573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b5b9190611739565b9050610ae8848383610f9b565b5f610b71611244565b5f856001600160a01b0316636291423a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bae573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd2919061196b565b60405163134fc55b60e11b81526001600160601b03871660048201529091506001600160a01b0382169063269f8ab690602401602060405180830381865afa158015610c20573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c449190611690565b610c6c5760405163686c563560e11b81526001600160601b03861660048201526024016104e7565b60405163153d412560e31b81526001600160601b03861660048201525f906001600160a01b0383169063a9ea09289060240161012060405180830381865afa158015610cba573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cde9190611986565b60c001519050610cf082878388610aef565b60405163153d412560e31b81526001600160601b03871660048201526001600160a01b0383169063a9ea09289060240161012060405180830381865afa158015610d3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d609190611986565b60a08101805164ffffffffff9097169052949794965093945050505050565b604051630319d08b60e21b815262f099c060048201525f9073__$71e292c09eace9601b3e21e68a1278917a$__90630c67422c906024016102dc565b5f8073__$bf7bc340cbb9229ef1de2c568356e67902$__631488c8456001866001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e399190611a3d565b886001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e999190611a3d565b610ea39190611a58565b6040516001600160e01b031960e085901b16815260048101929092525f0b6024820152604401602060405180830381865af4158015610ee4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f08919061196b565b9050610f148382611095565b95945050505050565b604051630319d08b60e21b81526201518060048201525f9073__$71e292c09eace9601b3e21e68a1278917a$__90630c67422c906024016102dc565b604051631488c84560e01b81526005600482015260011960248201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401610817565b610fa9828260a001516110ba565b80610fbd5750610fbd828260c0015161113d565b1561100d5760a081015160c0820151604051633a013bc560e21b81526001600160601b038616600482015264ffffffffff80861660248301529283166044820152911660648201526084016104e7565b505050565b60e08101516001600160a01b03908116908316108061104257506101008101516001600160a01b03908116908316115b1561100d5760e08101516101008201516040516338b6ab7560e11b81526001600160601b03861660048201526001600160a01b0380861660248301529283166044820152911660648201526084016104e7565b5f61029c836001600160a01b0316836001600160a01b031666038d7ea4c68000611185565b60405163add9ce9960e01b815264ffffffffff8084166004830152821660248201525f9073__$71e292c09eace9601b3e21e68a1278917a$__9063add9ce99906044015b602060405180830381865af4158015611119573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061029c9190611690565b6040516383ffcdef60e01b815264ffffffffff8084166004830152821660248201525f9073__$71e292c09eace9601b3e21e68a1278917a$__906383ffcdef906044016110fe565b5f838302815f1985870982811083820303915050805f036111b9578382816111af576111af611a7d565b049250505061029c565b8084116111d95760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b60408051610120810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e0810182905261010081019190915290565b6001600160601b03811681146112a3575f80fd5b50565b6001600160a01b03811681146112a3575f80fd5b5f80604083850312156112cb575f80fd5b82356112d68161128f565b915060208301356112e6816112a6565b809150509250929050565b5f60208284031215611301575f80fd5b813561029c8161128f565b60ff811681146112a3575f80fd5b64ffffffffff811681146112a3575f80fd5b5f805f805f8060c08789031215611341575f80fd5b863561134c816112a6565b9550602087013561135c816112a6565b9450604087013561136c8161128f565b9350606087013561137c8161130c565b9250608087013561138c8161131a565b915060a087013561139c816112a6565b809150509295509295509295565b5f805f606084860312156113bc575f80fd5b83356113c7816112a6565b925060208401356113d78161128f565b915060408401356113e7816112a6565b809150509250925092565b6001600160601b038151168252602081015161141960208401826001600160601b03169052565b506040810151611432604084018264ffffffffff169052565b50606081015161144d60608401826001600160601b03169052565b50608081015161146860808401826001600160601b03169052565b5060a081015161148160a084018264ffffffffff169052565b5060c081015161149660c084018260ff169052565b5060e08101516114b160e08401826001600160a01b03169052565b5061010081015161100d6101008401826001600160601b03169052565b6001600160a01b0383168152610140810161029c60208301846113f2565b5f805f80608085870312156114ff575f80fd5b843561150a816112a6565b9350602085013561151a8161128f565b9250604085013561152a8161130c565b9150606085013561153a816112a6565b939692955090935050565b5f805f8060808587031215611558575f80fd5b8435611563816112a6565b935060208501356115738161128f565b925060408501356115838161130c565b9150606085013561153a8161131a565b5f805f606084860312156115a5575f80fd5b83356115b0816112a6565b925060208401356115c08161128f565b915060408401356113e78161131a565b64ffffffffff83168152610140810161029c60208301846113f2565b5f805f606084860312156115fe575f80fd5b8335611609816112a6565b925060208401356113d7816112a6565b80516116248161128f565b919050565b5f60208284031215611639575f80fd5b815161029c8161128f565b80516116248161131a565b5f6020828403121561165f575f80fd5b815161029c8161131a565b5f6020828403121561167a575f80fd5b5051919050565b80518015158114611624575f80fd5b5f602082840312156116a0575f80fd5b61029c82611681565b634e487b7160e01b5f52604160045260245ffd5b604051610140810167ffffffffffffffff811182821017156116e1576116e16116a9565b60405290565b60405160e0810167ffffffffffffffff811182821017156116e1576116e16116a9565b604051610120810167ffffffffffffffff811182821017156116e1576116e16116a9565b8051611624816112a6565b5f61014082840312801561174b575f80fd5b506117546116bd565b61175d83611681565b815261176b60208401611681565b602082015261177c60408401611681565b604082015261178d60608401611619565b606082015261179e60808401611619565b60808201526117af60a08401611644565b60a08201526117c060c08401611644565b60c08201526117d160e0840161172e565b60e08201526117e3610100840161172e565b6101008201526117f66101208401611644565b6101208201529392505050565b80516116248161130c565b5f82601f83011261181d575f80fd5b815167ffffffffffffffff811115611837576118376116a9565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715611866576118666116a9565b60405281815283820160200185101561187d575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156118a9575f80fd5b815167ffffffffffffffff8111156118bf575f80fd5b820160e081850312156118d0575f80fd5b6118d86116e7565b6118e182611619565b81526118ef60208301611619565b602082015261190060408301611803565b604082015261191160608301611681565b60608201526119226080830161172e565b608082015261193360a0830161172e565b60a082015260c082015167ffffffffffffffff811115611951575f80fd5b61195d8682850161180e565b60c083015250949350505050565b5f6020828403121561197b575f80fd5b815161029c816112a6565b5f610120828403128015611998575f80fd5b506119a161170a565b6119aa83611619565b81526119b860208401611619565b60208201526119c960408401611644565b60408201526119da60608401611619565b60608201526119eb60808401611619565b60808201526119fc60a08401611644565b60a0820152611a0d60c08401611803565b60c0820152611a1e60e0840161172e565b60e0820152611a306101008401611619565b6101008201529392505050565b5f60208284031215611a4d575f80fd5b815161029c8161130c565b60ff82811682821603908111156103b557634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52601260045260245ffdfea2646970667358221220838344ea05f9428f19fbd1c83c8fc35189339c6e637b8922ffe3e3528c849bfa64736f6c634300081a0033",
|
538
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100d6575f3560e01c806379d0499411610093578063c6edc3dd1161006e578063c6edc3dd146101e6578063e31a9b2b146101ee578063e3bedc7d14610201578063f87bf37314610209575f80fd5b806379d049941461019f5780638122426c146101b2578063bf381be6146101c5575f80fd5b80631fcac27a146100da5780633e7964a11461010a578063504a473d14610128578063647b8c2f14610149578063658501a61461015e5780636f678e291461017e575b5f80fd5b6100ed6100e83660046112ba565b610211565b6040516001600160601b0390911681526020015b60405180910390f35b6101126102a3565b60405164ffffffffff9091168152602001610101565b61013b6101363660046112f1565b610320565b604051908152602001610101565b61015c61015736600461132c565b6103bb565b005b6101666107d9565b6040516001600160a01b039091168152602001610101565b61019161018c3660046113aa565b610856565b6040516101019291906114ce565b61015c6101ad3660046114ec565b610a6f565b61015c6101c0366004611545565b610aef565b6101d86101d3366004611593565b610b68565b6040516101019291906115d0565b610112610d7f565b6101666101fc3660046115ec565b610dbb565b610112610f1d565b610166610f59565b604051636e5912e760e01b81526001600160601b03831660048201526001600160a01b03821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__90636e5912e790604401602060405180830381865af4158015610278573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061029c9190611629565b9392505050565b604051630319d08b60e21b8152630966018060048201525f9073__$71e292c09eace9601b3e21e68a1278917a$__90630c67422c906024015b602060405180830381865af41580156102f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031b919061164f565b905090565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015610391573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103b5919061166a565b92915050565b604051630a4d29dd60e31b81526001600160601b038516600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610411573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104359190611690565b156104535760405163019dbc4d60e31b815260040160405180910390fd5b60405163134fc55b60e11b81526001600160601b03851660048201526001600160a01b0386169063269f8ab690602401602060405180830381865afa15801561049e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104c29190611690565b156104f057604051638bf515e960e01b81526001600160601b03851660048201526024015b60405180910390fd5b604051637aad3e8f60e11b815260ff841660048201525f906001600160a01b0387169063f55a7d1e9060240161014060405180830381865afa158015610538573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061055c9190611739565b8051909150801561056e575080602001515b61059f57604051632778739960e11b81526001600160601b038616600482015260ff851660248201526044016104e7565b60405163f2c821f760e01b81526001600160601b03861660048201525f9073__$dacf551d137a232f87fa09e79113e25430$__9063f2c821f790602401602060405180830381865af41580156105f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061b9190611690565b9050816040015115801561062d575080155b1561065f57604051630a21f8d560e11b81526001600160601b038716600482015260ff861660248201526044016104e7565b80156107b95760405163e74d052f60e01b81526001600160601b03871660048201526001600160a01b0389169063e74d052f90602401602060405180830381865afa1580156106b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106d49190611690565b6106fc5760405163686c563560e11b81526001600160601b03871660048201526024016104e7565b6040516305247a1760e51b81526001600160601b03871660048201525f906001600160a01b038a169063a48f42e0906024015f60405180830381865afa158015610748573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261076f9190810190611899565b60400151905060ff808216908716146107b75760405163e3c5e85760e01b81526001600160601b038816600482015260ff8088166024830152821660448201526064016104e7565b505b6107c4868584610f9b565b6107cf868484611012565b5050505050505050565b604051631488c84560e01b81526021600482015260011960248201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c845906044015b602060405180830381865af4158015610832573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031b919061196b565b5f61085f611244565b5f856001600160a01b0316636291423a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561089c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c0919061196b565b60405163134fc55b60e11b81526001600160601b03871660048201529091506001600160a01b0382169063269f8ab690602401602060405180830381865afa15801561090e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109329190611690565b61095a5760405163686c563560e11b81526001600160601b03861660048201526024016104e7565b60405163153d412560e31b81526001600160601b03861660048201525f906001600160a01b0383169063a9ea09289060240161012060405180830381865afa1580156109a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109cc9190611986565b60c0015190506109de82878388610a6f565b60405163153d412560e31b81526001600160601b03871660048201526001600160a01b0383169063a9ea09289060240161012060405180830381865afa158015610a2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4e9190611986565b60e0810180516001600160a01b039097169052949794965093945050505050565b604051637aad3e8f60e11b815260ff831660048201525f906001600160a01b0386169063f55a7d1e9060240161014060405180830381865afa158015610ab7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610adb9190611739565b9050610ae8848383611012565b5050505050565b604051637aad3e8f60e11b815260ff831660048201525f906001600160a01b0386169063f55a7d1e9060240161014060405180830381865afa158015610b37573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b5b9190611739565b9050610ae8848383610f9b565b5f610b71611244565b5f856001600160a01b0316636291423a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bae573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd2919061196b565b60405163134fc55b60e11b81526001600160601b03871660048201529091506001600160a01b0382169063269f8ab690602401602060405180830381865afa158015610c20573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c449190611690565b610c6c5760405163686c563560e11b81526001600160601b03861660048201526024016104e7565b60405163153d412560e31b81526001600160601b03861660048201525f906001600160a01b0383169063a9ea09289060240161012060405180830381865afa158015610cba573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cde9190611986565b60c001519050610cf082878388610aef565b60405163153d412560e31b81526001600160601b03871660048201526001600160a01b0383169063a9ea09289060240161012060405180830381865afa158015610d3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d609190611986565b60a08101805164ffffffffff9097169052949794965093945050505050565b604051630319d08b60e21b815262f099c060048201525f9073__$71e292c09eace9601b3e21e68a1278917a$__90630c67422c906024016102dc565b5f8073__$bf7bc340cbb9229ef1de2c568356e67902$__631488c8456001866001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e399190611a3d565b886001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e999190611a3d565b610ea39190611a58565b6040516001600160e01b031960e085901b16815260048101929092525f0b6024820152604401602060405180830381865af4158015610ee4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f08919061196b565b9050610f148382611095565b95945050505050565b604051630319d08b60e21b81526201518060048201525f9073__$71e292c09eace9601b3e21e68a1278917a$__90630c67422c906024016102dc565b604051631488c84560e01b81526005600482015260011960248201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401610817565b610fa9828260a001516110ba565b80610fbd5750610fbd828260c0015161113d565b1561100d5760a081015160c0820151604051633a013bc560e21b81526001600160601b038616600482015264ffffffffff80861660248301529283166044820152911660648201526084016104e7565b505050565b60e08101516001600160a01b03908116908316108061104257506101008101516001600160a01b03908116908316115b1561100d5760e08101516101008201516040516338b6ab7560e11b81526001600160601b03861660048201526001600160a01b0380861660248301529283166044820152911660648201526084016104e7565b5f61029c836001600160a01b0316836001600160a01b031666038d7ea4c68000611185565b60405163add9ce9960e01b815264ffffffffff8084166004830152821660248201525f9073__$71e292c09eace9601b3e21e68a1278917a$__9063add9ce99906044015b602060405180830381865af4158015611119573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061029c9190611690565b6040516383ffcdef60e01b815264ffffffffff8084166004830152821660248201525f9073__$71e292c09eace9601b3e21e68a1278917a$__906383ffcdef906044016110fe565b5f838302815f1985870982811083820303915050805f036111b9578382816111af576111af611a7d565b049250505061029c565b8084116111d95760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b60408051610120810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e0810182905261010081019190915290565b6001600160601b03811681146112a3575f80fd5b50565b6001600160a01b03811681146112a3575f80fd5b5f80604083850312156112cb575f80fd5b82356112d68161128f565b915060208301356112e6816112a6565b809150509250929050565b5f60208284031215611301575f80fd5b813561029c8161128f565b60ff811681146112a3575f80fd5b64ffffffffff811681146112a3575f80fd5b5f805f805f8060c08789031215611341575f80fd5b863561134c816112a6565b9550602087013561135c816112a6565b9450604087013561136c8161128f565b9350606087013561137c8161130c565b9250608087013561138c8161131a565b915060a087013561139c816112a6565b809150509295509295509295565b5f805f606084860312156113bc575f80fd5b83356113c7816112a6565b925060208401356113d78161128f565b915060408401356113e7816112a6565b809150509250925092565b6001600160601b038151168252602081015161141960208401826001600160601b03169052565b506040810151611432604084018264ffffffffff169052565b50606081015161144d60608401826001600160601b03169052565b50608081015161146860808401826001600160601b03169052565b5060a081015161148160a084018264ffffffffff169052565b5060c081015161149660c084018260ff169052565b5060e08101516114b160e08401826001600160a01b03169052565b5061010081015161100d6101008401826001600160601b03169052565b6001600160a01b0383168152610140810161029c60208301846113f2565b5f805f80608085870312156114ff575f80fd5b843561150a816112a6565b9350602085013561151a8161128f565b9250604085013561152a8161130c565b9150606085013561153a816112a6565b939692955090935050565b5f805f8060808587031215611558575f80fd5b8435611563816112a6565b935060208501356115738161128f565b925060408501356115838161130c565b9150606085013561153a8161131a565b5f805f606084860312156115a5575f80fd5b83356115b0816112a6565b925060208401356115c08161128f565b915060408401356113e78161131a565b64ffffffffff83168152610140810161029c60208301846113f2565b5f805f606084860312156115fe575f80fd5b8335611609816112a6565b925060208401356113d7816112a6565b80516116248161128f565b919050565b5f60208284031215611639575f80fd5b815161029c8161128f565b80516116248161131a565b5f6020828403121561165f575f80fd5b815161029c8161131a565b5f6020828403121561167a575f80fd5b5051919050565b80518015158114611624575f80fd5b5f602082840312156116a0575f80fd5b61029c82611681565b634e487b7160e01b5f52604160045260245ffd5b604051610140810167ffffffffffffffff811182821017156116e1576116e16116a9565b60405290565b60405160e0810167ffffffffffffffff811182821017156116e1576116e16116a9565b604051610120810167ffffffffffffffff811182821017156116e1576116e16116a9565b8051611624816112a6565b5f61014082840312801561174b575f80fd5b506117546116bd565b61175d83611681565b815261176b60208401611681565b602082015261177c60408401611681565b604082015261178d60608401611619565b606082015261179e60808401611619565b60808201526117af60a08401611644565b60a08201526117c060c08401611644565b60c08201526117d160e0840161172e565b60e08201526117e3610100840161172e565b6101008201526117f66101208401611644565b6101208201529392505050565b80516116248161130c565b5f82601f83011261181d575f80fd5b815167ffffffffffffffff811115611837576118376116a9565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715611866576118666116a9565b60405281815283820160200185101561187d575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156118a9575f80fd5b815167ffffffffffffffff8111156118bf575f80fd5b820160e081850312156118d0575f80fd5b6118d86116e7565b6118e182611619565b81526118ef60208301611619565b602082015261190060408301611803565b604082015261191160608301611681565b60608201526119226080830161172e565b608082015261193360a0830161172e565b60a082015260c082015167ffffffffffffffff811115611951575f80fd5b61195d8682850161180e565b60c083015250949350505050565b5f6020828403121561197b575f80fd5b815161029c816112a6565b5f610120828403128015611998575f80fd5b506119a161170a565b6119aa83611619565b81526119b860208401611619565b60208201526119c960408401611644565b60408201526119da60608401611619565b60608201526119eb60808401611619565b60808201526119fc60a08401611644565b60a0820152611a0d60c08401611803565b60c0820152611a1e60e0840161172e565b60e0820152611a306101008401611619565b6101008201529392505050565b5f60208284031215611a4d575f80fd5b815161029c8161130c565b60ff82811682821603908111156103b557634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52601260045260245ffdfea2646970667358221220838344ea05f9428f19fbd1c83c8fc35189339c6e637b8922ffe3e3528c849bfa64736f6c634300081a0033",
|
539
539
|
"linkReferences": {
|
540
540
|
"contracts/type/Amount.sol": {
|
541
541
|
"AmountLib": [
|
@@ -279,10 +279,11 @@ contract AccessAdmin is
|
|
279
279
|
{
|
280
280
|
Selector selector = SelectorSetLib.at(_targetFunctions[target], idx);
|
281
281
|
func = _functionInfo[target][selector];
|
282
|
-
roleId =
|
283
|
-
|
284
|
-
|
285
|
-
|
282
|
+
roleId = AccessAdminLib.getFunctionRoleId(_authority, target, selector);
|
283
|
+
// roleId = RoleIdLib.toRoleId(
|
284
|
+
// _authority.getTargetFunctionRole(
|
285
|
+
// target,
|
286
|
+
// selector.toBytes4()));
|
286
287
|
}
|
287
288
|
|
288
289
|
|
@@ -318,7 +319,7 @@ contract AccessAdmin is
|
|
318
319
|
(RoleId roleId, bool exists) = getRoleForName(roleInfo.name.toString());
|
319
320
|
|
320
321
|
if (!exists) {
|
321
|
-
if (!AccessAdminLib.isDynamicRoleId(authzRoleId)) {
|
322
|
+
if (!AccessAdminLib.isDynamicRoleId(authzRoleId) || roleInfo.targetType == TargetType.Custom) {
|
322
323
|
roleId = authzRoleId;
|
323
324
|
}
|
324
325
|
|
@@ -658,22 +659,23 @@ contract AccessAdmin is
|
|
658
659
|
}
|
659
660
|
|
660
661
|
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
662
|
+
// TODO cleanup
|
663
|
+
// function _checkAuthorization(
|
664
|
+
// address authorization,
|
665
|
+
// ObjectType expectedDomain,
|
666
|
+
// VersionPart expectedRelease,
|
667
|
+
// bool expectServiceAuthorization,
|
668
|
+
// bool checkAlreadyInitialized
|
669
|
+
// )
|
670
|
+
// internal
|
671
|
+
// view
|
672
|
+
// {
|
673
|
+
// AccessAdminLib.checkAuthorization(
|
674
|
+
// _authorization,
|
675
|
+
// authorization,
|
676
|
+
// expectedDomain,
|
677
|
+
// expectedRelease,
|
678
|
+
// expectServiceAuthorization,
|
679
|
+
// checkAlreadyInitialized);
|
680
|
+
// }
|
679
681
|
}
|
@@ -7,16 +7,17 @@ import {IAccess} from "./IAccess.sol";
|
|
7
7
|
import {IAccessAdmin} from "./IAccessAdmin.sol";
|
8
8
|
import {IAuthorization} from "./IAuthorization.sol";
|
9
9
|
import {IComponent} from "../shared/IComponent.sol";
|
10
|
-
import {
|
10
|
+
import {IAuthorizedComponent} from "../shared/IAuthorizedComponent.sol";
|
11
11
|
import {IRegistry} from "../registry/IRegistry.sol";
|
12
12
|
import {IService} from "../shared/IService.sol";
|
13
13
|
import {IServiceAuthorization} from "./IServiceAuthorization.sol";
|
14
14
|
|
15
|
+
import {AccessManagerCloneable} from "./AccessManagerCloneable.sol";
|
15
16
|
import {BlocknumberLib} from "../type/Blocknumber.sol";
|
16
17
|
import {ContractLib} from "../shared/ContractLib.sol";
|
17
18
|
import {ObjectType} from "../type/ObjectType.sol";
|
18
19
|
import {RoleId, RoleIdLib, ADMIN_ROLE, PUBLIC_ROLE} from "../type/RoleId.sol";
|
19
|
-
import {SelectorLib} from "../type/Selector.sol";
|
20
|
+
import {Selector, SelectorLib} from "../type/Selector.sol";
|
20
21
|
import {Str, StrLib} from "../type/String.sol";
|
21
22
|
import {TimestampLib} from "../type/Timestamp.sol";
|
22
23
|
import {VersionPart, VersionPartLib} from "../type/Version.sol";
|
@@ -338,7 +339,7 @@ library AccessAdminLib { // ACCESS_ADMIN_LIB
|
|
338
339
|
checkIsRegistered(address(accessAdmin.getRegistry()), componentAddress, expectedType);
|
339
340
|
|
340
341
|
VersionPart expecteRelease = accessAdmin.getRelease();
|
341
|
-
|
342
|
+
IAuthorizedComponent component = IAuthorizedComponent(componentAddress);
|
342
343
|
componentAuthorization = component.getAuthorization();
|
343
344
|
|
344
345
|
checkAuthorization(
|
@@ -481,6 +482,22 @@ library AccessAdminLib { // ACCESS_ADMIN_LIB
|
|
481
482
|
}
|
482
483
|
|
483
484
|
|
485
|
+
function getFunctionRoleId(
|
486
|
+
AccessManagerCloneable authority,
|
487
|
+
address target,
|
488
|
+
Selector selector
|
489
|
+
)
|
490
|
+
public
|
491
|
+
view
|
492
|
+
returns (RoleId functionRoleId)
|
493
|
+
{
|
494
|
+
return RoleIdLib.toRoleId(
|
495
|
+
authority.getTargetFunctionRole(
|
496
|
+
target,
|
497
|
+
selector.toBytes4()));
|
498
|
+
}
|
499
|
+
|
500
|
+
|
484
501
|
function getServiceRoleId(
|
485
502
|
address serviceAddress,
|
486
503
|
IAccess.TargetType serviceTargetType
|