@etherisc/gif-next 0.0.2-fbe6493-116 → 0.0.2-fc41a4e-906
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +86 -9
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1023 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +752 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
- package/artifacts/contracts/{shared/ComponentVerifyingService.sol/ComponentVerifyingService.json → accounting/IAccountingService.sol/IAccountingService.json} +365 -113
- 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 +171 -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 +90 -356
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +472 -364
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +186 -128
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +84 -198
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +287 -101
- 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 +1461 -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 +2018 -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 +1404 -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 +1152 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1628 -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 +2405 -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 +540 -65
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +290 -57
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +549 -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 +303 -227
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +106 -106
- 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 +853 -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 +116 -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 +91 -140
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +69 -11
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +92 -293
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +169 -190
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +140 -98
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +132 -333
- 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 +195 -423
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +134 -132
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +90 -117
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +122 -182
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +317 -300
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +120 -332
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +538 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +506 -583
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +165 -115
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +192 -173
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +128 -98
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +254 -394
- 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 +416 -290
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +150 -128
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +131 -9
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +293 -17
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +245 -64
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +157 -83
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +245 -233
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +88 -8
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +335 -349
- 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 +135 -129
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +224 -338
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +128 -138
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +246 -386
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -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 +342 -42
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +144 -41
- 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 +548 -103
- 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 +109 -292
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +104 -90
- 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 +80 -252
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +433 -697
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +140 -148
- 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 +80 -100
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +394 -300
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +91 -140
- 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 +148 -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 +55 -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 +91 -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 +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 +122 -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 +57 -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 +312 -133
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +155 -23
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +418 -384
- 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 +141 -110
- 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 +224 -171
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +121 -95
- 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/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +81 -80
- 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/contracts/accounting/AccountingService.sol +261 -0
- package/contracts/accounting/AccountingServiceManager.sol +38 -0
- package/contracts/accounting/IAccountingService.sol +45 -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 -203
- 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 +229 -117
- package/contracts/distribution/DistributionServiceManager.sol +6 -6
- package/contracts/distribution/IDistributionComponent.sol +4 -11
- package/contracts/distribution/IDistributionService.sol +40 -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 +373 -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 +52 -31
- 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 +284 -239
- package/contracts/instance/InstanceServiceManager.sol +6 -7
- package/contracts/instance/InstanceStore.sol +23 -2
- package/contracts/instance/RiskSet.sol +118 -0
- package/contracts/instance/base/BalanceStore.sol +3 -5
- package/contracts/instance/base/ObjectCounter.sol +1 -2
- package/contracts/instance/base/ObjectLifecycle.sol +10 -2
- 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 +32 -25
- package/contracts/pool/BasicPoolAuthorization.sol +33 -9
- package/contracts/pool/BundleService.sol +101 -144
- package/contracts/pool/BundleServiceManager.sol +6 -6
- package/contracts/pool/IBundleService.sol +15 -33
- package/contracts/pool/IPoolComponent.sol +19 -15
- package/contracts/pool/IPoolService.sol +86 -71
- package/contracts/pool/Pool.sol +139 -124
- package/contracts/pool/PoolLib.sol +353 -0
- package/contracts/pool/PoolService.sol +346 -292
- package/contracts/pool/PoolServiceManager.sol +4 -4
- package/contracts/product/ApplicationService.sol +80 -31
- 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 +368 -154
- package/contracts/product/ClaimServiceManager.sol +4 -4
- package/contracts/product/IApplicationService.sol +8 -2
- package/contracts/product/IClaimService.sol +43 -8
- package/contracts/product/IPolicyService.sol +38 -28
- package/contracts/product/IPricingService.sol +11 -10
- package/contracts/product/IProductComponent.sol +27 -5
- package/contracts/product/{IProductService.sol → IRiskService.sol} +8 -8
- package/contracts/product/PolicyService.sol +365 -323
- 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 +147 -91
- package/contracts/product/RiskService.sol +157 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +72 -40
- package/contracts/registry/IRegistry.sol +64 -28
- 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 +357 -203
- package/contracts/registry/RegistryAdmin.sol +110 -287
- package/contracts/registry/RegistryAuthorization.sol +284 -0
- package/contracts/registry/RegistryService.sol +37 -48
- 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 +201 -57
- package/contracts/registry/TokenRegistry.sol +12 -13
- package/contracts/shared/Component.sol +66 -137
- package/contracts/shared/ComponentService.sol +414 -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 +42 -40
- package/contracts/shared/IInstanceLinkedComponent.sol +2 -28
- package/contracts/shared/ILifecycle.sol +3 -1
- package/contracts/shared/INftOwnable.sol +2 -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 +29 -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/ProxyManager.sol +81 -45
- package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +7 -1
- package/contracts/upgradeability/Versionable.sol +6 -3
- 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/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/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
@@ -4,21 +4,19 @@
|
|
4
4
|
"sourceName": "contracts/type/RoleId.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
|
-
"inputs": [
|
8
|
-
"name": "ALL_VERSIONS",
|
9
|
-
"outputs": [
|
7
|
+
"inputs": [
|
10
8
|
{
|
11
|
-
"internalType": "
|
12
|
-
"name": "",
|
13
|
-
"type": "
|
9
|
+
"internalType": "uint256",
|
10
|
+
"name": "roleId",
|
11
|
+
"type": "uint256"
|
14
12
|
}
|
15
13
|
],
|
16
|
-
"
|
17
|
-
"type": "
|
14
|
+
"name": "ErrorRoleIdTooBig",
|
15
|
+
"type": "error"
|
18
16
|
},
|
19
17
|
{
|
20
18
|
"inputs": [],
|
21
|
-
"name": "
|
19
|
+
"name": "SERVICE_ROLE_FACTOR",
|
22
20
|
"outputs": [
|
23
21
|
{
|
24
22
|
"internalType": "uint64",
|
@@ -31,7 +29,7 @@
|
|
31
29
|
},
|
32
30
|
{
|
33
31
|
"inputs": [],
|
34
|
-
"name": "
|
32
|
+
"name": "SERVICE_ROLE_MAX",
|
35
33
|
"outputs": [
|
36
34
|
{
|
37
35
|
"internalType": "uint64",
|
@@ -44,7 +42,7 @@
|
|
44
42
|
},
|
45
43
|
{
|
46
44
|
"inputs": [],
|
47
|
-
"name": "
|
45
|
+
"name": "SERVICE_ROLE_MIN",
|
48
46
|
"outputs": [
|
49
47
|
{
|
50
48
|
"internalType": "uint64",
|
@@ -95,61 +93,18 @@
|
|
95
93
|
},
|
96
94
|
{
|
97
95
|
"inputs": [
|
98
|
-
{
|
99
|
-
"internalType": "ObjectType",
|
100
|
-
"name": "objectType",
|
101
|
-
"type": "uint8"
|
102
|
-
}
|
103
|
-
],
|
104
|
-
"name": "roleForType",
|
105
|
-
"outputs": [
|
106
|
-
{
|
107
|
-
"internalType": "RoleId",
|
108
|
-
"name": "",
|
109
|
-
"type": "uint64"
|
110
|
-
}
|
111
|
-
],
|
112
|
-
"stateMutability": "pure",
|
113
|
-
"type": "function"
|
114
|
-
},
|
115
|
-
{
|
116
|
-
"inputs": [
|
117
|
-
{
|
118
|
-
"internalType": "ObjectType",
|
119
|
-
"name": "objectType",
|
120
|
-
"type": "uint8"
|
121
|
-
}
|
122
|
-
],
|
123
|
-
"name": "roleForTypeAndAllVersions",
|
124
|
-
"outputs": [
|
125
96
|
{
|
126
97
|
"internalType": "RoleId",
|
127
|
-
"name": "",
|
98
|
+
"name": "roleId",
|
128
99
|
"type": "uint64"
|
129
100
|
}
|
130
101
|
],
|
131
|
-
"
|
132
|
-
"type": "function"
|
133
|
-
},
|
134
|
-
{
|
135
|
-
"inputs": [
|
136
|
-
{
|
137
|
-
"internalType": "ObjectType",
|
138
|
-
"name": "objectType",
|
139
|
-
"type": "uint8"
|
140
|
-
},
|
141
|
-
{
|
142
|
-
"internalType": "VersionPart",
|
143
|
-
"name": "majorVersion",
|
144
|
-
"type": "uint8"
|
145
|
-
}
|
146
|
-
],
|
147
|
-
"name": "roleForTypeAndVersion",
|
102
|
+
"name": "isServiceRole",
|
148
103
|
"outputs": [
|
149
104
|
{
|
150
|
-
"internalType": "
|
105
|
+
"internalType": "bool",
|
151
106
|
"name": "",
|
152
|
-
"type": "
|
107
|
+
"type": "bool"
|
153
108
|
}
|
154
109
|
],
|
155
110
|
"stateMutability": "pure",
|
@@ -161,33 +116,9 @@
|
|
161
116
|
"internalType": "ObjectType",
|
162
117
|
"name": "objectType",
|
163
118
|
"type": "uint8"
|
164
|
-
},
|
165
|
-
{
|
166
|
-
"internalType": "uint64",
|
167
|
-
"name": "index",
|
168
|
-
"type": "uint64"
|
169
|
-
}
|
170
|
-
],
|
171
|
-
"name": "toComponentRoleId",
|
172
|
-
"outputs": [
|
173
|
-
{
|
174
|
-
"internalType": "RoleId",
|
175
|
-
"name": "",
|
176
|
-
"type": "uint64"
|
177
|
-
}
|
178
|
-
],
|
179
|
-
"stateMutability": "pure",
|
180
|
-
"type": "function"
|
181
|
-
},
|
182
|
-
{
|
183
|
-
"inputs": [
|
184
|
-
{
|
185
|
-
"internalType": "uint64",
|
186
|
-
"name": "index",
|
187
|
-
"type": "uint64"
|
188
119
|
}
|
189
120
|
],
|
190
|
-
"name": "
|
121
|
+
"name": "toGenericServiceRoleId",
|
191
122
|
"outputs": [
|
192
123
|
{
|
193
124
|
"internalType": "RoleId",
|
@@ -220,54 +151,40 @@
|
|
220
151
|
{
|
221
152
|
"inputs": [
|
222
153
|
{
|
223
|
-
"internalType": "
|
154
|
+
"internalType": "uint256",
|
224
155
|
"name": "a",
|
225
|
-
"type": "
|
156
|
+
"type": "uint256"
|
226
157
|
}
|
227
158
|
],
|
228
|
-
"name": "
|
159
|
+
"name": "toRoleId",
|
229
160
|
"outputs": [
|
230
|
-
{
|
231
|
-
"internalType": "Key32",
|
232
|
-
"name": "key",
|
233
|
-
"type": "bytes32"
|
234
|
-
}
|
235
|
-
],
|
236
|
-
"stateMutability": "pure",
|
237
|
-
"type": "function"
|
238
|
-
},
|
239
|
-
{
|
240
|
-
"inputs": [
|
241
161
|
{
|
242
162
|
"internalType": "RoleId",
|
243
|
-
"name": "
|
163
|
+
"name": "",
|
244
164
|
"type": "uint64"
|
245
165
|
}
|
246
166
|
],
|
247
|
-
"name": "toKeyId",
|
248
|
-
"outputs": [
|
249
|
-
{
|
250
|
-
"internalType": "KeyId",
|
251
|
-
"name": "keyId",
|
252
|
-
"type": "bytes31"
|
253
|
-
}
|
254
|
-
],
|
255
167
|
"stateMutability": "pure",
|
256
168
|
"type": "function"
|
257
169
|
},
|
258
170
|
{
|
259
171
|
"inputs": [
|
260
172
|
{
|
261
|
-
"internalType": "
|
262
|
-
"name": "
|
263
|
-
"type": "
|
173
|
+
"internalType": "ObjectType",
|
174
|
+
"name": "serviceDomain",
|
175
|
+
"type": "uint8"
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"internalType": "VersionPart",
|
179
|
+
"name": "release",
|
180
|
+
"type": "uint8"
|
264
181
|
}
|
265
182
|
],
|
266
|
-
"name": "
|
183
|
+
"name": "toServiceRoleId",
|
267
184
|
"outputs": [
|
268
185
|
{
|
269
186
|
"internalType": "RoleId",
|
270
|
-
"name": "",
|
187
|
+
"name": "serviceRoleId",
|
271
188
|
"type": "uint64"
|
272
189
|
}
|
273
190
|
],
|
@@ -288,34 +205,14 @@
|
|
288
205
|
"type": "function"
|
289
206
|
}
|
290
207
|
],
|
291
|
-
"bytecode": "
|
292
|
-
"deployedBytecode": "
|
208
|
+
"bytecode": "0x610559610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100b1575f3560e01c8063a217284711610079578063a217284714610149578063a42e52e91461015c578063b05601aa14610179578063bc1b392d14610182578063c045118c14610188578063caf3ba4a14610179575f80fd5b8063057182b4146100b5578063383ff861146100e6578063545ce21c14610112578063645ceefe1461012357806368aebf7b14610136575b5f80fd5b6100d16100c336600461039c565b67ffffffffffffffff161590565b60405190151581526020015b60405180910390f35b6100f96100f43660046103d4565b610192565b60405167ffffffffffffffff90911681526020016100dd565b6100f961012036600461039c565b90565b6100f96101313660046103ef565b610208565b6100f9610144366004610426565b61033f565b6100d161015736600461039c565b610374565b6100d161016a36600461039c565b67ffffffffffffffff16151590565b6100f96103e881565b5f6100f9565b6100f96201831b81565b5f6102028273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__63fbcaa8ed6040518163ffffffff1660e01b8152600401602060405180830381865af41580156101de573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610131919061043d565b92915050565b604051632b10f60d60e21b815260ff821660048201525f90819073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af415801561025c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102809190610458565b604051632b10f60d60e21b815260ff8616600482015260019073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af41580156102d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102f7919061046f565b61030191906104a9565b61030d906103e86104c8565b610319906103e86104f1565b6001600160601b031661032c9190610510565b90506103378161033f565b949350505050565b5f67ffffffffffffffff82111561037057604051637e8b8f2760e11b81526004810183905260240160405180910390fd5b5090565b5f67ffffffffffffffff82166103e8811080159061039557506201831b8111155b9392505050565b5f602082840312156103ac575f80fd5b813567ffffffffffffffff81168114610395575f80fd5b60ff811681146103d1575f80fd5b50565b5f602082840312156103e4575f80fd5b8135610395816103c3565b5f8060408385031215610400575f80fd5b823561040b816103c3565b9150602083013561041b816103c3565b809150509250929050565b5f60208284031215610436575f80fd5b5035919050565b5f6020828403121561044d575f80fd5b8151610395816103c3565b5f60208284031215610468575f80fd5b5051919050565b5f6020828403121561047f575f80fd5b81516001600160601b0381168114610395575f80fd5b634e487b7160e01b5f52601160045260245ffd5b6001600160601b03828116828216039081111561020257610202610495565b6001600160601b0381811683821602908116908181146104ea576104ea610495565b5092915050565b6001600160601b03818116838216019081111561020257610202610495565b808201808211156102025761020261049556fea26469706673582212205b5f0e458c199e10986f4f0561ac19d518fdd8767277dbdf23c87c62feeb87a864736f6c634300081a0033",
|
209
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100b1575f3560e01c8063a217284711610079578063a217284714610149578063a42e52e91461015c578063b05601aa14610179578063bc1b392d14610182578063c045118c14610188578063caf3ba4a14610179575f80fd5b8063057182b4146100b5578063383ff861146100e6578063545ce21c14610112578063645ceefe1461012357806368aebf7b14610136575b5f80fd5b6100d16100c336600461039c565b67ffffffffffffffff161590565b60405190151581526020015b60405180910390f35b6100f96100f43660046103d4565b610192565b60405167ffffffffffffffff90911681526020016100dd565b6100f961012036600461039c565b90565b6100f96101313660046103ef565b610208565b6100f9610144366004610426565b61033f565b6100d161015736600461039c565b610374565b6100d161016a36600461039c565b67ffffffffffffffff16151590565b6100f96103e881565b5f6100f9565b6100f96201831b81565b5f6102028273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__63fbcaa8ed6040518163ffffffff1660e01b8152600401602060405180830381865af41580156101de573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610131919061043d565b92915050565b604051632b10f60d60e21b815260ff821660048201525f90819073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af415801561025c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102809190610458565b604051632b10f60d60e21b815260ff8616600482015260019073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af41580156102d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102f7919061046f565b61030191906104a9565b61030d906103e86104c8565b610319906103e86104f1565b6001600160601b031661032c9190610510565b90506103378161033f565b949350505050565b5f67ffffffffffffffff82111561037057604051637e8b8f2760e11b81526004810183905260240160405180910390fd5b5090565b5f67ffffffffffffffff82166103e8811080159061039557506201831b8111155b9392505050565b5f602082840312156103ac575f80fd5b813567ffffffffffffffff81168114610395575f80fd5b60ff811681146103d1575f80fd5b50565b5f602082840312156103e4575f80fd5b8135610395816103c3565b5f8060408385031215610400575f80fd5b823561040b816103c3565b9150602083013561041b816103c3565b809150509250929050565b5f60208284031215610436575f80fd5b5035919050565b5f6020828403121561044d575f80fd5b8151610395816103c3565b5f60208284031215610468575f80fd5b5051919050565b5f6020828403121561047f575f80fd5b81516001600160601b0381168114610395575f80fd5b634e487b7160e01b5f52601160045260245ffd5b6001600160601b03828116828216039081111561020257610202610495565b6001600160601b0381811683821602908116908181146104ea576104ea610495565b5092915050565b6001600160601b03818116838216019081111561020257610202610495565b808201808211156102025761020261049556fea26469706673582212205b5f0e458c199e10986f4f0561ac19d518fdd8767277dbdf23c87c62feeb87a864736f6c634300081a0033",
|
293
210
|
"linkReferences": {
|
294
|
-
"contracts/type/Key32.sol": {
|
295
|
-
"Key32Lib": [
|
296
|
-
{
|
297
|
-
"length": 20,
|
298
|
-
"start": 1361
|
299
|
-
}
|
300
|
-
]
|
301
|
-
},
|
302
211
|
"contracts/type/ObjectType.sol": {
|
303
212
|
"ObjectTypeLib": [
|
304
213
|
{
|
305
214
|
"length": 20,
|
306
|
-
"start":
|
307
|
-
},
|
308
|
-
{
|
309
|
-
"length": 20,
|
310
|
-
"start": 829
|
311
|
-
},
|
312
|
-
{
|
313
|
-
"length": 20,
|
314
|
-
"start": 974
|
315
|
-
},
|
316
|
-
{
|
317
|
-
"length": 20,
|
318
|
-
"start": 1236
|
215
|
+
"start": 719
|
319
216
|
}
|
320
217
|
]
|
321
218
|
},
|
@@ -323,37 +220,21 @@
|
|
323
220
|
"VersionPartLib": [
|
324
221
|
{
|
325
222
|
"length": 20,
|
326
|
-
"start":
|
223
|
+
"start": 461
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"length": 20,
|
227
|
+
"start": 600
|
327
228
|
}
|
328
229
|
]
|
329
230
|
}
|
330
231
|
},
|
331
232
|
"deployedLinkReferences": {
|
332
|
-
"contracts/type/Key32.sol": {
|
333
|
-
"Key32Lib": [
|
334
|
-
{
|
335
|
-
"length": 20,
|
336
|
-
"start": 1309
|
337
|
-
}
|
338
|
-
]
|
339
|
-
},
|
340
233
|
"contracts/type/ObjectType.sol": {
|
341
234
|
"ObjectTypeLib": [
|
342
235
|
{
|
343
236
|
"length": 20,
|
344
|
-
"start":
|
345
|
-
},
|
346
|
-
{
|
347
|
-
"length": 20,
|
348
|
-
"start": 777
|
349
|
-
},
|
350
|
-
{
|
351
|
-
"length": 20,
|
352
|
-
"start": 922
|
353
|
-
},
|
354
|
-
{
|
355
|
-
"length": 20,
|
356
|
-
"start": 1184
|
237
|
+
"start": 667
|
357
238
|
}
|
358
239
|
]
|
359
240
|
},
|
@@ -361,7 +242,11 @@
|
|
361
242
|
"VersionPartLib": [
|
362
243
|
{
|
363
244
|
"length": 20,
|
364
|
-
"start":
|
245
|
+
"start": 409
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"length": 20,
|
249
|
+
"start": 548
|
365
250
|
}
|
366
251
|
]
|
367
252
|
}
|
@@ -81,6 +81,25 @@
|
|
81
81
|
"stateMutability": "pure",
|
82
82
|
"type": "function"
|
83
83
|
},
|
84
|
+
{
|
85
|
+
"inputs": [
|
86
|
+
{
|
87
|
+
"internalType": "uint32",
|
88
|
+
"name": "numberOfDays",
|
89
|
+
"type": "uint32"
|
90
|
+
}
|
91
|
+
],
|
92
|
+
"name": "fromDays",
|
93
|
+
"outputs": [
|
94
|
+
{
|
95
|
+
"internalType": "Seconds",
|
96
|
+
"name": "duration",
|
97
|
+
"type": "uint40"
|
98
|
+
}
|
99
|
+
],
|
100
|
+
"stateMutability": "pure",
|
101
|
+
"type": "function"
|
102
|
+
},
|
84
103
|
{
|
85
104
|
"inputs": [
|
86
105
|
{
|
@@ -124,6 +143,30 @@
|
|
124
143
|
"stateMutability": "pure",
|
125
144
|
"type": "function"
|
126
145
|
},
|
146
|
+
{
|
147
|
+
"inputs": [
|
148
|
+
{
|
149
|
+
"internalType": "Seconds",
|
150
|
+
"name": "duration1",
|
151
|
+
"type": "uint40"
|
152
|
+
},
|
153
|
+
{
|
154
|
+
"internalType": "Seconds",
|
155
|
+
"name": "duration2",
|
156
|
+
"type": "uint40"
|
157
|
+
}
|
158
|
+
],
|
159
|
+
"name": "lt",
|
160
|
+
"outputs": [
|
161
|
+
{
|
162
|
+
"internalType": "bool",
|
163
|
+
"name": "",
|
164
|
+
"type": "bool"
|
165
|
+
}
|
166
|
+
],
|
167
|
+
"stateMutability": "pure",
|
168
|
+
"type": "function"
|
169
|
+
},
|
127
170
|
{
|
128
171
|
"inputs": [],
|
129
172
|
"name": "max",
|
@@ -215,8 +258,8 @@
|
|
215
258
|
"type": "function"
|
216
259
|
}
|
217
260
|
],
|
218
|
-
"bytecode": "
|
219
|
-
"deployedBytecode": "
|
261
|
+
"bytecode": "0x6103ad610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100d5575f3560e01c80638d38cd4b11610093578063add9ce991161006e578063add9ce99146101b4578063bc1b392d146101d1578063da09d484146101d7578063f27c3bf6146101fd575f80fd5b80638d38cd4b1461016a57806398f647b1146101845780639df8763914610197575f80fd5b8062962990146100d95780630c67422c146101075780634bd9351b1461011a5780636ac5db1914610123578063790a38ad1461012e57806383ffcdef14610157575b5f80fd5b6100ec6100e7366004610283565b610207565b60405164ffffffffff90911681526020015b60405180910390f35b6100ec6101153660046102a6565b61022b565b620151806100ec565b64ffffffffff6100ec565b61014761013c3660046102d6565b64ffffffffff161590565b60405190151581526020016100fe565b6101476101653660046102ef565b61025d565b6101476101783660046102d6565b64ffffffffff16151590565b6100ec6101923660046102ef565b610271565b6101476101a53660046102ef565b64ffffffffff90811691161490565b6101476101c23660046102ef565b64ffffffffff90811691161090565b5f6100ec565b6101ef6101e53660046102d6565b64ffffffffff1690565b6040519081526020016100fe565b6301e133806100ec565b5f610213826018610334565b61021f90610e10610334565b63ffffffff1692915050565b5f64ffffffffff821115610259576040516385cb094d60e01b81526004810183905260240160405180910390fd5b5090565b64ffffffffff808216908316115b92915050565b5f61027c828461035a565b9392505050565b5f60208284031215610293575f80fd5b813563ffffffff8116811461027c575f80fd5b5f602082840312156102b6575f80fd5b5035919050565b803564ffffffffff811681146102d1575f80fd5b919050565b5f602082840312156102e6575f80fd5b61027c826102bd565b5f8060408385031215610300575f80fd5b610309836102bd565b9150610317602084016102bd565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b63ffffffff818116838216029081169081811461035357610353610320565b5092915050565b64ffffffffff818116838216019081111561026b5761026b61032056fea2646970667358221220840295a50776639dd9022c635d04464e6a2b2eeb7d2fafe012c5e7f0f3d5897c64736f6c634300081a0033",
|
262
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100d5575f3560e01c80638d38cd4b11610093578063add9ce991161006e578063add9ce99146101b4578063bc1b392d146101d1578063da09d484146101d7578063f27c3bf6146101fd575f80fd5b80638d38cd4b1461016a57806398f647b1146101845780639df8763914610197575f80fd5b8062962990146100d95780630c67422c146101075780634bd9351b1461011a5780636ac5db1914610123578063790a38ad1461012e57806383ffcdef14610157575b5f80fd5b6100ec6100e7366004610283565b610207565b60405164ffffffffff90911681526020015b60405180910390f35b6100ec6101153660046102a6565b61022b565b620151806100ec565b64ffffffffff6100ec565b61014761013c3660046102d6565b64ffffffffff161590565b60405190151581526020016100fe565b6101476101653660046102ef565b61025d565b6101476101783660046102d6565b64ffffffffff16151590565b6100ec6101923660046102ef565b610271565b6101476101a53660046102ef565b64ffffffffff90811691161490565b6101476101c23660046102ef565b64ffffffffff90811691161090565b5f6100ec565b6101ef6101e53660046102d6565b64ffffffffff1690565b6040519081526020016100fe565b6301e133806100ec565b5f610213826018610334565b61021f90610e10610334565b63ffffffff1692915050565b5f64ffffffffff821115610259576040516385cb094d60e01b81526004810183905260240160405180910390fd5b5090565b64ffffffffff808216908316115b92915050565b5f61027c828461035a565b9392505050565b5f60208284031215610293575f80fd5b813563ffffffff8116811461027c575f80fd5b5f602082840312156102b6575f80fd5b5035919050565b803564ffffffffff811681146102d1575f80fd5b919050565b5f602082840312156102e6575f80fd5b61027c826102bd565b5f8060408385031215610300575f80fd5b610309836102bd565b9150610317602084016102bd565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b63ffffffff818116838216029081169081811461035357610353610320565b5092915050565b64ffffffffff818116838216019081111561026b5761026b61032056fea2646970667358221220840295a50776639dd9022c635d04464e6a2b2eeb7d2fafe012c5e7f0f3d5897c64736f6c634300081a0033",
|
220
263
|
"linkReferences": {},
|
221
264
|
"deployedLinkReferences": {}
|
222
265
|
}
|
@@ -108,6 +108,25 @@
|
|
108
108
|
"stateMutability": "pure",
|
109
109
|
"type": "function"
|
110
110
|
},
|
111
|
+
{
|
112
|
+
"inputs": [
|
113
|
+
{
|
114
|
+
"internalType": "Selector",
|
115
|
+
"name": "s",
|
116
|
+
"type": "bytes4"
|
117
|
+
}
|
118
|
+
],
|
119
|
+
"name": "toString",
|
120
|
+
"outputs": [
|
121
|
+
{
|
122
|
+
"internalType": "string",
|
123
|
+
"name": "",
|
124
|
+
"type": "string"
|
125
|
+
}
|
126
|
+
],
|
127
|
+
"stateMutability": "pure",
|
128
|
+
"type": "function"
|
129
|
+
},
|
111
130
|
{
|
112
131
|
"inputs": [],
|
113
132
|
"name": "zero",
|
@@ -122,8 +141,8 @@
|
|
122
141
|
"type": "function"
|
123
142
|
}
|
124
143
|
],
|
125
|
-
"bytecode": "
|
126
|
-
"deployedBytecode": "
|
144
|
+
"bytecode": "0x610250610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe7300000000000000000000000000000000000000003014608060405260043610610085575f3560e01c80636b15ee8b116100635780636b15ee8b146100fb578063b332d2d914610125578063bc1b392d1461016e578063dd435e4a146100fb575f80fd5b806301c401d71461008957806325431b16146100be57806332ad87b1146100df575b5f80fd5b6100a961009736600461018c565b6001600160e01b031990811691161490565b60405190151581526020015b60405180910390f35b6100a96100cc36600461018c565b6001600160e01b03199081169116141590565b6100a96100ed3660046101c3565b6001600160e01b0319161590565b61010c6101093660046101c3565b90565b6040516001600160e01b031990911681526020016100b5565b6101616101333660046101c3565b604080516001600160e01b031983166020820152606091016040516020818303038152906040529050919050565b6040516100b591906101e5565b5f61010c565b6001600160e01b031981168114610189575f80fd5b50565b5f806040838503121561019d575f80fd5b82356101a881610174565b915060208301356101b881610174565b809150509250929050565b5f602082840312156101d3575f80fd5b81356101de81610174565b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f8301168401019150509291505056fea2646970667358221220cec324ea529e7c327db80a3a5c9163a03cbb3845913d4f08153491f43f632c4a64736f6c634300081a0033",
|
145
|
+
"deployedBytecode": "0x7300000000000000000000000000000000000000003014608060405260043610610085575f3560e01c80636b15ee8b116100635780636b15ee8b146100fb578063b332d2d914610125578063bc1b392d1461016e578063dd435e4a146100fb575f80fd5b806301c401d71461008957806325431b16146100be57806332ad87b1146100df575b5f80fd5b6100a961009736600461018c565b6001600160e01b031990811691161490565b60405190151581526020015b60405180910390f35b6100a96100cc36600461018c565b6001600160e01b03199081169116141590565b6100a96100ed3660046101c3565b6001600160e01b0319161590565b61010c6101093660046101c3565b90565b6040516001600160e01b031990911681526020016100b5565b6101616101333660046101c3565b604080516001600160e01b031983166020820152606091016040516020818303038152906040529050919050565b6040516100b591906101e5565b5f61010c565b6001600160e01b031981168114610189575f80fd5b50565b5f806040838503121561019d575f80fd5b82356101a881610174565b915060208301356101b881610174565b809150509250929050565b5f602082840312156101d3575f80fd5b81356101de81610174565b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f8301168401019150509291505056fea2646970667358221220cec324ea529e7c327db80a3a5c9163a03cbb3845913d4f08153491f43f632c4a64736f6c634300081a0033",
|
127
146
|
"linkReferences": {},
|
128
147
|
"deployedLinkReferences": {}
|
129
148
|
}
|
@@ -3,8 +3,8 @@
|
|
3
3
|
"contractName": "SelectorSetLib",
|
4
4
|
"sourceName": "contracts/type/Selector.sol",
|
5
5
|
"abi": [],
|
6
|
-
"bytecode": "
|
7
|
-
"deployedBytecode": "
|
6
|
+
"bytecode": "0x610462610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061006b575f3560e01c806312462a721461006f57806379ed9dc514610097578063868b3e07146100aa5780639f6e99a8146100ca578063dbb64db8146100eb578063dfe63db91461010a575b5f80fd5b61008261007d366004610374565b541590565b60405190151581526020015b60405180910390f35b6100826100a536600461038b565b610136565b6100bc6100b8366004610374565b5490565b60405190815260200161008e565b8180156100d5575f80fd5b506100e96100e436600461038b565b61015a565b005b8180156100f6575f80fd5b506100e961010536600461038b565b6102b7565b61011d6101183660046103c5565b610336565b6040516001600160e01b0319909116815260200161008e565b6001600160e01b031981165f90815260018301602052604090205415155b92915050565b6001600160e01b031981165f9081526001830160205260408120549081900361018257505050565b5f61018e6001836103e5565b84549091505f906101a1906001906103e5565b9050818114610253575f855f0182815481106101bf576101bf610404565b905f5260205f2090600891828204019190066004029054906101000a900460e01b905080865f0184815481106101f7576101f7610404565b905f5260205f2090600891828204019190066004026101000a81548163ffffffff021916908360e01c021790555083866001015f836001600160e01b0319166001600160e01b03191681526020019081526020015f2081905550505b845485908061026457610264610418565b5f828152602080822060085f1990940193840401805463ffffffff600460078716026101000a0219169055919092556001600160e01b031990951681526001959095019093525050604082209190915550565b6001600160e01b031981165f908152600183016020526040902054156102db575050565b8154600180820184555f84815260208082206008850401805463ffffffff60079096166004026101000a958602191660e087901c959095029490941790935584546001600160e01b0319909416815293019052604090912055565b5f825f01828154811061034b5761034b610404565b905f5260205f2090600891828204019190066004029054906101000a900460e01b905092915050565b5f60208284031215610384575f80fd5b5035919050565b5f806040838503121561039c575f80fd5b8235915060208301356001600160e01b0319811681146103ba575f80fd5b809150509250929050565b5f80604083850312156103d6575f80fd5b50508035926020909101359150565b8181038181111561015457634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffdfea2646970667358221220fde2f28ecba1e6d54fb8a567ce25f08511f783922bcda058893e71d1b7d665ec64736f6c634300081a0033",
|
7
|
+
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061006b575f3560e01c806312462a721461006f57806379ed9dc514610097578063868b3e07146100aa5780639f6e99a8146100ca578063dbb64db8146100eb578063dfe63db91461010a575b5f80fd5b61008261007d366004610374565b541590565b60405190151581526020015b60405180910390f35b6100826100a536600461038b565b610136565b6100bc6100b8366004610374565b5490565b60405190815260200161008e565b8180156100d5575f80fd5b506100e96100e436600461038b565b61015a565b005b8180156100f6575f80fd5b506100e961010536600461038b565b6102b7565b61011d6101183660046103c5565b610336565b6040516001600160e01b0319909116815260200161008e565b6001600160e01b031981165f90815260018301602052604090205415155b92915050565b6001600160e01b031981165f9081526001830160205260408120549081900361018257505050565b5f61018e6001836103e5565b84549091505f906101a1906001906103e5565b9050818114610253575f855f0182815481106101bf576101bf610404565b905f5260205f2090600891828204019190066004029054906101000a900460e01b905080865f0184815481106101f7576101f7610404565b905f5260205f2090600891828204019190066004026101000a81548163ffffffff021916908360e01c021790555083866001015f836001600160e01b0319166001600160e01b03191681526020019081526020015f2081905550505b845485908061026457610264610418565b5f828152602080822060085f1990940193840401805463ffffffff600460078716026101000a0219169055919092556001600160e01b031990951681526001959095019093525050604082209190915550565b6001600160e01b031981165f908152600183016020526040902054156102db575050565b8154600180820184555f84815260208082206008850401805463ffffffff60079096166004026101000a958602191660e087901c959095029490941790935584546001600160e01b0319909416815293019052604090912055565b5f825f01828154811061034b5761034b610404565b905f5260205f2090600891828204019190066004029054906101000a900460e01b905092915050565b5f60208284031215610384575f80fd5b5035919050565b5f806040838503121561039c575f80fd5b8235915060208301356001600160e01b0319811681146103ba575f80fd5b809150509250929050565b5f80604083850312156103d6575f80fd5b50508035926020909101359150565b8181038181111561015457634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffdfea2646970667358221220fde2f28ecba1e6d54fb8a567ce25f08511f783922bcda058893e71d1b7d665ec64736f6c634300081a0033",
|
8
8
|
"linkReferences": {},
|
9
9
|
"deployedLinkReferences": {}
|
10
10
|
}
|
@@ -83,10 +83,23 @@
|
|
83
83
|
],
|
84
84
|
"stateMutability": "pure",
|
85
85
|
"type": "function"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"inputs": [],
|
89
|
+
"name": "zero",
|
90
|
+
"outputs": [
|
91
|
+
{
|
92
|
+
"internalType": "StateId",
|
93
|
+
"name": "",
|
94
|
+
"type": "uint8"
|
95
|
+
}
|
96
|
+
],
|
97
|
+
"stateMutability": "pure",
|
98
|
+
"type": "function"
|
86
99
|
}
|
87
100
|
],
|
88
|
-
"bytecode": "
|
89
|
-
"deployedBytecode": "
|
101
|
+
"bytecode": "0x61019d610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe7300000000000000000000000000000000000000003014608060405260043610610060575f3560e01c80632c2f8a67146100645780636f9196201461008c578063ac43d834146100a1578063b2466acf146100d2578063bc1b392d146100e8575b5f80fd5b61007761007236600461011d565b6100f6565b60405190151581526020015b60405180910390f35b61007761009a36600461014e565b60ff161590565b6100b56100af36600461014e565b60ff1690565b6040516bffffffffffffffffffffffff9091168152602001610083565b6100776100e036600461014e565b60ff16151590565b6040515f8152602001610083565b5f60ff808416908316145b9392505050565b803560ff81168114610118575f80fd5b919050565b5f806040838503121561012e575f80fd5b61013783610108565b915061014560208401610108565b90509250929050565b5f6020828403121561015e575f80fd5b6101018261010856fea2646970667358221220211c23dcbdad234946892312c2da9de3ea1288517cda6fcb025045d54b9f259c64736f6c634300081a0033",
|
102
|
+
"deployedBytecode": "0x7300000000000000000000000000000000000000003014608060405260043610610060575f3560e01c80632c2f8a67146100645780636f9196201461008c578063ac43d834146100a1578063b2466acf146100d2578063bc1b392d146100e8575b5f80fd5b61007761007236600461011d565b6100f6565b60405190151581526020015b60405180910390f35b61007761009a36600461014e565b60ff161590565b6100b56100af36600461014e565b60ff1690565b6040516bffffffffffffffffffffffff9091168152602001610083565b6100776100e036600461014e565b60ff16151590565b6040515f8152602001610083565b5f60ff808416908316145b9392505050565b803560ff81168114610118575f80fd5b919050565b5f806040838503121561012e575f80fd5b61013783610108565b915061014560208401610108565b90509250929050565b5f6020828403121561015e575f80fd5b6101018261010856fea2646970667358221220211c23dcbdad234946892312c2da9de3ea1288517cda6fcb025045d54b9f259c64736f6c634300081a0033",
|
90
103
|
"linkReferences": {},
|
91
104
|
"deployedLinkReferences": {}
|
92
105
|
}
|
@@ -19,6 +19,30 @@
|
|
19
19
|
"name": "StringTooLong",
|
20
20
|
"type": "error"
|
21
21
|
},
|
22
|
+
{
|
23
|
+
"inputs": [
|
24
|
+
{
|
25
|
+
"internalType": "string",
|
26
|
+
"name": "s1",
|
27
|
+
"type": "string"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"internalType": "string",
|
31
|
+
"name": "s2",
|
32
|
+
"type": "string"
|
33
|
+
}
|
34
|
+
],
|
35
|
+
"name": "eq",
|
36
|
+
"outputs": [
|
37
|
+
{
|
38
|
+
"internalType": "bool",
|
39
|
+
"name": "",
|
40
|
+
"type": "bool"
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"stateMutability": "pure",
|
44
|
+
"type": "function"
|
45
|
+
},
|
22
46
|
{
|
23
47
|
"inputs": [
|
24
48
|
{
|
@@ -86,6 +110,30 @@
|
|
86
110
|
"stateMutability": "pure",
|
87
111
|
"type": "function"
|
88
112
|
},
|
113
|
+
{
|
114
|
+
"inputs": [
|
115
|
+
{
|
116
|
+
"internalType": "string",
|
117
|
+
"name": "s1",
|
118
|
+
"type": "string"
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"internalType": "string",
|
122
|
+
"name": "s2",
|
123
|
+
"type": "string"
|
124
|
+
}
|
125
|
+
],
|
126
|
+
"name": "ne",
|
127
|
+
"outputs": [
|
128
|
+
{
|
129
|
+
"internalType": "bool",
|
130
|
+
"name": "",
|
131
|
+
"type": "bool"
|
132
|
+
}
|
133
|
+
],
|
134
|
+
"stateMutability": "pure",
|
135
|
+
"type": "function"
|
136
|
+
},
|
89
137
|
{
|
90
138
|
"inputs": [
|
91
139
|
{
|
@@ -125,8 +173,8 @@
|
|
125
173
|
"type": "function"
|
126
174
|
}
|
127
175
|
],
|
128
|
-
"bytecode": "
|
129
|
-
"deployedBytecode": "
|
176
|
+
"bytecode": "0x610459610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe7300000000000000000000000000000000000000003014608060405260043610610085575f3560e01c8063a9dbaf2511610063578063a9dbaf25146100e7578063b11a19e814610108578063cdc23e6914610128578063ecf672f61461013b575f80fd5b806321a49642146100895780633447c030146100c257806354fe3eb7146100d4575b5f80fd5b6100ad6100973660046102e0565b8051602091820120825192909101919091201490565b60405190151581526020015b60405180910390f35b6100ad6100d0366004610345565b1490565b6100ad6100e2366004610345565b141590565b6100fa6100f5366004610365565b61014e565b6040519081526020016100b9565b61011b610116366004610365565b61015e565b6040516100b991906103aa565b6100fa6101363660046103c3565b610169565b6100ad6101493660046102e0565b610173565b5f61015882610197565b92915050565b6060610158826101be565b5f610158826101fb565b5f61018f83838051602091820120825192909101919091201490565b159392505050565b5f60ff8216601f81111561015857604051632cd44ac360e21b815260040160405180910390fd5b60605f6101ca83610197565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f80829050601f8151111561022e578260405163305a27a960e01b815260040161022591906103aa565b60405180910390fd5b8051610239826103fd565b179392505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610264575f80fd5b813567ffffffffffffffff81111561027e5761027e610241565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156102ad576102ad610241565b6040528181528382016020018510156102c4575f80fd5b816020850160208301375f918101602001919091529392505050565b5f80604083850312156102f1575f80fd5b823567ffffffffffffffff811115610307575f80fd5b61031385828601610255565b925050602083013567ffffffffffffffff81111561032f575f80fd5b61033b85828601610255565b9150509250929050565b5f8060408385031215610356575f80fd5b50508035926020909101359150565b5f60208284031215610375575f80fd5b5035919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6103bc602083018461037c565b9392505050565b5f602082840312156103d3575f80fd5b813567ffffffffffffffff8111156103e9575f80fd5b6103f584828501610255565b949350505050565b8051602080830151919081101561041d575f198160200360031b1b821691505b5091905056fea264697066735822122031c11a3b630aa4f6682c20f4383111580f9b977df29a8923b6846d2d3264f3eb64736f6c634300081a0033",
|
177
|
+
"deployedBytecode": "0x7300000000000000000000000000000000000000003014608060405260043610610085575f3560e01c8063a9dbaf2511610063578063a9dbaf25146100e7578063b11a19e814610108578063cdc23e6914610128578063ecf672f61461013b575f80fd5b806321a49642146100895780633447c030146100c257806354fe3eb7146100d4575b5f80fd5b6100ad6100973660046102e0565b8051602091820120825192909101919091201490565b60405190151581526020015b60405180910390f35b6100ad6100d0366004610345565b1490565b6100ad6100e2366004610345565b141590565b6100fa6100f5366004610365565b61014e565b6040519081526020016100b9565b61011b610116366004610365565b61015e565b6040516100b991906103aa565b6100fa6101363660046103c3565b610169565b6100ad6101493660046102e0565b610173565b5f61015882610197565b92915050565b6060610158826101be565b5f610158826101fb565b5f61018f83838051602091820120825192909101919091201490565b159392505050565b5f60ff8216601f81111561015857604051632cd44ac360e21b815260040160405180910390fd5b60605f6101ca83610197565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f80829050601f8151111561022e578260405163305a27a960e01b815260040161022591906103aa565b60405180910390fd5b8051610239826103fd565b179392505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610264575f80fd5b813567ffffffffffffffff81111561027e5761027e610241565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156102ad576102ad610241565b6040528181528382016020018510156102c4575f80fd5b816020850160208301375f918101602001919091529392505050565b5f80604083850312156102f1575f80fd5b823567ffffffffffffffff811115610307575f80fd5b61031385828601610255565b925050602083013567ffffffffffffffff81111561032f575f80fd5b61033b85828601610255565b9150509250929050565b5f8060408385031215610356575f80fd5b50508035926020909101359150565b5f60208284031215610375575f80fd5b5035919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6103bc602083018461037c565b9392505050565b5f602082840312156103d3575f80fd5b813567ffffffffffffffff8111156103e9575f80fd5b6103f584828501610255565b949350505050565b8051602080830151919081101561041d575f198160200360031b1b821691505b5091905056fea264697066735822122031c11a3b630aa4f6682c20f4383111580f9b977df29a8923b6846d2d3264f3eb64736f6c634300081a0033",
|
130
178
|
"linkReferences": {},
|
131
179
|
"deployedLinkReferences": {}
|
132
180
|
}
|