@etherisc/gif-next 0.0.2-def25d4-556 → 0.0.2-dfb8aa3-070
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +121 -18
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1293 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +414 -0
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1060 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
- package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
- package/artifacts/contracts/{instance/IAccessManagerSimple.sol/IAccessManagerSimple.json → authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json} +125 -11
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1402 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1048 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1455 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +838 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +929 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +961 -0
- 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 +1538 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +470 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2072 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -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 +1471 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1231 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1592 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2095 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +539 -309
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +389 -167
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +357 -3036
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1653 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +561 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1114 -339
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +471 -327
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +347 -97
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3678 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +38 -2
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +30 -112
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
- 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 +4 -0
- package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1039 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → oracle/IOracleComponent.sol/IOracleComponent.json} +405 -368
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +709 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +907 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +966 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +722 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1299 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +470 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1465 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +834 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +960 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +960 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1283 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.json +1098 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1625 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +766 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +771 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +710 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1173 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1431 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +838 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IApplicationService.sol/IApplicationService.json} +241 -256
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +942 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +925 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +578 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1012 -0
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IRiskService.sol/IRiskService.json} +150 -187
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1302 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +782 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +907 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +762 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/product/Product.sol/Product.json +1131 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +622 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +694 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +595 -186
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +371 -205
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +921 -213
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1886 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +339 -330
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +326 -138
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1067 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +351 -100
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/shared/Component.sol/Component.json +725 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1768 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +814 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +179 -191
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → shared/IComponent.sol/IComponent.json} +351 -165
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1335 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +723 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +46 -26
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +40 -31
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +119 -165
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +829 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +81 -30
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +96 -48
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +150 -176
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +382 -9
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1465 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1043 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1888 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +776 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1249 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +710 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +142 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
- package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +602 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
- package/contracts/authorization/AccessAdmin.sol +596 -0
- package/contracts/authorization/AccessManagerCloneable.sol +16 -0
- package/contracts/authorization/Authorization.sol +289 -0
- package/contracts/authorization/IAccess.sol +49 -0
- package/contracts/authorization/IAccessAdmin.sol +137 -0
- package/contracts/authorization/IAuthorization.sol +60 -0
- package/contracts/authorization/IServiceAuthorization.sol +40 -0
- package/contracts/authorization/ReleaseAccessManager.sol +38 -0
- package/contracts/authorization/ServiceAuthorization.sol +106 -0
- package/contracts/distribution/BasicDistribution.sol +139 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
- package/contracts/distribution/Distribution.sol +285 -0
- package/contracts/distribution/DistributionService.sol +355 -0
- package/contracts/distribution/DistributionServiceManager.sol +39 -0
- package/contracts/distribution/IDistributionComponent.sol +52 -0
- package/contracts/distribution/IDistributionService.sol +101 -0
- package/contracts/examples/fire/DamageLevel.sol +59 -0
- package/contracts/examples/fire/FirePool.sol +73 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
- package/contracts/examples/fire/FireProduct.sol +415 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
- package/contracts/examples/fire/FireUSD.sol +26 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
- package/contracts/instance/BundleSet.sol +126 -0
- package/contracts/instance/IInstance.sol +52 -18
- package/contracts/instance/IInstanceService.sol +58 -16
- package/contracts/instance/Instance.sol +164 -375
- package/contracts/instance/InstanceAdmin.sol +277 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +194 -0
- package/contracts/instance/InstanceReader.sol +279 -74
- package/contracts/instance/InstanceService.sol +354 -113
- package/contracts/instance/InstanceServiceManager.sol +14 -31
- package/contracts/instance/InstanceStore.sol +287 -0
- package/contracts/instance/base/BalanceStore.sol +123 -0
- package/contracts/instance/base/Cloneable.sol +28 -0
- package/contracts/instance/base/ObjectCounter.sol +21 -0
- package/contracts/instance/base/ObjectLifecycle.sol +111 -0
- package/contracts/instance/base/ObjectSet.sol +79 -0
- package/contracts/instance/module/IAccess.sol +29 -21
- package/contracts/instance/module/IBundle.sol +8 -7
- package/contracts/instance/module/IComponents.sol +51 -0
- package/contracts/instance/module/IDistribution.sol +6 -4
- package/contracts/instance/module/IPolicy.sol +58 -19
- package/contracts/instance/module/IRisk.sol +1 -1
- package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
- package/contracts/oracle/BasicOracle.sol +47 -0
- package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
- package/contracts/oracle/IOracle.sol +36 -0
- package/contracts/oracle/IOracleComponent.sol +33 -0
- package/contracts/oracle/IOracleService.sol +66 -0
- package/contracts/oracle/Oracle.sol +156 -0
- package/contracts/oracle/OracleService.sol +291 -0
- package/contracts/oracle/OracleServiceManager.sol +39 -0
- package/contracts/pool/BasicPool.sol +154 -0
- package/contracts/pool/BasicPoolAuthorization.sol +57 -0
- package/contracts/pool/BundleService.sol +493 -0
- package/contracts/pool/BundleServiceManager.sol +39 -0
- package/contracts/pool/IBundleService.sol +143 -0
- package/contracts/pool/IPoolComponent.sol +68 -0
- package/contracts/pool/IPoolService.sol +167 -0
- package/contracts/pool/Pool.sol +335 -0
- package/contracts/pool/PoolService.sol +544 -0
- package/contracts/pool/PoolServiceManager.sol +39 -0
- package/contracts/product/ApplicationService.sol +259 -0
- package/contracts/product/ApplicationServiceManager.sol +38 -0
- package/contracts/product/BasicProduct.sol +53 -0
- package/contracts/product/BasicProductAuthorization.sol +42 -0
- package/contracts/product/ClaimService.sol +612 -0
- package/contracts/product/ClaimServiceManager.sol +38 -0
- package/contracts/product/IApplicationService.sol +63 -0
- package/contracts/product/IClaimService.sol +123 -0
- package/contracts/product/IPolicyService.sol +80 -0
- package/contracts/product/IPricingService.sol +39 -0
- package/contracts/product/IProductComponent.sol +59 -0
- package/contracts/product/IRiskService.sol +33 -0
- package/contracts/product/PolicyService.sol +691 -0
- package/contracts/product/PolicyServiceManager.sol +39 -0
- package/contracts/product/PricingService.sol +300 -0
- package/contracts/product/PricingServiceManager.sol +39 -0
- package/contracts/product/Product.sol +455 -0
- package/contracts/product/RiskService.sol +96 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +78 -33
- package/contracts/registry/IRegistry.sol +125 -48
- package/contracts/registry/IRegistryService.sol +45 -16
- package/contracts/registry/ITransferInterceptor.sol +1 -1
- package/contracts/registry/Registry.sol +532 -304
- package/contracts/registry/RegistryAdmin.sol +448 -0
- package/contracts/registry/RegistryService.sol +126 -284
- package/contracts/registry/RegistryServiceManager.sol +26 -53
- package/contracts/registry/ReleaseLifecycle.sol +30 -0
- package/contracts/registry/ReleaseRegistry.sol +501 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +194 -0
- package/contracts/registry/TokenRegistry.sol +261 -57
- package/contracts/shared/Component.sol +265 -0
- package/contracts/shared/ComponentService.sol +745 -0
- package/contracts/shared/ComponentServiceManager.sol +38 -0
- package/contracts/shared/ComponentVerifyingService.sol +126 -0
- package/contracts/shared/ContractLib.sol +38 -0
- package/contracts/shared/IComponent.sol +74 -0
- package/contracts/shared/IComponentService.sol +120 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +41 -0
- package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
- package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
- package/contracts/shared/INftOwnable.sol +15 -12
- package/contracts/shared/IPolicyHolder.sol +35 -0
- package/contracts/shared/IRegisterable.sol +15 -6
- package/contracts/shared/IRegistryLinked.sol +11 -0
- package/contracts/shared/IService.sol +16 -6
- package/contracts/shared/InitializableERC165.sol +27 -0
- package/contracts/shared/InstanceLinkedComponent.sol +213 -0
- package/contracts/shared/KeyValueStore.sol +131 -0
- package/contracts/shared/Lifecycle.sol +88 -0
- package/contracts/shared/NftIdSet.sol +65 -0
- package/contracts/shared/NftOwnable.sol +75 -84
- package/contracts/shared/PolicyHolder.sol +62 -0
- package/contracts/shared/Registerable.sol +34 -39
- package/contracts/shared/RegistryLinked.sol +44 -0
- package/contracts/shared/Service.sol +61 -31
- package/contracts/shared/TokenHandler.sol +122 -10
- package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
- package/contracts/staking/IStaking.sol +168 -0
- package/contracts/staking/IStakingService.sol +157 -0
- package/contracts/staking/StakeManagerLib.sol +224 -0
- package/contracts/staking/Staking.sol +497 -0
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +52 -0
- package/contracts/staking/StakingReader.sol +190 -0
- package/contracts/staking/StakingService.sol +407 -0
- package/contracts/staking/StakingServiceManager.sol +44 -0
- package/contracts/staking/StakingStore.sol +605 -0
- package/contracts/staking/TargetManagerLib.sol +211 -0
- package/contracts/{types → type}/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +150 -0
- package/contracts/{types → type}/Blocknumber.sol +27 -3
- package/contracts/type/ClaimId.sol +80 -0
- package/contracts/{types → type}/DistributorType.sol +2 -2
- package/contracts/{types → type}/Fee.sol +33 -23
- package/contracts/{types → type}/NftId.sol +22 -15
- package/contracts/type/NftIdSet.sol +62 -0
- package/contracts/type/ObjectType.sol +276 -0
- package/contracts/type/PayoutId.sol +82 -0
- package/contracts/{types → type}/Referral.sol +6 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/{types → type}/RiskId.sol +16 -2
- package/contracts/type/RoleId.sol +162 -0
- package/contracts/type/Seconds.sol +101 -0
- package/contracts/type/Selector.sol +102 -0
- package/contracts/{types → type}/StateId.sol +48 -4
- package/contracts/type/String.sol +53 -0
- package/contracts/{types → type}/Timestamp.sol +34 -15
- package/contracts/{types → type}/UFixed.sol +39 -9
- package/contracts/{types → type}/Version.sol +5 -2
- package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
- package/contracts/upgradeability/ProxyManager.sol +232 -0
- package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
- package/contracts/upgradeability/Versionable.sol +59 -0
- package/package.json +11 -7
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -670
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -204
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
- package/artifacts/contracts/components/Pool.sol/Pool.json +0 -790
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
- package/artifacts/contracts/components/Product.sol/Product.json +0 -775
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -917
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -657
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -436
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
- package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
- package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
- package/contracts/components/BaseComponent.sol +0 -91
- package/contracts/components/Distribution.sol +0 -166
- package/contracts/components/IBaseComponent.sol +0 -25
- package/contracts/components/IDistributionComponent.sol +0 -46
- package/contracts/components/IPoolComponent.sol +0 -62
- package/contracts/components/IProductComponent.sol +0 -35
- package/contracts/components/Pool.sol +0 -258
- package/contracts/components/Product.sol +0 -297
- package/contracts/experiment/cloning/Cloner.sol +0 -47
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/AccessManagedSimple.sol +0 -115
- package/contracts/instance/AccessManagerSimple.sol +0 -692
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/InstanceAccessManager.sol +0 -288
- package/contracts/instance/base/ComponentServiceBase.sol +0 -41
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/base/KeyValueStore.sol +0 -172
- package/contracts/instance/base/Lifecycle.sol +0 -100
- package/contracts/instance/module/ISetup.sol +0 -43
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/instance/service/ComponentOwnerService.sol +0 -317
- package/contracts/instance/service/DistributionService.sol +0 -105
- package/contracts/instance/service/DistributionServiceManager.sol +0 -53
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/instance/service/IDistributionService.sol +0 -12
- package/contracts/instance/service/IPoolService.sol +0 -37
- package/contracts/instance/service/IProductService.sol +0 -107
- package/contracts/shared/ContractDeployerLib.sol +0 -72
- package/contracts/shared/ERC165.sol +0 -25
- package/contracts/shared/ProxyManager.sol +0 -94
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
- package/contracts/shared/Versionable.sol +0 -147
- package/contracts/test/TestFee.sol +0 -25
- package/contracts/test/TestRegisterable.sol +0 -18
- package/contracts/test/TestRoleId.sol +0 -14
- package/contracts/test/TestService.sol +0 -24
- package/contracts/test/TestToken.sol +0 -26
- package/contracts/test/TestVersion.sol +0 -44
- package/contracts/test/TestVersionable.sol +0 -17
- package/contracts/types/ChainId.sol +0 -38
- package/contracts/types/NftIdSet.sol +0 -60
- package/contracts/types/NumberId.sol +0 -52
- package/contracts/types/ObjectType.sol +0 -152
- package/contracts/types/RoleId.sol +0 -88
- /package/contracts/{types → type}/Key32.sol +0 -0
@@ -1,305 +1,417 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "
|
4
|
-
"sourceName": "contracts/
|
3
|
+
"contractName": "IOracleComponent",
|
4
|
+
"sourceName": "contracts/oracle/IOracleComponent.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "address",
|
10
|
-
"name": "
|
10
|
+
"name": "authority",
|
11
11
|
"type": "address"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"internalType": "NftId",
|
15
|
-
"name": "nftId",
|
16
|
-
"type": "uint96"
|
17
12
|
}
|
18
13
|
],
|
19
|
-
"name": "
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
20
15
|
"type": "error"
|
21
16
|
},
|
22
17
|
{
|
23
18
|
"inputs": [
|
24
19
|
{
|
25
20
|
"internalType": "address",
|
26
|
-
"name": "
|
21
|
+
"name": "caller",
|
27
22
|
"type": "address"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
28
|
}
|
29
29
|
],
|
30
|
-
"name": "
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
31
|
"type": "error"
|
32
32
|
},
|
33
33
|
{
|
34
34
|
"inputs": [
|
35
35
|
{
|
36
36
|
"internalType": "address",
|
37
|
-
"name": "
|
37
|
+
"name": "caller",
|
38
38
|
"type": "address"
|
39
39
|
}
|
40
40
|
],
|
41
|
-
"name": "
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [],
|
46
|
+
"name": "ErrorComponentNameLengthZero",
|
42
47
|
"type": "error"
|
43
48
|
},
|
44
49
|
{
|
45
50
|
"inputs": [
|
46
51
|
{
|
47
52
|
"internalType": "address",
|
48
|
-
"name": "
|
53
|
+
"name": "caller",
|
49
54
|
"type": "address"
|
50
55
|
}
|
51
56
|
],
|
52
|
-
"name": "
|
57
|
+
"name": "ErrorComponentNotChainNft",
|
58
|
+
"type": "error"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"inputs": [],
|
62
|
+
"name": "ErrorComponentProductNftIdNonzero",
|
63
|
+
"type": "error"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"inputs": [],
|
67
|
+
"name": "ErrorComponentProductNftIdZero",
|
68
|
+
"type": "error"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"inputs": [],
|
72
|
+
"name": "ErrorComponentTokenAddressNonzero",
|
73
|
+
"type": "error"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"inputs": [],
|
77
|
+
"name": "ErrorComponentTokenAddressZero",
|
78
|
+
"type": "error"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"inputs": [],
|
82
|
+
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
83
|
+
"type": "error"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"inputs": [],
|
87
|
+
"name": "ErrorComponentWalletAddressZero",
|
53
88
|
"type": "error"
|
54
89
|
},
|
55
90
|
{
|
56
91
|
"inputs": [],
|
57
|
-
"name": "
|
92
|
+
"name": "ErrorComponentWalletNotComponent",
|
93
|
+
"type": "error"
|
94
|
+
},
|
95
|
+
{
|
96
|
+
"inputs": [
|
97
|
+
{
|
98
|
+
"internalType": "NftId",
|
99
|
+
"name": "nftId",
|
100
|
+
"type": "uint96"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"internalType": "ObjectType",
|
104
|
+
"name": "objectType",
|
105
|
+
"type": "uint8"
|
106
|
+
}
|
107
|
+
],
|
108
|
+
"name": "ErrorInstanceLinkedComponentNotProduct",
|
109
|
+
"type": "error"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"inputs": [
|
113
|
+
{
|
114
|
+
"internalType": "ObjectType",
|
115
|
+
"name": "requiredType",
|
116
|
+
"type": "uint8"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"internalType": "ObjectType",
|
120
|
+
"name": "objectType",
|
121
|
+
"type": "uint8"
|
122
|
+
}
|
123
|
+
],
|
124
|
+
"name": "ErrorInstanceLinkedComponentTypeMismatch",
|
125
|
+
"type": "error"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"inputs": [
|
129
|
+
{
|
130
|
+
"internalType": "NftId",
|
131
|
+
"name": "nftId",
|
132
|
+
"type": "uint96"
|
133
|
+
}
|
134
|
+
],
|
135
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
58
136
|
"type": "error"
|
59
137
|
},
|
60
138
|
{
|
61
139
|
"inputs": [
|
62
140
|
{
|
63
141
|
"internalType": "address",
|
64
|
-
"name": "
|
142
|
+
"name": "contractAddress",
|
65
143
|
"type": "address"
|
66
144
|
}
|
67
145
|
],
|
68
|
-
"name": "
|
146
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
69
147
|
"type": "error"
|
70
148
|
},
|
71
149
|
{
|
72
150
|
"inputs": [],
|
73
|
-
"name": "
|
151
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
74
152
|
"type": "error"
|
75
153
|
},
|
76
154
|
{
|
77
|
-
"anonymous": false,
|
78
155
|
"inputs": [
|
79
156
|
{
|
80
|
-
"
|
81
|
-
"
|
82
|
-
"
|
83
|
-
"type": "uint24"
|
157
|
+
"internalType": "NftId",
|
158
|
+
"name": "nftId",
|
159
|
+
"type": "uint96"
|
84
160
|
},
|
85
161
|
{
|
86
|
-
"
|
162
|
+
"internalType": "ObjectType",
|
163
|
+
"name": "expectedObjectType",
|
164
|
+
"type": "uint8"
|
165
|
+
}
|
166
|
+
],
|
167
|
+
"name": "ErrorNftOwnableInvalidType",
|
168
|
+
"type": "error"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"inputs": [
|
172
|
+
{
|
87
173
|
"internalType": "address",
|
88
|
-
"name": "
|
174
|
+
"name": "account",
|
89
175
|
"type": "address"
|
90
|
-
}
|
176
|
+
}
|
177
|
+
],
|
178
|
+
"name": "ErrorNftOwnableNotOwner",
|
179
|
+
"type": "error"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"inputs": [
|
91
183
|
{
|
92
|
-
"indexed": false,
|
93
184
|
"internalType": "address",
|
94
|
-
"name": "
|
185
|
+
"name": "registryAddress",
|
95
186
|
"type": "address"
|
96
187
|
}
|
97
188
|
],
|
98
|
-
"name": "
|
99
|
-
"type": "
|
189
|
+
"name": "ErrorNotRegistry",
|
190
|
+
"type": "error"
|
100
191
|
},
|
101
192
|
{
|
102
193
|
"inputs": [
|
103
194
|
{
|
104
|
-
"internalType": "
|
105
|
-
"name": "
|
106
|
-
"type": "
|
107
|
-
},
|
108
|
-
{
|
109
|
-
"internalType": "Timestamp",
|
110
|
-
"name": "activateAt",
|
111
|
-
"type": "uint40"
|
195
|
+
"internalType": "string",
|
196
|
+
"name": "methodName",
|
197
|
+
"type": "string"
|
112
198
|
}
|
113
199
|
],
|
114
|
-
"name": "
|
115
|
-
"
|
116
|
-
"stateMutability": "nonpayable",
|
117
|
-
"type": "function"
|
200
|
+
"name": "ErrorOracleNotImplemented",
|
201
|
+
"type": "error"
|
118
202
|
},
|
119
203
|
{
|
204
|
+
"anonymous": false,
|
120
205
|
"inputs": [
|
121
206
|
{
|
122
|
-
"
|
123
|
-
"
|
124
|
-
"
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
"type": "uint256"
|
135
|
-
},
|
207
|
+
"indexed": false,
|
208
|
+
"internalType": "address",
|
209
|
+
"name": "authority",
|
210
|
+
"type": "address"
|
211
|
+
}
|
212
|
+
],
|
213
|
+
"name": "AuthorityUpdated",
|
214
|
+
"type": "event"
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"anonymous": false,
|
218
|
+
"inputs": [
|
136
219
|
{
|
137
|
-
"
|
138
|
-
"
|
139
|
-
"
|
220
|
+
"indexed": false,
|
221
|
+
"internalType": "address",
|
222
|
+
"name": "token",
|
223
|
+
"type": "address"
|
140
224
|
},
|
141
225
|
{
|
142
|
-
"
|
143
|
-
"
|
226
|
+
"indexed": false,
|
227
|
+
"internalType": "Amount",
|
228
|
+
"name": "limit",
|
144
229
|
"type": "uint96"
|
145
230
|
},
|
146
231
|
{
|
147
|
-
"
|
148
|
-
"
|
149
|
-
"
|
232
|
+
"indexed": false,
|
233
|
+
"internalType": "bool",
|
234
|
+
"name": "isMaxAmount",
|
235
|
+
"type": "bool"
|
150
236
|
}
|
151
237
|
],
|
152
|
-
"name": "
|
153
|
-
"
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
},
|
159
|
-
{
|
160
|
-
"internalType": "uint256",
|
161
|
-
"name": "productFeeAmount",
|
162
|
-
"type": "uint256"
|
163
|
-
},
|
164
|
-
{
|
165
|
-
"internalType": "uint256",
|
166
|
-
"name": "poolFeeAmount",
|
167
|
-
"type": "uint256"
|
168
|
-
},
|
238
|
+
"name": "LogComponentTokenHandlerApproved",
|
239
|
+
"type": "event"
|
240
|
+
},
|
241
|
+
{
|
242
|
+
"anonymous": false,
|
243
|
+
"inputs": [
|
169
244
|
{
|
170
|
-
"
|
171
|
-
"
|
172
|
-
"
|
245
|
+
"indexed": false,
|
246
|
+
"internalType": "address",
|
247
|
+
"name": "oldWallet",
|
248
|
+
"type": "address"
|
173
249
|
},
|
174
250
|
{
|
175
|
-
"
|
176
|
-
"
|
177
|
-
"
|
251
|
+
"indexed": false,
|
252
|
+
"internalType": "address",
|
253
|
+
"name": "newWallet",
|
254
|
+
"type": "address"
|
178
255
|
}
|
179
256
|
],
|
180
|
-
"
|
181
|
-
"type": "
|
257
|
+
"name": "LogComponentWalletAddressChanged",
|
258
|
+
"type": "event"
|
182
259
|
},
|
183
260
|
{
|
261
|
+
"anonymous": false,
|
184
262
|
"inputs": [
|
185
263
|
{
|
186
|
-
"
|
187
|
-
"
|
188
|
-
"
|
264
|
+
"indexed": false,
|
265
|
+
"internalType": "address",
|
266
|
+
"name": "from",
|
267
|
+
"type": "address"
|
189
268
|
},
|
190
269
|
{
|
191
|
-
"
|
192
|
-
"
|
193
|
-
"
|
194
|
-
|
195
|
-
|
196
|
-
"name": "calculateRequiredCollateral",
|
197
|
-
"outputs": [
|
270
|
+
"indexed": false,
|
271
|
+
"internalType": "address",
|
272
|
+
"name": "to",
|
273
|
+
"type": "address"
|
274
|
+
},
|
198
275
|
{
|
276
|
+
"indexed": false,
|
199
277
|
"internalType": "uint256",
|
200
|
-
"name": "
|
278
|
+
"name": "amount",
|
201
279
|
"type": "uint256"
|
202
280
|
}
|
203
281
|
],
|
204
|
-
"
|
205
|
-
"type": "
|
282
|
+
"name": "LogComponentWalletTokensTransferred",
|
283
|
+
"type": "event"
|
206
284
|
},
|
207
285
|
{
|
208
286
|
"inputs": [
|
209
287
|
{
|
210
|
-
"internalType": "
|
211
|
-
"name": "
|
288
|
+
"internalType": "Amount",
|
289
|
+
"name": "spendingLimitAmount",
|
212
290
|
"type": "uint96"
|
213
291
|
}
|
214
292
|
],
|
215
|
-
"name": "
|
293
|
+
"name": "approveTokenHandler",
|
216
294
|
"outputs": [],
|
217
295
|
"stateMutability": "nonpayable",
|
218
296
|
"type": "function"
|
219
297
|
},
|
220
298
|
{
|
221
|
-
"inputs": [
|
299
|
+
"inputs": [],
|
300
|
+
"name": "authority",
|
301
|
+
"outputs": [
|
222
302
|
{
|
223
|
-
"internalType": "
|
224
|
-
"name": "
|
225
|
-
"type": "
|
226
|
-
}
|
303
|
+
"internalType": "address",
|
304
|
+
"name": "",
|
305
|
+
"type": "address"
|
306
|
+
}
|
307
|
+
],
|
308
|
+
"stateMutability": "view",
|
309
|
+
"type": "function"
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"inputs": [
|
227
313
|
{
|
228
|
-
"internalType": "
|
229
|
-
"name": "
|
230
|
-
"type": "
|
314
|
+
"internalType": "RequestId",
|
315
|
+
"name": "requestId",
|
316
|
+
"type": "uint64"
|
231
317
|
}
|
232
318
|
],
|
233
|
-
"name": "
|
319
|
+
"name": "cancel",
|
234
320
|
"outputs": [],
|
235
321
|
"stateMutability": "nonpayable",
|
236
322
|
"type": "function"
|
237
323
|
},
|
238
324
|
{
|
239
|
-
"inputs": [
|
325
|
+
"inputs": [],
|
326
|
+
"name": "getAuthorization",
|
327
|
+
"outputs": [
|
240
328
|
{
|
241
|
-
"internalType": "
|
242
|
-
"name": "
|
329
|
+
"internalType": "contract IAuthorization",
|
330
|
+
"name": "authorization",
|
243
331
|
"type": "address"
|
244
|
-
},
|
245
|
-
{
|
246
|
-
"internalType": "RiskId",
|
247
|
-
"name": "riskId",
|
248
|
-
"type": "bytes8"
|
249
|
-
},
|
250
|
-
{
|
251
|
-
"internalType": "uint256",
|
252
|
-
"name": "sumInsuredAmount",
|
253
|
-
"type": "uint256"
|
254
|
-
},
|
255
|
-
{
|
256
|
-
"internalType": "uint256",
|
257
|
-
"name": "lifetime",
|
258
|
-
"type": "uint256"
|
259
|
-
},
|
260
|
-
{
|
261
|
-
"internalType": "bytes",
|
262
|
-
"name": "applicationData",
|
263
|
-
"type": "bytes"
|
264
|
-
},
|
265
|
-
{
|
266
|
-
"internalType": "NftId",
|
267
|
-
"name": "bundleNftId",
|
268
|
-
"type": "uint96"
|
269
|
-
},
|
270
|
-
{
|
271
|
-
"internalType": "ReferralId",
|
272
|
-
"name": "referralId",
|
273
|
-
"type": "bytes8"
|
274
332
|
}
|
275
333
|
],
|
276
|
-
"
|
334
|
+
"stateMutability": "view",
|
335
|
+
"type": "function"
|
336
|
+
},
|
337
|
+
{
|
338
|
+
"inputs": [],
|
339
|
+
"name": "getComponentInfo",
|
277
340
|
"outputs": [
|
278
341
|
{
|
279
|
-
"
|
280
|
-
|
281
|
-
|
342
|
+
"components": [
|
343
|
+
{
|
344
|
+
"internalType": "string",
|
345
|
+
"name": "name",
|
346
|
+
"type": "string"
|
347
|
+
},
|
348
|
+
{
|
349
|
+
"internalType": "contract IERC20Metadata",
|
350
|
+
"name": "token",
|
351
|
+
"type": "address"
|
352
|
+
},
|
353
|
+
{
|
354
|
+
"internalType": "contract TokenHandler",
|
355
|
+
"name": "tokenHandler",
|
356
|
+
"type": "address"
|
357
|
+
},
|
358
|
+
{
|
359
|
+
"internalType": "address",
|
360
|
+
"name": "wallet",
|
361
|
+
"type": "address"
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"internalType": "bytes",
|
365
|
+
"name": "data",
|
366
|
+
"type": "bytes"
|
367
|
+
}
|
368
|
+
],
|
369
|
+
"internalType": "struct IComponents.ComponentInfo",
|
370
|
+
"name": "info",
|
371
|
+
"type": "tuple"
|
282
372
|
}
|
283
373
|
],
|
284
|
-
"stateMutability": "
|
374
|
+
"stateMutability": "view",
|
285
375
|
"type": "function"
|
286
376
|
},
|
287
377
|
{
|
288
|
-
"inputs": [
|
289
|
-
|
290
|
-
|
291
|
-
"name": "riskId",
|
292
|
-
"type": "bytes8"
|
293
|
-
},
|
378
|
+
"inputs": [],
|
379
|
+
"name": "getInitialComponentInfo",
|
380
|
+
"outputs": [
|
294
381
|
{
|
295
|
-
"
|
296
|
-
|
297
|
-
|
382
|
+
"components": [
|
383
|
+
{
|
384
|
+
"internalType": "string",
|
385
|
+
"name": "name",
|
386
|
+
"type": "string"
|
387
|
+
},
|
388
|
+
{
|
389
|
+
"internalType": "contract IERC20Metadata",
|
390
|
+
"name": "token",
|
391
|
+
"type": "address"
|
392
|
+
},
|
393
|
+
{
|
394
|
+
"internalType": "contract TokenHandler",
|
395
|
+
"name": "tokenHandler",
|
396
|
+
"type": "address"
|
397
|
+
},
|
398
|
+
{
|
399
|
+
"internalType": "address",
|
400
|
+
"name": "wallet",
|
401
|
+
"type": "address"
|
402
|
+
},
|
403
|
+
{
|
404
|
+
"internalType": "bytes",
|
405
|
+
"name": "data",
|
406
|
+
"type": "bytes"
|
407
|
+
}
|
408
|
+
],
|
409
|
+
"internalType": "struct IComponents.ComponentInfo",
|
410
|
+
"name": "info",
|
411
|
+
"type": "tuple"
|
298
412
|
}
|
299
413
|
],
|
300
|
-
"
|
301
|
-
"outputs": [],
|
302
|
-
"stateMutability": "nonpayable",
|
414
|
+
"stateMutability": "view",
|
303
415
|
"type": "function"
|
304
416
|
},
|
305
417
|
{
|
@@ -347,24 +459,6 @@
|
|
347
459
|
"internalType": "struct IRegistry.ObjectInfo",
|
348
460
|
"name": "",
|
349
461
|
"type": "tuple"
|
350
|
-
},
|
351
|
-
{
|
352
|
-
"internalType": "bytes",
|
353
|
-
"name": "data",
|
354
|
-
"type": "bytes"
|
355
|
-
}
|
356
|
-
],
|
357
|
-
"stateMutability": "view",
|
358
|
-
"type": "function"
|
359
|
-
},
|
360
|
-
{
|
361
|
-
"inputs": [],
|
362
|
-
"name": "getInitializedVersion",
|
363
|
-
"outputs": [
|
364
|
-
{
|
365
|
-
"internalType": "uint64",
|
366
|
-
"name": "",
|
367
|
-
"type": "uint64"
|
368
462
|
}
|
369
463
|
],
|
370
464
|
"stateMutability": "view",
|
@@ -372,12 +466,12 @@
|
|
372
466
|
},
|
373
467
|
{
|
374
468
|
"inputs": [],
|
375
|
-
"name": "
|
469
|
+
"name": "getInstance",
|
376
470
|
"outputs": [
|
377
471
|
{
|
378
|
-
"internalType": "
|
379
|
-
"name": "
|
380
|
-
"type": "
|
472
|
+
"internalType": "contract IInstance",
|
473
|
+
"name": "instance",
|
474
|
+
"type": "address"
|
381
475
|
}
|
382
476
|
],
|
383
477
|
"stateMutability": "view",
|
@@ -393,7 +487,7 @@
|
|
393
487
|
"type": "string"
|
394
488
|
}
|
395
489
|
],
|
396
|
-
"stateMutability": "
|
490
|
+
"stateMutability": "view",
|
397
491
|
"type": "function"
|
398
492
|
},
|
399
493
|
{
|
@@ -437,31 +531,25 @@
|
|
437
531
|
},
|
438
532
|
{
|
439
533
|
"inputs": [],
|
440
|
-
"name": "
|
534
|
+
"name": "getRelease",
|
441
535
|
"outputs": [
|
442
536
|
{
|
443
|
-
"internalType": "
|
444
|
-
"name": "",
|
445
|
-
"type": "
|
537
|
+
"internalType": "VersionPart",
|
538
|
+
"name": "release",
|
539
|
+
"type": "uint8"
|
446
540
|
}
|
447
541
|
],
|
448
542
|
"stateMutability": "pure",
|
449
543
|
"type": "function"
|
450
544
|
},
|
451
545
|
{
|
452
|
-
"inputs": [
|
453
|
-
|
454
|
-
"internalType": "uint256",
|
455
|
-
"name": "index",
|
456
|
-
"type": "uint256"
|
457
|
-
}
|
458
|
-
],
|
459
|
-
"name": "getVersion",
|
546
|
+
"inputs": [],
|
547
|
+
"name": "getToken",
|
460
548
|
"outputs": [
|
461
549
|
{
|
462
|
-
"internalType": "
|
463
|
-
"name": "
|
464
|
-
"type": "
|
550
|
+
"internalType": "contract IERC20Metadata",
|
551
|
+
"name": "token",
|
552
|
+
"type": "address"
|
465
553
|
}
|
466
554
|
],
|
467
555
|
"stateMutability": "view",
|
@@ -469,99 +557,76 @@
|
|
469
557
|
},
|
470
558
|
{
|
471
559
|
"inputs": [],
|
472
|
-
"name": "
|
560
|
+
"name": "getTokenHandler",
|
473
561
|
"outputs": [
|
474
562
|
{
|
475
|
-
"internalType": "
|
476
|
-
"name": "
|
477
|
-
"type": "
|
563
|
+
"internalType": "contract TokenHandler",
|
564
|
+
"name": "tokenHandler",
|
565
|
+
"type": "address"
|
478
566
|
}
|
479
567
|
],
|
480
568
|
"stateMutability": "view",
|
481
569
|
"type": "function"
|
482
570
|
},
|
483
571
|
{
|
484
|
-
"inputs": [
|
572
|
+
"inputs": [],
|
573
|
+
"name": "getWallet",
|
574
|
+
"outputs": [
|
485
575
|
{
|
486
|
-
"internalType": "
|
487
|
-
"name": "
|
488
|
-
"type": "
|
576
|
+
"internalType": "address",
|
577
|
+
"name": "walletAddress",
|
578
|
+
"type": "address"
|
489
579
|
}
|
490
580
|
],
|
491
|
-
"
|
581
|
+
"stateMutability": "view",
|
582
|
+
"type": "function"
|
583
|
+
},
|
584
|
+
{
|
585
|
+
"inputs": [],
|
586
|
+
"name": "isConsumingScheduledOp",
|
492
587
|
"outputs": [
|
493
588
|
{
|
494
|
-
"
|
495
|
-
|
496
|
-
|
497
|
-
"name": "version",
|
498
|
-
"type": "uint24"
|
499
|
-
},
|
500
|
-
{
|
501
|
-
"internalType": "address",
|
502
|
-
"name": "implementation",
|
503
|
-
"type": "address"
|
504
|
-
},
|
505
|
-
{
|
506
|
-
"internalType": "address",
|
507
|
-
"name": "activatedBy",
|
508
|
-
"type": "address"
|
509
|
-
},
|
510
|
-
{
|
511
|
-
"internalType": "Timestamp",
|
512
|
-
"name": "activatedAt",
|
513
|
-
"type": "uint40"
|
514
|
-
},
|
515
|
-
{
|
516
|
-
"internalType": "Blocknumber",
|
517
|
-
"name": "activatedIn",
|
518
|
-
"type": "uint32"
|
519
|
-
}
|
520
|
-
],
|
521
|
-
"internalType": "struct IVersionable.VersionInfo",
|
522
|
-
"name": "versionInfo",
|
523
|
-
"type": "tuple"
|
589
|
+
"internalType": "bytes4",
|
590
|
+
"name": "",
|
591
|
+
"type": "bytes4"
|
524
592
|
}
|
525
593
|
],
|
526
594
|
"stateMutability": "view",
|
527
595
|
"type": "function"
|
528
596
|
},
|
529
597
|
{
|
530
|
-
"inputs": [
|
531
|
-
|
532
|
-
|
533
|
-
"name": "implementation",
|
534
|
-
"type": "address"
|
535
|
-
},
|
536
|
-
{
|
537
|
-
"internalType": "address",
|
538
|
-
"name": "activatedBy",
|
539
|
-
"type": "address"
|
540
|
-
},
|
598
|
+
"inputs": [],
|
599
|
+
"name": "isNftInterceptor",
|
600
|
+
"outputs": [
|
541
601
|
{
|
542
|
-
"internalType": "
|
543
|
-
"name": "
|
544
|
-
"type": "
|
602
|
+
"internalType": "bool",
|
603
|
+
"name": "isInterceptor",
|
604
|
+
"type": "bool"
|
545
605
|
}
|
546
606
|
],
|
547
|
-
"
|
548
|
-
"outputs": [],
|
549
|
-
"stateMutability": "nonpayable",
|
607
|
+
"stateMutability": "view",
|
550
608
|
"type": "function"
|
551
609
|
},
|
552
610
|
{
|
553
|
-
"inputs": [
|
611
|
+
"inputs": [],
|
612
|
+
"name": "isRegistered",
|
613
|
+
"outputs": [
|
554
614
|
{
|
555
|
-
"internalType": "
|
556
|
-
"name": "
|
557
|
-
"type": "
|
615
|
+
"internalType": "bool",
|
616
|
+
"name": "",
|
617
|
+
"type": "bool"
|
558
618
|
}
|
559
619
|
],
|
560
|
-
"
|
620
|
+
"stateMutability": "view",
|
621
|
+
"type": "function"
|
622
|
+
},
|
623
|
+
{
|
624
|
+
"inputs": [],
|
625
|
+
"name": "isVerifying",
|
561
626
|
"outputs": [
|
562
627
|
{
|
563
628
|
"internalType": "bool",
|
564
|
-
"name": "",
|
629
|
+
"name": "verifying",
|
565
630
|
"type": "bool"
|
566
631
|
}
|
567
632
|
],
|
@@ -571,6 +636,19 @@
|
|
571
636
|
{
|
572
637
|
"inputs": [],
|
573
638
|
"name": "linkToRegisteredNftId",
|
639
|
+
"outputs": [
|
640
|
+
{
|
641
|
+
"internalType": "NftId",
|
642
|
+
"name": "",
|
643
|
+
"type": "uint96"
|
644
|
+
}
|
645
|
+
],
|
646
|
+
"stateMutability": "nonpayable",
|
647
|
+
"type": "function"
|
648
|
+
},
|
649
|
+
{
|
650
|
+
"inputs": [],
|
651
|
+
"name": "lock",
|
574
652
|
"outputs": [],
|
575
653
|
"stateMutability": "nonpayable",
|
576
654
|
"type": "function"
|
@@ -578,12 +656,27 @@
|
|
578
656
|
{
|
579
657
|
"inputs": [
|
580
658
|
{
|
581
|
-
"internalType": "
|
582
|
-
"name": "
|
583
|
-
"type": "
|
659
|
+
"internalType": "address",
|
660
|
+
"name": "from",
|
661
|
+
"type": "address"
|
662
|
+
},
|
663
|
+
{
|
664
|
+
"internalType": "address",
|
665
|
+
"name": "to",
|
666
|
+
"type": "address"
|
667
|
+
},
|
668
|
+
{
|
669
|
+
"internalType": "uint256",
|
670
|
+
"name": "tokenId",
|
671
|
+
"type": "uint256"
|
672
|
+
},
|
673
|
+
{
|
674
|
+
"internalType": "address",
|
675
|
+
"name": "operator",
|
676
|
+
"type": "address"
|
584
677
|
}
|
585
678
|
],
|
586
|
-
"name": "
|
679
|
+
"name": "nftTransferFrom",
|
587
680
|
"outputs": [],
|
588
681
|
"stateMutability": "nonpayable",
|
589
682
|
"type": "function"
|
@@ -591,41 +684,27 @@
|
|
591
684
|
{
|
592
685
|
"inputs": [
|
593
686
|
{
|
594
|
-
"
|
595
|
-
|
596
|
-
|
597
|
-
"name": "fractionalFee",
|
598
|
-
"type": "uint256"
|
599
|
-
},
|
600
|
-
{
|
601
|
-
"internalType": "uint256",
|
602
|
-
"name": "fixedFee",
|
603
|
-
"type": "uint256"
|
604
|
-
}
|
605
|
-
],
|
606
|
-
"internalType": "struct Fee",
|
607
|
-
"name": "productFee",
|
608
|
-
"type": "tuple"
|
687
|
+
"internalType": "RequestId",
|
688
|
+
"name": "requestId",
|
689
|
+
"type": "uint64"
|
609
690
|
},
|
610
691
|
{
|
611
|
-
"
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
"
|
624
|
-
"name": "processingFee",
|
625
|
-
"type": "tuple"
|
692
|
+
"internalType": "NftId",
|
693
|
+
"name": "requesterNftId",
|
694
|
+
"type": "uint96"
|
695
|
+
},
|
696
|
+
{
|
697
|
+
"internalType": "bytes",
|
698
|
+
"name": "requestData",
|
699
|
+
"type": "bytes"
|
700
|
+
},
|
701
|
+
{
|
702
|
+
"internalType": "Timestamp",
|
703
|
+
"name": "expiryAt",
|
704
|
+
"type": "uint40"
|
626
705
|
}
|
627
706
|
],
|
628
|
-
"name": "
|
707
|
+
"name": "request",
|
629
708
|
"outputs": [],
|
630
709
|
"stateMutability": "nonpayable",
|
631
710
|
"type": "function"
|
@@ -633,29 +712,25 @@
|
|
633
712
|
{
|
634
713
|
"inputs": [
|
635
714
|
{
|
636
|
-
"internalType": "
|
637
|
-
"name": "
|
638
|
-
"type": "
|
639
|
-
}
|
715
|
+
"internalType": "address",
|
716
|
+
"name": "",
|
717
|
+
"type": "address"
|
718
|
+
}
|
719
|
+
],
|
720
|
+
"name": "setAuthority",
|
721
|
+
"outputs": [],
|
722
|
+
"stateMutability": "nonpayable",
|
723
|
+
"type": "function"
|
724
|
+
},
|
725
|
+
{
|
726
|
+
"inputs": [
|
640
727
|
{
|
641
|
-
"
|
642
|
-
|
643
|
-
|
644
|
-
"name": "productNftId",
|
645
|
-
"type": "uint96"
|
646
|
-
},
|
647
|
-
{
|
648
|
-
"internalType": "bytes",
|
649
|
-
"name": "data",
|
650
|
-
"type": "bytes"
|
651
|
-
}
|
652
|
-
],
|
653
|
-
"internalType": "struct IRisk.RiskInfo",
|
654
|
-
"name": "data",
|
655
|
-
"type": "tuple"
|
728
|
+
"internalType": "address",
|
729
|
+
"name": "walletAddress",
|
730
|
+
"type": "address"
|
656
731
|
}
|
657
732
|
],
|
658
|
-
"name": "
|
733
|
+
"name": "setWallet",
|
659
734
|
"outputs": [],
|
660
735
|
"stateMutability": "nonpayable",
|
661
736
|
"type": "function"
|
@@ -680,24 +755,8 @@
|
|
680
755
|
"type": "function"
|
681
756
|
},
|
682
757
|
{
|
683
|
-
"inputs": [
|
684
|
-
|
685
|
-
"internalType": "NftId",
|
686
|
-
"name": "policyNftId",
|
687
|
-
"type": "uint96"
|
688
|
-
},
|
689
|
-
{
|
690
|
-
"internalType": "bool",
|
691
|
-
"name": "requirePremiumPayment",
|
692
|
-
"type": "bool"
|
693
|
-
},
|
694
|
-
{
|
695
|
-
"internalType": "Timestamp",
|
696
|
-
"name": "activateAt",
|
697
|
-
"type": "uint40"
|
698
|
-
}
|
699
|
-
],
|
700
|
-
"name": "underwrite",
|
758
|
+
"inputs": [],
|
759
|
+
"name": "unlock",
|
701
760
|
"outputs": [],
|
702
761
|
"stateMutability": "nonpayable",
|
703
762
|
"type": "function"
|
@@ -705,41 +764,19 @@
|
|
705
764
|
{
|
706
765
|
"inputs": [
|
707
766
|
{
|
708
|
-
"internalType": "
|
709
|
-
"name": "
|
710
|
-
"type": "
|
711
|
-
},
|
712
|
-
{
|
713
|
-
"internalType": "StateId",
|
714
|
-
"name": "state",
|
715
|
-
"type": "uint8"
|
767
|
+
"internalType": "Amount",
|
768
|
+
"name": "amount",
|
769
|
+
"type": "uint96"
|
716
770
|
}
|
717
771
|
],
|
718
|
-
"name": "
|
719
|
-
"outputs": [
|
720
|
-
"stateMutability": "nonpayable",
|
721
|
-
"type": "function"
|
722
|
-
},
|
723
|
-
{
|
724
|
-
"inputs": [
|
725
|
-
{
|
726
|
-
"internalType": "address",
|
727
|
-
"name": "implementation",
|
728
|
-
"type": "address"
|
729
|
-
},
|
730
|
-
{
|
731
|
-
"internalType": "address",
|
732
|
-
"name": "activatedBy",
|
733
|
-
"type": "address"
|
734
|
-
},
|
772
|
+
"name": "withdrawFees",
|
773
|
+
"outputs": [
|
735
774
|
{
|
736
|
-
"internalType": "
|
737
|
-
"name": "
|
738
|
-
"type": "
|
775
|
+
"internalType": "Amount",
|
776
|
+
"name": "withdrawnAmount",
|
777
|
+
"type": "uint96"
|
739
778
|
}
|
740
779
|
],
|
741
|
-
"name": "upgrade",
|
742
|
-
"outputs": [],
|
743
780
|
"stateMutability": "nonpayable",
|
744
781
|
"type": "function"
|
745
782
|
}
|