@etherisc/gif-next 0.0.2-bb3faee-097 → 0.0.2-bb9ecaf-723
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +15 -320
- 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 +49 -29
- 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 +201 -130
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +845 -126
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +2 -2
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +73 -46
- 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/IAccessAdmin.sol/IAccessAdmin.json +105 -77
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +12 -2
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +12 -2
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +38 -32
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +8 -18
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +93 -54
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +0 -10
- 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 +79 -59
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +0 -10
- 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 +20 -30
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +93 -54
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +64 -74
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +93 -54
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.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 +21 -31
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +93 -54
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +16 -26
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +24 -34
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +93 -54
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +25 -35
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +93 -54
- package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
- package/artifacts/contracts/{shared/IKeyValueStore.sol/IKeyValueStore.json → instance/BaseStore.sol/BaseStore.json} +50 -228
- 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 +4 -0
- package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +23 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +20 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +70 -35
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +335 -284
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +82 -112
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +55 -175
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +40 -20
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +45 -25
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1362 -2115
- package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
- package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
- 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/BalanceStore.sol/BalanceStore.json +2 -2
- 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/ObjectCounter.sol/ObjectCounter.json +2 -2
- 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/ObjectSet.sol/ObjectSet.json +2 -2
- 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 +6 -16
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +87 -48
- 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/IOracleComponent.sol/IOracleComponent.json +0 -10
- 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/Oracle.sol/Oracle.json +0 -10
- 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 +54 -34
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +0 -10
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +93 -54
- 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 +66 -46
- 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/IPoolComponent.sol/IPoolComponent.json +0 -10
- 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/Pool.sol/Pool.json +0 -10
- 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 +67 -47
- 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 +48 -28
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +0 -10
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +93 -54
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +74 -74
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +71 -51
- 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/IProductComponent.sol/IProductComponent.json +0 -10
- 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 +2 -2
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +64 -44
- 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 +55 -35
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +0 -10
- 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 +46 -26
- 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 +312 -217
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +126 -63
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +18 -18
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +41 -21
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +330 -211
- 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 +98 -86
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +62 -40
- 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/Component.sol/Component.json +0 -10
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +28 -28
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +65 -45
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +2 -2
- 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/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +0 -10
- 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/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +0 -10
- 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/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +0 -10
- 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/NftOwnable.sol/NftOwnable.json +2 -2
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
- 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/RegistryLinked.sol/RegistryLinked.json +2 -2
- 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/TokenHandler.json +2 -2
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +2 -2
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +2 -2
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +0 -10
- 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 +22 -48
- 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 +50 -38
- 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 +44 -24
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +198 -166
- 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/Blocknumber.sol/BlocknumberLib.json +21 -2
- 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/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/ProxyManager.sol/ProxyManager.json +22 -6
- 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 +220 -321
- package/contracts/authorization/AccessAdminLib.sol +309 -27
- package/contracts/authorization/AccessManagerCloneable.sol +0 -18
- package/contracts/authorization/Authorization.sol +30 -9
- package/contracts/authorization/IAccess.sol +13 -14
- package/contracts/authorization/IAccessAdmin.sol +9 -11
- package/contracts/authorization/ServiceAuthorization.sol +10 -30
- package/contracts/distribution/BasicDistribution.sol +1 -2
- package/contracts/distribution/BasicDistributionAuthorization.sol +1 -1
- package/contracts/distribution/Distribution.sol +2 -4
- package/contracts/instance/BaseStore.sol +93 -0
- package/contracts/instance/IBaseStore.sol +37 -0
- package/contracts/instance/IInstance.sol +11 -0
- package/contracts/instance/IInstanceService.sol +2 -0
- package/contracts/instance/Instance.sol +18 -14
- package/contracts/instance/InstanceAdmin.sol +43 -119
- package/contracts/instance/InstanceAuthorizationV3.sol +49 -40
- package/contracts/instance/InstanceReader.sol +33 -59
- package/contracts/instance/InstanceService.sol +57 -43
- package/contracts/instance/InstanceStore.sol +153 -128
- package/contracts/instance/ProductStore.sol +290 -0
- package/contracts/instance/TargetNames.sol +10 -0
- package/contracts/instance/module/IComponents.sol +0 -2
- package/contracts/oracle/BasicOracle.sol +1 -2
- package/contracts/oracle/BasicOracleAuthorization.sol +1 -1
- package/contracts/oracle/Oracle.sol +2 -4
- package/contracts/pool/BasicPool.sol +1 -2
- package/contracts/pool/BasicPoolAuthorization.sol +1 -1
- package/contracts/pool/Pool.sol +2 -4
- package/contracts/product/ApplicationService.sol +2 -2
- package/contracts/product/BasicProduct.sol +1 -2
- package/contracts/product/BasicProductAuthorization.sol +1 -1
- package/contracts/product/ClaimService.sol +49 -53
- package/contracts/product/PolicyService.sol +9 -9
- package/contracts/product/Product.sol +2 -4
- package/contracts/product/RiskService.sol +3 -4
- package/contracts/registry/RegistryAdmin.sol +12 -30
- package/contracts/registry/RegistryAuthorization.sol +32 -31
- package/contracts/registry/ReleaseAdmin.sol +13 -9
- package/contracts/shared/Component.sol +2 -6
- package/contracts/shared/ComponentService.sol +22 -18
- package/contracts/shared/InstanceLinkedComponent.sol +2 -4
- package/contracts/staking/IStaking.sol +0 -1
- package/contracts/staking/Staking.sol +6 -6
- package/contracts/staking/StakingStore.sol +6 -0
- package/contracts/type/Blocknumber.sol +4 -9
- package/contracts/upgradeability/ProxyManager.sol +2 -2
- package/package.json +1 -1
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +0 -538
- package/contracts/shared/IKeyValueStore.sol +0 -54
- package/contracts/shared/KeyValueStore.sol +0 -131
package/README.md
CHANGED
@@ -1,26 +1,16 @@
|
|
1
1
|
# GIF-Next (Generic Insurance Framework, next version)
|
2
2
|
|
3
|
+
## Dependencies
|
3
4
|
|
4
|
-
|
5
|
+
See `remappings.txt` for GIF-Next depencies
|
5
6
|
|
6
|
-
|
7
|
-
forge install openzeppelin-contracts-500=OpenZeppelin/openzeppelin-contracts@v5.0.0
|
8
|
-
cd cd lib/openzeppelin-contracts-500
|
9
|
-
git checkout tags/v5.0.0
|
10
|
-
cd ../..
|
11
|
-
```
|
7
|
+
## Submodules checkout
|
12
8
|
|
13
|
-
|
9
|
+
For initial checkout call
|
14
10
|
|
11
|
+
```shell
|
12
|
+
git submodule update --init --recursive
|
15
13
|
```
|
16
|
-
cat remappings.txt
|
17
|
-
@openzeppelin5/contracts/=lib/openzeppelin-contracts-500/contracts/
|
18
|
-
@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/
|
19
|
-
@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/
|
20
|
-
```
|
21
|
-
|
22
|
-
|
23
|
-
## Submodules checkout
|
24
14
|
|
25
15
|
This repository uses submodules. To checkout or update to the latest submodules, run the following command after updating to any revision (or checking out the repository)
|
26
16
|
|
@@ -28,10 +18,6 @@ This repository uses submodules. To checkout or update to the latest submodules,
|
|
28
18
|
git submodule update --recursive
|
29
19
|
```
|
30
20
|
|
31
|
-
## Example components
|
32
|
-
|
33
|
-
A (very early) example of a product and a pool can be found in the [gif-next-sandbox repository](https://github.com/etherisc/gif-next-sandbox).
|
34
|
-
|
35
21
|
## Hardhat
|
36
22
|
|
37
23
|
### NPM Commands
|
@@ -93,7 +79,7 @@ Environment variables:
|
|
93
79
|
- `RESUMEABLE_DEPLOYMENT` set to `true` to have all (deployment) transactions written to a state file so the script can be resumed after a failure (or after a manual stop) (default: `false`)
|
94
80
|
- `GAS_PRICE` set to the gas price to use for deployment (default: `undefined`)
|
95
81
|
- `WALLET_MNEMONIC` the mnemonic of the wallet to use for deployment (required for mumbai and mainnet)
|
96
|
-
|
82
|
+
- `DIP_ADDRESS` the address of the already deployed DIP token. if not set, the script will deploy a new DIP token
|
97
83
|
- `WEB3_INFURA_PROJECT_ID` set to infura project id (required for mumbai and mainnet)
|
98
84
|
- `ETHERSCAN_API_KEY` `POLYGONSCAN_API_KEY` the api key for etherscan/polygonscan (required for mumbai and mainnet)
|
99
85
|
|
@@ -178,16 +164,20 @@ Checks all public/external methods in services and components for methods that a
|
|
178
164
|
forge build
|
179
165
|
|
180
166
|
# contract sizes
|
181
|
-
forge build --sizes
|
167
|
+
forge build --sizes
|
182
168
|
|
183
169
|
forge test
|
184
170
|
|
185
171
|
# run single test case
|
186
|
-
forge test --mt
|
172
|
+
forge test --mt test_deployAllSetup
|
173
|
+
|
174
|
+
# run all tests except long running
|
175
|
+
forge test --nmt longRunning
|
187
176
|
|
188
|
-
# run single test case with substantial
|
177
|
+
# run single test case with substantial logging
|
189
178
|
# to include logs as well use -vvvvv
|
190
|
-
|
179
|
+
# to add internal functions to trace add --
|
180
|
+
forge test --decode-internal --mt test_decimals -vvvv
|
191
181
|
|
192
182
|
# provide gas report for a single test
|
193
183
|
forge test --mt test_decimals --gas-report
|
@@ -218,62 +208,6 @@ forge coverage --report lcov
|
|
218
208
|
|
219
209
|
**Important**: All profiles are run using the foundry `ci` profile which disables the optimizer (for speed).
|
220
210
|
|
221
|
-
### Chisel session
|
222
|
-
|
223
|
-
```typescript
|
224
|
-
import "./contracts/components/Component.sol";
|
225
|
-
import "./contracts/components/IPool.sol";
|
226
|
-
import "./contracts/components/IProduct.sol";
|
227
|
-
import "./contracts/components/Pool.sol";
|
228
|
-
import "./contracts/components/Product.sol";
|
229
|
-
import "./contracts/instance/access/Access.sol";
|
230
|
-
import "./contracts/instance/access/IAccess.sol";
|
231
|
-
import "./contracts/instance/component/ComponentModule.sol";
|
232
|
-
import "./contracts/instance/component/IComponent.sol";
|
233
|
-
import "./contracts/instance/IInstance.sol";
|
234
|
-
import "./contracts/instance/policy/IPolicy.sol";
|
235
|
-
import "./contracts/instance/policy/PolicyModule.sol";
|
236
|
-
import "./contracts/instance/product/IProductService.sol";
|
237
|
-
import "./contracts/instance/product/ProductService.sol";
|
238
|
-
import "./contracts/registry/IRegistry.sol";
|
239
|
-
|
240
|
-
import {Instance} from "./contracts/instance/Instance.sol";
|
241
|
-
import {Registry} from "./contracts/registry/Registry.sol";
|
242
|
-
import {DeployAll} from "./scripts/DeployAll.s.sol";
|
243
|
-
import {TestPool} from "./test_forge/mock/TestPool.sol";
|
244
|
-
import {TestProduct} from "./test_forge/mock/TestProduct.sol";
|
245
|
-
|
246
|
-
string memory instanceOwnerName = "instanceOwner";
|
247
|
-
address instanceOwner = vm.addr(uint256(keccak256(abi.encodePacked(instanceOwnerName))));
|
248
|
-
|
249
|
-
string memory productOwnerName = "productOwner";
|
250
|
-
address productOwner = vm.addr(uint256(keccak256(abi.encodePacked(productOwnerName))));
|
251
|
-
|
252
|
-
string memory poolOwnerName = "poolOwner";
|
253
|
-
address poolOwner = vm.addr(uint256(keccak256(abi.encodePacked(poolOwnerName))));
|
254
|
-
|
255
|
-
string memory customerName = "customer";
|
256
|
-
address customer = vm.addr(uint256(keccak256(abi.encodePacked(customerName))));
|
257
|
-
|
258
|
-
DeployAll deployer = new DeployAll();
|
259
|
-
(
|
260
|
-
Registry registry,
|
261
|
-
Instance instance,
|
262
|
-
TestProduct product,
|
263
|
-
TestPool pool
|
264
|
-
) = deployer.run(
|
265
|
-
instanceOwner,
|
266
|
-
productOwner,
|
267
|
-
poolOwner);
|
268
|
-
|
269
|
-
ProductService ps = ProductService(address(registry));
|
270
|
-
|
271
|
-
uint256 bundleNftId = 99;
|
272
|
-
uint256 sumInsuredAmount = 1000*10**6;
|
273
|
-
uint256 premiumAmount = 110*10**6;
|
274
|
-
uint256 lifetime =365*24*3600;
|
275
|
-
uint256 policyNftId = ps.createApplicationForBundle(customer, bundleNftId, sumInsuredAmount, premiumAmount, lifetime);
|
276
|
-
|
277
211
|
```
|
278
212
|
### Library Linking
|
279
213
|
|
@@ -307,245 +241,6 @@ To execute formatting run `npm run styleFix`.
|
|
307
241
|
We use solhint to lint the code.
|
308
242
|
To execute linting run `npm run lint`.
|
309
243
|
|
310
|
-
|
311
|
-
### Adding Brownie (Legacy - don't do that :wink: )
|
312
|
-
|
313
|
-
python3 is already installed
|
314
|
-
|
315
|
-
```bash
|
316
|
-
npm install -g ganache
|
317
|
-
sudo apt update
|
318
|
-
sudo apt install python3-pip
|
319
|
-
pip install eth-brownie
|
320
|
-
brownie pm install OpenZeppelin/openzeppelin-contracts@4.9.3
|
321
|
-
brownie pm install OpenZeppelin/openzeppelin-contracts@5.0.0
|
322
|
-
```
|
323
|
-
|
324
|
-
```bash
|
325
|
-
brownie compile --all
|
326
|
-
brownie console
|
327
|
-
```
|
328
|
-
|
329
|
-
```python
|
330
|
-
registry_owner = accounts[0]
|
331
|
-
instance_owner = accounts[1]
|
332
|
-
product_owner = accounts[2]
|
333
|
-
|
334
|
-
# deploy libs and helper contracts
|
335
|
-
nft_id_lib = NftIdLib.deploy({'from': registry_owner})
|
336
|
-
ufixed_math_lib = UFixedMathLib.deploy({'from': registry_owner})
|
337
|
-
test_fee = TestFee.deploy({'from': registry_owner})
|
338
|
-
|
339
|
-
# deploy registry and a token
|
340
|
-
registry = Registry.deploy({'from': registry_owner})
|
341
|
-
nft = ChainNft.deploy(registry, {'from': registry_owner})
|
342
|
-
registry.initialize(nft, {'from': registry_owner})
|
343
|
-
token = TestUsdc.deploy({'from': registry_owner})
|
344
|
-
|
345
|
-
# deploy services
|
346
|
-
component_owner_service = ComponentOwnerService.deploy(registry, {'from': registry_owner})
|
347
|
-
product_service = ProductService.deploy(registry, {'from': registry_owner})
|
348
|
-
|
349
|
-
# deploy an instance
|
350
|
-
instance = Instance.deploy(registry, component_owner_service, product_service, {'from': instance_owner})
|
351
|
-
|
352
|
-
# deploy product
|
353
|
-
pool = TestPool.deploy(registry, instance, token, {'from': product_owner})
|
354
|
-
policy_fee = test_fee.createFee(1, -1, 0)
|
355
|
-
product = TestProduct.deploy(registry, instance, token, pool, policy_fee, {'from': product_owner})
|
356
|
-
|
357
|
-
# grant roles
|
358
|
-
pool_owner_role = instance.getRoleForName("PoolOwner")
|
359
|
-
product_owner_role = instance.getRoleForName("ProductOwner")
|
360
|
-
instance.grantRole(pool_owner_role, product_owner, {'from': instance_owner})
|
361
|
-
instance.grantRole(product_owner_role, product_owner, {'from': instance_owner})
|
362
|
-
|
363
|
-
# register objects
|
364
|
-
instance.register()
|
365
|
-
component_owner_service.register(pool, {'from': product_owner})
|
366
|
-
component_owner_service.register(product, {'from': product_owner})
|
367
|
-
|
368
|
-
instance_id = instance.getNftId()
|
369
|
-
pool_id = pool.getNftId()
|
370
|
-
product_id = product.getNftId()
|
371
|
-
```
|
372
|
-
|
373
|
-
## Objects
|
374
|
-
|
375
|
-
### Registry
|
376
|
-
|
377
|
-
Mandatory properties
|
378
|
-
|
379
|
-
* One registry per chain
|
380
|
-
* Global registry: the registry on mainnet
|
381
|
-
* One entry per protocol object
|
382
|
-
* Once registered object properties are immutable
|
383
|
-
* Globally unique NFT minted per protocol object (chain id is embedded in NFT id)
|
384
|
-
* Object ownership defined by NFT ownernship
|
385
|
-
* Typed objects (instance, product, policy, ...)
|
386
|
-
* Each object has parent object (only one exception: protocol object does not have parent object)
|
387
|
-
* Parent object type is defined by type of child object
|
388
|
-
|
389
|
-
Object properties (for smart contracts)
|
390
|
-
* Objects that represent a smart contract record its contract address
|
391
|
-
* With one exception (see next point) smart contract addresses refer to the address on the same chain as the registry
|
392
|
-
* The global registry also holds entries for all the registries on different chains than mainnet, in these cases the addresses refer to the chains of these chain specific registries (this is the only case where registered addresses do not refer to the same chain)
|
393
|
-
|
394
|
-
Optional properties
|
395
|
-
|
396
|
-
* Objects can have names
|
397
|
-
* Object names are unique per chain
|
398
|
-
* Objects may define an intercepting property, in which case a predefined smart contract is involved in NFT transfers of the objects NFT (transfer may trigger actions, transfer may be blocked etc)
|
399
|
-
*
|
400
|
-
|
401
|
-
Ownership property
|
402
|
-
|
403
|
-
* Object ownership defined by ownership of NFT representing the object
|
404
|
-
* Protocol
|
405
|
-
* Fixed/predefined owner (address without private key)
|
406
|
-
* Registry
|
407
|
-
* Allows registration of token and services (per major release)
|
408
|
-
* May transfer ownership
|
409
|
-
* Token
|
410
|
-
* Fixed/predefined owner (address without private key)
|
411
|
-
* TODO add whitelisting for token per major release
|
412
|
-
* Service
|
413
|
-
* Allows upgrades of services as long as major version is same
|
414
|
-
* Until further notice the same entity as the registry owner
|
415
|
-
* May transfer ownership
|
416
|
-
* Instance
|
417
|
-
* Granting/revoking of roles (both default + custom)
|
418
|
-
* Management of custom roles and targets
|
419
|
-
* May lock instance and/or components
|
420
|
-
* May transfer ownership
|
421
|
-
* Component (Product, Pool, Distribution, Oracle)
|
422
|
-
* Register component
|
423
|
-
* Set component wallet (which receives fees, holds funds)
|
424
|
-
* May lock component
|
425
|
-
* May transfer ownership
|
426
|
-
* Additional use case specific features
|
427
|
-
* Policy
|
428
|
-
* Represents policy holder
|
429
|
-
* Receive payouts (GIF default behaviour)
|
430
|
-
* May transfer ownership
|
431
|
-
* Bundle
|
432
|
-
* Represents funds owner
|
433
|
-
* May withdraw funds not locked by active policies
|
434
|
-
* May transfer ownership
|
435
|
-
* Distributor
|
436
|
-
* Receives commissions from sales (GIF default behaviour)
|
437
|
-
* May transfer ownership
|
438
|
-
|
439
|
-
Intercepting property
|
440
|
-
* Service owner is indirectly owner of service manager contract
|
441
|
-
|
442
|
-
* Instance
|
443
|
-
* intercepts transfer of instance owner (new owner needs access manager admin rights for custom roles and targets)
|
444
|
-
* intercepts transfer of components, to do what? check that new owner has necessary roles?
|
445
|
-
* Product
|
446
|
-
* intercepts transfer of policies (use case specific: eg. limit/disallow transfers)
|
447
|
-
* Pool:
|
448
|
-
* intercepts transfer of bundles (use case specific: eg. limit/disallow transfers)
|
449
|
-
* Distribution
|
450
|
-
* intercepts transfer of distributors (bookkeeping: only one distributor per address allowed)
|
451
|
-
* Oracle
|
452
|
-
* likely meaningless
|
453
|
-
|
454
|
-
|
455
|
-
### Instance
|
456
|
-
|
457
|
-
### Product
|
458
|
-
|
459
|
-
### Pool
|
460
|
-
|
461
|
-
### Distribution
|
462
|
-
|
463
|
-
### Oracle
|
464
|
-
|
465
|
-
## Registry and Services
|
466
|
-
|
467
|
-
### Principles
|
468
|
-
|
469
|
-
- 1 service per object type and major version
|
470
|
-
- registry service guards write access to registry
|
471
|
-
- all other objects registered via registry service
|
472
|
-
- root object for the complete tree is the protocol object
|
473
|
-
- under the root object a single registry object is registered (= global registry/ethereum mainnet)
|
474
|
-
|
475
|
-
|
476
|
-
### Service Responsibilities
|
477
|
-
|
478
|
-
Registry Service
|
479
|
-
|
480
|
-
- deployed and registered during bootstrapping of registry
|
481
|
-
- used to register tokens and other services by registry owner
|
482
|
-
- an object may only be registered by the service designated by the type of the object
|
483
|
-
- to register an object the parent object needs already be registered
|
484
|
-
- the type of the object to be registered needs to match a valid child type/parent type combination
|
485
|
-
|
486
|
-
Instance Service
|
487
|
-
|
488
|
-
- deploys master instance during its own bootstrapping (if allowed by contract size)
|
489
|
-
- registered via registry service by registry owner
|
490
|
-
- registeres master instance during its own registration by regsitry owner
|
491
|
-
- deploys and registeres new instances (= instance factory) by instance owner (instance owner is a permissionless role, anybody may creates a new instance)
|
492
|
-
- provides upgrade functionality to instance owners
|
493
|
-
|
494
|
-
Product Service
|
495
|
-
|
496
|
-
- registered via registry service by registry owner
|
497
|
-
- registers products for registered instances via registry service by product owner (product owner role is permissend by the product's instance)
|
498
|
-
- registers applications/policies for registered products via registry service
|
499
|
-
|
500
|
-
Distribution Service
|
501
|
-
|
502
|
-
- registered via registry service by registry owner
|
503
|
-
- registers distribution components for registered products via registry service by distribution owner (distribution owner role is permissend by the product's instance)
|
504
|
-
- registers distributors for registered distribution components via registry service
|
505
|
-
|
506
|
-
## Contract Organisation
|
507
|
-
|
508
|
-
now
|
509
|
-
|
510
|
-
contracts
|
511
|
-
components
|
512
|
-
instance
|
513
|
-
registry
|
514
|
-
shared
|
515
|
-
types
|
516
|
-
|
517
|
-
|
518
|
-
contracts
|
519
|
-
component
|
520
|
-
pool
|
521
|
-
Pool.sol
|
522
|
-
PoolService.sol
|
523
|
-
oracle
|
524
|
-
distribution
|
525
|
-
product
|
526
|
-
Product.sol
|
527
|
-
ProductService.sol
|
528
|
-
Component.sol
|
529
|
-
ComponentService.sol
|
530
|
-
instance
|
531
|
-
Instance.sol
|
532
|
-
InstanceAdmin.sol
|
533
|
-
InstanceReader.sol
|
534
|
-
InstanceService.sol
|
535
|
-
InstanceServiceManager.sol
|
536
|
-
registry
|
537
|
-
ChainNft.sol
|
538
|
-
Registry.sol
|
539
|
-
RegistryAdmin.sol
|
540
|
-
RegistryService.sol
|
541
|
-
RegistryServiceManager.sol
|
542
|
-
shared
|
543
|
-
Registerable.sol
|
544
|
-
RegisterableUpgradable.sol
|
545
|
-
type
|
546
|
-
NftId.sol
|
547
|
-
ObjectType.sol
|
548
|
-
|
549
244
|
## Storage layout
|
550
245
|
|
551
246
|
### Analysis tool
|
@@ -890,8 +890,8 @@
|
|
890
890
|
"type": "function"
|
891
891
|
}
|
892
892
|
],
|
893
|
-
"bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6124e7806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101e7575f3560e01c80636c741e78116101095780638fb360371161009e578063d165cb641161006e578063d165cb6414610468578063d56cd3d51461047b578063dd94be6814610370578063e618053f146103fe575f80fd5b80638fb3603714610424578063ada9652e14610445578063b68d180914610459578063bf7e214f14610460575f80fd5b80637a9e5e4b116100d95780637a9e5e4b146103e3578063893d20e8146103f6578063899cc04c146103fe57806389fad8a214610411575f80fd5b80636c741e78146103835780636e172807146103a357806374933c2f146103b657806376b707b7146103c9575f80fd5b8063329d6e741161017f5780635eec02641161014f5780635eec0264146102cf578063644c45e014610340578063661017811461035d57806367438c5014610370575f80fd5b8063329d6e74146102e2578063346696cc146102f557806349bb9e4b146103085780635ab1bd531461031b575f80fd5b8063138461e0116101ba578063138461e0146102725780631eff4b221461029257806322f3e2d4146102c757806325e451d3146102cf575f80fd5b806301ffc9a7146101eb5780630d8e6e2c1461022c5780630fec111c1461024857806311a146771461025d575b5f80fd5b6102176101f9366004611e3b565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461048e565b60405162ffffff9091168152602001610223565b610250610515565b6040516102239190611e90565b61027061026b366004611f4c565b6106cf565b005b61027a6106f9565b6040516001600160601b039091168152602001610223565b6102b97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b610217610703565b6102706102dd366004611f4c565b61077a565b6102706102f0366004612042565b61079c565b610270610303366004612073565b6108e6565b6102706103163660046120bb565b61096b565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b5f80516020612452833981519152546001600160601b031661027a565b61027061036b366004611f4c565b610a67565b61027061037e366004612073565b610a7b565b61038b610add565b6040516001600160401b039091168152602001610223565b6102706103b1366004612073565b610b69565b6102706103c4366004611f4c565b610b7d565b6103d1610b91565b60405160ff9091168152602001610223565b6102706103f1366004612107565b610bf9565b610328610c84565b61027061040c366004611f4c565b610db5565b61027061041f366004611f4c565b610dc9565b61042c610ddd565b6040516001600160e01b03199091168152602001610223565b6102b95f8051602061245283398151915281565b60286103d1565b610328610e12565b610270610476366004611f4c565b610e2d565b610270610489366004611f4c565b610e41565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105109190612122565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105e59190612144565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161062d610c84565b6001600160a01b0316815260200182600101805461064a9061215f565b80601f01602080910402602001604051908101604052809291908181526020018280546106769061215f565b80156106c15780601f10610698576101008083540402835291602001916106c1565b820191905f5260205f20905b8154815290600101906020018083116106a457829003601f168201915b505050505081525091505090565b6106db335b5f36610e55565b6106e683600e610f53565b6106f35f85858585611087565b50505050565b5f61051030611481565b5f61070c610e12565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610750573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061077491906121ab565b15905090565b610783336106d4565b61078e836016610f53565b6106f3600185858585611087565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6107be61048e565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156107fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082091906121d8565b5f805160206124928339815191528054600160401b900460ff1680610852575080546001600160401b03808416911610155b156108705760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561089a836116d7565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6108ef336106d4565b6109665f848473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561093c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109609190612144565b85611087565b505050565b5f805160206124928339815191528054600160401b810460ff1615906001600160401b03165f8115801561099c5750825b90505f826001600160401b031660011480156109b75750303b155b9050811580156109c5575080155b156109e35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610a0d57845460ff60401b1916600160401b1785555b610a1787876116f8565b8315610a5e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610a70336106d4565b6106e6836017610f53565b610a84336106d4565b610a8f82600c610f53565b6109666001848473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561093c573d5f803e3d5ffd5b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe6028610b02610b91565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610b45573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061051091906121d8565b610b72336106d4565b6108ef82600c610f53565b610b86336106d4565b61078e83600e610f53565b5f610b9a610e12565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bd5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061051091906121f3565b33610c02610e12565b6001600160a01b0316816001600160a01b031614610c425760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610c77576040516361798f2f60e11b81526001600160a01b0383166004820152602401610c39565b610c8082611813565b5050565b5f805f8051602061245283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610cf0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d1491906121ab565b15610d9f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610d75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d999190612213565b91505090565b54600160601b90046001600160a01b0316919050565b610dbe336106d4565b6106e6836016610f53565b610dd2336106d4565b6106e683600f610f53565b5f8051602061247283398151915280545f9190600160a01b900460ff16610e04575f610d99565b638fb3603760e01b91505090565b5f80516020612472833981519152546001600160a01b031690565b610e36336106d4565b61078e836017610f53565b610e4a336106d4565b61078e83600f610f53565b5f805160206124728339815191525f80610e8d610e70610e12565b8730610e7f60045f8a8c61222e565b610e8891612255565b611873565b9150915081610f4b5763ffffffff811615610f2857825460ff60a01b1916600160a01b178355610ebb610e12565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401610eea9392919061228d565b5f604051808303815f87803b158015610f01575f80fd5b505af1158015610f13573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f4b9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610c39565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015610fa3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc791906121ab565b8061105557506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561102f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061105391906121ab565b155b15610c805760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610c39565b5f611092838361197b565b90508515611291576040516330b8415f60e01b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156110f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061111491906121ab565b1561119357604051639f8151e560e01b81526001600160601b038086166004830152821660248201526001600160a01b03861690639f8151e5906044016020604051808303815f875af115801561116d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111919190612144565b505b6040516330b8415f60e01b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156111e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061120d91906121ab565b1561128c5760405163e80c61ed60e01b81526001600160601b038086166004830152831660248201526001600160a01b0386169063e80c61ed906044016020604051808303815f875af1158015611266573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061128a9190612144565b505b610f4b565b6040516330b8415f60e01b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156112e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061130b91906121ab565b1561138a5760405163b0628dc360e01b81526001600160601b038086166004830152821660248201526001600160a01b0386169063b0628dc3906044016020604051808303815f875af1158015611364573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113889190612144565b505b6040516330b8415f60e01b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156113e0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061140491906121ab565b15610f4b576040516314cc21b560e21b81526001600160601b038086166004830152831660248201526001600160a01b0386169063533086d4906044016020604051808303815f875af115801561145d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5e9190612144565b5f805f8051602061245283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156114ed573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061151191906121ab565b1561153d5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610c39565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561158f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b391906121ab565b6115db5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610c39565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561162d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116519190612144565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061169d610c84565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b6116df611a06565b60405163502ec37160e01b815260040160405180910390fd5b5f805160206124928339815191528054600160401b810460ff1615906001600160401b03165f811580156117295750825b90505f826001600160401b031660011480156117445750303b155b905081158015611752575080155b156117705760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561179a57845460ff60401b1916600160401b1785555b5f80878060200190518101906117b091906122cc565b915091506117bf82828b611a3e565b6117cf637afbb7fd60e01b611ad7565b50508315610a5e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610a55565b5f8051602061247283398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516118e19190612304565b5f60405180830381855afa9150503d805f8114611919576040519150601f19603f3d011682016040523d82523d5f602084013e61191e565b606091505b509150915081156119705760408151106119505780806020019051810190611946919061231a565b9094509250611970565b6020815110611970578080602001905181019061196d91906121ab565b93505b505094509492505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af41580156119db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ff9190612144565b9392505050565b5f8051602061249283398151915254600160401b900460ff16611a3c57604051631afcd79f60e31b815260040160405180910390fd5b565b611a46611a06565b611a4e611b0a565b611acb8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ab39190612144565b60085f8660405180602001604052805f815250611b1a565b61096663daf9067160e01b5b611adf611a06565b611b07816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b611b12611a06565b611a3c611c61565b611b22611a06565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015611b78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9c91906121ab565b611bc45760405163cf6935e560e01b81526001600160a01b0388166004820152602401610c39565b611bcd87611c8f565b611bd78683611ca0565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611c468382612397565b50611c57634a531f3360e01b611ad7565b5050505050505050565b611c69611a06565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b611c97611a06565b611b0781611d16565b611ca8611a06565b611cb0611d27565b611cb982611d6f565b6001600160a01b038116611ce05760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061245283398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b611d1e611a06565b611b0781611813565b611d2f611a06565b611a3c6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611d77611a06565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611dcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611df191906121ab565b611e195760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c39565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215611e4b575f80fd5b81356001600160e01b0319811681146119ff575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611ed8608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611f1c610100840182611e62565b949350505050565b6001600160a01b0381168114611b07575f80fd5b6001600160601b0381168114611b07575f80fd5b5f805f8060808587031215611f5f575f80fd5b8435611f6a81611f24565b93506020850135611f7a81611f38565b92506040850135611f8a81611f38565b91506060850135611f9a81611f38565b939692955090935050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611fc8575f80fd5b81356001600160401b03811115611fe157611fe1611fa5565b604051601f8201601f19908116603f011681016001600160401b038111828210171561200f5761200f611fa5565b604052818152838201602001851015612026575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612052575f80fd5b81356001600160401b03811115612067575f80fd5b611f1c84828501611fb9565b5f805f60608486031215612085575f80fd5b833561209081611f24565b925060208401356120a081611f38565b915060408401356120b081611f38565b809150509250925092565b5f80604083850312156120cc575f80fd5b82356120d781611f24565b915060208301356001600160401b038111156120f1575f80fd5b6120fd85828601611fb9565b9150509250929050565b5f60208284031215612117575f80fd5b81356119ff81611f24565b5f60208284031215612132575f80fd5b815162ffffff811681146119ff575f80fd5b5f60208284031215612154575f80fd5b81516119ff81611f38565b600181811c9082168061217357607f821691505b60208210810361219157634e487b7160e01b5f52602260045260245ffd5b50919050565b805180151581146121a6575f80fd5b919050565b5f602082840312156121bb575f80fd5b6119ff82612197565b6001600160401b0381168114611b07575f80fd5b5f602082840312156121e8575f80fd5b81516119ff816121c4565b5f60208284031215612203575f80fd5b815160ff811681146119ff575f80fd5b5f60208284031215612223575f80fd5b81516119ff81611f24565b5f808585111561223c575f80fd5b83861115612248575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612286576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156122dd575f80fd5b82516122e881611f24565b60208401519092506122f981611f24565b809150509250929050565b5f82518060208501845e5f920191825250919050565b5f806040838503121561232b575f80fd5b61233483612197565b9150602083015163ffffffff811681146122f9575f80fd5b601f82111561096657805f5260205f20601f840160051c810160208510156123715750805b601f840160051c820191505b81811015612390575f815560010161237d565b5050505050565b81516001600160401b038111156123b0576123b0611fa5565b6123c4816123be845461215f565b8461234c565b6020601f8211600181146123f6575f83156123df5750848201515b5f19600385901b1c1916600184901b178455612390565b5f84815260208120601f198516915b828110156124255787850151825560209485019460019092019101612405565b508482101561244257868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220d312c243dc9f851f96f5c9340d0cf981e887f6d647d3a1a4c5178268e99a6dc964736f6c634300081a0033",
|
894
|
-
"deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101e7575f3560e01c80636c741e78116101095780638fb360371161009e578063d165cb641161006e578063d165cb6414610468578063d56cd3d51461047b578063dd94be6814610370578063e618053f146103fe575f80fd5b80638fb3603714610424578063ada9652e14610445578063b68d180914610459578063bf7e214f14610460575f80fd5b80637a9e5e4b116100d95780637a9e5e4b146103e3578063893d20e8146103f6578063899cc04c146103fe57806389fad8a214610411575f80fd5b80636c741e78146103835780636e172807146103a357806374933c2f146103b657806376b707b7146103c9575f80fd5b8063329d6e741161017f5780635eec02641161014f5780635eec0264146102cf578063644c45e014610340578063661017811461035d57806367438c5014610370575f80fd5b8063329d6e74146102e2578063346696cc146102f557806349bb9e4b146103085780635ab1bd531461031b575f80fd5b8063138461e0116101ba578063138461e0146102725780631eff4b221461029257806322f3e2d4146102c757806325e451d3146102cf575f80fd5b806301ffc9a7146101eb5780630d8e6e2c1461022c5780630fec111c1461024857806311a146771461025d575b5f80fd5b6102176101f9366004611e3b565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461048e565b60405162ffffff9091168152602001610223565b610250610515565b6040516102239190611e90565b61027061026b366004611f4c565b6106cf565b005b61027a6106f9565b6040516001600160601b039091168152602001610223565b6102b97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b610217610703565b6102706102dd366004611f4c565b61077a565b6102706102f0366004612042565b61079c565b610270610303366004612073565b6108e6565b6102706103163660046120bb565b61096b565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b5f80516020612452833981519152546001600160601b031661027a565b61027061036b366004611f4c565b610a67565b61027061037e366004612073565b610a7b565b61038b610add565b6040516001600160401b039091168152602001610223565b6102706103b1366004612073565b610b69565b6102706103c4366004611f4c565b610b7d565b6103d1610b91565b60405160ff9091168152602001610223565b6102706103f1366004612107565b610bf9565b610328610c84565b61027061040c366004611f4c565b610db5565b61027061041f366004611f4c565b610dc9565b61042c610ddd565b6040516001600160e01b03199091168152602001610223565b6102b95f8051602061245283398151915281565b60286103d1565b610328610e12565b610270610476366004611f4c565b610e2d565b610270610489366004611f4c565b610e41565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105109190612122565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105e59190612144565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161062d610c84565b6001600160a01b0316815260200182600101805461064a9061215f565b80601f01602080910402602001604051908101604052809291908181526020018280546106769061215f565b80156106c15780601f10610698576101008083540402835291602001916106c1565b820191905f5260205f20905b8154815290600101906020018083116106a457829003601f168201915b505050505081525091505090565b6106db335b5f36610e55565b6106e683600e610f53565b6106f35f85858585611087565b50505050565b5f61051030611481565b5f61070c610e12565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610750573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061077491906121ab565b15905090565b610783336106d4565b61078e836016610f53565b6106f3600185858585611087565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6107be61048e565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156107fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082091906121d8565b5f805160206124928339815191528054600160401b900460ff1680610852575080546001600160401b03808416911610155b156108705760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561089a836116d7565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6108ef336106d4565b6109665f848473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561093c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109609190612144565b85611087565b505050565b5f805160206124928339815191528054600160401b810460ff1615906001600160401b03165f8115801561099c5750825b90505f826001600160401b031660011480156109b75750303b155b9050811580156109c5575080155b156109e35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610a0d57845460ff60401b1916600160401b1785555b610a1787876116f8565b8315610a5e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610a70336106d4565b6106e6836017610f53565b610a84336106d4565b610a8f82600c610f53565b6109666001848473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561093c573d5f803e3d5ffd5b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe6028610b02610b91565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610b45573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061051091906121d8565b610b72336106d4565b6108ef82600c610f53565b610b86336106d4565b61078e83600e610f53565b5f610b9a610e12565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bd5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061051091906121f3565b33610c02610e12565b6001600160a01b0316816001600160a01b031614610c425760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610c77576040516361798f2f60e11b81526001600160a01b0383166004820152602401610c39565b610c8082611813565b5050565b5f805f8051602061245283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610cf0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d1491906121ab565b15610d9f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610d75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d999190612213565b91505090565b54600160601b90046001600160a01b0316919050565b610dbe336106d4565b6106e6836016610f53565b610dd2336106d4565b6106e683600f610f53565b5f8051602061247283398151915280545f9190600160a01b900460ff16610e04575f610d99565b638fb3603760e01b91505090565b5f80516020612472833981519152546001600160a01b031690565b610e36336106d4565b61078e836017610f53565b610e4a336106d4565b61078e83600f610f53565b5f805160206124728339815191525f80610e8d610e70610e12565b8730610e7f60045f8a8c61222e565b610e8891612255565b611873565b9150915081610f4b5763ffffffff811615610f2857825460ff60a01b1916600160a01b178355610ebb610e12565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401610eea9392919061228d565b5f604051808303815f87803b158015610f01575f80fd5b505af1158015610f13573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f4b9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610c39565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015610fa3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc791906121ab565b8061105557506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561102f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061105391906121ab565b155b15610c805760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610c39565b5f611092838361197b565b90508515611291576040516330b8415f60e01b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156110f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061111491906121ab565b1561119357604051639f8151e560e01b81526001600160601b038086166004830152821660248201526001600160a01b03861690639f8151e5906044016020604051808303815f875af115801561116d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111919190612144565b505b6040516330b8415f60e01b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156111e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061120d91906121ab565b1561128c5760405163e80c61ed60e01b81526001600160601b038086166004830152831660248201526001600160a01b0386169063e80c61ed906044016020604051808303815f875af1158015611266573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061128a9190612144565b505b610f4b565b6040516330b8415f60e01b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156112e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061130b91906121ab565b1561138a5760405163b0628dc360e01b81526001600160601b038086166004830152821660248201526001600160a01b0386169063b0628dc3906044016020604051808303815f875af1158015611364573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113889190612144565b505b6040516330b8415f60e01b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156113e0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061140491906121ab565b15610f4b576040516314cc21b560e21b81526001600160601b038086166004830152831660248201526001600160a01b0386169063533086d4906044016020604051808303815f875af115801561145d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5e9190612144565b5f805f8051602061245283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156114ed573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061151191906121ab565b1561153d5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610c39565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561158f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b391906121ab565b6115db5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610c39565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561162d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116519190612144565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061169d610c84565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b6116df611a06565b60405163502ec37160e01b815260040160405180910390fd5b5f805160206124928339815191528054600160401b810460ff1615906001600160401b03165f811580156117295750825b90505f826001600160401b031660011480156117445750303b155b905081158015611752575080155b156117705760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561179a57845460ff60401b1916600160401b1785555b5f80878060200190518101906117b091906122cc565b915091506117bf82828b611a3e565b6117cf637afbb7fd60e01b611ad7565b50508315610a5e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610a55565b5f8051602061247283398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516118e19190612304565b5f60405180830381855afa9150503d805f8114611919576040519150601f19603f3d011682016040523d82523d5f602084013e61191e565b606091505b509150915081156119705760408151106119505780806020019051810190611946919061231a565b9094509250611970565b6020815110611970578080602001905181019061196d91906121ab565b93505b505094509492505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af41580156119db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ff9190612144565b9392505050565b5f8051602061249283398151915254600160401b900460ff16611a3c57604051631afcd79f60e31b815260040160405180910390fd5b565b611a46611a06565b611a4e611b0a565b611acb8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ab39190612144565b60085f8660405180602001604052805f815250611b1a565b61096663daf9067160e01b5b611adf611a06565b611b07816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b611b12611a06565b611a3c611c61565b611b22611a06565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015611b78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9c91906121ab565b611bc45760405163cf6935e560e01b81526001600160a01b0388166004820152602401610c39565b611bcd87611c8f565b611bd78683611ca0565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611c468382612397565b50611c57634a531f3360e01b611ad7565b5050505050505050565b611c69611a06565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b611c97611a06565b611b0781611d16565b611ca8611a06565b611cb0611d27565b611cb982611d6f565b6001600160a01b038116611ce05760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061245283398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b611d1e611a06565b611b0781611813565b611d2f611a06565b611a3c6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611d77611a06565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611dcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611df191906121ab565b611e195760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c39565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215611e4b575f80fd5b81356001600160e01b0319811681146119ff575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611ed8608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611f1c610100840182611e62565b949350505050565b6001600160a01b0381168114611b07575f80fd5b6001600160601b0381168114611b07575f80fd5b5f805f8060808587031215611f5f575f80fd5b8435611f6a81611f24565b93506020850135611f7a81611f38565b92506040850135611f8a81611f38565b91506060850135611f9a81611f38565b939692955090935050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611fc8575f80fd5b81356001600160401b03811115611fe157611fe1611fa5565b604051601f8201601f19908116603f011681016001600160401b038111828210171561200f5761200f611fa5565b604052818152838201602001851015612026575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612052575f80fd5b81356001600160401b03811115612067575f80fd5b611f1c84828501611fb9565b5f805f60608486031215612085575f80fd5b833561209081611f24565b925060208401356120a081611f38565b915060408401356120b081611f38565b809150509250925092565b5f80604083850312156120cc575f80fd5b82356120d781611f24565b915060208301356001600160401b038111156120f1575f80fd5b6120fd85828601611fb9565b9150509250929050565b5f60208284031215612117575f80fd5b81356119ff81611f24565b5f60208284031215612132575f80fd5b815162ffffff811681146119ff575f80fd5b5f60208284031215612154575f80fd5b81516119ff81611f38565b600181811c9082168061217357607f821691505b60208210810361219157634e487b7160e01b5f52602260045260245ffd5b50919050565b805180151581146121a6575f80fd5b919050565b5f602082840312156121bb575f80fd5b6119ff82612197565b6001600160401b0381168114611b07575f80fd5b5f602082840312156121e8575f80fd5b81516119ff816121c4565b5f60208284031215612203575f80fd5b815160ff811681146119ff575f80fd5b5f60208284031215612223575f80fd5b81516119ff81611f24565b5f808585111561223c575f80fd5b83861115612248575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612286576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156122dd575f80fd5b82516122e881611f24565b60208401519092506122f981611f24565b809150509250929050565b5f82518060208501845e5f920191825250919050565b5f806040838503121561232b575f80fd5b61233483612197565b9150602083015163ffffffff811681146122f9575f80fd5b601f82111561096657805f5260205f20601f840160051c810160208510156123715750805b601f840160051c820191505b81811015612390575f815560010161237d565b5050505050565b81516001600160401b038111156123b0576123b0611fa5565b6123c4816123be845461215f565b8461234c565b6020601f8211600181146123f6575f83156123df5750848201515b5f19600385901b1c1916600184901b178455612390565b5f84815260208120601f198516915b828110156124255787850151825560209485019460019092019101612405565b508482101561244257868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220d312c243dc9f851f96f5c9340d0cf981e887f6d647d3a1a4c5178268e99a6dc964736f6c634300081a0033",
|
893
|
+
"bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6124e7806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101e7575f3560e01c80636c741e78116101095780638fb360371161009e578063d165cb641161006e578063d165cb6414610468578063d56cd3d51461047b578063dd94be6814610370578063e618053f146103fe575f80fd5b80638fb3603714610424578063ada9652e14610445578063b68d180914610459578063bf7e214f14610460575f80fd5b80637a9e5e4b116100d95780637a9e5e4b146103e3578063893d20e8146103f6578063899cc04c146103fe57806389fad8a214610411575f80fd5b80636c741e78146103835780636e172807146103a357806374933c2f146103b657806376b707b7146103c9575f80fd5b8063329d6e741161017f5780635eec02641161014f5780635eec0264146102cf578063644c45e014610340578063661017811461035d57806367438c5014610370575f80fd5b8063329d6e74146102e2578063346696cc146102f557806349bb9e4b146103085780635ab1bd531461031b575f80fd5b8063138461e0116101ba578063138461e0146102725780631eff4b221461029257806322f3e2d4146102c757806325e451d3146102cf575f80fd5b806301ffc9a7146101eb5780630d8e6e2c1461022c5780630fec111c1461024857806311a146771461025d575b5f80fd5b6102176101f9366004611e3b565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461048e565b60405162ffffff9091168152602001610223565b610250610515565b6040516102239190611e90565b61027061026b366004611f4c565b6106cf565b005b61027a6106f9565b6040516001600160601b039091168152602001610223565b6102b97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b610217610703565b6102706102dd366004611f4c565b61077a565b6102706102f0366004612042565b61079c565b610270610303366004612073565b6108e6565b6102706103163660046120bb565b61096b565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b5f80516020612452833981519152546001600160601b031661027a565b61027061036b366004611f4c565b610a67565b61027061037e366004612073565b610a7b565b61038b610add565b6040516001600160401b039091168152602001610223565b6102706103b1366004612073565b610b69565b6102706103c4366004611f4c565b610b7d565b6103d1610b91565b60405160ff9091168152602001610223565b6102706103f1366004612107565b610bf9565b610328610c84565b61027061040c366004611f4c565b610db5565b61027061041f366004611f4c565b610dc9565b61042c610ddd565b6040516001600160e01b03199091168152602001610223565b6102b95f8051602061245283398151915281565b60286103d1565b610328610e12565b610270610476366004611f4c565b610e2d565b610270610489366004611f4c565b610e41565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105109190612122565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105e59190612144565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161062d610c84565b6001600160a01b0316815260200182600101805461064a9061215f565b80601f01602080910402602001604051908101604052809291908181526020018280546106769061215f565b80156106c15780601f10610698576101008083540402835291602001916106c1565b820191905f5260205f20905b8154815290600101906020018083116106a457829003601f168201915b505050505081525091505090565b6106db335b5f36610e55565b6106e683600e610f53565b6106f35f85858585611087565b50505050565b5f61051030611481565b5f61070c610e12565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610750573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061077491906121ab565b15905090565b610783336106d4565b61078e836016610f53565b6106f3600185858585611087565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6107be61048e565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156107fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082091906121d8565b5f805160206124928339815191528054600160401b900460ff1680610852575080546001600160401b03808416911610155b156108705760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561089a836116d7565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6108ef336106d4565b6109665f848473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561093c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109609190612144565b85611087565b505050565b5f805160206124928339815191528054600160401b810460ff1615906001600160401b03165f8115801561099c5750825b90505f826001600160401b031660011480156109b75750303b155b9050811580156109c5575080155b156109e35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610a0d57845460ff60401b1916600160401b1785555b610a1787876116f8565b8315610a5e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610a70336106d4565b6106e6836017610f53565b610a84336106d4565b610a8f82600c610f53565b6109666001848473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561093c573d5f803e3d5ffd5b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe6028610b02610b91565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610b45573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061051091906121d8565b610b72336106d4565b6108ef82600c610f53565b610b86336106d4565b61078e83600e610f53565b5f610b9a610e12565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bd5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061051091906121f3565b33610c02610e12565b6001600160a01b0316816001600160a01b031614610c425760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610c77576040516361798f2f60e11b81526001600160a01b0383166004820152602401610c39565b610c8082611813565b5050565b5f805f8051602061245283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610cf0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d1491906121ab565b15610d9f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610d75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d999190612213565b91505090565b54600160601b90046001600160a01b0316919050565b610dbe336106d4565b6106e6836016610f53565b610dd2336106d4565b6106e683600f610f53565b5f8051602061247283398151915280545f9190600160a01b900460ff16610e04575f610d99565b638fb3603760e01b91505090565b5f80516020612472833981519152546001600160a01b031690565b610e36336106d4565b61078e836017610f53565b610e4a336106d4565b61078e83600f610f53565b5f805160206124728339815191525f80610e8d610e70610e12565b8730610e7f60045f8a8c61222e565b610e8891612255565b611873565b9150915081610f4b5763ffffffff811615610f2857825460ff60a01b1916600160a01b178355610ebb610e12565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401610eea9392919061228d565b5f604051808303815f87803b158015610f01575f80fd5b505af1158015610f13573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f4b9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610c39565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015610fa3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc791906121ab565b8061105557506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561102f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061105391906121ab565b155b15610c805760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610c39565b5f611092838361197b565b90508515611291576040516330b8415f60e01b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156110f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061111491906121ab565b1561119357604051639f8151e560e01b81526001600160601b038086166004830152821660248201526001600160a01b03861690639f8151e5906044016020604051808303815f875af115801561116d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111919190612144565b505b6040516330b8415f60e01b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156111e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061120d91906121ab565b1561128c5760405163e80c61ed60e01b81526001600160601b038086166004830152831660248201526001600160a01b0386169063e80c61ed906044016020604051808303815f875af1158015611266573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061128a9190612144565b505b610f4b565b6040516330b8415f60e01b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156112e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061130b91906121ab565b1561138a5760405163b0628dc360e01b81526001600160601b038086166004830152821660248201526001600160a01b0386169063b0628dc3906044016020604051808303815f875af1158015611364573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113889190612144565b505b6040516330b8415f60e01b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156113e0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061140491906121ab565b15610f4b576040516314cc21b560e21b81526001600160601b038086166004830152831660248201526001600160a01b0386169063533086d4906044016020604051808303815f875af115801561145d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5e9190612144565b5f805f8051602061245283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156114ed573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061151191906121ab565b1561153d5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610c39565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561158f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b391906121ab565b6115db5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610c39565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561162d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116519190612144565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061169d610c84565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b6116df611a06565b60405163502ec37160e01b815260040160405180910390fd5b5f805160206124928339815191528054600160401b810460ff1615906001600160401b03165f811580156117295750825b90505f826001600160401b031660011480156117445750303b155b905081158015611752575080155b156117705760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561179a57845460ff60401b1916600160401b1785555b5f80878060200190518101906117b091906122cc565b915091506117bf82828b611a3e565b6117cf637afbb7fd60e01b611ad7565b50508315610a5e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610a55565b5f8051602061247283398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516118e19190612304565b5f60405180830381855afa9150503d805f8114611919576040519150601f19603f3d011682016040523d82523d5f602084013e61191e565b606091505b509150915081156119705760408151106119505780806020019051810190611946919061231a565b9094509250611970565b6020815110611970578080602001905181019061196d91906121ab565b93505b505094509492505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af41580156119db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ff9190612144565b9392505050565b5f8051602061249283398151915254600160401b900460ff16611a3c57604051631afcd79f60e31b815260040160405180910390fd5b565b611a46611a06565b611a4e611b0a565b611acb8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ab39190612144565b60085f8660405180602001604052805f815250611b1a565b61096663daf9067160e01b5b611adf611a06565b611b07816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b611b12611a06565b611a3c611c61565b611b22611a06565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015611b78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9c91906121ab565b611bc45760405163cf6935e560e01b81526001600160a01b0388166004820152602401610c39565b611bcd87611c8f565b611bd78683611ca0565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611c468382612397565b50611c57634a531f3360e01b611ad7565b5050505050505050565b611c69611a06565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b611c97611a06565b611b0781611d16565b611ca8611a06565b611cb0611d27565b611cb982611d6f565b6001600160a01b038116611ce05760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061245283398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b611d1e611a06565b611b0781611813565b611d2f611a06565b611a3c6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611d77611a06565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611dcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611df191906121ab565b611e195760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c39565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215611e4b575f80fd5b81356001600160e01b0319811681146119ff575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611ed8608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611f1c610100840182611e62565b949350505050565b6001600160a01b0381168114611b07575f80fd5b6001600160601b0381168114611b07575f80fd5b5f805f8060808587031215611f5f575f80fd5b8435611f6a81611f24565b93506020850135611f7a81611f38565b92506040850135611f8a81611f38565b91506060850135611f9a81611f38565b939692955090935050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611fc8575f80fd5b81356001600160401b03811115611fe157611fe1611fa5565b604051601f8201601f19908116603f011681016001600160401b038111828210171561200f5761200f611fa5565b604052818152838201602001851015612026575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612052575f80fd5b81356001600160401b03811115612067575f80fd5b611f1c84828501611fb9565b5f805f60608486031215612085575f80fd5b833561209081611f24565b925060208401356120a081611f38565b915060408401356120b081611f38565b809150509250925092565b5f80604083850312156120cc575f80fd5b82356120d781611f24565b915060208301356001600160401b038111156120f1575f80fd5b6120fd85828601611fb9565b9150509250929050565b5f60208284031215612117575f80fd5b81356119ff81611f24565b5f60208284031215612132575f80fd5b815162ffffff811681146119ff575f80fd5b5f60208284031215612154575f80fd5b81516119ff81611f38565b600181811c9082168061217357607f821691505b60208210810361219157634e487b7160e01b5f52602260045260245ffd5b50919050565b805180151581146121a6575f80fd5b919050565b5f602082840312156121bb575f80fd5b6119ff82612197565b6001600160401b0381168114611b07575f80fd5b5f602082840312156121e8575f80fd5b81516119ff816121c4565b5f60208284031215612203575f80fd5b815160ff811681146119ff575f80fd5b5f60208284031215612223575f80fd5b81516119ff81611f24565b5f808585111561223c575f80fd5b83861115612248575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612286576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156122dd575f80fd5b82516122e881611f24565b60208401519092506122f981611f24565b809150509250929050565b5f82518060208501845e5f920191825250919050565b5f806040838503121561232b575f80fd5b61233483612197565b9150602083015163ffffffff811681146122f9575f80fd5b601f82111561096657805f5260205f20601f840160051c810160208510156123715750805b601f840160051c820191505b81811015612390575f815560010161237d565b5050505050565b81516001600160401b038111156123b0576123b0611fa5565b6123c4816123be845461215f565b8461234c565b6020601f8211600181146123f6575f83156123df5750848201515b5f19600385901b1c1916600184901b178455612390565b5f84815260208120601f198516915b828110156124255787850151825560209485019460019092019101612405565b508482101561244257868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212204b74860035691e1e8cc283b9b1ef56f54a2b989926ad39ed88d8d29037c3f8c264736f6c634300081a0033",
|
894
|
+
"deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101e7575f3560e01c80636c741e78116101095780638fb360371161009e578063d165cb641161006e578063d165cb6414610468578063d56cd3d51461047b578063dd94be6814610370578063e618053f146103fe575f80fd5b80638fb3603714610424578063ada9652e14610445578063b68d180914610459578063bf7e214f14610460575f80fd5b80637a9e5e4b116100d95780637a9e5e4b146103e3578063893d20e8146103f6578063899cc04c146103fe57806389fad8a214610411575f80fd5b80636c741e78146103835780636e172807146103a357806374933c2f146103b657806376b707b7146103c9575f80fd5b8063329d6e741161017f5780635eec02641161014f5780635eec0264146102cf578063644c45e014610340578063661017811461035d57806367438c5014610370575f80fd5b8063329d6e74146102e2578063346696cc146102f557806349bb9e4b146103085780635ab1bd531461031b575f80fd5b8063138461e0116101ba578063138461e0146102725780631eff4b221461029257806322f3e2d4146102c757806325e451d3146102cf575f80fd5b806301ffc9a7146101eb5780630d8e6e2c1461022c5780630fec111c1461024857806311a146771461025d575b5f80fd5b6102176101f9366004611e3b565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461048e565b60405162ffffff9091168152602001610223565b610250610515565b6040516102239190611e90565b61027061026b366004611f4c565b6106cf565b005b61027a6106f9565b6040516001600160601b039091168152602001610223565b6102b97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b610217610703565b6102706102dd366004611f4c565b61077a565b6102706102f0366004612042565b61079c565b610270610303366004612073565b6108e6565b6102706103163660046120bb565b61096b565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b5f80516020612452833981519152546001600160601b031661027a565b61027061036b366004611f4c565b610a67565b61027061037e366004612073565b610a7b565b61038b610add565b6040516001600160401b039091168152602001610223565b6102706103b1366004612073565b610b69565b6102706103c4366004611f4c565b610b7d565b6103d1610b91565b60405160ff9091168152602001610223565b6102706103f1366004612107565b610bf9565b610328610c84565b61027061040c366004611f4c565b610db5565b61027061041f366004611f4c565b610dc9565b61042c610ddd565b6040516001600160e01b03199091168152602001610223565b6102b95f8051602061245283398151915281565b60286103d1565b610328610e12565b610270610476366004611f4c565b610e2d565b610270610489366004611f4c565b610e41565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105109190612122565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105e59190612144565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161062d610c84565b6001600160a01b0316815260200182600101805461064a9061215f565b80601f01602080910402602001604051908101604052809291908181526020018280546106769061215f565b80156106c15780601f10610698576101008083540402835291602001916106c1565b820191905f5260205f20905b8154815290600101906020018083116106a457829003601f168201915b505050505081525091505090565b6106db335b5f36610e55565b6106e683600e610f53565b6106f35f85858585611087565b50505050565b5f61051030611481565b5f61070c610e12565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610750573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061077491906121ab565b15905090565b610783336106d4565b61078e836016610f53565b6106f3600185858585611087565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6107be61048e565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156107fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082091906121d8565b5f805160206124928339815191528054600160401b900460ff1680610852575080546001600160401b03808416911610155b156108705760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561089a836116d7565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6108ef336106d4565b6109665f848473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561093c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109609190612144565b85611087565b505050565b5f805160206124928339815191528054600160401b810460ff1615906001600160401b03165f8115801561099c5750825b90505f826001600160401b031660011480156109b75750303b155b9050811580156109c5575080155b156109e35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610a0d57845460ff60401b1916600160401b1785555b610a1787876116f8565b8315610a5e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610a70336106d4565b6106e6836017610f53565b610a84336106d4565b610a8f82600c610f53565b6109666001848473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561093c573d5f803e3d5ffd5b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe6028610b02610b91565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610b45573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061051091906121d8565b610b72336106d4565b6108ef82600c610f53565b610b86336106d4565b61078e83600e610f53565b5f610b9a610e12565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bd5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061051091906121f3565b33610c02610e12565b6001600160a01b0316816001600160a01b031614610c425760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610c77576040516361798f2f60e11b81526001600160a01b0383166004820152602401610c39565b610c8082611813565b5050565b5f805f8051602061245283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610cf0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d1491906121ab565b15610d9f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610d75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d999190612213565b91505090565b54600160601b90046001600160a01b0316919050565b610dbe336106d4565b6106e6836016610f53565b610dd2336106d4565b6106e683600f610f53565b5f8051602061247283398151915280545f9190600160a01b900460ff16610e04575f610d99565b638fb3603760e01b91505090565b5f80516020612472833981519152546001600160a01b031690565b610e36336106d4565b61078e836017610f53565b610e4a336106d4565b61078e83600f610f53565b5f805160206124728339815191525f80610e8d610e70610e12565b8730610e7f60045f8a8c61222e565b610e8891612255565b611873565b9150915081610f4b5763ffffffff811615610f2857825460ff60a01b1916600160a01b178355610ebb610e12565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401610eea9392919061228d565b5f604051808303815f87803b158015610f01575f80fd5b505af1158015610f13573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f4b9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610c39565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015610fa3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc791906121ab565b8061105557506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561102f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061105391906121ab565b155b15610c805760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610c39565b5f611092838361197b565b90508515611291576040516330b8415f60e01b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156110f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061111491906121ab565b1561119357604051639f8151e560e01b81526001600160601b038086166004830152821660248201526001600160a01b03861690639f8151e5906044016020604051808303815f875af115801561116d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111919190612144565b505b6040516330b8415f60e01b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156111e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061120d91906121ab565b1561128c5760405163e80c61ed60e01b81526001600160601b038086166004830152831660248201526001600160a01b0386169063e80c61ed906044016020604051808303815f875af1158015611266573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061128a9190612144565b505b610f4b565b6040516330b8415f60e01b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156112e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061130b91906121ab565b1561138a5760405163b0628dc360e01b81526001600160601b038086166004830152821660248201526001600160a01b0386169063b0628dc3906044016020604051808303815f875af1158015611364573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113889190612144565b505b6040516330b8415f60e01b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156113e0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061140491906121ab565b15610f4b576040516314cc21b560e21b81526001600160601b038086166004830152831660248201526001600160a01b0386169063533086d4906044016020604051808303815f875af115801561145d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5e9190612144565b5f805f8051602061245283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156114ed573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061151191906121ab565b1561153d5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610c39565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561158f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b391906121ab565b6115db5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610c39565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561162d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116519190612144565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061169d610c84565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b6116df611a06565b60405163502ec37160e01b815260040160405180910390fd5b5f805160206124928339815191528054600160401b810460ff1615906001600160401b03165f811580156117295750825b90505f826001600160401b031660011480156117445750303b155b905081158015611752575080155b156117705760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561179a57845460ff60401b1916600160401b1785555b5f80878060200190518101906117b091906122cc565b915091506117bf82828b611a3e565b6117cf637afbb7fd60e01b611ad7565b50508315610a5e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610a55565b5f8051602061247283398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516118e19190612304565b5f60405180830381855afa9150503d805f8114611919576040519150601f19603f3d011682016040523d82523d5f602084013e61191e565b606091505b509150915081156119705760408151106119505780806020019051810190611946919061231a565b9094509250611970565b6020815110611970578080602001905181019061196d91906121ab565b93505b505094509492505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af41580156119db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ff9190612144565b9392505050565b5f8051602061249283398151915254600160401b900460ff16611a3c57604051631afcd79f60e31b815260040160405180910390fd5b565b611a46611a06565b611a4e611b0a565b611acb8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ab39190612144565b60085f8660405180602001604052805f815250611b1a565b61096663daf9067160e01b5b611adf611a06565b611b07816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b611b12611a06565b611a3c611c61565b611b22611a06565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015611b78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9c91906121ab565b611bc45760405163cf6935e560e01b81526001600160a01b0388166004820152602401610c39565b611bcd87611c8f565b611bd78683611ca0565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611c468382612397565b50611c57634a531f3360e01b611ad7565b5050505050505050565b611c69611a06565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b611c97611a06565b611b0781611d16565b611ca8611a06565b611cb0611d27565b611cb982611d6f565b6001600160a01b038116611ce05760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061245283398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b611d1e611a06565b611b0781611813565b611d2f611a06565b611a3c6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611d77611a06565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611dcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611df191906121ab565b611e195760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c39565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215611e4b575f80fd5b81356001600160e01b0319811681146119ff575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611ed8608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611f1c610100840182611e62565b949350505050565b6001600160a01b0381168114611b07575f80fd5b6001600160601b0381168114611b07575f80fd5b5f805f8060808587031215611f5f575f80fd5b8435611f6a81611f24565b93506020850135611f7a81611f38565b92506040850135611f8a81611f38565b91506060850135611f9a81611f38565b939692955090935050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611fc8575f80fd5b81356001600160401b03811115611fe157611fe1611fa5565b604051601f8201601f19908116603f011681016001600160401b038111828210171561200f5761200f611fa5565b604052818152838201602001851015612026575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612052575f80fd5b81356001600160401b03811115612067575f80fd5b611f1c84828501611fb9565b5f805f60608486031215612085575f80fd5b833561209081611f24565b925060208401356120a081611f38565b915060408401356120b081611f38565b809150509250925092565b5f80604083850312156120cc575f80fd5b82356120d781611f24565b915060208301356001600160401b038111156120f1575f80fd5b6120fd85828601611fb9565b9150509250929050565b5f60208284031215612117575f80fd5b81356119ff81611f24565b5f60208284031215612132575f80fd5b815162ffffff811681146119ff575f80fd5b5f60208284031215612154575f80fd5b81516119ff81611f38565b600181811c9082168061217357607f821691505b60208210810361219157634e487b7160e01b5f52602260045260245ffd5b50919050565b805180151581146121a6575f80fd5b919050565b5f602082840312156121bb575f80fd5b6119ff82612197565b6001600160401b0381168114611b07575f80fd5b5f602082840312156121e8575f80fd5b81516119ff816121c4565b5f60208284031215612203575f80fd5b815160ff811681146119ff575f80fd5b5f60208284031215612223575f80fd5b81516119ff81611f24565b5f808585111561223c575f80fd5b83861115612248575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612286576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156122dd575f80fd5b82516122e881611f24565b60208401519092506122f981611f24565b809150509250929050565b5f82518060208501845e5f920191825250919050565b5f806040838503121561232b575f80fd5b61233483612197565b9150602083015163ffffffff811681146122f9575f80fd5b601f82111561096657805f5260205f20601f840160051c810160208510156123715750805b601f840160051c820191505b81811015612390575f815560010161237d565b5050505050565b81516001600160401b038111156123b0576123b0611fa5565b6123c4816123be845461215f565b8461234c565b6020601f8211600181146123f6575f83156123df5750848201515b5f19600385901b1c1916600184901b178455612390565b5f84815260208120601f198516915b828110156124255787850151825560209485019460019092019101612405565b508482101561244257868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212204b74860035691e1e8cc283b9b1ef56f54a2b989926ad39ed88d8d29037c3f8c264736f6c634300081a0033",
|
895
895
|
"linkReferences": {
|
896
896
|
"contracts/shared/ContractLib.sol": {
|
897
897
|
"ContractLib": [
|