@etherisc/gif-next 0.0.2-c8c9cfc-245 → 0.0.2-c9577b6-545
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -2
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +105 -65
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +13 -8
- 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 +60 -32
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +5 -0
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +5 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +13 -8
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +52 -212
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +28 -19
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +16 -184
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +150 -286
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +100 -120
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +16 -37
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +65 -62
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1507 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +419 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1978 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +423 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1427 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1187 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1561 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +1996 -0
- 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/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +16 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +16 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +26 -99
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +177 -113
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +38 -29
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +424 -74
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +55 -146
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +77 -81
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +291 -112
- 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/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
- 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/module/IAccess.sol/IAccess.dbg.json +1 -1
- 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 +42 -202
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +30 -21
- 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 +16 -37
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +16 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +16 -184
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +53 -144
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +76 -80
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +45 -185
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +28 -19
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +148 -222
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +115 -107
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +40 -31
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +48 -41
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +208 -138
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +45 -185
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +283 -355
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +96 -120
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +52 -162
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +73 -89
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +44 -210
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +28 -19
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +258 -184
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +117 -101
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +21 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +148 -7
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +241 -145
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +59 -43
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +44 -63
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +18 -2
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +317 -384
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +108 -124
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +133 -261
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +97 -117
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +44 -210
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +604 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +698 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +286 -34
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +16 -0
- 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 +492 -95
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +283 -143
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +39 -313
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +68 -72
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +129 -221
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
- 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 +16 -173
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +105 -228
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +112 -122
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +21 -112
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +16 -26
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +16 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +16 -37
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +16 -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 +16 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +16 -184
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -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 +22 -57
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +24 -97
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +21 -112
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +288 -16
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +43 -27
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +16 -21
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +63 -93
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +101 -248
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +93 -100
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -11
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +47 -159
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +72 -76
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +169 -128
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +54 -23
- 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 +32 -8
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
- 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 +2 -2
- 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/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 +2 -2
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
- 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 +60 -4
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +26 -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/StateId.sol/StateIdLib.json +15 -2
- 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/Timestamp.sol/TimestampLib.json +2 -2
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +2 -2
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +15 -2
- 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 +55 -70
- 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 +63 -59
- package/contracts/authorization/Authorization.sol +7 -3
- package/contracts/authorization/IAccess.sol +1 -0
- package/contracts/authorization/IAccessAdmin.sol +4 -3
- package/contracts/authorization/IServiceAuthorization.sol +3 -1
- package/contracts/authorization/ServiceAuthorization.sol +26 -10
- package/contracts/distribution/BasicDistribution.sol +2 -0
- package/contracts/distribution/Distribution.sol +3 -2
- package/contracts/distribution/DistributionService.sol +72 -60
- package/contracts/distribution/DistributionServiceManager.sol +6 -6
- package/contracts/distribution/IDistributionService.sol +9 -5
- package/contracts/examples/fire/DamageLevel.sol +59 -0
- package/contracts/examples/fire/FirePool.sol +75 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
- package/contracts/examples/fire/FireProduct.sol +411 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
- package/contracts/examples/fire/FireUSD.sol +26 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
- package/contracts/instance/IInstance.sol +7 -30
- package/contracts/instance/Instance.sol +10 -35
- package/contracts/instance/InstanceAdmin.sol +29 -7
- package/contracts/instance/InstanceAuthorizationV3.sol +3 -3
- package/contracts/instance/InstanceReader.sol +107 -25
- package/contracts/instance/InstanceService.sol +63 -41
- package/contracts/instance/InstanceServiceManager.sol +6 -7
- package/contracts/instance/InstanceStore.sol +11 -1
- package/contracts/instance/base/ObjectLifecycle.sol +8 -1
- package/contracts/instance/module/IComponents.sol +4 -2
- package/contracts/instance/module/IPolicy.sol +23 -23
- package/contracts/oracle/Oracle.sol +2 -1
- package/contracts/oracle/OracleService.sol +41 -33
- package/contracts/oracle/OracleServiceManager.sol +6 -6
- package/contracts/pool/BasicPool.sol +12 -13
- package/contracts/pool/BundleService.sol +42 -31
- package/contracts/pool/BundleServiceManager.sol +6 -6
- package/contracts/pool/IBundleService.sol +11 -3
- package/contracts/pool/IPoolComponent.sol +18 -8
- package/contracts/pool/IPoolService.sol +50 -28
- package/contracts/pool/Pool.sol +61 -32
- package/contracts/pool/PoolService.sol +121 -117
- package/contracts/pool/PoolServiceManager.sol +4 -4
- package/contracts/product/ApplicationService.sol +50 -29
- package/contracts/product/ApplicationServiceManager.sol +4 -4
- package/contracts/product/BasicProduct.sol +1 -0
- package/contracts/product/ClaimService.sol +245 -88
- package/contracts/product/ClaimServiceManager.sol +4 -4
- package/contracts/product/IApplicationService.sol +1 -0
- package/contracts/product/IClaimService.sol +30 -7
- package/contracts/product/IPolicyService.sol +29 -34
- package/contracts/product/IPricingService.sol +7 -7
- package/contracts/product/IProductComponent.sol +17 -4
- package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
- package/contracts/product/PolicyService.sol +313 -172
- package/contracts/product/PolicyServiceManager.sol +4 -4
- package/contracts/product/PricingService.sol +47 -50
- package/contracts/product/PricingServiceManager.sol +3 -3
- package/contracts/product/Product.sol +76 -53
- package/contracts/product/{ProductService.sol → RiskService.sol} +7 -10
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +65 -32
- package/contracts/registry/IRegistry.sol +55 -18
- package/contracts/registry/IRegistryService.sol +0 -9
- package/contracts/registry/Registry.sol +336 -197
- package/contracts/registry/RegistryAdmin.sol +134 -51
- package/contracts/registry/RegistryService.sol +55 -50
- package/contracts/registry/RegistryServiceManager.sol +2 -2
- package/contracts/registry/ReleaseLifecycle.sol +6 -3
- package/contracts/registry/ReleaseRegistry.sol +204 -188
- package/contracts/registry/ServiceAuthorizationV3.sol +7 -9
- package/contracts/shared/Component.sol +12 -32
- package/contracts/shared/ComponentService.sol +20 -29
- package/contracts/shared/ComponentServiceManager.sol +8 -5
- package/contracts/shared/ComponentVerifyingService.sol +2 -3
- package/contracts/shared/ContractLib.sol +38 -0
- package/contracts/shared/IComponent.sol +0 -1
- package/contracts/shared/IInstanceLinkedComponent.sol +8 -15
- package/contracts/shared/ILifecycle.sol +3 -1
- package/contracts/shared/INftOwnable.sol +2 -0
- package/contracts/shared/IPolicyHolder.sol +12 -22
- package/contracts/shared/InitializableERC165.sol +2 -2
- package/contracts/shared/InstanceLinkedComponent.sol +5 -6
- package/contracts/shared/KeyValueStore.sol +1 -1
- package/contracts/shared/Lifecycle.sol +15 -4
- package/contracts/shared/NftOwnable.sol +21 -5
- package/contracts/shared/PolicyHolder.sol +15 -52
- package/contracts/shared/Registerable.sol +4 -4
- package/contracts/shared/RegistryLinked.sol +3 -2
- package/contracts/shared/Service.sol +16 -11
- package/contracts/shared/TokenHandler.sol +99 -22
- package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
- package/contracts/staking/IStaking.sol +2 -1
- package/contracts/staking/IStakingService.sol +0 -3
- package/contracts/staking/StakeManagerLib.sol +18 -25
- package/contracts/staking/Staking.sol +11 -29
- package/contracts/staking/StakingManager.sol +8 -6
- package/contracts/staking/StakingReader.sol +12 -5
- package/contracts/staking/StakingService.sol +3 -17
- package/contracts/staking/StakingServiceManager.sol +2 -2
- package/contracts/staking/TargetManagerLib.sol +7 -3
- package/contracts/type/Amount.sol +15 -0
- package/contracts/type/ClaimId.sol +6 -1
- package/contracts/type/NftId.sol +1 -0
- package/contracts/type/ObjectType.sol +16 -11
- package/contracts/type/PayoutId.sol +10 -10
- package/contracts/type/RiskId.sol +15 -1
- package/contracts/type/Seconds.sol +8 -0
- package/contracts/type/StateId.sol +15 -1
- package/contracts/type/UFixed.sol +4 -0
- package/contracts/upgradeability/ProxyManager.sol +67 -34
- package/contracts/upgradeability/Versionable.sol +2 -2
- package/package.json +2 -1
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
- package/contracts/product/ProductServiceManager.sol +0 -39
- package/contracts/shared/InitializableCustom.sol +0 -177
@@ -162,6 +162,11 @@
|
|
162
162
|
"internalType": "Timestamp",
|
163
163
|
"name": "createdAt",
|
164
164
|
"type": "uint40"
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"internalType": "Timestamp",
|
168
|
+
"name": "pausedAt",
|
169
|
+
"type": "uint40"
|
165
170
|
}
|
166
171
|
],
|
167
172
|
"internalType": "struct IAccess.RoleInfo",
|
@@ -301,14 +306,14 @@
|
|
301
306
|
"type": "function"
|
302
307
|
}
|
303
308
|
],
|
304
|
-
"bytecode": "
|
305
|
-
"deployedBytecode": "
|
309
|
+
"bytecode": "0x60c0604052600960809081526810dbdb5c1bdb995b9d60ba1b60a0525f9061002790826100fc565b50348015610033575f80fd5b50604051610dc0380380610dc0833981016040819052610052916101b6565b5f61005d82826100fc565b5050610266565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061008c57607f821691505b6020821081036100aa57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156100f757805f5260205f20601f840160051c810160208510156100d55750805b601f840160051c820191505b818110156100f4575f81556001016100e1565b50505b505050565b81516001600160401b0381111561011557610115610064565b610129816101238454610078565b846100b0565b6020601f82116001811461015b575f83156101445750848201515b5f19600385901b1c1916600184901b1784556100f4565b5f84815260208120601f198516915b8281101561018a578785015182556020948501946001909201910161016a565b50848210156101a757868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156101c6575f80fd5b81516001600160401b038111156101db575f80fd5b8201601f810184136101eb575f80fd5b80516001600160401b0381111561020457610204610064565b604051601f8201601f19908116603f011681016001600160401b038111828210171561023257610232610064565b604052818152828201602001861015610249575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b610b4d806102735f395ff3fe608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806376b707b711610093578063c5f3484411610063578063c5f3484414610259578063c6a001791461027c578063e8eba4351461028f578063f00e6a2a146102a2575f80fd5b806376b707b7146101c0578063775f14b1146101da5780638c5397b01461021c578063c143892b1461022f575f80fd5b80635bfa5027116100ce5780635bfa5027146101445780635c935ce01461016457806363fe3b561461019657806371061398146101ab575f80fd5b806318029ab4146100f45780631e4afbbf1461010f578063433f95d61461012f575b5f80fd5b6100fc600381565b6040519081526020015b60405180910390f35b61012261011d366004610834565b6102aa565b6040516101069190610862565b610137610358565b60405161010691906108ce565b610157610152366004610903565b6103e7565b6040516101069190610939565b6101866101723660046109c6565b5f9081526003602052604090205460ff1690565b6040519015158152602001610106565b61019e6104c2565b60405161010691906109dd565b6101b3610517565b6040516101069190610a14565b6101c861059f565b60405160ff9091168152602001610106565b6102036101e83660046109c6565b5f9081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff9091168152602001610106565b6101b361022a3660046109c6565b610618565b6101376040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013760405180604001604052806004815260200163526f6c6560e01b81525081565b61018661028a366004610903565b6106aa565b61020361029d366004610a63565b6106e8565b6100fc610779565b5f82815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561034c575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102e9565b50505050905092915050565b60605f805461036690610a7e565b80601f016020809104026020016040519081016040528092919081815260200182805461039290610a7e565b80156103dd5780601f106103b4576101008083540402835291602001916103dd565b820191905f5260205f20905b8154815290600101906020018083116103c057829003601f168201915b5050505050905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a0840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff16600381111561046057610460610925565b600381111561047157610471610925565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905b8154815260200190600101908083116104fa575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116105515790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106139190610ab6565b905090565b5f8181526006602090815260409182902080548351818402810184019094528084526060939283018282801561069e57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116106595790505b50505050509050919050565b5f8067ffffffffffffffff83165f90815260056020526040902054600160401b900460ff1660038111156106e0576106e0610925565b141592915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d38361070c61059f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af415801561074f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107739190610ad1565b92915050565b6001545f90156107a45760015f8154811061079657610796610aec565b905f5260205f200154905090565b60405163cdc23e6960e01b8152602060048201525f602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af41580156107f8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106139190610b00565b67ffffffffffffffff81168114610831575f80fd5b50565b5f8060408385031215610845575f80fd5b8235915060208301356108578161081c565b809150509250929050565b602080825282518282018190525f918401906040840190835b818110156108c3578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff16918501919091529093019260609092019160010161087b565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f60208284031215610913575f80fd5b813561091e8161081c565b9392505050565b634e487b7160e01b5f52602160045260245ffd5b815167ffffffffffffffff168152602082015160c08201906004811061096d57634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015260808301516109a6608084018264ffffffffff169052565b5060a08301516109bf60a084018264ffffffffff169052565b5092915050565b5f602082840312156109d6575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b818110156108c35783518352602093840193909201916001016109f6565b602080825282518282018190525f918401906040840190835b818110156108c357835167ffffffffffffffff16835260209384019390920191600101610a2d565b60ff81168114610831575f80fd5b5f60208284031215610a73575f80fd5b813561091e81610a55565b600181811c90821680610a9257607f821691505b602082108103610ab057634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610ac6575f80fd5b815161091e81610a55565b5f60208284031215610ae1575f80fd5b815161091e8161081c565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610b10575f80fd5b505191905056fea2646970667358221220df1a3cc390706f3cb42660fd4f02f8d6e3b648c95c1fcb75929c240e4833ee7264736f6c634300081a0033",
|
310
|
+
"deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806376b707b711610093578063c5f3484411610063578063c5f3484414610259578063c6a001791461027c578063e8eba4351461028f578063f00e6a2a146102a2575f80fd5b806376b707b7146101c0578063775f14b1146101da5780638c5397b01461021c578063c143892b1461022f575f80fd5b80635bfa5027116100ce5780635bfa5027146101445780635c935ce01461016457806363fe3b561461019657806371061398146101ab575f80fd5b806318029ab4146100f45780631e4afbbf1461010f578063433f95d61461012f575b5f80fd5b6100fc600381565b6040519081526020015b60405180910390f35b61012261011d366004610834565b6102aa565b6040516101069190610862565b610137610358565b60405161010691906108ce565b610157610152366004610903565b6103e7565b6040516101069190610939565b6101866101723660046109c6565b5f9081526003602052604090205460ff1690565b6040519015158152602001610106565b61019e6104c2565b60405161010691906109dd565b6101b3610517565b6040516101069190610a14565b6101c861059f565b60405160ff9091168152602001610106565b6102036101e83660046109c6565b5f9081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff9091168152602001610106565b6101b361022a3660046109c6565b610618565b6101376040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013760405180604001604052806004815260200163526f6c6560e01b81525081565b61018661028a366004610903565b6106aa565b61020361029d366004610a63565b6106e8565b6100fc610779565b5f82815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561034c575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102e9565b50505050905092915050565b60605f805461036690610a7e565b80601f016020809104026020016040519081016040528092919081815260200182805461039290610a7e565b80156103dd5780601f106103b4576101008083540402835291602001916103dd565b820191905f5260205f20905b8154815290600101906020018083116103c057829003601f168201915b5050505050905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a0840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff16600381111561046057610460610925565b600381111561047157610471610925565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905b8154815260200190600101908083116104fa575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116105515790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106139190610ab6565b905090565b5f8181526006602090815260409182902080548351818402810184019094528084526060939283018282801561069e57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116106595790505b50505050509050919050565b5f8067ffffffffffffffff83165f90815260056020526040902054600160401b900460ff1660038111156106e0576106e0610925565b141592915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d38361070c61059f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af415801561074f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107739190610ad1565b92915050565b6001545f90156107a45760015f8154811061079657610796610aec565b905f5260205f200154905090565b60405163cdc23e6960e01b8152602060048201525f602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af41580156107f8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106139190610b00565b67ffffffffffffffff81168114610831575f80fd5b50565b5f8060408385031215610845575f80fd5b8235915060208301356108578161081c565b809150509250929050565b602080825282518282018190525f918401906040840190835b818110156108c3578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff16918501919091529093019260609092019160010161087b565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f60208284031215610913575f80fd5b813561091e8161081c565b9392505050565b634e487b7160e01b5f52602160045260245ffd5b815167ffffffffffffffff168152602082015160c08201906004811061096d57634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015260808301516109a6608084018264ffffffffff169052565b5060a08301516109bf60a084018264ffffffffff169052565b5092915050565b5f602082840312156109d6575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b818110156108c35783518352602093840193909201916001016109f6565b602080825282518282018190525f918401906040840190835b818110156108c357835167ffffffffffffffff16835260209384019390920191600101610a2d565b60ff81168114610831575f80fd5b5f60208284031215610a73575f80fd5b813561091e81610a55565b600181811c90821680610a9257607f821691505b602082108103610ab057634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610ac6575f80fd5b815161091e81610a55565b5f60208284031215610ae1575f80fd5b815161091e8161081c565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610b10575f80fd5b505191905056fea2646970667358221220df1a3cc390706f3cb42660fd4f02f8d6e3b648c95c1fcb75929c240e4833ee7264736f6c634300081a0033",
|
306
311
|
"linkReferences": {
|
307
312
|
"contracts/type/RoleId.sol": {
|
308
313
|
"RoleIdLib": [
|
309
314
|
{
|
310
315
|
"length": 20,
|
311
|
-
"start":
|
316
|
+
"start": 2398
|
312
317
|
}
|
313
318
|
]
|
314
319
|
},
|
@@ -316,7 +321,7 @@
|
|
316
321
|
"StrLib": [
|
317
322
|
{
|
318
323
|
"length": 20,
|
319
|
-
"start":
|
324
|
+
"start": 2611
|
320
325
|
}
|
321
326
|
]
|
322
327
|
},
|
@@ -324,7 +329,7 @@
|
|
324
329
|
"VersionPartLib": [
|
325
330
|
{
|
326
331
|
"length": 20,
|
327
|
-
"start":
|
332
|
+
"start": 2090
|
328
333
|
}
|
329
334
|
]
|
330
335
|
}
|
@@ -334,7 +339,7 @@
|
|
334
339
|
"RoleIdLib": [
|
335
340
|
{
|
336
341
|
"length": 20,
|
337
|
-
"start":
|
342
|
+
"start": 1771
|
338
343
|
}
|
339
344
|
]
|
340
345
|
},
|
@@ -342,7 +347,7 @@
|
|
342
347
|
"StrLib": [
|
343
348
|
{
|
344
349
|
"length": 20,
|
345
|
-
"start":
|
350
|
+
"start": 1984
|
346
351
|
}
|
347
352
|
]
|
348
353
|
},
|
@@ -350,7 +355,7 @@
|
|
350
355
|
"VersionPartLib": [
|
351
356
|
{
|
352
357
|
"length": 20,
|
353
|
-
"start":
|
358
|
+
"start": 1463
|
354
359
|
}
|
355
360
|
]
|
356
361
|
}
|
@@ -124,7 +124,7 @@
|
|
124
124
|
"type": "uint64"
|
125
125
|
}
|
126
126
|
],
|
127
|
-
"name": "
|
127
|
+
"name": "ErrorRoleIsLocked",
|
128
128
|
"type": "error"
|
129
129
|
},
|
130
130
|
{
|
@@ -135,7 +135,39 @@
|
|
135
135
|
"type": "uint64"
|
136
136
|
}
|
137
137
|
],
|
138
|
-
"name": "
|
138
|
+
"name": "ErrorRoleIsPaused",
|
139
|
+
"type": "error"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"inputs": [
|
143
|
+
{
|
144
|
+
"internalType": "RoleId",
|
145
|
+
"name": "roleId",
|
146
|
+
"type": "uint64"
|
147
|
+
},
|
148
|
+
{
|
149
|
+
"internalType": "address",
|
150
|
+
"name": "notContract",
|
151
|
+
"type": "address"
|
152
|
+
}
|
153
|
+
],
|
154
|
+
"name": "ErrorRoleMemberNotContract",
|
155
|
+
"type": "error"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"inputs": [
|
159
|
+
{
|
160
|
+
"internalType": "RoleId",
|
161
|
+
"name": "roleId",
|
162
|
+
"type": "uint64"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"internalType": "address",
|
166
|
+
"name": "expectedMember",
|
167
|
+
"type": "address"
|
168
|
+
}
|
169
|
+
],
|
170
|
+
"name": "ErrorRoleMemberRemovalDisabled",
|
139
171
|
"type": "error"
|
140
172
|
},
|
141
173
|
{
|
@@ -186,17 +218,6 @@
|
|
186
218
|
"name": "ErrorRoleNameEmpty",
|
187
219
|
"type": "error"
|
188
220
|
},
|
189
|
-
{
|
190
|
-
"inputs": [
|
191
|
-
{
|
192
|
-
"internalType": "RoleId",
|
193
|
-
"name": "roleId",
|
194
|
-
"type": "uint64"
|
195
|
-
}
|
196
|
-
],
|
197
|
-
"name": "ErrorRoleRemovalDisabled",
|
198
|
-
"type": "error"
|
199
|
-
},
|
200
221
|
{
|
201
222
|
"inputs": [
|
202
223
|
{
|
@@ -229,6 +250,22 @@
|
|
229
250
|
"name": "ErrorTargetAlreadyCreated",
|
230
251
|
"type": "error"
|
231
252
|
},
|
253
|
+
{
|
254
|
+
"inputs": [
|
255
|
+
{
|
256
|
+
"internalType": "address",
|
257
|
+
"name": "target",
|
258
|
+
"type": "address"
|
259
|
+
},
|
260
|
+
{
|
261
|
+
"internalType": "bool",
|
262
|
+
"name": "isLocked",
|
263
|
+
"type": "bool"
|
264
|
+
}
|
265
|
+
],
|
266
|
+
"name": "ErrorTargetAlreadyLocked",
|
267
|
+
"type": "error"
|
268
|
+
},
|
232
269
|
{
|
233
270
|
"inputs": [
|
234
271
|
{
|
@@ -619,6 +656,11 @@
|
|
619
656
|
"internalType": "Timestamp",
|
620
657
|
"name": "createdAt",
|
621
658
|
"type": "uint40"
|
659
|
+
},
|
660
|
+
{
|
661
|
+
"internalType": "Timestamp",
|
662
|
+
"name": "pausedAt",
|
663
|
+
"type": "uint40"
|
622
664
|
}
|
623
665
|
],
|
624
666
|
"internalType": "struct IAccess.RoleInfo",
|
@@ -775,25 +817,6 @@
|
|
775
817
|
"stateMutability": "view",
|
776
818
|
"type": "function"
|
777
819
|
},
|
778
|
-
{
|
779
|
-
"inputs": [
|
780
|
-
{
|
781
|
-
"internalType": "address",
|
782
|
-
"name": "target",
|
783
|
-
"type": "address"
|
784
|
-
}
|
785
|
-
],
|
786
|
-
"name": "isAccessManaged",
|
787
|
-
"outputs": [
|
788
|
-
{
|
789
|
-
"internalType": "bool",
|
790
|
-
"name": "",
|
791
|
-
"type": "bool"
|
792
|
-
}
|
793
|
-
],
|
794
|
-
"stateMutability": "view",
|
795
|
-
"type": "function"
|
796
|
-
},
|
797
820
|
{
|
798
821
|
"inputs": [],
|
799
822
|
"name": "isConsumingScheduledOp",
|
@@ -1014,6 +1037,11 @@
|
|
1014
1037
|
"internalType": "Timestamp",
|
1015
1038
|
"name": "createdAt",
|
1016
1039
|
"type": "uint40"
|
1040
|
+
},
|
1041
|
+
{
|
1042
|
+
"internalType": "Timestamp",
|
1043
|
+
"name": "pausedAt",
|
1044
|
+
"type": "uint40"
|
1017
1045
|
}
|
1018
1046
|
],
|
1019
1047
|
"internalType": "struct IAccess.RoleInfo",
|
package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json
CHANGED
@@ -139,6 +139,25 @@
|
|
139
139
|
],
|
140
140
|
"stateMutability": "view",
|
141
141
|
"type": "function"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"inputs": [
|
145
|
+
{
|
146
|
+
"internalType": "bytes4",
|
147
|
+
"name": "interfaceId",
|
148
|
+
"type": "bytes4"
|
149
|
+
}
|
150
|
+
],
|
151
|
+
"name": "supportsInterface",
|
152
|
+
"outputs": [
|
153
|
+
{
|
154
|
+
"internalType": "bool",
|
155
|
+
"name": "",
|
156
|
+
"type": "bool"
|
157
|
+
}
|
158
|
+
],
|
159
|
+
"stateMutability": "view",
|
160
|
+
"type": "function"
|
142
161
|
}
|
143
162
|
],
|
144
163
|
"bytecode": "0x",
|
@@ -162,6 +162,11 @@
|
|
162
162
|
"internalType": "Timestamp",
|
163
163
|
"name": "createdAt",
|
164
164
|
"type": "uint40"
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"internalType": "Timestamp",
|
168
|
+
"name": "pausedAt",
|
169
|
+
"type": "uint40"
|
165
170
|
}
|
166
171
|
],
|
167
172
|
"internalType": "struct IAccess.RoleInfo",
|
@@ -333,14 +338,14 @@
|
|
333
338
|
"type": "function"
|
334
339
|
}
|
335
340
|
],
|
336
|
-
"bytecode": "
|
337
|
-
"deployedBytecode": "
|
341
|
+
"bytecode": "0x60c0604052600960809081526810dbdb5c1bdb995b9d60ba1b60a0525f9061002790826100fe565b50348015610033575f80fd5b50604051610ebb380380610ebb833981016040819052610052916101b8565b805f61005e82826100fe565b505050610268565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061008e57607f821691505b6020821081036100ac57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156100f957805f5260205f20601f840160051c810160208510156100d75750805b601f840160051c820191505b818110156100f6575f81556001016100e3565b50505b505050565b81516001600160401b0381111561011757610117610066565b61012b81610125845461007a565b846100b2565b6020601f82116001811461015d575f83156101465750848201515b5f19600385901b1c1916600184901b1784556100f6565b5f84815260208120601f198516915b8281101561018c578785015182556020948501946001909201910161016c565b50848210156101a957868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156101c8575f80fd5b81516001600160401b038111156101dd575f80fd5b8201601f810184136101ed575f80fd5b80516001600160401b0381111561020657610206610066565b604051601f8201601f19908116603f011681016001600160401b038111828210171561023457610234610066565b60405281815282820160200186101561024b575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b610c46806102755f395ff3fe608060405234801561000f575f80fd5b5060043610610106575f3560e01c8063710613981161009e578063c143892b1161006e578063c143892b1461027c578063c5f34844146102a6578063c6a00179146102c9578063e8eba435146102dc578063f00e6a2a146102ef575f80fd5b806371061398146101f857806376b707b71461020d578063775f14b1146102275780638c5397b014610269575f80fd5b80635bfa5027116100d95780635bfa50271461017c5780635c935ce01461019c57806363fe3b56146101ce57806368c55b13146101e3575f80fd5b806318029ab41461010a5780631e4afbbf14610125578063433f95d61461014557806354e17da91461015a575b5f80fd5b610112600381565b6040519081526020015b60405180910390f35b6101386101333660046108f3565b6102f7565b60405161011c9190610921565b61014d6103a5565b60405161011c919061098d565b6101126101683660046109d0565b60ff165f9081526009602052604090205490565b61018f61018a3660046109f2565b610434565b60405161011c9190610a21565b6101be6101aa366004610aae565b5f9081526003602052604090205460ff1690565b604051901515815260200161011c565b6101d661050f565b60405161011c9190610ac5565b6101eb610564565b60405161011c9190610afc565b6102006105d6565b60405161011c9190610b36565b61021561065e565b60405160ff909116815260200161011c565b610250610235366004610aae565b5f9081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff909116815260200161011c565b610200610277366004610aae565b6106d7565b61014d6040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61014d60405180604001604052806004815260200163526f6c6560e01b81525081565b6101be6102d73660046109f2565b610769565b6102506102ea3660046109d0565b6107a7565b610112610838565b5f82815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b82821015610399575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff16918301919091529083529092019101610336565b50505050905092915050565b60605f80546103b390610b77565b80601f01602080910402602001604051908101604052809291908181526020018280546103df90610b77565b801561042a5780601f106104015761010080835404028352916020019161042a565b820191905f5260205f20905b81548152906001019060200180831161040d57829003601f168201915b5050505050905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a0840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104ad576104ad610a0d565b60038111156104be576104be610a0d565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b6060600180548060200260200160405190810160405280929190818152602001828054801561042a57602002820191905f5260205f20905b815481526020019060010190808311610547575050505050905090565b6060600880548060200260200160405190810160405280929190818152602001828054801561042a57602002820191905f5260205f20905f905b825461010083900a900460ff1681526020600192830181810494850194909303909202910180841161059e5790505050505050905090565b6060600480548060200260200160405190810160405280929190818152602001828054801561042a57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116106105790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156106ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106d29190610baf565b905090565b5f8181526006602090815260409182902080548351818402810184019094528084526060939283018282801561075d57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116107185790505b50505050509050919050565b5f8067ffffffffffffffff83165f90815260056020526040902054600160401b900460ff16600381111561079f5761079f610a0d565b141592915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836107cb61065e565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af415801561080e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108329190610bca565b92915050565b6001545f90156108635760015f8154811061085557610855610be5565b905f5260205f200154905090565b60405163cdc23e6960e01b8152602060048201525f602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af41580156108b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106d29190610bf9565b67ffffffffffffffff811681146108f0575f80fd5b50565b5f8060408385031215610904575f80fd5b823591506020830135610916816108db565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610982578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff16918501919091529093019260609092019160010161093a565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b60ff811681146108f0575f80fd5b5f602082840312156109e0575f80fd5b81356109eb816109c2565b9392505050565b5f60208284031215610a02575f80fd5b81356109eb816108db565b634e487b7160e01b5f52602160045260245ffd5b815167ffffffffffffffff168152602082015160c082019060048110610a5557634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff6040840151166040830152606083015160608301526080830151610a8e608084018264ffffffffff169052565b5060a0830151610aa760a084018264ffffffffff169052565b5092915050565b5f60208284031215610abe575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610982578351835260209384019390920191600101610ade565b602080825282518282018190525f918401906040840190835b8181101561098257835160ff16835260209384019390920191600101610b15565b602080825282518282018190525f918401906040840190835b8181101561098257835167ffffffffffffffff16835260209384019390920191600101610b4f565b600181811c90821680610b8b57607f821691505b602082108103610ba957634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610bbf575f80fd5b81516109eb816109c2565b5f60208284031215610bda575f80fd5b81516109eb816108db565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610c09575f80fd5b505191905056fea2646970667358221220ec47d5f1d103d7126dcc1e2d851fc8bd660fb5c664fc2d1dcfe31564a6b0a6dc64736f6c634300081a0033",
|
342
|
+
"deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610106575f3560e01c8063710613981161009e578063c143892b1161006e578063c143892b1461027c578063c5f34844146102a6578063c6a00179146102c9578063e8eba435146102dc578063f00e6a2a146102ef575f80fd5b806371061398146101f857806376b707b71461020d578063775f14b1146102275780638c5397b014610269575f80fd5b80635bfa5027116100d95780635bfa50271461017c5780635c935ce01461019c57806363fe3b56146101ce57806368c55b13146101e3575f80fd5b806318029ab41461010a5780631e4afbbf14610125578063433f95d61461014557806354e17da91461015a575b5f80fd5b610112600381565b6040519081526020015b60405180910390f35b6101386101333660046108f3565b6102f7565b60405161011c9190610921565b61014d6103a5565b60405161011c919061098d565b6101126101683660046109d0565b60ff165f9081526009602052604090205490565b61018f61018a3660046109f2565b610434565b60405161011c9190610a21565b6101be6101aa366004610aae565b5f9081526003602052604090205460ff1690565b604051901515815260200161011c565b6101d661050f565b60405161011c9190610ac5565b6101eb610564565b60405161011c9190610afc565b6102006105d6565b60405161011c9190610b36565b61021561065e565b60405160ff909116815260200161011c565b610250610235366004610aae565b5f9081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff909116815260200161011c565b610200610277366004610aae565b6106d7565b61014d6040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61014d60405180604001604052806004815260200163526f6c6560e01b81525081565b6101be6102d73660046109f2565b610769565b6102506102ea3660046109d0565b6107a7565b610112610838565b5f82815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b82821015610399575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff16918301919091529083529092019101610336565b50505050905092915050565b60605f80546103b390610b77565b80601f01602080910402602001604051908101604052809291908181526020018280546103df90610b77565b801561042a5780601f106104015761010080835404028352916020019161042a565b820191905f5260205f20905b81548152906001019060200180831161040d57829003601f168201915b5050505050905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a0840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104ad576104ad610a0d565b60038111156104be576104be610a0d565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b6060600180548060200260200160405190810160405280929190818152602001828054801561042a57602002820191905f5260205f20905b815481526020019060010190808311610547575050505050905090565b6060600880548060200260200160405190810160405280929190818152602001828054801561042a57602002820191905f5260205f20905f905b825461010083900a900460ff1681526020600192830181810494850194909303909202910180841161059e5790505050505050905090565b6060600480548060200260200160405190810160405280929190818152602001828054801561042a57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116106105790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156106ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106d29190610baf565b905090565b5f8181526006602090815260409182902080548351818402810184019094528084526060939283018282801561075d57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116107185790505b50505050509050919050565b5f8067ffffffffffffffff83165f90815260056020526040902054600160401b900460ff16600381111561079f5761079f610a0d565b141592915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836107cb61065e565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af415801561080e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108329190610bca565b92915050565b6001545f90156108635760015f8154811061085557610855610be5565b905f5260205f200154905090565b60405163cdc23e6960e01b8152602060048201525f602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af41580156108b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106d29190610bf9565b67ffffffffffffffff811681146108f0575f80fd5b50565b5f8060408385031215610904575f80fd5b823591506020830135610916816108db565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610982578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff16918501919091529093019260609092019160010161093a565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b60ff811681146108f0575f80fd5b5f602082840312156109e0575f80fd5b81356109eb816109c2565b9392505050565b5f60208284031215610a02575f80fd5b81356109eb816108db565b634e487b7160e01b5f52602160045260245ffd5b815167ffffffffffffffff168152602082015160c082019060048110610a5557634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff6040840151166040830152606083015160608301526080830151610a8e608084018264ffffffffff169052565b5060a0830151610aa760a084018264ffffffffff169052565b5092915050565b5f60208284031215610abe575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610982578351835260209384019390920191600101610ade565b602080825282518282018190525f918401906040840190835b8181101561098257835160ff16835260209384019390920191600101610b15565b602080825282518282018190525f918401906040840190835b8181101561098257835167ffffffffffffffff16835260209384019390920191600101610b4f565b600181811c90821680610b8b57607f821691505b602082108103610ba957634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610bbf575f80fd5b81516109eb816109c2565b5f60208284031215610bda575f80fd5b81516109eb816108db565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610c09575f80fd5b505191905056fea2646970667358221220ec47d5f1d103d7126dcc1e2d851fc8bd660fb5c664fc2d1dcfe31564a6b0a6dc64736f6c634300081a0033",
|
338
343
|
"linkReferences": {
|
339
344
|
"contracts/type/RoleId.sol": {
|
340
345
|
"RoleIdLib": [
|
341
346
|
{
|
342
347
|
"length": 20,
|
343
|
-
"start":
|
348
|
+
"start": 2591
|
344
349
|
}
|
345
350
|
]
|
346
351
|
},
|
@@ -348,7 +353,7 @@
|
|
348
353
|
"StrLib": [
|
349
354
|
{
|
350
355
|
"length": 20,
|
351
|
-
"start":
|
356
|
+
"start": 2804
|
352
357
|
}
|
353
358
|
]
|
354
359
|
},
|
@@ -356,7 +361,7 @@
|
|
356
361
|
"VersionPartLib": [
|
357
362
|
{
|
358
363
|
"length": 20,
|
359
|
-
"start":
|
364
|
+
"start": 2283
|
360
365
|
}
|
361
366
|
]
|
362
367
|
}
|
@@ -366,7 +371,7 @@
|
|
366
371
|
"RoleIdLib": [
|
367
372
|
{
|
368
373
|
"length": 20,
|
369
|
-
"start":
|
374
|
+
"start": 1962
|
370
375
|
}
|
371
376
|
]
|
372
377
|
},
|
@@ -374,7 +379,7 @@
|
|
374
379
|
"StrLib": [
|
375
380
|
{
|
376
381
|
"length": 20,
|
377
|
-
"start":
|
382
|
+
"start": 2175
|
378
383
|
}
|
379
384
|
]
|
380
385
|
},
|
@@ -382,7 +387,7 @@
|
|
382
387
|
"VersionPartLib": [
|
383
388
|
{
|
384
389
|
"length": 20,
|
385
|
-
"start":
|
390
|
+
"start": 1654
|
386
391
|
}
|
387
392
|
]
|
388
393
|
}
|
package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json
CHANGED
@@ -9,6 +9,11 @@
|
|
9
9
|
"internalType": "string",
|
10
10
|
"name": "commitHash",
|
11
11
|
"type": "string"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "uint256",
|
15
|
+
"name": "version",
|
16
|
+
"type": "uint256"
|
12
17
|
}
|
13
18
|
],
|
14
19
|
"stateMutability": "nonpayable",
|
@@ -16,7 +21,46 @@
|
|
16
21
|
},
|
17
22
|
{
|
18
23
|
"inputs": [],
|
19
|
-
"name": "
|
24
|
+
"name": "COMMIT_HASH",
|
25
|
+
"outputs": [
|
26
|
+
{
|
27
|
+
"internalType": "string",
|
28
|
+
"name": "",
|
29
|
+
"type": "string"
|
30
|
+
}
|
31
|
+
],
|
32
|
+
"stateMutability": "view",
|
33
|
+
"type": "function"
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"inputs": [],
|
37
|
+
"name": "COMMIT_HASH_LENGTH",
|
38
|
+
"outputs": [
|
39
|
+
{
|
40
|
+
"internalType": "uint256",
|
41
|
+
"name": "",
|
42
|
+
"type": "uint256"
|
43
|
+
}
|
44
|
+
],
|
45
|
+
"stateMutability": "view",
|
46
|
+
"type": "function"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"inputs": [],
|
50
|
+
"name": "GIF_INITIAL_VERSION",
|
51
|
+
"outputs": [
|
52
|
+
{
|
53
|
+
"internalType": "uint256",
|
54
|
+
"name": "",
|
55
|
+
"type": "uint256"
|
56
|
+
}
|
57
|
+
],
|
58
|
+
"stateMutability": "view",
|
59
|
+
"type": "function"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"inputs": [],
|
63
|
+
"name": "VERSION",
|
20
64
|
"outputs": [
|
21
65
|
{
|
22
66
|
"internalType": "uint256",
|
@@ -163,16 +207,35 @@
|
|
163
207
|
],
|
164
208
|
"stateMutability": "view",
|
165
209
|
"type": "function"
|
210
|
+
},
|
211
|
+
{
|
212
|
+
"inputs": [
|
213
|
+
{
|
214
|
+
"internalType": "bytes4",
|
215
|
+
"name": "interfaceId",
|
216
|
+
"type": "bytes4"
|
217
|
+
}
|
218
|
+
],
|
219
|
+
"name": "supportsInterface",
|
220
|
+
"outputs": [
|
221
|
+
{
|
222
|
+
"internalType": "bool",
|
223
|
+
"name": "",
|
224
|
+
"type": "bool"
|
225
|
+
}
|
226
|
+
],
|
227
|
+
"stateMutability": "pure",
|
228
|
+
"type": "function"
|
166
229
|
}
|
167
230
|
],
|
168
|
-
"bytecode": "
|
169
|
-
"deployedBytecode": "
|
231
|
+
"bytecode": "0x60a060405234801561000f575f80fd5b50604051610a6c380380610a6c83398101604081905261002e91610079565b602882511461003f5761003f61012d565b60038110156100505761005061012d565b5f61005b83826101c5565b506080525061027f565b634e487b7160e01b5f52604160045260245ffd5b5f806040838503121561008a575f80fd5b82516001600160401b0381111561009f575f80fd5b8301601f810185136100af575f80fd5b80516001600160401b038111156100c8576100c8610065565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100f6576100f6610065565b60405281815282820160200187101561010d575f80fd5b8160208401602083015e5f60209282018301529401519395939450505050565b634e487b7160e01b5f52600160045260245ffd5b600181811c9082168061015557607f821691505b60208210810361017357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156101c057805f5260205f20601f840160051c8101602085101561019e5750805b601f840160051c820191505b818110156101bd575f81556001016101aa565b50505b505050565b81516001600160401b038111156101de576101de610065565b6101f2816101ec8454610141565b84610179565b6020601f821160018114610224575f831561020d5750848201515b5f19600385901b1c1916600184901b1784556101bd565b5f84815260208120601f198516915b828110156102535787850151825560209485019460019092019101610233565b508482101561027057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6080516107ce61029e5f395f81816101d501526103b501526107ce5ff3fe608060405234801561000f575f80fd5b50600436106100b1575f3560e01c806384be8c001161006e57806384be8c0014610177578063b79e14941461018a578063da44d6af146101a0578063e8ecdb36146101a8578063fef30334146101c8578063ffa1ad74146101d0575f80fd5b806301ffc9a7146100b557806313efdd7a146100dd5780633a526cd41461012057806368c55b1314610140578063694ca5d31461014857806376b707b71461015d575b5f80fd5b6100c86100c33660046105ae565b6101f7565b60405190151581526020015b60405180910390f35b6101086100eb3660046105ed565b60ff165f908152600260205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020016100d4565b61013361012e3660046105ed565b61022d565b6040516100d49190610608565b6101336102ad565b610150610320565b6040516100d4919061064d565b6101656103a6565b60405160ff90911681526020016100d4565b610165610185366004610682565b61043e565b610192602881565b6040519081526020016100d4565b610192600381565b6101bb6101b6366004610699565b610477565b6040516100d491906106d0565b610150610523565b6101927f000000000000000000000000000000000000000000000000000000000000000081565b5f6001600160e01b031982166332d11fef60e01b148061022757506001600160e01b031982166301ffc9a760e01b145b92915050565b60ff81165f908152600360209081526040918290208054835181840281018401909452808452606093928301828280156102a157602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116102725790505b50505050509050919050565b6060600180548060200260200160405190810160405280929190818152602001828054801561031657602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116102e75790505b5050505050905090565b60605f805461032e90610731565b80601f016020809104026020016040519081016040528092919081815260200182805461035a90610731565b80156103165780601f1061037c57610100808354040283529160200191610316565b820191905f5260205f20905b81548152906001019060200180831161038857509395945050505050565b604051632392b61b60e21b81527f000000000000000000000000000000000000000000000000000000000000000060048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610415573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104399190610769565b905090565b5f6001828154811061045257610452610784565b905f5260205f2090602091828204019190069054906101000a900460ff169050919050565b60ff8083165f9081526004602090815260408083209385168352928152828220805484518184028101840190955280855260609493919290919084015b82821015610517575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016104b4565b50505050905092915050565b5f805461052f90610731565b80601f016020809104026020016040519081016040528092919081815260200182805461055b90610731565b80156105a65780601f1061057d576101008083540402835291602001916105a6565b820191905f5260205f20905b81548152906001019060200180831161058957829003601f168201915b505050505081565b5f602082840312156105be575f80fd5b81356001600160e01b0319811681146105d5575f80fd5b9392505050565b60ff811681146105ea575f80fd5b50565b5f602082840312156105fd575f80fd5b81356105d5816105dc565b602080825282518282018190525f918401906040840190835b8181101561064257835160ff16835260209384019390920191600101610621565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f60208284031215610692575f80fd5b5035919050565b5f80604083850312156106aa575f80fd5b82356106b5816105dc565b915060208301356106c5816105dc565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610642578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff1691850191909152909301926060909201916001016106e9565b600181811c9082168061074557607f821691505b60208210810361076357634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610779575f80fd5b81516105d5816105dc565b634e487b7160e01b5f52603260045260245ffdfea264697066735822122063b09779a4ae500c5e31ef0351adecdbb1291a6a00b4b7447bc4c6b8492795e464736f6c634300081a0033",
|
232
|
+
"deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106100b1575f3560e01c806384be8c001161006e57806384be8c0014610177578063b79e14941461018a578063da44d6af146101a0578063e8ecdb36146101a8578063fef30334146101c8578063ffa1ad74146101d0575f80fd5b806301ffc9a7146100b557806313efdd7a146100dd5780633a526cd41461012057806368c55b1314610140578063694ca5d31461014857806376b707b71461015d575b5f80fd5b6100c86100c33660046105ae565b6101f7565b60405190151581526020015b60405180910390f35b6101086100eb3660046105ed565b60ff165f908152600260205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020016100d4565b61013361012e3660046105ed565b61022d565b6040516100d49190610608565b6101336102ad565b610150610320565b6040516100d4919061064d565b6101656103a6565b60405160ff90911681526020016100d4565b610165610185366004610682565b61043e565b610192602881565b6040519081526020016100d4565b610192600381565b6101bb6101b6366004610699565b610477565b6040516100d491906106d0565b610150610523565b6101927f000000000000000000000000000000000000000000000000000000000000000081565b5f6001600160e01b031982166332d11fef60e01b148061022757506001600160e01b031982166301ffc9a760e01b145b92915050565b60ff81165f908152600360209081526040918290208054835181840281018401909452808452606093928301828280156102a157602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116102725790505b50505050509050919050565b6060600180548060200260200160405190810160405280929190818152602001828054801561031657602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116102e75790505b5050505050905090565b60605f805461032e90610731565b80601f016020809104026020016040519081016040528092919081815260200182805461035a90610731565b80156103165780601f1061037c57610100808354040283529160200191610316565b820191905f5260205f20905b81548152906001019060200180831161038857509395945050505050565b604051632392b61b60e21b81527f000000000000000000000000000000000000000000000000000000000000000060048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610415573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104399190610769565b905090565b5f6001828154811061045257610452610784565b905f5260205f2090602091828204019190069054906101000a900460ff169050919050565b60ff8083165f9081526004602090815260408083209385168352928152828220805484518184028101840190955280855260609493919290919084015b82821015610517575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016104b4565b50505050905092915050565b5f805461052f90610731565b80601f016020809104026020016040519081016040528092919081815260200182805461055b90610731565b80156105a65780601f1061057d576101008083540402835291602001916105a6565b820191905f5260205f20905b81548152906001019060200180831161058957829003601f168201915b505050505081565b5f602082840312156105be575f80fd5b81356001600160e01b0319811681146105d5575f80fd5b9392505050565b60ff811681146105ea575f80fd5b50565b5f602082840312156105fd575f80fd5b81356105d5816105dc565b602080825282518282018190525f918401906040840190835b8181101561064257835160ff16835260209384019390920191600101610621565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f60208284031215610692575f80fd5b5035919050565b5f80604083850312156106aa575f80fd5b82356106b5816105dc565b915060208301356106c5816105dc565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610642578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff1691850191909152909301926060909201916001016106e9565b600181811c9082168061074557607f821691505b60208210810361076357634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610779575f80fd5b81516105d5816105dc565b634e487b7160e01b5f52603260045260245ffdfea264697066735822122063b09779a4ae500c5e31ef0351adecdbb1291a6a00b4b7447bc4c6b8492795e464736f6c634300081a0033",
|
170
233
|
"linkReferences": {
|
171
234
|
"contracts/type/Version.sol": {
|
172
235
|
"VersionPartLib": [
|
173
236
|
{
|
174
237
|
"length": 20,
|
175
|
-
"start":
|
238
|
+
"start": 1659
|
176
239
|
}
|
177
240
|
]
|
178
241
|
}
|
@@ -182,7 +245,7 @@
|
|
182
245
|
"VersionPartLib": [
|
183
246
|
{
|
184
247
|
"length": 20,
|
185
|
-
"start":
|
248
|
+
"start": 989
|
186
249
|
}
|
187
250
|
]
|
188
251
|
}
|