@etherisc/gif-next 0.0.2-f78c672-338 → 0.0.2-f78f882-351
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +63 -312
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +1 -1
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +106 -38
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +111 -45
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +1 -1
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +58 -6
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +655 -299
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +2008 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +8 -39
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +331 -56
- 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 +501 -231
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +131 -16
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +256 -16
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +426 -27
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +63 -59
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +322 -67
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +21 -33
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +379 -150
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +160 -78
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +20 -32
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +233 -20
- 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 +109 -110
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +321 -66
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +145 -134
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +321 -66
- 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 +82 -84
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +321 -66
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +39 -73
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +130 -148
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +321 -66
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +333 -190
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +321 -66
- package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
- package/artifacts/contracts/{shared/IKeyValueStore.sol/IKeyValueStore.json → instance/BaseStore.sol/BaseStore.json} +51 -229
- 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 +450 -28
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +355 -12
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +488 -85
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +942 -471
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +289 -78
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +595 -532
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +387 -64
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +100 -52
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1316 -2015
- 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 +101 -88
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
- 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/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
- 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 +20 -20
- 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 +33 -45
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +340 -60
- 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 +19 -31
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +29 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +19 -31
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +87 -42
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +116 -50
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +59 -79
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +321 -66
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +300 -123
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +144 -58
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +186 -33
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +29 -41
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +238 -19
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +29 -41
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +100 -34
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +346 -87
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +141 -63
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +218 -61
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +113 -43
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +46 -58
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +321 -66
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +142 -102
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +128 -70
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +166 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +50 -10
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +55 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +29 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +40 -52
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +203 -18
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +157 -86
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +511 -21
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +138 -72
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +91 -118
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +113 -67
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +40 -52
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +231 -46
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +101 -43
- 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/IRegistry.sol/IRegistry.json +33 -22
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +29 -0
- 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 +71 -60
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +799 -472
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1137 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +47 -18
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +96 -38
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +841 -419
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +197 -129
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +459 -26
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +119 -59
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +19 -31
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +212 -232
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +133 -71
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +130 -39
- 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/ContractLib.sol/ITokenRegistryHelper.json +2 -2
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +19 -31
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +119 -147
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +19 -31
- 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/INftOwnable.sol/INftOwnable.json +19 -0
- 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/IRegisterable.sol/IRegisterable.json +19 -0
- 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/IService.sol/IService.json +29 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +19 -31
- 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/NftIdSet.sol/NftIdSet.json +2 -2
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +21 -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/Registerable.sol/Registerable.json +19 -0
- 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/Service.sol/Service.json +29 -0
- 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 +1453 -153
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +161 -110
- package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
- package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1565 -239
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +146 -67
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +294 -177
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +200 -157
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +98 -44
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1633 -819
- package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +159 -87
- 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/Amount.sol/AmountLib.json +10 -10
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +64 -19
- package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +93 -37
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +1 -1
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +2 -2
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +39 -218
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +45 -2
- 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/String.sol/StrLib.json +50 -2
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +3 -3
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +60 -36
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +56 -2
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +81 -27
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
- package/contracts/accounting/AccountingService.sol +15 -3
- package/contracts/accounting/IAccountingService.sol +4 -2
- package/contracts/authorization/AccessAdmin.sol +361 -371
- package/contracts/authorization/AccessAdminLib.sol +678 -0
- package/contracts/authorization/AccessManagerCloneable.sol +23 -32
- package/contracts/authorization/Authorization.sol +82 -229
- package/contracts/authorization/IAccess.sol +29 -12
- package/contracts/authorization/IAccessAdmin.sol +83 -84
- package/contracts/authorization/IAuthorization.sol +3 -51
- package/contracts/authorization/IServiceAuthorization.sol +55 -17
- package/contracts/authorization/ServiceAuthorization.sol +228 -34
- package/contracts/distribution/BasicDistribution.sol +5 -7
- package/contracts/distribution/BasicDistributionAuthorization.sol +11 -4
- package/contracts/distribution/Distribution.sol +12 -17
- package/contracts/distribution/DistributionService.sol +129 -66
- package/contracts/distribution/IDistributionComponent.sol +3 -1
- package/contracts/distribution/IDistributionService.sol +21 -9
- package/contracts/examples/fire/FirePool.sol +0 -4
- package/contracts/examples/fire/FireProduct.sol +6 -10
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +4 -8
- package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -8
- package/contracts/examples/unpermissioned/SimplePool.sol +0 -4
- package/contracts/examples/unpermissioned/SimpleProduct.sol +83 -23
- package/contracts/instance/BaseStore.sol +93 -0
- package/contracts/instance/IBaseStore.sol +37 -0
- package/contracts/instance/IInstance.sol +98 -12
- package/contracts/instance/IInstanceService.sol +54 -7
- package/contracts/instance/Instance.sol +165 -61
- package/contracts/instance/InstanceAdmin.sol +183 -313
- package/contracts/instance/InstanceAuthorizationV3.sol +123 -61
- package/contracts/instance/InstanceReader.sol +350 -394
- package/contracts/instance/InstanceService.sol +283 -173
- package/contracts/instance/InstanceStore.sol +153 -128
- package/contracts/instance/ProductStore.sol +290 -0
- package/contracts/instance/RiskSet.sol +10 -2
- package/contracts/instance/TargetNames.sol +10 -0
- package/contracts/instance/base/BalanceStore.sol +4 -6
- package/contracts/instance/base/ObjectLifecycle.sol +2 -6
- package/contracts/instance/module/IBundle.sol +6 -5
- package/contracts/instance/module/IComponents.sol +15 -6
- package/contracts/instance/module/IDistribution.sol +17 -7
- package/contracts/instance/module/IPolicy.sol +28 -8
- package/contracts/instance/module/IRisk.sol +2 -0
- package/contracts/oracle/BasicOracle.sol +3 -6
- package/contracts/oracle/BasicOracleAuthorization.sol +18 -2
- package/contracts/oracle/IOracle.sol +9 -4
- package/contracts/oracle/Oracle.sol +4 -8
- package/contracts/oracle/OracleService.sol +8 -8
- package/contracts/pool/BasicPool.sol +4 -18
- package/contracts/pool/BasicPoolAuthorization.sol +10 -5
- package/contracts/pool/BundleService.sol +34 -43
- package/contracts/pool/IBundleService.sol +14 -13
- package/contracts/pool/IPoolService.sol +7 -2
- package/contracts/pool/Pool.sol +6 -20
- package/contracts/pool/PoolLib.sol +127 -2
- package/contracts/pool/PoolService.sol +41 -184
- package/contracts/product/ApplicationService.sol +65 -12
- package/contracts/product/BasicProduct.sol +2 -5
- package/contracts/product/BasicProductAuthorization.sol +11 -4
- package/contracts/product/ClaimService.sol +99 -105
- package/contracts/product/IApplicationService.sol +21 -2
- package/contracts/product/IClaimService.sol +5 -4
- package/contracts/product/IPolicyService.sol +9 -2
- package/contracts/product/IRiskService.sol +18 -3
- package/contracts/product/PolicyService.sol +40 -77
- package/contracts/product/PolicyServiceLib.sol +79 -5
- package/contracts/product/PricingService.sol +29 -32
- package/contracts/product/Product.sol +40 -18
- package/contracts/product/RiskService.sol +50 -15
- package/contracts/registry/IRegistry.sol +15 -9
- package/contracts/registry/IRelease.sol +6 -3
- package/contracts/registry/Registry.sol +15 -9
- package/contracts/registry/RegistryAdmin.sol +85 -266
- package/contracts/registry/RegistryAuthorization.sol +337 -0
- package/contracts/registry/RegistryService.sol +1 -1
- package/contracts/registry/ReleaseAdmin.sol +70 -116
- package/contracts/registry/ReleaseRegistry.sol +57 -43
- package/contracts/registry/ServiceAuthorizationV3.sol +128 -33
- package/contracts/registry/TokenRegistry.sol +56 -52
- package/contracts/shared/Component.sol +20 -37
- package/contracts/shared/ComponentService.sol +249 -250
- package/contracts/shared/ContractLib.sol +134 -75
- package/contracts/shared/IComponent.sol +1 -4
- package/contracts/shared/IComponentService.sol +21 -22
- package/contracts/shared/INftOwnable.sol +2 -0
- package/contracts/shared/IRegisterable.sol +0 -1
- package/contracts/shared/InitializableERC165.sol +9 -1
- package/contracts/shared/InstanceLinkedComponent.sol +6 -11
- package/contracts/shared/NftOwnable.sol +4 -2
- package/contracts/shared/PolicyHolder.sol +3 -2
- package/contracts/shared/Registerable.sol +1 -4
- package/contracts/shared/Service.sol +6 -4
- package/contracts/shared/TokenHandler.sol +5 -4
- package/contracts/staking/IStaking.sol +265 -64
- package/contracts/staking/IStakingService.sol +44 -82
- package/contracts/staking/ITargetLimitHandler.sol +17 -0
- package/contracts/staking/Staking.sol +475 -204
- package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
- package/contracts/staking/StakingManager.sol +4 -3
- package/contracts/staking/StakingReader.sol +58 -77
- package/contracts/staking/StakingService.sol +49 -158
- package/contracts/staking/StakingServiceManager.sol +1 -0
- package/contracts/staking/StakingStore.sol +1093 -330
- package/contracts/staking/TargetHandler.sol +132 -0
- package/contracts/staking/TargetManagerLib.sol +69 -46
- package/contracts/type/Amount.sol +4 -0
- package/contracts/type/Blocknumber.sol +17 -22
- package/contracts/type/ChainId.sol +101 -0
- package/contracts/type/Fee.sol +8 -8
- package/contracts/type/NftId.sol +3 -3
- package/contracts/type/ObjectType.sol +21 -17
- package/contracts/type/RoleId.sol +57 -59
- package/contracts/type/Seconds.sol +19 -0
- package/contracts/type/String.sol +12 -0
- package/contracts/type/Timestamp.sol +4 -2
- package/contracts/type/UFixed.sol +28 -10
- package/contracts/type/Version.sol +39 -0
- package/contracts/upgradeability/IVersionable.sol +3 -0
- package/contracts/upgradeability/ProxyManager.sol +26 -12
- package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
- package/contracts/upgradeability/Versionable.sol +6 -3
- package/package.json +1 -1
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +0 -4
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +0 -24
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -485
- 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/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -205
- package/contracts/shared/ComponentVerifyingService.sol +0 -128
- package/contracts/shared/IKeyValueStore.sol +0 -54
- package/contracts/shared/KeyValueStore.sol +0 -131
- package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -117,8 +117,8 @@
|
|
117
117
|
"type": "function"
|
118
118
|
}
|
119
119
|
],
|
120
|
-
"bytecode": "0x6103e0610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061006b575f3560e01c80632cf96bf91461006f5780633f093cd6146100a257806355ee6275146100ce5780637bc32ecf146100ef578063a420c7871461011f578063bc1b392d14610142575b5f80fd5b61008a61007d366004610211565b6001600160c01b03191690565b60405160ff1990911681526020015b60405180910390f35b6100b56100b0366004610253565b610148565b6040516001600160c01b03199091168152602001610099565b6100e16100dc366004610211565b61017a565b604051908152602001610099565b61010f6100fd366004610211565b5f6001600160c01b031982161561020b565b6040519015158152602001610099565b61013061012d366004610329565b90565b60405160ff9091168152602001610099565b5f6100b5565b5f828260405160200161015c929190610349565b60405160208183030381529060405280519060200120905092915050565b5f73__$4b9aaffa8d044614668dad578b824b8eee$
|
121
|
-
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061006b575f3560e01c80632cf96bf91461006f5780633f093cd6146100a257806355ee6275146100ce5780637bc32ecf146100ef578063a420c7871461011f578063bc1b392d14610142575b5f80fd5b61008a61007d366004610211565b6001600160c01b03191690565b60405160ff1990911681526020015b60405180910390f35b6100b56100b0366004610253565b610148565b6040516001600160c01b03199091168152602001610099565b6100e16100dc366004610211565b61017a565b604051908152602001610099565b61010f6100fd366004610211565b5f6001600160c01b031982161561020b565b6040519015158152602001610099565b61013061012d366004610329565b90565b60405160ff9091168152602001610099565b5f6100b5565b5f828260405160200161015c929190610349565b60405160208183030381529060405280519060200120905092915050565b5f73__$4b9aaffa8d044614668dad578b824b8eee$
|
120
|
+
"bytecode": "0x6103e0610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061006b575f3560e01c80632cf96bf91461006f5780633f093cd6146100a257806355ee6275146100ce5780637bc32ecf146100ef578063a420c7871461011f578063bc1b392d14610142575b5f80fd5b61008a61007d366004610211565b6001600160c01b03191690565b60405160ff1990911681526020015b60405180910390f35b6100b56100b0366004610253565b610148565b6040516001600160c01b03199091168152602001610099565b6100e16100dc366004610211565b61017a565b604051908152602001610099565b61010f6100fd366004610211565b5f6001600160c01b031982161561020b565b6040519015158152602001610099565b61013061012d366004610329565b90565b60405160ff9091168152602001610099565b5f6100b5565b5f828260405160200161015c929190610349565b60405160208183030381529060405280519060200120905092915050565b5f73__$4b9aaffa8d044614668dad578b824b8eee$__63f48016ce60316001600160c01b031985166040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af41580156101e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061020b9190610393565b92915050565b5f60208284031215610221575f80fd5b81356001600160c01b031981168114610238575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b5f8060408385031215610264575f80fd5b82356bffffffffffffffffffffffff8116811461027f575f80fd5b9150602083013567ffffffffffffffff81111561029a575f80fd5b8301601f810185136102aa575f80fd5b803567ffffffffffffffff8111156102c4576102c461023f565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156102f3576102f361023f565b60405281815282820160200187101561030a575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f60208284031215610339575f80fd5b813560ff81168114610238575f80fd5b6bffffffffffffffffffffffff83168152604060208201525f82518060408401528060208501606085015e5f606082850101526060601f19601f8301168401019150509392505050565b5f602082840312156103a3575f80fd5b505191905056fea26469706673582212208b7baeab31afdfc9dfb83f3e39e7020ad0b56d1ea79e18a210c73dfc37c6261164736f6c634300081a0033",
|
121
|
+
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061006b575f3560e01c80632cf96bf91461006f5780633f093cd6146100a257806355ee6275146100ce5780637bc32ecf146100ef578063a420c7871461011f578063bc1b392d14610142575b5f80fd5b61008a61007d366004610211565b6001600160c01b03191690565b60405160ff1990911681526020015b60405180910390f35b6100b56100b0366004610253565b610148565b6040516001600160c01b03199091168152602001610099565b6100e16100dc366004610211565b61017a565b604051908152602001610099565b61010f6100fd366004610211565b5f6001600160c01b031982161561020b565b6040519015158152602001610099565b61013061012d366004610329565b90565b60405160ff9091168152602001610099565b5f6100b5565b5f828260405160200161015c929190610349565b60405160208183030381529060405280519060200120905092915050565b5f73__$4b9aaffa8d044614668dad578b824b8eee$__63f48016ce60316001600160c01b031985166040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af41580156101e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061020b9190610393565b92915050565b5f60208284031215610221575f80fd5b81356001600160c01b031981168114610238575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b5f8060408385031215610264575f80fd5b82356bffffffffffffffffffffffff8116811461027f575f80fd5b9150602083013567ffffffffffffffff81111561029a575f80fd5b8301601f810185136102aa575f80fd5b803567ffffffffffffffff8111156102c4576102c461023f565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156102f3576102f361023f565b60405281815282820160200187101561030a575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f60208284031215610339575f80fd5b813560ff81168114610238575f80fd5b6bffffffffffffffffffffffff83168152604060208201525f82518060408401528060208501606085015e5f606082850101526060601f19601f8301168401019150509392505050565b5f602082840312156103a3575f80fd5b505191905056fea26469706673582212208b7baeab31afdfc9dfb83f3e39e7020ad0b56d1ea79e18a210c73dfc37c6261164736f6c634300081a0033",
|
122
122
|
"linkReferences": {
|
123
123
|
"contracts/type/Key32.sol": {
|
124
124
|
"Key32Lib": [
|
@@ -179,8 +179,8 @@
|
|
179
179
|
"type": "function"
|
180
180
|
}
|
181
181
|
],
|
182
|
-
"bytecode": "0x610334610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061009b575f3560e01c806367cb8ec11161006e57806367cb8ec11461013a578063755905de1461016c578063a42e52e914610196578063bc1b392d146101b3578063f37f38f0146101b9575f80fd5b8063057182b41461009f5780633120ca45146100d05780634894bb5e146100f0578063545ce21c14610111575b5f80fd5b6100bb6100ad36600461027f565b67ffffffffffffffff161590565b60405190151581526020015b60405180910390f35b6100bb6100de36600461029f565b67ffffffffffffffff90811691161490565b6100bb6100fe36600461029f565b67ffffffffffffffff9081169116141590565b61012c61011f36600461027f565b67ffffffffffffffff1690565b6040519081526020016100c7565b61015961014836600461027f565b60081b68ffffffffffffffff001690565b60405160ff1990911681526020016100c7565b61017d61017a3660046102d0565b90565b60405167ffffffffffffffff90911681526020016100c7565b6100bb6101a436600461027f565b67ffffffffffffffff16151590565b5f61017d565b61012c6101c736600461027f565b5f73__$4b9aaffa8d044614668dad578b824b8eee$
|
183
|
-
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061009b575f3560e01c806367cb8ec11161006e57806367cb8ec11461013a578063755905de1461016c578063a42e52e914610196578063bc1b392d146101b3578063f37f38f0146101b9575f80fd5b8063057182b41461009f5780633120ca45146100d05780634894bb5e146100f0578063545ce21c14610111575b5f80fd5b6100bb6100ad36600461027f565b67ffffffffffffffff161590565b60405190151581526020015b60405180910390f35b6100bb6100de36600461029f565b67ffffffffffffffff90811691161490565b6100bb6100fe36600461029f565b67ffffffffffffffff9081169116141590565b61012c61011f36600461027f565b67ffffffffffffffff1690565b6040519081526020016100c7565b61015961014836600461027f565b60081b68ffffffffffffffff001690565b60405160ff1990911681526020016100c7565b61017d61017a3660046102d0565b90565b60405167ffffffffffffffff90911681526020016100c7565b6100bb6101a436600461027f565b67ffffffffffffffff16151590565b5f61017d565b61012c6101c736600461027f565b5f73__$4b9aaffa8d044614668dad578b824b8eee$
|
182
|
+
"bytecode": "0x610334610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061009b575f3560e01c806367cb8ec11161006e57806367cb8ec11461013a578063755905de1461016c578063a42e52e914610196578063bc1b392d146101b3578063f37f38f0146101b9575f80fd5b8063057182b41461009f5780633120ca45146100d05780634894bb5e146100f0578063545ce21c14610111575b5f80fd5b6100bb6100ad36600461027f565b67ffffffffffffffff161590565b60405190151581526020015b60405180910390f35b6100bb6100de36600461029f565b67ffffffffffffffff90811691161490565b6100bb6100fe36600461029f565b67ffffffffffffffff9081169116141590565b61012c61011f36600461027f565b67ffffffffffffffff1690565b6040519081526020016100c7565b61015961014836600461027f565b60081b68ffffffffffffffff001690565b60405160ff1990911681526020016100c7565b61017d61017a3660046102d0565b90565b60405167ffffffffffffffff90911681526020016100c7565b6100bb6101a436600461027f565b67ffffffffffffffff16151590565b5f61017d565b61012c6101c736600461027f565b5f73__$4b9aaffa8d044614668dad578b824b8eee$__63f48016ce602f600885901b68ffffffffffffffff00166040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af4158015610239573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061025d91906102e7565b92915050565b803567ffffffffffffffff8116811461027a575f80fd5b919050565b5f6020828403121561028f575f80fd5b61029882610263565b9392505050565b5f80604083850312156102b0575f80fd5b6102b983610263565b91506102c760208401610263565b90509250929050565b5f602082840312156102e0575f80fd5b5035919050565b5f602082840312156102f7575f80fd5b505191905056fea264697066735822122085ec8694d0bcb0370bc128ef137457069603ec15cd96bc6932fb56b830a0790764736f6c634300081a0033",
|
183
|
+
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061009b575f3560e01c806367cb8ec11161006e57806367cb8ec11461013a578063755905de1461016c578063a42e52e914610196578063bc1b392d146101b3578063f37f38f0146101b9575f80fd5b8063057182b41461009f5780633120ca45146100d05780634894bb5e146100f0578063545ce21c14610111575b5f80fd5b6100bb6100ad36600461027f565b67ffffffffffffffff161590565b60405190151581526020015b60405180910390f35b6100bb6100de36600461029f565b67ffffffffffffffff90811691161490565b6100bb6100fe36600461029f565b67ffffffffffffffff9081169116141590565b61012c61011f36600461027f565b67ffffffffffffffff1690565b6040519081526020016100c7565b61015961014836600461027f565b60081b68ffffffffffffffff001690565b60405160ff1990911681526020016100c7565b61017d61017a3660046102d0565b90565b60405167ffffffffffffffff90911681526020016100c7565b6100bb6101a436600461027f565b67ffffffffffffffff16151590565b5f61017d565b61012c6101c736600461027f565b5f73__$4b9aaffa8d044614668dad578b824b8eee$__63f48016ce602f600885901b68ffffffffffffffff00166040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af4158015610239573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061025d91906102e7565b92915050565b803567ffffffffffffffff8116811461027a575f80fd5b919050565b5f6020828403121561028f575f80fd5b61029882610263565b9392505050565b5f80604083850312156102b0575f80fd5b6102b983610263565b91506102c760208401610263565b90509250929050565b5f602082840312156102e0575f80fd5b5035919050565b5f602082840312156102f7575f80fd5b505191905056fea264697066735822122085ec8694d0bcb0370bc128ef137457069603ec15cd96bc6932fb56b830a0790764736f6c634300081a0033",
|
184
184
|
"linkReferences": {
|
185
185
|
"contracts/type/Key32.sol": {
|
186
186
|
"Key32Lib": [
|
@@ -179,8 +179,8 @@
|
|
179
179
|
"type": "function"
|
180
180
|
}
|
181
181
|
],
|
182
|
-
"bytecode": "0x6103da610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061009b575f3560e01c80637bc32ecf1161006e5780637bc32ecf146101425780638a3065c1146101555780638b0d9ff0146101a4578063b2e508a6146101b8578063bc1b392d146101ce575f80fd5b806301809eea1461009f5780632cf96bf9146100d057806355ee6275146100fe57806370a021ec1461011f575b5f80fd5b6100b26100ad3660046102bd565b6101d4565b6040516001600160c01b031990911681526020015b60405180910390f35b6100eb6100de3660046102f5565b6001600160c01b03191690565b60405160ff1990911681526020016100c7565b61011161010c3660046102f5565b6101fb565b6040519081526020016100c7565b61013261012d36600461030e565b610292565b60405190151581526020016100c7565b6101326101503660046102f5565b6102ab565b6100b261016336600461033f565b604080516bffffffffffffffffffffffff841660208201529081018290525f9060600160405160208183030381529060405280519060200120905092915050565b6101116101b23660046102f5565b60c01c90565b6101326101c63660046102f5565b60c01c151590565b5f6100b2565b80680100000000000000006101e98260c01c90565b106101f6576101f6610379565b919050565b5f73__$4b9aaffa8d044614668dad578b824b8eee$
|
183
|
-
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061009b575f3560e01c80637bc32ecf1161006e5780637bc32ecf146101425780638a3065c1146101555780638b0d9ff0146101a4578063b2e508a6146101b8578063bc1b392d146101ce575f80fd5b806301809eea1461009f5780632cf96bf9146100d057806355ee6275146100fe57806370a021ec1461011f575b5f80fd5b6100b26100ad3660046102bd565b6101d4565b6040516001600160c01b031990911681526020015b60405180910390f35b6100eb6100de3660046102f5565b6001600160c01b03191690565b60405160ff1990911681526020016100c7565b61011161010c3660046102f5565b6101fb565b6040519081526020016100c7565b61013261012d36600461030e565b610292565b60405190151581526020016100c7565b6101326101503660046102f5565b6102ab565b6100b261016336600461033f565b604080516bffffffffffffffffffffffff841660208201529081018290525f9060600160405160208183030381529060405280519060200120905092915050565b6101116101b23660046102f5565b60c01c90565b6101326101c63660046102f5565b60c01c151590565b5f6100b2565b80680100000000000000006101e98260c01c90565b106101f6576101f6610379565b919050565b5f73__$4b9aaffa8d044614668dad578b824b8eee$
|
182
|
+
"bytecode": "0x6103da610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061009b575f3560e01c80637bc32ecf1161006e5780637bc32ecf146101425780638a3065c1146101555780638b0d9ff0146101a4578063b2e508a6146101b8578063bc1b392d146101ce575f80fd5b806301809eea1461009f5780632cf96bf9146100d057806355ee6275146100fe57806370a021ec1461011f575b5f80fd5b6100b26100ad3660046102bd565b6101d4565b6040516001600160c01b031990911681526020015b60405180910390f35b6100eb6100de3660046102f5565b6001600160c01b03191690565b60405160ff1990911681526020016100c7565b61011161010c3660046102f5565b6101fb565b6040519081526020016100c7565b61013261012d36600461030e565b610292565b60405190151581526020016100c7565b6101326101503660046102f5565b6102ab565b6100b261016336600461033f565b604080516bffffffffffffffffffffffff841660208201529081018290525f9060600160405160208183030381529060405280519060200120905092915050565b6101116101b23660046102f5565b60c01c90565b6101326101c63660046102f5565b60c01c151590565b5f6100b2565b80680100000000000000006101e98260c01c90565b106101f6576101f6610379565b919050565b5f73__$4b9aaffa8d044614668dad578b824b8eee$__63f48016ce602c6001600160c01b031985166040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af4158015610268573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061028c919061038d565b92915050565b5f6001600160c01b0319808416908316145b9392505050565b5f6001600160c01b031982161561028c565b5f602082840312156102cd575f80fd5b813560ff19811681146102a4575f80fd5b80356001600160c01b0319811681146101f6575f80fd5b5f60208284031215610305575f80fd5b6102a4826102de565b5f806040838503121561031f575f80fd5b610328836102de565b9150610336602084016102de565b90509250929050565b5f8060408385031215610350575f80fd5b82356bffffffffffffffffffffffff8116811461036b575f80fd5b946020939093013593505050565b634e487b7160e01b5f52600160045260245ffd5b5f6020828403121561039d575f80fd5b505191905056fea2646970667358221220e29401520c6e7371a3b3288404d9663d7b95f39814b618391dee9c073f114cb664736f6c634300081a0033",
|
183
|
+
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061009b575f3560e01c80637bc32ecf1161006e5780637bc32ecf146101425780638a3065c1146101555780638b0d9ff0146101a4578063b2e508a6146101b8578063bc1b392d146101ce575f80fd5b806301809eea1461009f5780632cf96bf9146100d057806355ee6275146100fe57806370a021ec1461011f575b5f80fd5b6100b26100ad3660046102bd565b6101d4565b6040516001600160c01b031990911681526020015b60405180910390f35b6100eb6100de3660046102f5565b6001600160c01b03191690565b60405160ff1990911681526020016100c7565b61011161010c3660046102f5565b6101fb565b6040519081526020016100c7565b61013261012d36600461030e565b610292565b60405190151581526020016100c7565b6101326101503660046102f5565b6102ab565b6100b261016336600461033f565b604080516bffffffffffffffffffffffff841660208201529081018290525f9060600160405160208183030381529060405280519060200120905092915050565b6101116101b23660046102f5565b60c01c90565b6101326101c63660046102f5565b60c01c151590565b5f6100b2565b80680100000000000000006101e98260c01c90565b106101f6576101f6610379565b919050565b5f73__$4b9aaffa8d044614668dad578b824b8eee$__63f48016ce602c6001600160c01b031985166040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af4158015610268573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061028c919061038d565b92915050565b5f6001600160c01b0319808416908316145b9392505050565b5f6001600160c01b031982161561028c565b5f602082840312156102cd575f80fd5b813560ff19811681146102a4575f80fd5b80356001600160c01b0319811681146101f6575f80fd5b5f60208284031215610305575f80fd5b6102a4826102de565b5f806040838503121561031f575f80fd5b610328836102de565b9150610336602084016102de565b90509250929050565b5f8060408385031215610350575f80fd5b82356bffffffffffffffffffffffff8116811461036b575f80fd5b946020939093013593505050565b634e487b7160e01b5f52600160045260245ffd5b5f6020828403121561039d575f80fd5b505191905056fea2646970667358221220e29401520c6e7371a3b3288404d9663d7b95f39814b618391dee9c073f114cb664736f6c634300081a0033",
|
184
184
|
"linkReferences": {
|
185
185
|
"contracts/type/Key32.sol": {
|
186
186
|
"Key32Lib": [
|
@@ -4,47 +4,19 @@
|
|
4
4
|
"sourceName": "contracts/type/RoleId.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
|
-
"inputs": [
|
8
|
-
"name": "ALL_VERSIONS",
|
9
|
-
"outputs": [
|
10
|
-
{
|
11
|
-
"internalType": "uint64",
|
12
|
-
"name": "",
|
13
|
-
"type": "uint64"
|
14
|
-
}
|
15
|
-
],
|
16
|
-
"stateMutability": "view",
|
17
|
-
"type": "function"
|
18
|
-
},
|
19
|
-
{
|
20
|
-
"inputs": [],
|
21
|
-
"name": "COMPONENT_ROLE_FACTOR",
|
22
|
-
"outputs": [
|
23
|
-
{
|
24
|
-
"internalType": "uint64",
|
25
|
-
"name": "",
|
26
|
-
"type": "uint64"
|
27
|
-
}
|
28
|
-
],
|
29
|
-
"stateMutability": "view",
|
30
|
-
"type": "function"
|
31
|
-
},
|
32
|
-
{
|
33
|
-
"inputs": [],
|
34
|
-
"name": "COMPONENT_ROLE_MAX_INT",
|
35
|
-
"outputs": [
|
7
|
+
"inputs": [
|
36
8
|
{
|
37
|
-
"internalType": "
|
38
|
-
"name": "",
|
39
|
-
"type": "
|
9
|
+
"internalType": "uint256",
|
10
|
+
"name": "roleId",
|
11
|
+
"type": "uint256"
|
40
12
|
}
|
41
13
|
],
|
42
|
-
"
|
43
|
-
"type": "
|
14
|
+
"name": "ErrorRoleIdTooBig",
|
15
|
+
"type": "error"
|
44
16
|
},
|
45
17
|
{
|
46
18
|
"inputs": [],
|
47
|
-
"name": "
|
19
|
+
"name": "SERVICE_ROLE_FACTOR",
|
48
20
|
"outputs": [
|
49
21
|
{
|
50
22
|
"internalType": "uint64",
|
@@ -57,7 +29,7 @@
|
|
57
29
|
},
|
58
30
|
{
|
59
31
|
"inputs": [],
|
60
|
-
"name": "
|
32
|
+
"name": "SERVICE_ROLE_MAX",
|
61
33
|
"outputs": [
|
62
34
|
{
|
63
35
|
"internalType": "uint64",
|
@@ -70,7 +42,7 @@
|
|
70
42
|
},
|
71
43
|
{
|
72
44
|
"inputs": [],
|
73
|
-
"name": "
|
45
|
+
"name": "SERVICE_ROLE_MIN",
|
74
46
|
"outputs": [
|
75
47
|
{
|
76
48
|
"internalType": "uint64",
|
@@ -127,26 +99,7 @@
|
|
127
99
|
"type": "uint64"
|
128
100
|
}
|
129
101
|
],
|
130
|
-
"name": "
|
131
|
-
"outputs": [
|
132
|
-
{
|
133
|
-
"internalType": "bool",
|
134
|
-
"name": "",
|
135
|
-
"type": "bool"
|
136
|
-
}
|
137
|
-
],
|
138
|
-
"stateMutability": "pure",
|
139
|
-
"type": "function"
|
140
|
-
},
|
141
|
-
{
|
142
|
-
"inputs": [
|
143
|
-
{
|
144
|
-
"internalType": "RoleId",
|
145
|
-
"name": "roleId",
|
146
|
-
"type": "uint64"
|
147
|
-
}
|
148
|
-
],
|
149
|
-
"name": "isCustomRole",
|
102
|
+
"name": "isServiceRole",
|
150
103
|
"outputs": [
|
151
104
|
{
|
152
105
|
"internalType": "bool",
|
@@ -165,93 +118,7 @@
|
|
165
118
|
"type": "uint8"
|
166
119
|
}
|
167
120
|
],
|
168
|
-
"name": "
|
169
|
-
"outputs": [
|
170
|
-
{
|
171
|
-
"internalType": "RoleId",
|
172
|
-
"name": "",
|
173
|
-
"type": "uint64"
|
174
|
-
}
|
175
|
-
],
|
176
|
-
"stateMutability": "pure",
|
177
|
-
"type": "function"
|
178
|
-
},
|
179
|
-
{
|
180
|
-
"inputs": [
|
181
|
-
{
|
182
|
-
"internalType": "ObjectType",
|
183
|
-
"name": "objectType",
|
184
|
-
"type": "uint8"
|
185
|
-
}
|
186
|
-
],
|
187
|
-
"name": "roleForTypeAndAllVersions",
|
188
|
-
"outputs": [
|
189
|
-
{
|
190
|
-
"internalType": "RoleId",
|
191
|
-
"name": "",
|
192
|
-
"type": "uint64"
|
193
|
-
}
|
194
|
-
],
|
195
|
-
"stateMutability": "pure",
|
196
|
-
"type": "function"
|
197
|
-
},
|
198
|
-
{
|
199
|
-
"inputs": [
|
200
|
-
{
|
201
|
-
"internalType": "ObjectType",
|
202
|
-
"name": "objectType",
|
203
|
-
"type": "uint8"
|
204
|
-
},
|
205
|
-
{
|
206
|
-
"internalType": "VersionPart",
|
207
|
-
"name": "majorVersion",
|
208
|
-
"type": "uint8"
|
209
|
-
}
|
210
|
-
],
|
211
|
-
"name": "roleForTypeAndVersion",
|
212
|
-
"outputs": [
|
213
|
-
{
|
214
|
-
"internalType": "RoleId",
|
215
|
-
"name": "",
|
216
|
-
"type": "uint64"
|
217
|
-
}
|
218
|
-
],
|
219
|
-
"stateMutability": "pure",
|
220
|
-
"type": "function"
|
221
|
-
},
|
222
|
-
{
|
223
|
-
"inputs": [
|
224
|
-
{
|
225
|
-
"internalType": "ObjectType",
|
226
|
-
"name": "objectType",
|
227
|
-
"type": "uint8"
|
228
|
-
},
|
229
|
-
{
|
230
|
-
"internalType": "uint64",
|
231
|
-
"name": "index",
|
232
|
-
"type": "uint64"
|
233
|
-
}
|
234
|
-
],
|
235
|
-
"name": "toComponentRoleId",
|
236
|
-
"outputs": [
|
237
|
-
{
|
238
|
-
"internalType": "RoleId",
|
239
|
-
"name": "",
|
240
|
-
"type": "uint64"
|
241
|
-
}
|
242
|
-
],
|
243
|
-
"stateMutability": "pure",
|
244
|
-
"type": "function"
|
245
|
-
},
|
246
|
-
{
|
247
|
-
"inputs": [
|
248
|
-
{
|
249
|
-
"internalType": "uint64",
|
250
|
-
"name": "index",
|
251
|
-
"type": "uint64"
|
252
|
-
}
|
253
|
-
],
|
254
|
-
"name": "toCustomRoleId",
|
121
|
+
"name": "toGenericServiceRoleId",
|
255
122
|
"outputs": [
|
256
123
|
{
|
257
124
|
"internalType": "RoleId",
|
@@ -284,54 +151,40 @@
|
|
284
151
|
{
|
285
152
|
"inputs": [
|
286
153
|
{
|
287
|
-
"internalType": "
|
154
|
+
"internalType": "uint256",
|
288
155
|
"name": "a",
|
289
|
-
"type": "
|
156
|
+
"type": "uint256"
|
290
157
|
}
|
291
158
|
],
|
292
|
-
"name": "
|
159
|
+
"name": "toRoleId",
|
293
160
|
"outputs": [
|
294
|
-
{
|
295
|
-
"internalType": "Key32",
|
296
|
-
"name": "key",
|
297
|
-
"type": "bytes32"
|
298
|
-
}
|
299
|
-
],
|
300
|
-
"stateMutability": "pure",
|
301
|
-
"type": "function"
|
302
|
-
},
|
303
|
-
{
|
304
|
-
"inputs": [
|
305
161
|
{
|
306
162
|
"internalType": "RoleId",
|
307
|
-
"name": "
|
163
|
+
"name": "",
|
308
164
|
"type": "uint64"
|
309
165
|
}
|
310
166
|
],
|
311
|
-
"name": "toKeyId",
|
312
|
-
"outputs": [
|
313
|
-
{
|
314
|
-
"internalType": "KeyId",
|
315
|
-
"name": "keyId",
|
316
|
-
"type": "bytes31"
|
317
|
-
}
|
318
|
-
],
|
319
167
|
"stateMutability": "pure",
|
320
168
|
"type": "function"
|
321
169
|
},
|
322
170
|
{
|
323
171
|
"inputs": [
|
324
172
|
{
|
325
|
-
"internalType": "
|
326
|
-
"name": "
|
327
|
-
"type": "
|
173
|
+
"internalType": "ObjectType",
|
174
|
+
"name": "serviceDomain",
|
175
|
+
"type": "uint8"
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"internalType": "VersionPart",
|
179
|
+
"name": "release",
|
180
|
+
"type": "uint8"
|
328
181
|
}
|
329
182
|
],
|
330
|
-
"name": "
|
183
|
+
"name": "toServiceRoleId",
|
331
184
|
"outputs": [
|
332
185
|
{
|
333
186
|
"internalType": "RoleId",
|
334
|
-
"name": "",
|
187
|
+
"name": "serviceRoleId",
|
335
188
|
"type": "uint64"
|
336
189
|
}
|
337
190
|
],
|
@@ -352,34 +205,14 @@
|
|
352
205
|
"type": "function"
|
353
206
|
}
|
354
207
|
],
|
355
|
-
"bytecode": "
|
356
|
-
"deployedBytecode": "
|
208
|
+
"bytecode": "0x610559610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100b1575f3560e01c8063a217284711610079578063a217284714610149578063a42e52e91461015c578063b05601aa14610179578063bc1b392d14610182578063c045118c14610188578063caf3ba4a14610179575f80fd5b8063057182b4146100b5578063383ff861146100e6578063545ce21c14610112578063645ceefe1461012357806368aebf7b14610136575b5f80fd5b6100d16100c336600461039c565b67ffffffffffffffff161590565b60405190151581526020015b60405180910390f35b6100f96100f43660046103d4565b610192565b60405167ffffffffffffffff90911681526020016100dd565b6100f961012036600461039c565b90565b6100f96101313660046103ef565b610208565b6100f9610144366004610426565b61033f565b6100d161015736600461039c565b610374565b6100d161016a36600461039c565b67ffffffffffffffff16151590565b6100f96103e881565b5f6100f9565b6100f96201831b81565b5f6102028273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__63fbcaa8ed6040518163ffffffff1660e01b8152600401602060405180830381865af41580156101de573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610131919061043d565b92915050565b604051632b10f60d60e21b815260ff821660048201525f90819073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af415801561025c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102809190610458565b604051632b10f60d60e21b815260ff8616600482015260019073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af41580156102d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102f7919061046f565b61030191906104a9565b61030d906103e86104c8565b610319906103e86104f1565b6001600160601b031661032c9190610510565b90506103378161033f565b949350505050565b5f67ffffffffffffffff82111561037057604051637e8b8f2760e11b81526004810183905260240160405180910390fd5b5090565b5f67ffffffffffffffff82166103e8811080159061039557506201831b8111155b9392505050565b5f602082840312156103ac575f80fd5b813567ffffffffffffffff81168114610395575f80fd5b60ff811681146103d1575f80fd5b50565b5f602082840312156103e4575f80fd5b8135610395816103c3565b5f8060408385031215610400575f80fd5b823561040b816103c3565b9150602083013561041b816103c3565b809150509250929050565b5f60208284031215610436575f80fd5b5035919050565b5f6020828403121561044d575f80fd5b8151610395816103c3565b5f60208284031215610468575f80fd5b5051919050565b5f6020828403121561047f575f80fd5b81516001600160601b0381168114610395575f80fd5b634e487b7160e01b5f52601160045260245ffd5b6001600160601b03828116828216039081111561020257610202610495565b6001600160601b0381811683821602908116908181146104ea576104ea610495565b5092915050565b6001600160601b03818116838216019081111561020257610202610495565b808201808211156102025761020261049556fea26469706673582212205b5f0e458c199e10986f4f0561ac19d518fdd8767277dbdf23c87c62feeb87a864736f6c634300081a0033",
|
209
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100b1575f3560e01c8063a217284711610079578063a217284714610149578063a42e52e91461015c578063b05601aa14610179578063bc1b392d14610182578063c045118c14610188578063caf3ba4a14610179575f80fd5b8063057182b4146100b5578063383ff861146100e6578063545ce21c14610112578063645ceefe1461012357806368aebf7b14610136575b5f80fd5b6100d16100c336600461039c565b67ffffffffffffffff161590565b60405190151581526020015b60405180910390f35b6100f96100f43660046103d4565b610192565b60405167ffffffffffffffff90911681526020016100dd565b6100f961012036600461039c565b90565b6100f96101313660046103ef565b610208565b6100f9610144366004610426565b61033f565b6100d161015736600461039c565b610374565b6100d161016a36600461039c565b67ffffffffffffffff16151590565b6100f96103e881565b5f6100f9565b6100f96201831b81565b5f6102028273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__63fbcaa8ed6040518163ffffffff1660e01b8152600401602060405180830381865af41580156101de573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610131919061043d565b92915050565b604051632b10f60d60e21b815260ff821660048201525f90819073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af415801561025c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102809190610458565b604051632b10f60d60e21b815260ff8616600482015260019073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af41580156102d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102f7919061046f565b61030191906104a9565b61030d906103e86104c8565b610319906103e86104f1565b6001600160601b031661032c9190610510565b90506103378161033f565b949350505050565b5f67ffffffffffffffff82111561037057604051637e8b8f2760e11b81526004810183905260240160405180910390fd5b5090565b5f67ffffffffffffffff82166103e8811080159061039557506201831b8111155b9392505050565b5f602082840312156103ac575f80fd5b813567ffffffffffffffff81168114610395575f80fd5b60ff811681146103d1575f80fd5b50565b5f602082840312156103e4575f80fd5b8135610395816103c3565b5f8060408385031215610400575f80fd5b823561040b816103c3565b9150602083013561041b816103c3565b809150509250929050565b5f60208284031215610436575f80fd5b5035919050565b5f6020828403121561044d575f80fd5b8151610395816103c3565b5f60208284031215610468575f80fd5b5051919050565b5f6020828403121561047f575f80fd5b81516001600160601b0381168114610395575f80fd5b634e487b7160e01b5f52601160045260245ffd5b6001600160601b03828116828216039081111561020257610202610495565b6001600160601b0381811683821602908116908181146104ea576104ea610495565b5092915050565b6001600160601b03818116838216019081111561020257610202610495565b808201808211156102025761020261049556fea26469706673582212205b5f0e458c199e10986f4f0561ac19d518fdd8767277dbdf23c87c62feeb87a864736f6c634300081a0033",
|
357
210
|
"linkReferences": {
|
358
|
-
"contracts/type/Key32.sol": {
|
359
|
-
"Key32Lib": [
|
360
|
-
{
|
361
|
-
"length": 20,
|
362
|
-
"start": 1536
|
363
|
-
}
|
364
|
-
]
|
365
|
-
},
|
366
211
|
"contracts/type/ObjectType.sol": {
|
367
212
|
"ObjectTypeLib": [
|
368
213
|
{
|
369
214
|
"length": 20,
|
370
|
-
"start":
|
371
|
-
},
|
372
|
-
{
|
373
|
-
"length": 20,
|
374
|
-
"start": 955
|
375
|
-
},
|
376
|
-
{
|
377
|
-
"length": 20,
|
378
|
-
"start": 1100
|
379
|
-
},
|
380
|
-
{
|
381
|
-
"length": 20,
|
382
|
-
"start": 1411
|
215
|
+
"start": 719
|
383
216
|
}
|
384
217
|
]
|
385
218
|
},
|
@@ -387,37 +220,21 @@
|
|
387
220
|
"VersionPartLib": [
|
388
221
|
{
|
389
222
|
"length": 20,
|
390
|
-
"start":
|
223
|
+
"start": 461
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"length": 20,
|
227
|
+
"start": 600
|
391
228
|
}
|
392
229
|
]
|
393
230
|
}
|
394
231
|
},
|
395
232
|
"deployedLinkReferences": {
|
396
|
-
"contracts/type/Key32.sol": {
|
397
|
-
"Key32Lib": [
|
398
|
-
{
|
399
|
-
"length": 20,
|
400
|
-
"start": 1484
|
401
|
-
}
|
402
|
-
]
|
403
|
-
},
|
404
233
|
"contracts/type/ObjectType.sol": {
|
405
234
|
"ObjectTypeLib": [
|
406
235
|
{
|
407
236
|
"length": 20,
|
408
|
-
"start":
|
409
|
-
},
|
410
|
-
{
|
411
|
-
"length": 20,
|
412
|
-
"start": 903
|
413
|
-
},
|
414
|
-
{
|
415
|
-
"length": 20,
|
416
|
-
"start": 1048
|
417
|
-
},
|
418
|
-
{
|
419
|
-
"length": 20,
|
420
|
-
"start": 1359
|
237
|
+
"start": 667
|
421
238
|
}
|
422
239
|
]
|
423
240
|
},
|
@@ -425,7 +242,11 @@
|
|
425
242
|
"VersionPartLib": [
|
426
243
|
{
|
427
244
|
"length": 20,
|
428
|
-
"start":
|
245
|
+
"start": 409
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"length": 20,
|
249
|
+
"start": 548
|
429
250
|
}
|
430
251
|
]
|
431
252
|
}
|
@@ -81,6 +81,25 @@
|
|
81
81
|
"stateMutability": "pure",
|
82
82
|
"type": "function"
|
83
83
|
},
|
84
|
+
{
|
85
|
+
"inputs": [
|
86
|
+
{
|
87
|
+
"internalType": "uint32",
|
88
|
+
"name": "numberOfDays",
|
89
|
+
"type": "uint32"
|
90
|
+
}
|
91
|
+
],
|
92
|
+
"name": "fromDays",
|
93
|
+
"outputs": [
|
94
|
+
{
|
95
|
+
"internalType": "Seconds",
|
96
|
+
"name": "duration",
|
97
|
+
"type": "uint40"
|
98
|
+
}
|
99
|
+
],
|
100
|
+
"stateMutability": "pure",
|
101
|
+
"type": "function"
|
102
|
+
},
|
84
103
|
{
|
85
104
|
"inputs": [
|
86
105
|
{
|
@@ -161,6 +180,30 @@
|
|
161
180
|
"stateMutability": "pure",
|
162
181
|
"type": "function"
|
163
182
|
},
|
183
|
+
{
|
184
|
+
"inputs": [
|
185
|
+
{
|
186
|
+
"internalType": "Seconds",
|
187
|
+
"name": "duration1",
|
188
|
+
"type": "uint40"
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"internalType": "Seconds",
|
192
|
+
"name": "duration2",
|
193
|
+
"type": "uint40"
|
194
|
+
}
|
195
|
+
],
|
196
|
+
"name": "min",
|
197
|
+
"outputs": [
|
198
|
+
{
|
199
|
+
"internalType": "Seconds",
|
200
|
+
"name": "",
|
201
|
+
"type": "uint40"
|
202
|
+
}
|
203
|
+
],
|
204
|
+
"stateMutability": "pure",
|
205
|
+
"type": "function"
|
206
|
+
},
|
164
207
|
{
|
165
208
|
"inputs": [],
|
166
209
|
"name": "oneDay",
|
@@ -239,8 +282,8 @@
|
|
239
282
|
"type": "function"
|
240
283
|
}
|
241
284
|
],
|
242
|
-
"bytecode": "
|
243
|
-
"deployedBytecode": "
|
285
|
+
"bytecode": "0x6103fe610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100ef575f3560e01c806398f647b111610093578063bc1b392d1161006e578063bc1b392d146101eb578063da09d484146101f1578063e83da7ad14610217578063f27c3bf61461022a575f80fd5b806398f647b11461019e5780639df87639146101b1578063add9ce99146101ce575f80fd5b80636ac5db19116100ce5780636ac5db191461013d578063790a38ad1461014857806383ffcdef146101715780638d38cd4b14610184575f80fd5b8062962990146100f35780630c67422c146101215780634bd9351b14610134575b5f80fd5b6101066101013660046102d4565b610234565b60405164ffffffffff90911681526020015b60405180910390f35b61010661012f3660046102f7565b610258565b62015180610106565b64ffffffffff610106565b610161610156366004610327565b64ffffffffff161590565b6040519015158152602001610118565b61016161017f366004610340565b61028a565b610161610192366004610327565b64ffffffffff16151590565b6101066101ac366004610340565b61029e565b6101616101bf366004610340565b64ffffffffff90811691161490565b6101616101dc366004610340565b64ffffffffff90811691161090565b5f610106565b6102096101ff366004610327565b64ffffffffff1690565b604051908152602001610118565b610106610225366004610340565b6102b0565b6301e13380610106565b5f610240826018610385565b61024c90610e10610385565b63ffffffff1692915050565b5f64ffffffffff821115610286576040516385cb094d60e01b81526004810183905260240160405180910390fd5b5090565b64ffffffffff808216908316115b92915050565b5f6102a982846103ab565b9392505050565b5f8164ffffffffff168364ffffffffff1610156102ce575081610298565b50919050565b5f602082840312156102e4575f80fd5b813563ffffffff811681146102a9575f80fd5b5f60208284031215610307575f80fd5b5035919050565b803564ffffffffff81168114610322575f80fd5b919050565b5f60208284031215610337575f80fd5b6102a98261030e565b5f8060408385031215610351575f80fd5b61035a8361030e565b91506103686020840161030e565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b63ffffffff81811683821602908116908181146103a4576103a4610371565b5092915050565b64ffffffffff81811683821601908111156102985761029861037156fea264697066735822122007ac1a0446c93bfb222214e7ed31784214df1c1fffd30714a9d9e7dd0edd988764736f6c634300081a0033",
|
286
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100ef575f3560e01c806398f647b111610093578063bc1b392d1161006e578063bc1b392d146101eb578063da09d484146101f1578063e83da7ad14610217578063f27c3bf61461022a575f80fd5b806398f647b11461019e5780639df87639146101b1578063add9ce99146101ce575f80fd5b80636ac5db19116100ce5780636ac5db191461013d578063790a38ad1461014857806383ffcdef146101715780638d38cd4b14610184575f80fd5b8062962990146100f35780630c67422c146101215780634bd9351b14610134575b5f80fd5b6101066101013660046102d4565b610234565b60405164ffffffffff90911681526020015b60405180910390f35b61010661012f3660046102f7565b610258565b62015180610106565b64ffffffffff610106565b610161610156366004610327565b64ffffffffff161590565b6040519015158152602001610118565b61016161017f366004610340565b61028a565b610161610192366004610327565b64ffffffffff16151590565b6101066101ac366004610340565b61029e565b6101616101bf366004610340565b64ffffffffff90811691161490565b6101616101dc366004610340565b64ffffffffff90811691161090565b5f610106565b6102096101ff366004610327565b64ffffffffff1690565b604051908152602001610118565b610106610225366004610340565b6102b0565b6301e13380610106565b5f610240826018610385565b61024c90610e10610385565b63ffffffff1692915050565b5f64ffffffffff821115610286576040516385cb094d60e01b81526004810183905260240160405180910390fd5b5090565b64ffffffffff808216908316115b92915050565b5f6102a982846103ab565b9392505050565b5f8164ffffffffff168364ffffffffff1610156102ce575081610298565b50919050565b5f602082840312156102e4575f80fd5b813563ffffffff811681146102a9575f80fd5b5f60208284031215610307575f80fd5b5035919050565b803564ffffffffff81168114610322575f80fd5b919050565b5f60208284031215610337575f80fd5b6102a98261030e565b5f8060408385031215610351575f80fd5b61035a8361030e565b91506103686020840161030e565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b63ffffffff81811683821602908116908181146103a4576103a4610371565b5092915050565b64ffffffffff81811683821601908111156102985761029861037156fea264697066735822122007ac1a0446c93bfb222214e7ed31784214df1c1fffd30714a9d9e7dd0edd988764736f6c634300081a0033",
|
244
287
|
"linkReferences": {},
|
245
288
|
"deployedLinkReferences": {}
|
246
289
|
}
|