@etherisc/gif-next 0.0.2-fbe6493-116 → 0.0.2-fc0563c-260
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +89 -9
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +673 -262
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +456 -24
- 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 +549 -209
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +215 -18
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +265 -16
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +473 -17
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +190 -464
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +431 -36
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +109 -356
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +638 -386
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +208 -132
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +96 -191
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +478 -108
- 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 +1472 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2045 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -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 +1423 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1639 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2484 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +560 -66
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +377 -58
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +568 -166
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1034 -311
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +369 -68
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1688 -735
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +390 -228
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +142 -104
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +955 -640
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
- 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 +16 -5
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
- 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 +135 -333
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +429 -37
- 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 +103 -133
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +98 -11
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +111 -293
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +198 -190
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +176 -96
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +160 -350
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +430 -35
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +348 -431
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +169 -133
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +247 -121
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +141 -182
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +517 -281
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +139 -332
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +701 -551
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +205 -113
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +357 -173
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +164 -96
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +288 -409
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +430 -35
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +453 -287
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +186 -126
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +296 -9
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +333 -17
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +300 -64
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +183 -80
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +257 -226
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/{shared/ComponentVerifyingService.sol/ComponentVerifyingService.json → product/IRiskService.sol/IRiskService.json} +283 -157
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +385 -336
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +174 -126
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +247 -332
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +164 -136
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +280 -401
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -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 +356 -45
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +169 -37
- package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
- package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +562 -106
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +795 -394
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +136 -290
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +140 -88
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
- 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 +483 -253
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +489 -20
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +15 -15
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +99 -252
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +480 -696
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +176 -146
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +92 -93
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +432 -290
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +103 -133
- 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 +35 -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 +167 -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 +84 -2
- 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 +110 -292
- 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 +41 -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 +141 -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 +86 -111
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +544 -18
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +341 -133
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +184 -23
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +468 -405
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
- 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 +177 -108
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +91 -67
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +253 -171
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +157 -93
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +205 -150
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +91 -50
- 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 +35 -11
- 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 +94 -38
- 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 +4 -0
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
- 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 +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 +125 -7
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
- 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/SelectorLib.json +21 -2
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
- 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/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 +2 -2
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +73 -36
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -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 +117 -78
- 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 +274 -0
- package/contracts/accounting/AccountingServiceManager.sol +38 -0
- package/contracts/accounting/IAccountingService.sol +47 -0
- package/contracts/authorization/AccessAdmin.sol +456 -267
- package/contracts/authorization/AccessAdminLib.sol +396 -0
- package/contracts/authorization/AccessManagerCloneable.sol +146 -4
- package/contracts/authorization/Authorization.sol +159 -208
- package/contracts/authorization/IAccess.sol +25 -6
- package/contracts/authorization/IAccessAdmin.sol +87 -79
- package/contracts/authorization/IAuthorization.sol +9 -36
- package/contracts/authorization/IServiceAuthorization.sol +57 -17
- package/contracts/authorization/ServiceAuthorization.sol +254 -24
- package/contracts/distribution/BasicDistribution.sol +20 -17
- package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
- package/contracts/distribution/Distribution.sol +42 -90
- package/contracts/distribution/DistributionService.sol +242 -117
- package/contracts/distribution/DistributionServiceManager.sol +6 -6
- package/contracts/distribution/IDistributionComponent.sol +4 -11
- package/contracts/distribution/IDistributionService.sol +46 -26
- package/contracts/examples/fire/DamageLevel.sol +59 -0
- package/contracts/examples/fire/FirePool.sol +86 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
- package/contracts/examples/fire/FireProduct.sol +433 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
- package/contracts/examples/fire/FireUSD.sol +26 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
- package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
- package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +391 -0
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BundleSet.sol +42 -38
- package/contracts/instance/IInstance.sol +101 -42
- package/contracts/instance/IInstanceService.sol +56 -32
- package/contracts/instance/Instance.sol +189 -97
- package/contracts/instance/InstanceAdmin.sol +275 -158
- package/contracts/instance/InstanceAuthorizationV3.sol +120 -58
- package/contracts/instance/InstanceReader.sol +477 -253
- package/contracts/instance/InstanceService.sol +275 -243
- package/contracts/instance/InstanceServiceManager.sol +6 -7
- package/contracts/instance/InstanceStore.sol +23 -2
- package/contracts/instance/RiskSet.sol +126 -0
- package/contracts/instance/base/BalanceStore.sol +3 -5
- package/contracts/instance/base/ObjectCounter.sol +1 -2
- package/contracts/instance/base/ObjectLifecycle.sol +11 -8
- package/contracts/instance/base/ObjectSet.sol +31 -33
- package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
- package/contracts/instance/module/IBundle.sol +6 -5
- package/contracts/instance/module/IComponents.sol +29 -13
- package/contracts/instance/module/IDistribution.sol +21 -8
- package/contracts/instance/module/IPolicy.sol +49 -28
- package/contracts/instance/module/IRisk.sol +5 -0
- package/contracts/oracle/BasicOracle.sol +1 -4
- package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
- package/contracts/oracle/IOracle.sol +9 -4
- package/contracts/oracle/IOracleService.sol +2 -1
- package/contracts/oracle/Oracle.sol +7 -19
- package/contracts/oracle/OracleService.sol +117 -85
- package/contracts/oracle/OracleServiceManager.sol +6 -6
- package/contracts/pool/BasicPool.sol +33 -37
- package/contracts/pool/BasicPoolAuthorization.sol +34 -11
- package/contracts/pool/BundleService.sol +113 -164
- package/contracts/pool/BundleServiceManager.sol +6 -6
- package/contracts/pool/IBundleService.sol +28 -45
- package/contracts/pool/IPoolComponent.sol +19 -15
- package/contracts/pool/IPoolService.sol +93 -73
- package/contracts/pool/Pool.sol +140 -135
- package/contracts/pool/PoolLib.sol +341 -0
- package/contracts/pool/PoolService.sol +377 -291
- package/contracts/pool/PoolServiceManager.sol +4 -4
- package/contracts/product/ApplicationService.sol +111 -34
- package/contracts/product/ApplicationServiceManager.sol +4 -4
- package/contracts/product/BasicProduct.sol +10 -13
- package/contracts/product/BasicProductAuthorization.sol +32 -12
- package/contracts/product/ClaimService.sol +382 -158
- package/contracts/product/ClaimServiceManager.sol +4 -4
- package/contracts/product/IApplicationService.sol +28 -3
- package/contracts/product/IClaimService.sol +43 -8
- package/contracts/product/IPolicyService.sol +47 -29
- package/contracts/product/IPricingService.sol +11 -10
- package/contracts/product/IProductComponent.sol +27 -5
- package/contracts/product/IRiskService.sol +48 -0
- package/contracts/product/PolicyService.sol +374 -324
- package/contracts/product/PolicyServiceLib.sol +139 -0
- package/contracts/product/PolicyServiceManager.sol +4 -4
- package/contracts/product/PricingService.sol +85 -83
- package/contracts/product/PricingServiceManager.sol +4 -4
- package/contracts/product/Product.sol +166 -96
- package/contracts/product/RiskService.sol +190 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +72 -40
- package/contracts/registry/IRegistry.sol +70 -29
- package/contracts/registry/IRegistryService.sol +5 -12
- package/contracts/registry/IRelease.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -2
- package/contracts/registry/Registry.sol +364 -204
- package/contracts/registry/RegistryAdmin.sol +110 -287
- package/contracts/registry/RegistryAuthorization.sol +284 -0
- package/contracts/registry/RegistryService.sol +38 -49
- package/contracts/registry/RegistryServiceManager.sol +3 -3
- package/contracts/registry/ReleaseAdmin.sol +195 -0
- package/contracts/registry/ReleaseLifecycle.sol +8 -3
- package/contracts/registry/ReleaseRegistry.sol +275 -240
- package/contracts/registry/ServiceAuthorizationV3.sol +202 -57
- package/contracts/registry/TokenRegistry.sol +12 -13
- package/contracts/shared/Component.sol +66 -137
- package/contracts/shared/ComponentService.sol +415 -376
- package/contracts/shared/ComponentServiceManager.sol +8 -5
- package/contracts/shared/ContractLib.sol +311 -0
- package/contracts/shared/IComponent.sol +6 -19
- package/contracts/shared/IComponentService.sol +43 -40
- package/contracts/shared/IInstanceLinkedComponent.sol +2 -28
- package/contracts/shared/ILifecycle.sol +3 -1
- package/contracts/shared/INftOwnable.sol +4 -0
- package/contracts/shared/IPolicyHolder.sol +12 -22
- package/contracts/shared/IRegisterable.sol +22 -1
- package/contracts/shared/IService.sol +3 -5
- package/contracts/shared/InitializableERC165.sol +10 -2
- package/contracts/shared/InstanceLinkedComponent.sol +72 -50
- package/contracts/shared/KeyValueStore.sol +1 -1
- package/contracts/shared/Lifecycle.sol +15 -4
- package/contracts/shared/NftOwnable.sol +31 -9
- package/contracts/shared/PolicyHolder.sol +18 -54
- package/contracts/shared/Registerable.sol +52 -21
- package/contracts/shared/RegistryLinked.sol +9 -14
- package/contracts/shared/Service.sol +20 -35
- package/contracts/shared/TokenHandler.sol +309 -29
- package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
- package/contracts/staking/IStaking.sol +48 -20
- package/contracts/staking/IStakingService.sol +21 -11
- package/contracts/staking/Staking.sol +198 -109
- package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +95 -45
- package/contracts/staking/StakingManager.sol +8 -6
- package/contracts/staking/StakingReader.sol +40 -24
- package/contracts/staking/StakingService.sol +88 -27
- package/contracts/staking/StakingServiceManager.sol +6 -5
- package/contracts/staking/StakingStore.sol +3 -2
- package/contracts/staking/TargetManagerLib.sol +8 -4
- package/contracts/type/Amount.sol +15 -0
- package/contracts/type/ClaimId.sol +6 -1
- package/contracts/type/Fee.sol +8 -8
- package/contracts/type/Key32.sol +2 -2
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/type/NftId.sol +7 -0
- package/contracts/type/ObjectType.sol +73 -37
- package/contracts/type/PayoutId.sol +10 -10
- package/contracts/type/RiskId.sol +38 -6
- package/contracts/type/RoleId.sol +61 -55
- package/contracts/type/Seconds.sol +12 -0
- package/contracts/type/Selector.sol +5 -0
- package/contracts/type/StateId.sol +15 -1
- package/contracts/type/String.sol +12 -0
- package/contracts/type/Timestamp.sol +0 -5
- package/contracts/type/UFixed.sol +37 -126
- package/contracts/type/Version.sol +54 -5
- package/contracts/upgradeability/IVersionable.sol +3 -0
- package/contracts/upgradeability/ProxyManager.sol +93 -45
- package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +7 -1
- package/contracts/upgradeability/Versionable.sol +8 -5
- package/package.json +5 -4
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/product/IProductService.sol/IProductService.json +0 -400
- 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/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
- package/artifacts/contracts/shared/TokenTransferLib.sol/TokenTransferLib.dbg.json +0 -4
- package/artifacts/contracts/shared/TokenTransferLib.sol/TokenTransferLib.json +0 -42
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -470
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
- package/contracts/authorization/IModuleAuthorization.sol +0 -21
- package/contracts/authorization/ModuleAuthorization.sol +0 -78
- package/contracts/instance/module/IAccess.sol +0 -46
- package/contracts/product/IProductService.sol +0 -33
- package/contracts/product/ProductService.sol +0 -99
- package/contracts/product/ProductServiceManager.sol +0 -39
- package/contracts/shared/ComponentVerifyingService.sol +0 -117
- package/contracts/shared/InitializableCustom.sol +0 -177
- package/contracts/shared/TokenTransferLib.sol +0 -60
package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json
CHANGED
@@ -5,6 +5,21 @@
|
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "string",
|
10
|
+
"name": "mainTargetName",
|
11
|
+
"type": "string"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "ObjectType",
|
15
|
+
"name": "domain",
|
16
|
+
"type": "uint8"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"internalType": "uint8",
|
20
|
+
"name": "release",
|
21
|
+
"type": "uint8"
|
22
|
+
},
|
8
23
|
{
|
9
24
|
"internalType": "string",
|
10
25
|
"name": "commitHash",
|
@@ -14,9 +29,77 @@
|
|
14
29
|
"stateMutability": "nonpayable",
|
15
30
|
"type": "constructor"
|
16
31
|
},
|
32
|
+
{
|
33
|
+
"inputs": [
|
34
|
+
{
|
35
|
+
"internalType": "string",
|
36
|
+
"name": "commitHash",
|
37
|
+
"type": "string"
|
38
|
+
}
|
39
|
+
],
|
40
|
+
"name": "ErrorAuthorizationCommitHashInvalid",
|
41
|
+
"type": "error"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"inputs": [],
|
45
|
+
"name": "ErrorAuthorizationMainTargetNameEmpty",
|
46
|
+
"type": "error"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"inputs": [
|
50
|
+
{
|
51
|
+
"internalType": "uint8",
|
52
|
+
"name": "release",
|
53
|
+
"type": "uint8"
|
54
|
+
}
|
55
|
+
],
|
56
|
+
"name": "ErrorAuthorizationReleaseInvalid",
|
57
|
+
"type": "error"
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"inputs": [],
|
61
|
+
"name": "ErrorAuthorizationTargetDomainZero",
|
62
|
+
"type": "error"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"inputs": [],
|
66
|
+
"name": "InvalidInitialization",
|
67
|
+
"type": "error"
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"inputs": [],
|
71
|
+
"name": "NotInitializing",
|
72
|
+
"type": "error"
|
73
|
+
},
|
74
|
+
{
|
75
|
+
"anonymous": false,
|
76
|
+
"inputs": [
|
77
|
+
{
|
78
|
+
"indexed": false,
|
79
|
+
"internalType": "uint64",
|
80
|
+
"name": "version",
|
81
|
+
"type": "uint64"
|
82
|
+
}
|
83
|
+
],
|
84
|
+
"name": "Initialized",
|
85
|
+
"type": "event"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"inputs": [],
|
89
|
+
"name": "COMMIT_HASH",
|
90
|
+
"outputs": [
|
91
|
+
{
|
92
|
+
"internalType": "string",
|
93
|
+
"name": "",
|
94
|
+
"type": "string"
|
95
|
+
}
|
96
|
+
],
|
97
|
+
"stateMutability": "view",
|
98
|
+
"type": "function"
|
99
|
+
},
|
17
100
|
{
|
18
101
|
"inputs": [],
|
19
|
-
"name": "
|
102
|
+
"name": "COMMIT_HASH_LENGTH",
|
20
103
|
"outputs": [
|
21
104
|
{
|
22
105
|
"internalType": "uint256",
|
@@ -28,19 +111,52 @@
|
|
28
111
|
"type": "function"
|
29
112
|
},
|
30
113
|
{
|
31
|
-
"inputs": [
|
114
|
+
"inputs": [],
|
115
|
+
"name": "DOMAIN",
|
116
|
+
"outputs": [
|
32
117
|
{
|
33
118
|
"internalType": "ObjectType",
|
34
|
-
"name": "
|
119
|
+
"name": "",
|
35
120
|
"type": "uint8"
|
36
121
|
}
|
37
122
|
],
|
38
|
-
"
|
123
|
+
"stateMutability": "view",
|
124
|
+
"type": "function"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"inputs": [],
|
128
|
+
"name": "GIF_INITIAL_VERSION",
|
39
129
|
"outputs": [
|
40
130
|
{
|
41
|
-
"internalType": "
|
42
|
-
"name": "
|
43
|
-
"type": "
|
131
|
+
"internalType": "uint256",
|
132
|
+
"name": "",
|
133
|
+
"type": "uint256"
|
134
|
+
}
|
135
|
+
],
|
136
|
+
"stateMutability": "view",
|
137
|
+
"type": "function"
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"inputs": [],
|
141
|
+
"name": "ROLE_NAME_SUFFIX",
|
142
|
+
"outputs": [
|
143
|
+
{
|
144
|
+
"internalType": "string",
|
145
|
+
"name": "",
|
146
|
+
"type": "string"
|
147
|
+
}
|
148
|
+
],
|
149
|
+
"stateMutability": "view",
|
150
|
+
"type": "function"
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"inputs": [],
|
154
|
+
"name": "SERVICE_NAME_SUFFIX",
|
155
|
+
"outputs": [
|
156
|
+
{
|
157
|
+
"internalType": "string",
|
158
|
+
"name": "",
|
159
|
+
"type": "string"
|
44
160
|
}
|
45
161
|
],
|
46
162
|
"stateMutability": "view",
|
@@ -49,14 +165,14 @@
|
|
49
165
|
{
|
50
166
|
"inputs": [
|
51
167
|
{
|
52
|
-
"internalType": "
|
53
|
-
"name": "
|
54
|
-
"type": "
|
168
|
+
"internalType": "Str",
|
169
|
+
"name": "target",
|
170
|
+
"type": "bytes32"
|
55
171
|
},
|
56
172
|
{
|
57
|
-
"internalType": "
|
58
|
-
"name": "
|
59
|
-
"type": "
|
173
|
+
"internalType": "RoleId",
|
174
|
+
"name": "roleId",
|
175
|
+
"type": "uint64"
|
60
176
|
}
|
61
177
|
],
|
62
178
|
"name": "getAuthorizedFunctions",
|
@@ -87,6 +203,25 @@
|
|
87
203
|
"stateMutability": "view",
|
88
204
|
"type": "function"
|
89
205
|
},
|
206
|
+
{
|
207
|
+
"inputs": [
|
208
|
+
{
|
209
|
+
"internalType": "Str",
|
210
|
+
"name": "target",
|
211
|
+
"type": "bytes32"
|
212
|
+
}
|
213
|
+
],
|
214
|
+
"name": "getAuthorizedRoles",
|
215
|
+
"outputs": [
|
216
|
+
{
|
217
|
+
"internalType": "RoleId[]",
|
218
|
+
"name": "roleIds",
|
219
|
+
"type": "uint64[]"
|
220
|
+
}
|
221
|
+
],
|
222
|
+
"stateMutability": "view",
|
223
|
+
"type": "function"
|
224
|
+
},
|
90
225
|
{
|
91
226
|
"inputs": [],
|
92
227
|
"name": "getCommitHash",
|
@@ -100,6 +235,45 @@
|
|
100
235
|
"stateMutability": "view",
|
101
236
|
"type": "function"
|
102
237
|
},
|
238
|
+
{
|
239
|
+
"inputs": [],
|
240
|
+
"name": "getDomain",
|
241
|
+
"outputs": [
|
242
|
+
{
|
243
|
+
"internalType": "ObjectType",
|
244
|
+
"name": "targetDomain",
|
245
|
+
"type": "uint8"
|
246
|
+
}
|
247
|
+
],
|
248
|
+
"stateMutability": "view",
|
249
|
+
"type": "function"
|
250
|
+
},
|
251
|
+
{
|
252
|
+
"inputs": [],
|
253
|
+
"name": "getMainTarget",
|
254
|
+
"outputs": [
|
255
|
+
{
|
256
|
+
"internalType": "Str",
|
257
|
+
"name": "target",
|
258
|
+
"type": "bytes32"
|
259
|
+
}
|
260
|
+
],
|
261
|
+
"stateMutability": "view",
|
262
|
+
"type": "function"
|
263
|
+
},
|
264
|
+
{
|
265
|
+
"inputs": [],
|
266
|
+
"name": "getMainTargetName",
|
267
|
+
"outputs": [
|
268
|
+
{
|
269
|
+
"internalType": "string",
|
270
|
+
"name": "name",
|
271
|
+
"type": "string"
|
272
|
+
}
|
273
|
+
],
|
274
|
+
"stateMutability": "view",
|
275
|
+
"type": "function"
|
276
|
+
},
|
103
277
|
{
|
104
278
|
"inputs": [],
|
105
279
|
"name": "getRelease",
|
@@ -113,6 +287,89 @@
|
|
113
287
|
"stateMutability": "view",
|
114
288
|
"type": "function"
|
115
289
|
},
|
290
|
+
{
|
291
|
+
"inputs": [
|
292
|
+
{
|
293
|
+
"internalType": "RoleId",
|
294
|
+
"name": "roleId",
|
295
|
+
"type": "uint64"
|
296
|
+
}
|
297
|
+
],
|
298
|
+
"name": "getRoleInfo",
|
299
|
+
"outputs": [
|
300
|
+
{
|
301
|
+
"components": [
|
302
|
+
{
|
303
|
+
"internalType": "RoleId",
|
304
|
+
"name": "adminRoleId",
|
305
|
+
"type": "uint64"
|
306
|
+
},
|
307
|
+
{
|
308
|
+
"internalType": "enum IAccess.RoleType",
|
309
|
+
"name": "roleType",
|
310
|
+
"type": "uint8"
|
311
|
+
},
|
312
|
+
{
|
313
|
+
"internalType": "uint32",
|
314
|
+
"name": "maxMemberCount",
|
315
|
+
"type": "uint32"
|
316
|
+
},
|
317
|
+
{
|
318
|
+
"internalType": "Timestamp",
|
319
|
+
"name": "createdAt",
|
320
|
+
"type": "uint40"
|
321
|
+
},
|
322
|
+
{
|
323
|
+
"internalType": "Timestamp",
|
324
|
+
"name": "pausedAt",
|
325
|
+
"type": "uint40"
|
326
|
+
},
|
327
|
+
{
|
328
|
+
"internalType": "Str",
|
329
|
+
"name": "name",
|
330
|
+
"type": "bytes32"
|
331
|
+
}
|
332
|
+
],
|
333
|
+
"internalType": "struct IAccess.RoleInfo",
|
334
|
+
"name": "info",
|
335
|
+
"type": "tuple"
|
336
|
+
}
|
337
|
+
],
|
338
|
+
"stateMutability": "view",
|
339
|
+
"type": "function"
|
340
|
+
},
|
341
|
+
{
|
342
|
+
"inputs": [
|
343
|
+
{
|
344
|
+
"internalType": "RoleId",
|
345
|
+
"name": "roleId",
|
346
|
+
"type": "uint64"
|
347
|
+
}
|
348
|
+
],
|
349
|
+
"name": "getRoleName",
|
350
|
+
"outputs": [
|
351
|
+
{
|
352
|
+
"internalType": "string",
|
353
|
+
"name": "roleName",
|
354
|
+
"type": "string"
|
355
|
+
}
|
356
|
+
],
|
357
|
+
"stateMutability": "view",
|
358
|
+
"type": "function"
|
359
|
+
},
|
360
|
+
{
|
361
|
+
"inputs": [],
|
362
|
+
"name": "getRoles",
|
363
|
+
"outputs": [
|
364
|
+
{
|
365
|
+
"internalType": "RoleId[]",
|
366
|
+
"name": "roles",
|
367
|
+
"type": "uint64[]"
|
368
|
+
}
|
369
|
+
],
|
370
|
+
"stateMutability": "view",
|
371
|
+
"type": "function"
|
372
|
+
},
|
116
373
|
{
|
117
374
|
"inputs": [
|
118
375
|
{
|
@@ -163,26 +420,225 @@
|
|
163
420
|
],
|
164
421
|
"stateMutability": "view",
|
165
422
|
"type": "function"
|
423
|
+
},
|
424
|
+
{
|
425
|
+
"inputs": [
|
426
|
+
{
|
427
|
+
"internalType": "ObjectType",
|
428
|
+
"name": "serviceDomain",
|
429
|
+
"type": "uint8"
|
430
|
+
}
|
431
|
+
],
|
432
|
+
"name": "getServiceRole",
|
433
|
+
"outputs": [
|
434
|
+
{
|
435
|
+
"internalType": "RoleId",
|
436
|
+
"name": "serviceRoleId",
|
437
|
+
"type": "uint64"
|
438
|
+
}
|
439
|
+
],
|
440
|
+
"stateMutability": "view",
|
441
|
+
"type": "function"
|
442
|
+
},
|
443
|
+
{
|
444
|
+
"inputs": [
|
445
|
+
{
|
446
|
+
"internalType": "ObjectType",
|
447
|
+
"name": "serviceDomain",
|
448
|
+
"type": "uint8"
|
449
|
+
}
|
450
|
+
],
|
451
|
+
"name": "getServiceTarget",
|
452
|
+
"outputs": [
|
453
|
+
{
|
454
|
+
"internalType": "Str",
|
455
|
+
"name": "target",
|
456
|
+
"type": "bytes32"
|
457
|
+
}
|
458
|
+
],
|
459
|
+
"stateMutability": "view",
|
460
|
+
"type": "function"
|
461
|
+
},
|
462
|
+
{
|
463
|
+
"inputs": [
|
464
|
+
{
|
465
|
+
"internalType": "Str",
|
466
|
+
"name": "target",
|
467
|
+
"type": "bytes32"
|
468
|
+
}
|
469
|
+
],
|
470
|
+
"name": "getTargetRole",
|
471
|
+
"outputs": [
|
472
|
+
{
|
473
|
+
"internalType": "RoleId",
|
474
|
+
"name": "roleId",
|
475
|
+
"type": "uint64"
|
476
|
+
}
|
477
|
+
],
|
478
|
+
"stateMutability": "view",
|
479
|
+
"type": "function"
|
480
|
+
},
|
481
|
+
{
|
482
|
+
"inputs": [
|
483
|
+
{
|
484
|
+
"internalType": "RoleId",
|
485
|
+
"name": "roleId",
|
486
|
+
"type": "uint64"
|
487
|
+
}
|
488
|
+
],
|
489
|
+
"name": "roleExists",
|
490
|
+
"outputs": [
|
491
|
+
{
|
492
|
+
"internalType": "bool",
|
493
|
+
"name": "exists",
|
494
|
+
"type": "bool"
|
495
|
+
}
|
496
|
+
],
|
497
|
+
"stateMutability": "view",
|
498
|
+
"type": "function"
|
499
|
+
},
|
500
|
+
{
|
501
|
+
"inputs": [
|
502
|
+
{
|
503
|
+
"internalType": "bytes4",
|
504
|
+
"name": "interfaceId",
|
505
|
+
"type": "bytes4"
|
506
|
+
}
|
507
|
+
],
|
508
|
+
"name": "supportsInterface",
|
509
|
+
"outputs": [
|
510
|
+
{
|
511
|
+
"internalType": "bool",
|
512
|
+
"name": "",
|
513
|
+
"type": "bool"
|
514
|
+
}
|
515
|
+
],
|
516
|
+
"stateMutability": "view",
|
517
|
+
"type": "function"
|
166
518
|
}
|
167
519
|
],
|
168
|
-
"bytecode": "0x608060405234801561000f575f80fd5b5060405161089038038061089083398101604081905261002e91610054565b5f6100398282610188565b5050610242565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610064575f80fd5b81516001600160401b03811115610079575f80fd5b8201601f81018413610089575f80fd5b80516001600160401b038111156100a2576100a2610040565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d0576100d0610040565b6040528181528282016020018610156100e7575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b600181811c9082168061011857607f821691505b60208210810361013657634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561018357805f5260205f20601f840160051c810160208510156101615750805b601f840160051c820191505b81811015610180575f815560010161016d565b50505b505050565b81516001600160401b038111156101a1576101a1610040565b6101b5816101af8454610104565b8461013c565b6020601f8211600181146101e7575f83156101d05750848201515b5f19600385901b1c1916600184901b178455610180565b5f84815260208120601f198516915b8281101561021657878501518255602094850194600190920191016101f6565b508482101561023357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6106418061024f5f395ff3fe608060405234801561000f575f80fd5b5060043610610085575f3560e01c806376b707b71161005857806376b707b71461010e57806384be8c0014610128578063d2b717a11461013b578063e8ecdb3614610151575f80fd5b806313efdd7a146100895780633a526cd4146100d157806368c55b13146100f1578063694ca5d3146100f9575b5f80fd5b6100b4610097366004610459565b60ff165f908152600260205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020015b60405180910390f35b6100e46100df366004610459565b610171565b6040516100c8919061047b565b6100e46101f1565b610101610264565b6040516100c891906104c0565b6101166102ea565b60405160ff90911681526020016100c8565b6101166101363660046104f5565b610363565b610143600381565b6040519081526020016100c8565b61016461015f36600461050c565b61039c565b6040516100c89190610543565b60ff81165f908152600360209081526040918290208054835181840281018401909452808452606093928301828280156101e557602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116101b65790505b50505050509050919050565b6060600180548060200260200160405190810160405280929190818152602001828054801561025a57602002820191905f5260205f20905f905b825461010083900a900460ff1681526020600192830181810494850194909303909202910180841161022b5790505b5050505050905090565b60605f8054610272906105a4565b80601f016020809104026020016040519081016040528092919081815260200182805461029e906105a4565b801561025a5780601f106102c05761010080835404028352916020019161025a565b820191905f5260205f20905b8154815290600101906020018083116102cc57509395945050505050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561033a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061035e91906105dc565b905090565b5f60018281548110610377576103776105f7565b905f5260205f2090602091828204019190069054906101000a900460ff169050919050565b60ff8083165f9081526004602090815260408083209385168352928152828220805484518184028101840190955280855260609493919290919084015b8282101561043c575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016103d9565b50505050905092915050565b60ff81168114610456575f80fd5b50565b5f60208284031215610469575f80fd5b813561047481610448565b9392505050565b602080825282518282018190525f918401906040840190835b818110156104b557835160ff16835260209384019390920191600101610494565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f60208284031215610505575f80fd5b5035919050565b5f806040838503121561051d575f80fd5b823561052881610448565b9150602083013561053881610448565b809150509250929050565b602080825282518282018190525f918401906040840190835b818110156104b5578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff16918501919091529093019260609092019160010161055c565b600181811c908216806105b857607f821691505b6020821081036105d657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156105ec575f80fd5b815161047481610448565b634e487b7160e01b5f52603260045260245ffdfea26469706673582212201dc81d89957aae670c5a047682292afbf915070dd7aeb237fb46ef37150aeb9c64736f6c634300081a0033",
|
169
|
-
"deployedBytecode": "
|
520
|
+
"bytecode": "0x60c060405234801561000f575f80fd5b50604051611c09380380611c0983398101604081905261002e9161093c565b83515f0361004f5760405163c0348f3560e01b815260040160405180910390fd5b6100c98373__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561009a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100be91906109c5565b60ff90811691161490565b156100e7576040516302e3f24160e11b815260040160405180910390fd5b73__$b659da7d8a6d2d32aa6c1e17da23dc2174$__63bb41432a6040518163ffffffff1660e01b8152600401602060405180830381865af415801561012e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061015291906109c5565b604051632b10f60d60e21b815260ff909116600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af41580156101a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101c791906109e7565b8260ff1610806102b9575073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__63fbcaa8ed6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610219573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061023d91906109c5565b604051632b10f60d60e21b815260ff909116600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af415801561028e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102b291906109e7565b8260ff1610155b156102e157604051636164474d60e01b815260ff831660048201526024015b60405180910390fd5b602881511461030557806040516369306ec360e01b81526004016102d89190610a2c565b6103456301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b62d1d15b60e11b5f9081526020527fbfdfbaeb6ce3cef2dc92e70fc8227f58737fb6598199eb8999f7714e506efecb805460ff19166001179055600261038b8582610ac2565b5060405163cdc23e6960e01b815273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906103c3908790600401610a2c565b602060405180830381865af41580156103de573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061040291906109e7565b60035560ff808416608052821660a052600161041e8282610ac2565b5061046861042a6104b1565b6104636104356104b1565b60018061045e60408051808201909152600981526841646d696e526f6c6560b81b602082015290565b61052b565b610708565b6104a861047361084e565b61046361047e6104b1565b60018061045e60408051808201909152600a8152695075626c6963526f6c6560b01b602082015290565b50505050610bda565b6040516368aebf7b60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af4158015610502573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105269190610b7c565b905090565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b0316815260200185600381111561058857610588610ba2565b81526020018463ffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156105e0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106049190610bb6565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610657573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067b9190610bb6565b64ffffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b81526004016106be9190610a2c565b602060405180830381865af41580156106d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106fd91906109e7565b905295945050505050565b6006805460018101909155600481047ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160401b0380861660086003958616026101000a81810290830219909316929092179092555f9081526007602090815260409091208451815493166001600160401b03198416811782559185015185949193909284926001600160481b03199092161790680100000000000000009084908111156107be576107be610ba2565b0217905550604082015181546060840151608085015164ffffffffff908116600160901b0264ffffffffff60901b19919092166d01000000000000000000000000000264ffffffffff60681b1963ffffffff90951669010000000000000000000294909416600160481b600160901b031990931692909217929092171617815560a0909101516001909101555050565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024016104e7565b634e487b7160e01b5f52604160045260245ffd5b5f82601f8301126108b1575f80fd5b81516001600160401b038111156108ca576108ca61088e565b604051601f8201601f19908116603f011681016001600160401b03811182821017156108f8576108f861088e565b60405281815283820160200185101561090f575f80fd5b8160208501602083015e5f918101602001919091529392505050565b60ff81168114610939575f80fd5b50565b5f805f806080858703121561094f575f80fd5b84516001600160401b03811115610964575f80fd5b610970878288016108a2565b94505060208501516109818161092b565b60408601519093506109928161092b565b60608601519092506001600160401b038111156109ad575f80fd5b6109b9878288016108a2565b91505092959194509250565b5f602082840312156109d5575f80fd5b81516109e08161092b565b9392505050565b5f602082840312156109f7575f80fd5b5051919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6109e060208301846109fe565b600181811c90821680610a5257607f821691505b602082108103610a7057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610abd57805f5260205f20601f840160051c81016020851015610a9b5750805b601f840160051c820191505b81811015610aba575f8155600101610aa7565b50505b505050565b81516001600160401b03811115610adb57610adb61088e565b610aef81610ae98454610a3e565b84610a76565b6020601f821160018114610b21575f8315610b0a5750848201515b5f19600385901b1c1916600184901b178455610aba565b5f84815260208120601f198516915b82811015610b505787850151825560209485019460019092019101610b30565b5084821015610b6d57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610b8c575f80fd5b81516001600160401b03811681146109e0575f80fd5b634e487b7160e01b5f52602160045260245ffd5b5f60208284031215610bc6575f80fd5b815164ffffffffff811681146109e0575f80fd5b60805160a051611007610c025f395f61090b01525f8181610258015261036101526110075ff3fe608060405234801561000f575f80fd5b5060043610610153575f3560e01c806376b707b7116100bf578063c5f3484411610079578063c5f348441461038d578063c6a00179146103b1578063da44d6af146103c4578063e8eba435146103cc578063f1d01027146103df578063fef30334146103e7575f80fd5b806376b707b7146102f1578063775f14b1146102f957806384be8c00146103395780638c5397b01461034c578063b68d18091461035f578063b79e149414610385575f80fd5b806352a9674b1161011057806352a9674b1461025357806354e17da91461028c5780635bfa50271461029f57806368c55b13146102bf578063694ca5d3146102d457806371061398146102dc575f80fd5b806301ffc9a71461015757806313efdd7a146101985780631e4afbbf146101db5780634322699b146101fb5780634a34a4de1461020d57806350a388ea14610240575b5f80fd5b610183610165366004610b7c565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c36101a6366004610bb4565b60ff165f908152600560205260409020546001600160a01b031690565b6040516001600160a01b03909116815260200161018f565b6101ee6101e9366004610be3565b6103ef565b60405161018f9190610c11565b6003545b60405190815260200161018f565b610233604051806040016040528060078152602001665365727669636560c81b81525081565b60405161018f9190610cab565b61023361024e366004610cbd565b61049c565b61027a7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161018f565b6101ff61029a366004610bb4565b61053b565b6102b26102ad366004610cbd565b6106a3565b60405161018f9190610cec565b6102c761077c565b60405161018f9190610d76565b6102336107ef565b6102e4610876565b60405161018f9190610db0565b61027a6108fc565b610321610307366004610df0565b5f908152600a60205260409020546001600160401b031690565b6040516001600160401b03909116815260200161018f565b61027a610347366004610df0565b610994565b6102e461035a366004610df0565b6109cd565b7f000000000000000000000000000000000000000000000000000000000000000061027a565b6101ff602881565b610233604051806040016040528060058152602001645f526f6c6560d81b81525081565b6101836103bf366004610cbd565b610a5d565b6101ff600381565b6103216103da366004610bb4565b610a9a565b610233610ad7565b610233610ae6565b5f828152600c602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b82821015610490575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff1691830191909152908352909201910161042d565b50505050905092915050565b6001600160401b0381165f9081526007602052604090819020600101549051631623433d60e31b815260609173__$9a094f9b231ed0f5f85a69be8408d93180$__9163b11a19e8916104f49160040190815260200190565b5f60405180830381865af415801561050e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526105359190810190610e1b565b92915050565b604051632b95d28f60e21b815260ff821660048201525f90819073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90630c3258f990829063ae574a3c906024015f60405180830381865af4158015610596573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526105bd9190810190610e1b565b6105c56108fc565b6040518363ffffffff1660e01b81526004016105e2929190610ecb565b5f60405180830381865af41580156105fc573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526106239190810190610e1b565b60405163cdc23e6960e01b815290915073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061065d908490600401610cab565b602060405180830381865af4158015610678573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061069c9190610f10565b9392505050565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600782529185902085519384019095528454918216835292939192830190600160401b900460ff16600381111561071b5761071b610cd8565b600381111561072c5761072c610cd8565b8152815463ffffffff6901000000000000000000820416602083015264ffffffffff600160681b820481166040840152600160901b90910416606082015260019091015460809091015292915050565b606060048054806020026020016040519081016040528092919081815260200182805480156107e557602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116107b65790505b5050505050905090565b6060600180546107fe90610f27565b80601f016020809104026020016040519081016040528092919081815260200182805461082a90610f27565b80156107e55780601f1061084c576101008083540402835291602001916107e5565b820191905f5260205f20905b81548152906001019060200180831161085857509395945050505050565b606060068054806020026020016040519081016040528092919081815260200182805480156107e557602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116108b05790505050505050905090565b604051632392b61b60e21b81527f000000000000000000000000000000000000000000000000000000000000000060048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561096b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061098f9190610f5f565b905090565b5f600482815481106109a8576109a8610f7a565b905f5260205f2090602091828204019190069054906101000a900460ff169050919050565b5f818152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610a5157602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610a0e5790505b50505050509050919050565b5f806001600160401b0383165f90815260076020526040902054600160401b900460ff166003811115610a9257610a92610cd8565b141592915050565b5f60ff8216606303610aae57610535610b02565b5f610ab88361053b565b5f818152600a60205260409020549091506001600160401b031661069c565b6060600280546107fe90610f27565b604051806060016040528060288152602001610faa6028913981565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015610b58573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061098f9190610f8e565b5f60208284031215610b8c575f80fd5b81356001600160e01b03198116811461069c575f80fd5b60ff81168114610bb1575f80fd5b50565b5f60208284031215610bc4575f80fd5b813561069c81610ba3565b6001600160401b0381168114610bb1575f80fd5b5f8060408385031215610bf4575f80fd5b823591506020830135610c0681610bcf565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610c72578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610c2a565b509095945050505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61069c6020830184610c7d565b5f60208284031215610ccd575f80fd5b813561069c81610bcf565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c082019060048110610d1f57634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151610d4e606084018264ffffffffff169052565b506080830151610d67608084018264ffffffffff169052565b5060a092830151919092015290565b602080825282518282018190525f918401906040840190835b81811015610c7257835160ff16835260209384019390920191600101610d8f565b602080825282518282018190525f918401906040840190835b81811015610c725783516001600160401b0316835260209384019390920191600101610dc9565b5f60208284031215610e00575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610e2b575f80fd5b81516001600160401b03811115610e40575f80fd5b8201601f81018413610e50575f80fd5b80516001600160401b03811115610e6957610e69610e07565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610e9757610e97610e07565b604052818152828201602001861015610eae575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b606081525f610edd6060830185610c7d565b828103602084015260078152665365727669636560c81b60208201526040810191505060ff831660408301529392505050565b5f60208284031215610f20575f80fd5b5051919050565b600181811c90821680610f3b57607f821691505b602082108103610f5957634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610f6f575f80fd5b815161069c81610ba3565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610f9e575f80fd5b815161069c81610bcf56fe31613161316131613161316131613161316131613161316131613161316131613161316131613161a264697066735822122096a4f83dd6e5a8227d3065c9790de3064e1e5bc0cf914c987da04a03c8ad819d64736f6c634300081a0033",
|
521
|
+
"deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610153575f3560e01c806376b707b7116100bf578063c5f3484411610079578063c5f348441461038d578063c6a00179146103b1578063da44d6af146103c4578063e8eba435146103cc578063f1d01027146103df578063fef30334146103e7575f80fd5b806376b707b7146102f1578063775f14b1146102f957806384be8c00146103395780638c5397b01461034c578063b68d18091461035f578063b79e149414610385575f80fd5b806352a9674b1161011057806352a9674b1461025357806354e17da91461028c5780635bfa50271461029f57806368c55b13146102bf578063694ca5d3146102d457806371061398146102dc575f80fd5b806301ffc9a71461015757806313efdd7a146101985780631e4afbbf146101db5780634322699b146101fb5780634a34a4de1461020d57806350a388ea14610240575b5f80fd5b610183610165366004610b7c565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c36101a6366004610bb4565b60ff165f908152600560205260409020546001600160a01b031690565b6040516001600160a01b03909116815260200161018f565b6101ee6101e9366004610be3565b6103ef565b60405161018f9190610c11565b6003545b60405190815260200161018f565b610233604051806040016040528060078152602001665365727669636560c81b81525081565b60405161018f9190610cab565b61023361024e366004610cbd565b61049c565b61027a7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161018f565b6101ff61029a366004610bb4565b61053b565b6102b26102ad366004610cbd565b6106a3565b60405161018f9190610cec565b6102c761077c565b60405161018f9190610d76565b6102336107ef565b6102e4610876565b60405161018f9190610db0565b61027a6108fc565b610321610307366004610df0565b5f908152600a60205260409020546001600160401b031690565b6040516001600160401b03909116815260200161018f565b61027a610347366004610df0565b610994565b6102e461035a366004610df0565b6109cd565b7f000000000000000000000000000000000000000000000000000000000000000061027a565b6101ff602881565b610233604051806040016040528060058152602001645f526f6c6560d81b81525081565b6101836103bf366004610cbd565b610a5d565b6101ff600381565b6103216103da366004610bb4565b610a9a565b610233610ad7565b610233610ae6565b5f828152600c602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b82821015610490575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff1691830191909152908352909201910161042d565b50505050905092915050565b6001600160401b0381165f9081526007602052604090819020600101549051631623433d60e31b815260609173__$9a094f9b231ed0f5f85a69be8408d93180$__9163b11a19e8916104f49160040190815260200190565b5f60405180830381865af415801561050e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526105359190810190610e1b565b92915050565b604051632b95d28f60e21b815260ff821660048201525f90819073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90630c3258f990829063ae574a3c906024015f60405180830381865af4158015610596573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526105bd9190810190610e1b565b6105c56108fc565b6040518363ffffffff1660e01b81526004016105e2929190610ecb565b5f60405180830381865af41580156105fc573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526106239190810190610e1b565b60405163cdc23e6960e01b815290915073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061065d908490600401610cab565b602060405180830381865af4158015610678573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061069c9190610f10565b9392505050565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600782529185902085519384019095528454918216835292939192830190600160401b900460ff16600381111561071b5761071b610cd8565b600381111561072c5761072c610cd8565b8152815463ffffffff6901000000000000000000820416602083015264ffffffffff600160681b820481166040840152600160901b90910416606082015260019091015460809091015292915050565b606060048054806020026020016040519081016040528092919081815260200182805480156107e557602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116107b65790505b5050505050905090565b6060600180546107fe90610f27565b80601f016020809104026020016040519081016040528092919081815260200182805461082a90610f27565b80156107e55780601f1061084c576101008083540402835291602001916107e5565b820191905f5260205f20905b81548152906001019060200180831161085857509395945050505050565b606060068054806020026020016040519081016040528092919081815260200182805480156107e557602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116108b05790505050505050905090565b604051632392b61b60e21b81527f000000000000000000000000000000000000000000000000000000000000000060048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561096b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061098f9190610f5f565b905090565b5f600482815481106109a8576109a8610f7a565b905f5260205f2090602091828204019190069054906101000a900460ff169050919050565b5f818152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610a5157602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610a0e5790505b50505050509050919050565b5f806001600160401b0383165f90815260076020526040902054600160401b900460ff166003811115610a9257610a92610cd8565b141592915050565b5f60ff8216606303610aae57610535610b02565b5f610ab88361053b565b5f818152600a60205260409020549091506001600160401b031661069c565b6060600280546107fe90610f27565b604051806060016040528060288152602001610faa6028913981565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015610b58573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061098f9190610f8e565b5f60208284031215610b8c575f80fd5b81356001600160e01b03198116811461069c575f80fd5b60ff81168114610bb1575f80fd5b50565b5f60208284031215610bc4575f80fd5b813561069c81610ba3565b6001600160401b0381168114610bb1575f80fd5b5f8060408385031215610bf4575f80fd5b823591506020830135610c0681610bcf565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610c72578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610c2a565b509095945050505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61069c6020830184610c7d565b5f60208284031215610ccd575f80fd5b813561069c81610bcf565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c082019060048110610d1f57634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151610d4e606084018264ffffffffff169052565b506080830151610d67608084018264ffffffffff169052565b5060a092830151919092015290565b602080825282518282018190525f918401906040840190835b81811015610c7257835160ff16835260209384019390920191600101610d8f565b602080825282518282018190525f918401906040840190835b81811015610c725783516001600160401b0316835260209384019390920191600101610dc9565b5f60208284031215610e00575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610e2b575f80fd5b81516001600160401b03811115610e40575f80fd5b8201601f81018413610e50575f80fd5b80516001600160401b03811115610e6957610e69610e07565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610e9757610e97610e07565b604052818152828201602001861015610eae575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b606081525f610edd6060830185610c7d565b828103602084015260078152665365727669636560c81b60208201526040810191505060ff831660408301529392505050565b5f60208284031215610f20575f80fd5b5051919050565b600181811c90821680610f3b57607f821691505b602082108103610f5957634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610f6f575f80fd5b815161069c81610ba3565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610f9e575f80fd5b815161069c81610bcf56fe31613161316131613161316131613161316131613161316131613161316131613161316131613161a264697066735822122096a4f83dd6e5a8227d3065c9790de3064e1e5bc0cf914c987da04a03c8ad819d64736f6c634300081a0033",
|
170
522
|
"linkReferences": {
|
523
|
+
"contracts/type/ObjectType.sol": {
|
524
|
+
"ObjectTypeLib": [
|
525
|
+
{
|
526
|
+
"length": 20,
|
527
|
+
"start": 85
|
528
|
+
},
|
529
|
+
{
|
530
|
+
"length": 20,
|
531
|
+
"start": 4441
|
532
|
+
}
|
533
|
+
]
|
534
|
+
},
|
535
|
+
"contracts/type/RoleId.sol": {
|
536
|
+
"RoleIdLib": [
|
537
|
+
{
|
538
|
+
"length": 20,
|
539
|
+
"start": 1225
|
540
|
+
},
|
541
|
+
{
|
542
|
+
"length": 20,
|
543
|
+
"start": 2156
|
544
|
+
},
|
545
|
+
{
|
546
|
+
"length": 20,
|
547
|
+
"start": 5922
|
548
|
+
}
|
549
|
+
]
|
550
|
+
},
|
551
|
+
"contracts/type/String.sol": {
|
552
|
+
"StrLib": [
|
553
|
+
{
|
554
|
+
"length": 20,
|
555
|
+
"start": 923
|
556
|
+
},
|
557
|
+
{
|
558
|
+
"length": 20,
|
559
|
+
"start": 1673
|
560
|
+
},
|
561
|
+
{
|
562
|
+
"length": 20,
|
563
|
+
"start": 4300
|
564
|
+
},
|
565
|
+
{
|
566
|
+
"length": 20,
|
567
|
+
"start": 4663
|
568
|
+
}
|
569
|
+
]
|
570
|
+
},
|
571
|
+
"contracts/type/Timestamp.sol": {
|
572
|
+
"TimestampLib": [
|
573
|
+
{
|
574
|
+
"length": 20,
|
575
|
+
"start": 1435
|
576
|
+
},
|
577
|
+
{
|
578
|
+
"length": 20,
|
579
|
+
"start": 1554
|
580
|
+
}
|
581
|
+
]
|
582
|
+
},
|
171
583
|
"contracts/type/Version.sol": {
|
172
584
|
"VersionPartLib": [
|
173
585
|
{
|
174
586
|
"length": 20,
|
175
|
-
"start":
|
587
|
+
"start": 233
|
588
|
+
},
|
589
|
+
{
|
590
|
+
"length": 20,
|
591
|
+
"start": 363
|
592
|
+
},
|
593
|
+
{
|
594
|
+
"length": 20,
|
595
|
+
"start": 468
|
596
|
+
},
|
597
|
+
{
|
598
|
+
"length": 20,
|
599
|
+
"start": 598
|
600
|
+
},
|
601
|
+
{
|
602
|
+
"length": 20,
|
603
|
+
"start": 5429
|
176
604
|
}
|
177
605
|
]
|
178
606
|
}
|
179
607
|
},
|
180
608
|
"deployedLinkReferences": {
|
609
|
+
"contracts/type/ObjectType.sol": {
|
610
|
+
"ObjectTypeLib": [
|
611
|
+
{
|
612
|
+
"length": 20,
|
613
|
+
"start": 1367
|
614
|
+
}
|
615
|
+
]
|
616
|
+
},
|
617
|
+
"contracts/type/RoleId.sol": {
|
618
|
+
"RoleIdLib": [
|
619
|
+
{
|
620
|
+
"length": 20,
|
621
|
+
"start": 2848
|
622
|
+
}
|
623
|
+
]
|
624
|
+
},
|
625
|
+
"contracts/type/String.sol": {
|
626
|
+
"StrLib": [
|
627
|
+
{
|
628
|
+
"length": 20,
|
629
|
+
"start": 1226
|
630
|
+
},
|
631
|
+
{
|
632
|
+
"length": 20,
|
633
|
+
"start": 1589
|
634
|
+
}
|
635
|
+
]
|
636
|
+
},
|
181
637
|
"contracts/type/Version.sol": {
|
182
638
|
"VersionPartLib": [
|
183
639
|
{
|
184
640
|
"length": 20,
|
185
|
-
"start":
|
641
|
+
"start": 2355
|
186
642
|
}
|
187
643
|
]
|
188
644
|
}
|