@etherisc/gif-next 0.0.2-bb7b80e-316 → 0.0.2-bc0a9a8-101
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +10 -14
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1416 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1349 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +818 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +975 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +814 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +73 -83
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +279 -1408
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +296 -216
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +463 -2500
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +708 -0
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +204 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +485 -342
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +457 -367
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +368 -94
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3458 -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/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +6 -1
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +25 -150
- 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/{ISetup.sol/ISetup.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/pool/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1105 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +746 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +260 -290
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1154 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1065 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.json +1565 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1432 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +738 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +834 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +722 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1278 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +810 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +203 -240
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +759 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +244 -308
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +263 -226
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/Product.sol/Product.json → product/IProductComponent.sol/IProductComponent.json} +438 -229
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → product/IProductService.sol/IProductService.json} +124 -145
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1146 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +754 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +983 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +778 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/product/Product.sol/Product.json +1397 -0
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +679 -0
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +694 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +279 -17
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +355 -221
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +512 -36
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +407 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +507 -287
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +340 -82
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +847 -85
- package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +137 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +360 -96
- package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
- package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1715 -0
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1806 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1824 -0
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/{components/Pool.sol/Pool.json → shared/Component.sol/Component.json} +410 -367
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1475 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +788 -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} +193 -199
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
- package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
- package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
- package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
- package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IComponent.sol/IComponent.json} +271 -133
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +860 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json} +240 -221
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/IInstanceBase.sol/IInstanceBase.json → shared/IKeyValueStore.sol/IKeyValueStore.json} +51 -31
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +34 -30
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +207 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +15 -35
- 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 +75 -163
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1036 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +571 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
- package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
- package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +115 -29
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +330 -62
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +132 -53
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +179 -153
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +993 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +444 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +2045 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +777 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1324 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +726 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2189 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -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 +179 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
- 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/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
- 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/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
- package/contracts/distribution/Distribution.sol +261 -0
- package/contracts/distribution/DistributionService.sol +298 -0
- package/contracts/distribution/DistributionServiceManager.sol +42 -0
- package/contracts/distribution/IDistributionComponent.sol +66 -0
- package/contracts/distribution/IDistributionService.sol +81 -0
- package/contracts/instance/BundleManager.sol +22 -25
- package/contracts/instance/IInstance.sol +58 -39
- package/contracts/instance/IInstanceService.sol +58 -17
- package/contracts/instance/Instance.sol +155 -182
- package/contracts/instance/InstanceAdmin.sol +331 -0
- package/contracts/instance/InstanceAuthorizationsLib.sol +349 -0
- package/contracts/instance/InstanceReader.sol +136 -86
- package/contracts/instance/InstanceService.sol +259 -242
- package/contracts/instance/InstanceServiceManager.sol +12 -22
- package/contracts/instance/InstanceStore.sol +260 -0
- package/contracts/instance/base/BalanceStore.sol +118 -0
- package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +8 -3
- package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +16 -35
- package/contracts/instance/module/IAccess.sol +19 -21
- package/contracts/instance/module/IBundle.sol +8 -8
- package/contracts/instance/module/IComponents.sol +52 -0
- package/contracts/instance/module/IDistribution.sol +7 -4
- package/contracts/instance/module/IPolicy.sol +56 -17
- package/contracts/instance/module/IRisk.sol +1 -1
- package/contracts/{test/Usdc.sol → mock/Dip.sol} +5 -5
- package/contracts/pool/BundleService.sol +296 -0
- package/contracts/pool/BundleServiceManager.sol +42 -0
- package/contracts/pool/IBundleService.sol +106 -0
- package/contracts/pool/IPoolComponent.sol +112 -0
- package/contracts/pool/IPoolService.sol +150 -0
- package/contracts/pool/Pool.sol +299 -0
- package/contracts/pool/PoolService.sol +453 -0
- package/contracts/pool/PoolServiceManager.sol +42 -0
- package/contracts/product/ApplicationService.sol +254 -0
- package/contracts/product/ApplicationServiceManager.sol +38 -0
- package/contracts/product/ClaimService.sol +442 -0
- package/contracts/product/ClaimServiceManager.sol +38 -0
- package/contracts/product/IApplicationService.sol +62 -0
- package/contracts/product/IClaimService.sol +93 -0
- package/contracts/product/IPolicyService.sol +78 -0
- package/contracts/product/IPricingService.sol +39 -0
- package/contracts/product/IProductComponent.sol +42 -0
- package/contracts/product/IProductService.sol +33 -0
- package/contracts/product/PolicyService.sol +475 -0
- package/contracts/product/PolicyServiceManager.sol +42 -0
- package/contracts/product/PricingService.sol +301 -0
- package/contracts/product/PricingServiceManager.sol +42 -0
- package/contracts/product/Product.sol +377 -0
- package/contracts/product/ProductService.sol +124 -0
- package/contracts/product/ProductServiceManager.sol +42 -0
- package/contracts/registry/ChainNft.sol +16 -1
- package/contracts/registry/IRegistry.sol +56 -23
- package/contracts/registry/IRegistryService.sol +45 -34
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +299 -119
- package/contracts/registry/RegistryAdmin.sol +237 -0
- package/contracts/registry/RegistryService.sol +118 -172
- package/contracts/registry/RegistryServiceManager.sol +22 -26
- package/contracts/registry/ReleaseManager.sol +463 -206
- package/contracts/registry/ServiceAuthorizationsLib.sol +173 -0
- package/contracts/registry/TokenRegistry.sol +263 -58
- package/contracts/shared/AccessManagerCustom.sol +736 -0
- package/contracts/shared/AccessManagerExtended.sol +470 -0
- package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
- package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
- package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
- package/contracts/shared/Component.sol +278 -0
- package/contracts/shared/ComponentService.sol +596 -0
- package/contracts/shared/ComponentServiceManager.sol +35 -0
- package/contracts/shared/ComponentVerifyingService.sol +111 -0
- package/contracts/shared/ERC165.sol +15 -13
- package/contracts/shared/IAccessManagerExtended.sol +74 -0
- package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
- package/contracts/shared/IComponent.sol +70 -0
- package/contracts/shared/IComponentService.sol +91 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
- package/contracts/{instance/base → shared}/IKeyValueStore.sol +15 -11
- package/contracts/{instance/base → shared}/ILifecycle.sol +3 -3
- package/contracts/shared/INftOwnable.sol +13 -12
- package/contracts/shared/IPolicyHolder.sol +45 -0
- package/contracts/shared/IRegisterable.sol +4 -6
- package/contracts/shared/IRegistryLinked.sol +11 -0
- package/contracts/shared/IService.sol +7 -5
- package/contracts/shared/IVersionable.sol +5 -48
- package/contracts/shared/InitializableCustom.sol +177 -0
- package/contracts/shared/InstanceLinkedComponent.sol +144 -0
- package/contracts/shared/KeyValueStore.sol +127 -0
- package/contracts/{instance/base → shared}/Lifecycle.sol +28 -7
- package/contracts/shared/NftIdSetManager.sol +65 -0
- package/contracts/shared/NftOwnable.sol +59 -86
- package/contracts/shared/PolicyHolder.sol +102 -0
- package/contracts/shared/ProxyManager.sol +131 -26
- package/contracts/shared/Registerable.sol +26 -41
- package/contracts/shared/RegistryLinked.sol +43 -0
- package/contracts/shared/Service.sol +42 -23
- package/contracts/shared/TokenHandler.sol +37 -6
- package/contracts/shared/Versionable.sol +4 -92
- package/contracts/staking/IStaking.sol +168 -0
- package/contracts/staking/IStakingService.sol +149 -0
- package/contracts/staking/StakeManagerLib.sol +179 -0
- package/contracts/staking/Staking.sol +551 -0
- package/contracts/staking/StakingManager.sol +54 -0
- package/contracts/staking/StakingReader.sol +187 -0
- package/contracts/staking/StakingService.sol +406 -0
- package/contracts/staking/StakingServiceManager.sol +45 -0
- package/contracts/staking/StakingStore.sol +572 -0
- package/contracts/staking/TargetManagerLib.sol +207 -0
- package/contracts/{types → type}/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +128 -0
- package/contracts/{types → type}/Blocknumber.sol +21 -3
- package/contracts/type/ClaimId.sol +75 -0
- package/contracts/{types → type}/DistributorType.sol +2 -2
- package/contracts/{types → type}/Fee.sol +33 -23
- package/contracts/{types → type}/NftId.sol +21 -15
- package/contracts/{types → type}/NftIdSet.sol +2 -2
- package/contracts/{types → type}/ObjectType.sol +26 -9
- package/contracts/type/PayoutId.sol +82 -0
- package/contracts/{types → type}/Referral.sol +5 -1
- package/contracts/{types → type}/RiskId.sol +1 -1
- package/contracts/type/RoleId.sol +143 -0
- package/contracts/type/Seconds.sol +81 -0
- package/contracts/{types → type}/StateId.sol +24 -6
- package/contracts/{types → type}/Timestamp.sol +18 -13
- package/contracts/{types → type}/UFixed.sol +1 -0
- package/contracts/{types → type}/Version.sol +2 -1
- package/package.json +5 -5
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
- 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/Product.sol/Product.dbg.json +0 -4
- 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/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1047
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
- 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 -100
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +0 -429
- 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/module/ITreasury.sol/ITreasury.json +0 -10
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1031
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -436
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -693
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -420
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.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/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1156
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -492
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -727
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -420
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -420
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
- 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/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
- 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/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/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/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/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/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/RoleId.sol/RoleIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
- package/contracts/components/BaseComponent.sol +0 -168
- package/contracts/components/Distribution.sol +0 -154
- package/contracts/components/IBaseComponent.sol +0 -35
- package/contracts/components/IDistributionComponent.sol +0 -44
- package/contracts/components/IPoolComponent.sol +0 -66
- package/contracts/components/IProductComponent.sol +0 -35
- package/contracts/components/Pool.sol +0 -258
- package/contracts/components/Product.sol +0 -295
- 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/AccessManagerUpgradeableInitializeable.sol +0 -23
- package/contracts/instance/IInstanceBase.sol +0 -25
- package/contracts/instance/InstanceAccessManager.sol +0 -303
- package/contracts/instance/InstanceBase.sol +0 -39
- package/contracts/instance/base/ComponentServiceBase.sol +0 -76
- package/contracts/instance/base/IInstanceBase.sol +0 -21
- package/contracts/instance/base/KeyValueStore.sol +0 -172
- package/contracts/instance/module/ISetup.sol +0 -46
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/instance/service/BundleService.sol +0 -294
- package/contracts/instance/service/BundleServiceManager.sol +0 -51
- package/contracts/instance/service/DistributionService.sol +0 -120
- package/contracts/instance/service/DistributionServiceManager.sol +0 -51
- package/contracts/instance/service/IBundleService.sol +0 -44
- package/contracts/instance/service/IDistributionService.sol +0 -12
- package/contracts/instance/service/IPolicyService.sol +0 -94
- package/contracts/instance/service/IPoolService.sol +0 -20
- package/contracts/instance/service/IProductService.sol +0 -40
- package/contracts/instance/service/PolicyService.sol +0 -539
- package/contracts/instance/service/PolicyServiceManager.sol +0 -54
- package/contracts/instance/service/PoolService.sol +0 -145
- package/contracts/instance/service/PoolServiceManager.sol +0 -51
- package/contracts/instance/service/ProductService.sol +0 -213
- package/contracts/instance/service/ProductServiceManager.sol +0 -54
- package/contracts/registry/RegistryAccessManager.sol +0 -210
- package/contracts/shared/ContractDeployerLib.sol +0 -72
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
- 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 -25
- 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/NumberId.sol +0 -52
- package/contracts/types/RoleId.sol +0 -90
- /package/contracts/{types → type}/Key32.sol +0 -0
package/artifacts/contracts/{components/Pool.sol/Pool.json → shared/Component.sol/Component.json}
RENAMED
@@ -1,82 +1,97 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "
|
4
|
-
"sourceName": "contracts/
|
3
|
+
"contractName": "Component",
|
4
|
+
"sourceName": "contracts/shared/Component.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
12
|
}
|
13
13
|
],
|
14
|
-
"name": "
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
15
|
"type": "error"
|
16
16
|
},
|
17
17
|
{
|
18
18
|
"inputs": [
|
19
19
|
{
|
20
20
|
"internalType": "address",
|
21
|
-
"name": "
|
21
|
+
"name": "caller",
|
22
22
|
"type": "address"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
23
28
|
}
|
24
29
|
],
|
25
|
-
"name": "
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
26
31
|
"type": "error"
|
27
32
|
},
|
28
33
|
{
|
29
34
|
"inputs": [
|
30
35
|
{
|
31
36
|
"internalType": "address",
|
32
|
-
"name": "
|
37
|
+
"name": "caller",
|
33
38
|
"type": "address"
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"internalType": "NftId",
|
37
|
-
"name": "nftId",
|
38
|
-
"type": "uint96"
|
39
39
|
}
|
40
40
|
],
|
41
|
-
"name": "
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
42
|
"type": "error"
|
43
43
|
},
|
44
44
|
{
|
45
45
|
"inputs": [
|
46
46
|
{
|
47
47
|
"internalType": "address",
|
48
|
-
"name": "
|
48
|
+
"name": "target",
|
49
49
|
"type": "address"
|
50
50
|
}
|
51
51
|
],
|
52
|
-
"name": "
|
52
|
+
"name": "AddressEmptyCode",
|
53
53
|
"type": "error"
|
54
54
|
},
|
55
55
|
{
|
56
56
|
"inputs": [
|
57
57
|
{
|
58
58
|
"internalType": "address",
|
59
|
-
"name": "
|
59
|
+
"name": "account",
|
60
60
|
"type": "address"
|
61
|
-
},
|
62
|
-
{
|
63
|
-
"internalType": "uint64",
|
64
|
-
"name": "requiredRoleIdNum",
|
65
|
-
"type": "uint64"
|
66
61
|
}
|
67
62
|
],
|
68
|
-
"name": "
|
63
|
+
"name": "AddressInsufficientBalance",
|
64
|
+
"type": "error"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"inputs": [],
|
68
|
+
"name": "ErrorComponentNameLengthZero",
|
69
69
|
"type": "error"
|
70
70
|
},
|
71
71
|
{
|
72
72
|
"inputs": [
|
73
73
|
{
|
74
74
|
"internalType": "address",
|
75
|
-
"name": "
|
75
|
+
"name": "caller",
|
76
76
|
"type": "address"
|
77
77
|
}
|
78
78
|
],
|
79
|
-
"name": "
|
79
|
+
"name": "ErrorComponentNotChainNft",
|
80
|
+
"type": "error"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"inputs": [],
|
84
|
+
"name": "ErrorComponentTokenAddressZero",
|
85
|
+
"type": "error"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"inputs": [],
|
89
|
+
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
90
|
+
"type": "error"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"inputs": [],
|
94
|
+
"name": "ErrorComponentWalletAddressZero",
|
80
95
|
"type": "error"
|
81
96
|
},
|
82
97
|
{
|
@@ -102,72 +117,61 @@
|
|
102
117
|
"type": "uint256"
|
103
118
|
}
|
104
119
|
],
|
105
|
-
"name": "
|
120
|
+
"name": "ErrorComponentWalletAllowanceTooSmall",
|
106
121
|
"type": "error"
|
107
122
|
},
|
108
123
|
{
|
109
|
-
"inputs": [
|
110
|
-
|
111
|
-
"internalType": "address",
|
112
|
-
"name": "contractAddress",
|
113
|
-
"type": "address"
|
114
|
-
}
|
115
|
-
],
|
116
|
-
"name": "ErrorContractNotRegistered",
|
124
|
+
"inputs": [],
|
125
|
+
"name": "ErrorComponentWalletNotComponent",
|
117
126
|
"type": "error"
|
118
127
|
},
|
119
128
|
{
|
120
129
|
"inputs": [
|
121
130
|
{
|
122
|
-
"internalType": "
|
123
|
-
"name": "
|
124
|
-
"type": "
|
131
|
+
"internalType": "NftId",
|
132
|
+
"name": "nftId",
|
133
|
+
"type": "uint96"
|
125
134
|
}
|
126
135
|
],
|
127
|
-
"name": "
|
136
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
128
137
|
"type": "error"
|
129
138
|
},
|
130
139
|
{
|
131
140
|
"inputs": [
|
132
141
|
{
|
133
142
|
"internalType": "address",
|
134
|
-
"name": "
|
143
|
+
"name": "contractAddress",
|
135
144
|
"type": "address"
|
136
145
|
}
|
137
146
|
],
|
138
|
-
"name": "
|
147
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
148
|
+
"type": "error"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"inputs": [],
|
152
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
139
153
|
"type": "error"
|
140
154
|
},
|
141
155
|
{
|
142
156
|
"inputs": [
|
143
157
|
{
|
144
158
|
"internalType": "address",
|
145
|
-
"name": "
|
159
|
+
"name": "account",
|
146
160
|
"type": "address"
|
147
161
|
}
|
148
162
|
],
|
149
|
-
"name": "
|
150
|
-
"type": "error"
|
151
|
-
},
|
152
|
-
{
|
153
|
-
"inputs": [],
|
154
|
-
"name": "ErrorRegistryAddressZero",
|
163
|
+
"name": "ErrorNftOwnableNotOwner",
|
155
164
|
"type": "error"
|
156
165
|
},
|
157
166
|
{
|
158
167
|
"inputs": [
|
159
168
|
{
|
160
169
|
"internalType": "address",
|
161
|
-
"name": "
|
170
|
+
"name": "registryAddress",
|
162
171
|
"type": "address"
|
163
172
|
}
|
164
173
|
],
|
165
|
-
"name": "
|
166
|
-
"type": "error"
|
167
|
-
},
|
168
|
-
{
|
169
|
-
"inputs": [],
|
170
|
-
"name": "ErrorRegistryNotInitialized",
|
174
|
+
"name": "ErrorNotRegistry",
|
171
175
|
"type": "error"
|
172
176
|
},
|
173
177
|
{
|
@@ -196,6 +200,19 @@
|
|
196
200
|
"name": "SafeERC20FailedOperation",
|
197
201
|
"type": "error"
|
198
202
|
},
|
203
|
+
{
|
204
|
+
"anonymous": false,
|
205
|
+
"inputs": [
|
206
|
+
{
|
207
|
+
"indexed": false,
|
208
|
+
"internalType": "address",
|
209
|
+
"name": "authority",
|
210
|
+
"type": "address"
|
211
|
+
}
|
212
|
+
],
|
213
|
+
"name": "AuthorityUpdated",
|
214
|
+
"type": "event"
|
215
|
+
},
|
199
216
|
{
|
200
217
|
"anonymous": false,
|
201
218
|
"inputs": [
|
@@ -215,11 +232,17 @@
|
|
215
232
|
{
|
216
233
|
"indexed": false,
|
217
234
|
"internalType": "address",
|
218
|
-
"name": "
|
235
|
+
"name": "token",
|
219
236
|
"type": "address"
|
237
|
+
},
|
238
|
+
{
|
239
|
+
"indexed": false,
|
240
|
+
"internalType": "Amount",
|
241
|
+
"name": "limit",
|
242
|
+
"type": "uint96"
|
220
243
|
}
|
221
244
|
],
|
222
|
-
"name": "
|
245
|
+
"name": "LogComponentTokenHandlerApproved",
|
223
246
|
"type": "event"
|
224
247
|
},
|
225
248
|
{
|
@@ -228,23 +251,17 @@
|
|
228
251
|
{
|
229
252
|
"indexed": false,
|
230
253
|
"internalType": "address",
|
231
|
-
"name": "
|
254
|
+
"name": "oldWallet",
|
232
255
|
"type": "address"
|
233
256
|
},
|
234
257
|
{
|
235
258
|
"indexed": false,
|
236
259
|
"internalType": "address",
|
237
|
-
"name": "
|
260
|
+
"name": "newWallet",
|
238
261
|
"type": "address"
|
239
|
-
},
|
240
|
-
{
|
241
|
-
"indexed": false,
|
242
|
-
"internalType": "uint256",
|
243
|
-
"name": "amount",
|
244
|
-
"type": "uint256"
|
245
262
|
}
|
246
263
|
],
|
247
|
-
"name": "
|
264
|
+
"name": "LogComponentWalletAddressChanged",
|
248
265
|
"type": "event"
|
249
266
|
},
|
250
267
|
{
|
@@ -252,26 +269,52 @@
|
|
252
269
|
"inputs": [
|
253
270
|
{
|
254
271
|
"indexed": false,
|
255
|
-
"internalType": "
|
256
|
-
"name": "
|
257
|
-
"type": "
|
272
|
+
"internalType": "address",
|
273
|
+
"name": "from",
|
274
|
+
"type": "address"
|
258
275
|
},
|
259
276
|
{
|
260
277
|
"indexed": false,
|
261
|
-
"internalType": "
|
262
|
-
"name": "
|
263
|
-
"type": "
|
278
|
+
"internalType": "address",
|
279
|
+
"name": "to",
|
280
|
+
"type": "address"
|
264
281
|
},
|
265
282
|
{
|
266
283
|
"indexed": false,
|
267
|
-
"internalType": "
|
268
|
-
"name": "
|
269
|
-
"type": "
|
284
|
+
"internalType": "uint256",
|
285
|
+
"name": "amount",
|
286
|
+
"type": "uint256"
|
270
287
|
}
|
271
288
|
],
|
272
|
-
"name": "
|
289
|
+
"name": "LogComponentWalletTokensTransferred",
|
273
290
|
"type": "event"
|
274
291
|
},
|
292
|
+
{
|
293
|
+
"inputs": [],
|
294
|
+
"name": "COMPONENT_LOCATION_V1",
|
295
|
+
"outputs": [
|
296
|
+
{
|
297
|
+
"internalType": "bytes32",
|
298
|
+
"name": "",
|
299
|
+
"type": "bytes32"
|
300
|
+
}
|
301
|
+
],
|
302
|
+
"stateMutability": "view",
|
303
|
+
"type": "function"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"inputs": [],
|
307
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
308
|
+
"outputs": [
|
309
|
+
{
|
310
|
+
"internalType": "bytes32",
|
311
|
+
"name": "",
|
312
|
+
"type": "bytes32"
|
313
|
+
}
|
314
|
+
],
|
315
|
+
"stateMutability": "view",
|
316
|
+
"type": "function"
|
317
|
+
},
|
275
318
|
{
|
276
319
|
"inputs": [],
|
277
320
|
"name": "REGISTERABLE_LOCATION_V1",
|
@@ -288,57 +331,132 @@
|
|
288
331
|
{
|
289
332
|
"inputs": [
|
290
333
|
{
|
291
|
-
"
|
292
|
-
|
293
|
-
|
294
|
-
"name": "fractionalFee",
|
295
|
-
"type": "uint256"
|
296
|
-
},
|
297
|
-
{
|
298
|
-
"internalType": "uint256",
|
299
|
-
"name": "fixedFee",
|
300
|
-
"type": "uint256"
|
301
|
-
}
|
302
|
-
],
|
303
|
-
"internalType": "struct Fee",
|
304
|
-
"name": "fee",
|
305
|
-
"type": "tuple"
|
334
|
+
"internalType": "address",
|
335
|
+
"name": "token",
|
336
|
+
"type": "address"
|
306
337
|
},
|
307
338
|
{
|
308
|
-
"internalType": "
|
309
|
-
"name": "
|
310
|
-
"type": "
|
311
|
-
}
|
339
|
+
"internalType": "Amount",
|
340
|
+
"name": "spendingLimitAmount",
|
341
|
+
"type": "uint96"
|
342
|
+
}
|
343
|
+
],
|
344
|
+
"name": "approveTokenHandler",
|
345
|
+
"outputs": [],
|
346
|
+
"stateMutability": "nonpayable",
|
347
|
+
"type": "function"
|
348
|
+
},
|
349
|
+
{
|
350
|
+
"inputs": [
|
312
351
|
{
|
313
|
-
"internalType": "
|
314
|
-
"name": "
|
315
|
-
"type": "
|
316
|
-
}
|
352
|
+
"internalType": "Amount",
|
353
|
+
"name": "spendingLimitAmount",
|
354
|
+
"type": "uint96"
|
355
|
+
}
|
356
|
+
],
|
357
|
+
"name": "approveTokenHandler",
|
358
|
+
"outputs": [],
|
359
|
+
"stateMutability": "nonpayable",
|
360
|
+
"type": "function"
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"inputs": [],
|
364
|
+
"name": "authority",
|
365
|
+
"outputs": [
|
317
366
|
{
|
318
|
-
"internalType": "
|
319
|
-
"name": "
|
320
|
-
"type": "
|
367
|
+
"internalType": "address",
|
368
|
+
"name": "",
|
369
|
+
"type": "address"
|
321
370
|
}
|
322
371
|
],
|
323
|
-
"
|
372
|
+
"stateMutability": "view",
|
373
|
+
"type": "function"
|
374
|
+
},
|
375
|
+
{
|
376
|
+
"inputs": [],
|
377
|
+
"name": "getComponentInfo",
|
324
378
|
"outputs": [
|
325
379
|
{
|
326
|
-
"
|
327
|
-
|
328
|
-
|
380
|
+
"components": [
|
381
|
+
{
|
382
|
+
"internalType": "string",
|
383
|
+
"name": "name",
|
384
|
+
"type": "string"
|
385
|
+
},
|
386
|
+
{
|
387
|
+
"internalType": "NftId",
|
388
|
+
"name": "productNftId",
|
389
|
+
"type": "uint96"
|
390
|
+
},
|
391
|
+
{
|
392
|
+
"internalType": "contract IERC20Metadata",
|
393
|
+
"name": "token",
|
394
|
+
"type": "address"
|
395
|
+
},
|
396
|
+
{
|
397
|
+
"internalType": "contract TokenHandler",
|
398
|
+
"name": "tokenHandler",
|
399
|
+
"type": "address"
|
400
|
+
},
|
401
|
+
{
|
402
|
+
"internalType": "address",
|
403
|
+
"name": "wallet",
|
404
|
+
"type": "address"
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"internalType": "bytes",
|
408
|
+
"name": "data",
|
409
|
+
"type": "bytes"
|
410
|
+
}
|
411
|
+
],
|
412
|
+
"internalType": "struct IComponents.ComponentInfo",
|
413
|
+
"name": "info",
|
414
|
+
"type": "tuple"
|
329
415
|
}
|
330
416
|
],
|
331
|
-
"stateMutability": "
|
417
|
+
"stateMutability": "view",
|
332
418
|
"type": "function"
|
333
419
|
},
|
334
420
|
{
|
335
421
|
"inputs": [],
|
336
|
-
"name": "
|
422
|
+
"name": "getInitialComponentInfo",
|
337
423
|
"outputs": [
|
338
424
|
{
|
339
|
-
"
|
340
|
-
|
341
|
-
|
425
|
+
"components": [
|
426
|
+
{
|
427
|
+
"internalType": "string",
|
428
|
+
"name": "name",
|
429
|
+
"type": "string"
|
430
|
+
},
|
431
|
+
{
|
432
|
+
"internalType": "NftId",
|
433
|
+
"name": "productNftId",
|
434
|
+
"type": "uint96"
|
435
|
+
},
|
436
|
+
{
|
437
|
+
"internalType": "contract IERC20Metadata",
|
438
|
+
"name": "token",
|
439
|
+
"type": "address"
|
440
|
+
},
|
441
|
+
{
|
442
|
+
"internalType": "contract TokenHandler",
|
443
|
+
"name": "tokenHandler",
|
444
|
+
"type": "address"
|
445
|
+
},
|
446
|
+
{
|
447
|
+
"internalType": "address",
|
448
|
+
"name": "wallet",
|
449
|
+
"type": "address"
|
450
|
+
},
|
451
|
+
{
|
452
|
+
"internalType": "bytes",
|
453
|
+
"name": "data",
|
454
|
+
"type": "bytes"
|
455
|
+
}
|
456
|
+
],
|
457
|
+
"internalType": "struct IComponents.ComponentInfo",
|
458
|
+
"name": "info",
|
459
|
+
"type": "tuple"
|
342
460
|
}
|
343
461
|
],
|
344
462
|
"stateMutability": "view",
|
@@ -387,13 +505,8 @@
|
|
387
505
|
}
|
388
506
|
],
|
389
507
|
"internalType": "struct IRegistry.ObjectInfo",
|
390
|
-
"name": "",
|
508
|
+
"name": "info",
|
391
509
|
"type": "tuple"
|
392
|
-
},
|
393
|
-
{
|
394
|
-
"internalType": "bytes",
|
395
|
-
"name": "",
|
396
|
-
"type": "bytes"
|
397
510
|
}
|
398
511
|
],
|
399
512
|
"stateMutability": "view",
|
@@ -401,20 +514,7 @@
|
|
401
514
|
},
|
402
515
|
{
|
403
516
|
"inputs": [],
|
404
|
-
"name": "
|
405
|
-
"outputs": [
|
406
|
-
{
|
407
|
-
"internalType": "contract IInstance",
|
408
|
-
"name": "instance",
|
409
|
-
"type": "address"
|
410
|
-
}
|
411
|
-
],
|
412
|
-
"stateMutability": "view",
|
413
|
-
"type": "function"
|
414
|
-
},
|
415
|
-
{
|
416
|
-
"inputs": [],
|
417
|
-
"name": "getName",
|
517
|
+
"name": "getName",
|
418
518
|
"outputs": [
|
419
519
|
{
|
420
520
|
"internalType": "string",
|
@@ -422,7 +522,7 @@
|
|
422
522
|
"type": "string"
|
423
523
|
}
|
424
524
|
],
|
425
|
-
"stateMutability": "
|
525
|
+
"stateMutability": "view",
|
426
526
|
"type": "function"
|
427
527
|
},
|
428
528
|
{
|
@@ -451,19 +551,6 @@
|
|
451
551
|
"stateMutability": "view",
|
452
552
|
"type": "function"
|
453
553
|
},
|
454
|
-
{
|
455
|
-
"inputs": [],
|
456
|
-
"name": "getProductNftId",
|
457
|
-
"outputs": [
|
458
|
-
{
|
459
|
-
"internalType": "NftId",
|
460
|
-
"name": "productNftId",
|
461
|
-
"type": "uint96"
|
462
|
-
}
|
463
|
-
],
|
464
|
-
"stateMutability": "view",
|
465
|
-
"type": "function"
|
466
|
-
},
|
467
554
|
{
|
468
555
|
"inputs": [],
|
469
556
|
"name": "getRegistry",
|
@@ -479,95 +566,12 @@
|
|
479
566
|
},
|
480
567
|
{
|
481
568
|
"inputs": [],
|
482
|
-
"name": "
|
569
|
+
"name": "getToken",
|
483
570
|
"outputs": [
|
484
571
|
{
|
485
|
-
"
|
486
|
-
|
487
|
-
|
488
|
-
"name": "productNftId",
|
489
|
-
"type": "uint96"
|
490
|
-
},
|
491
|
-
{
|
492
|
-
"internalType": "contract TokenHandler",
|
493
|
-
"name": "tokenHandler",
|
494
|
-
"type": "address"
|
495
|
-
},
|
496
|
-
{
|
497
|
-
"internalType": "UFixed",
|
498
|
-
"name": "collateralizationLevel",
|
499
|
-
"type": "uint256"
|
500
|
-
},
|
501
|
-
{
|
502
|
-
"components": [
|
503
|
-
{
|
504
|
-
"internalType": "UFixed",
|
505
|
-
"name": "fractionalFee",
|
506
|
-
"type": "uint256"
|
507
|
-
},
|
508
|
-
{
|
509
|
-
"internalType": "uint256",
|
510
|
-
"name": "fixedFee",
|
511
|
-
"type": "uint256"
|
512
|
-
}
|
513
|
-
],
|
514
|
-
"internalType": "struct Fee",
|
515
|
-
"name": "poolFee",
|
516
|
-
"type": "tuple"
|
517
|
-
},
|
518
|
-
{
|
519
|
-
"components": [
|
520
|
-
{
|
521
|
-
"internalType": "UFixed",
|
522
|
-
"name": "fractionalFee",
|
523
|
-
"type": "uint256"
|
524
|
-
},
|
525
|
-
{
|
526
|
-
"internalType": "uint256",
|
527
|
-
"name": "fixedFee",
|
528
|
-
"type": "uint256"
|
529
|
-
}
|
530
|
-
],
|
531
|
-
"internalType": "struct Fee",
|
532
|
-
"name": "stakingFee",
|
533
|
-
"type": "tuple"
|
534
|
-
},
|
535
|
-
{
|
536
|
-
"components": [
|
537
|
-
{
|
538
|
-
"internalType": "UFixed",
|
539
|
-
"name": "fractionalFee",
|
540
|
-
"type": "uint256"
|
541
|
-
},
|
542
|
-
{
|
543
|
-
"internalType": "uint256",
|
544
|
-
"name": "fixedFee",
|
545
|
-
"type": "uint256"
|
546
|
-
}
|
547
|
-
],
|
548
|
-
"internalType": "struct Fee",
|
549
|
-
"name": "performanceFee",
|
550
|
-
"type": "tuple"
|
551
|
-
},
|
552
|
-
{
|
553
|
-
"internalType": "bool",
|
554
|
-
"name": "isIntercepting",
|
555
|
-
"type": "bool"
|
556
|
-
},
|
557
|
-
{
|
558
|
-
"internalType": "bool",
|
559
|
-
"name": "isConfirmingApplication",
|
560
|
-
"type": "bool"
|
561
|
-
},
|
562
|
-
{
|
563
|
-
"internalType": "address",
|
564
|
-
"name": "wallet",
|
565
|
-
"type": "address"
|
566
|
-
}
|
567
|
-
],
|
568
|
-
"internalType": "struct ISetup.PoolSetupInfo",
|
569
|
-
"name": "setupInfo",
|
570
|
-
"type": "tuple"
|
572
|
+
"internalType": "contract IERC20Metadata",
|
573
|
+
"name": "token",
|
574
|
+
"type": "address"
|
571
575
|
}
|
572
576
|
],
|
573
577
|
"stateMutability": "view",
|
@@ -575,11 +579,11 @@
|
|
575
579
|
},
|
576
580
|
{
|
577
581
|
"inputs": [],
|
578
|
-
"name": "
|
582
|
+
"name": "getTokenHandler",
|
579
583
|
"outputs": [
|
580
584
|
{
|
581
|
-
"internalType": "contract
|
582
|
-
"name": "
|
585
|
+
"internalType": "contract TokenHandler",
|
586
|
+
"name": "tokenHandler",
|
583
587
|
"type": "address"
|
584
588
|
}
|
585
589
|
],
|
@@ -600,41 +604,122 @@
|
|
600
604
|
"type": "function"
|
601
605
|
},
|
602
606
|
{
|
603
|
-
"inputs": [
|
604
|
-
|
605
|
-
|
607
|
+
"inputs": [
|
608
|
+
{
|
609
|
+
"internalType": "address",
|
610
|
+
"name": "authority",
|
611
|
+
"type": "address"
|
612
|
+
},
|
613
|
+
{
|
614
|
+
"internalType": "address",
|
615
|
+
"name": "registry",
|
616
|
+
"type": "address"
|
617
|
+
},
|
618
|
+
{
|
619
|
+
"internalType": "NftId",
|
620
|
+
"name": "parentNftId",
|
621
|
+
"type": "uint96"
|
622
|
+
},
|
623
|
+
{
|
624
|
+
"internalType": "string",
|
625
|
+
"name": "name",
|
626
|
+
"type": "string"
|
627
|
+
},
|
628
|
+
{
|
629
|
+
"internalType": "address",
|
630
|
+
"name": "token",
|
631
|
+
"type": "address"
|
632
|
+
},
|
633
|
+
{
|
634
|
+
"internalType": "ObjectType",
|
635
|
+
"name": "componentType",
|
636
|
+
"type": "uint8"
|
637
|
+
},
|
606
638
|
{
|
607
639
|
"internalType": "bool",
|
608
|
-
"name": "
|
640
|
+
"name": "isInterceptor",
|
609
641
|
"type": "bool"
|
642
|
+
},
|
643
|
+
{
|
644
|
+
"internalType": "address",
|
645
|
+
"name": "initialOwner",
|
646
|
+
"type": "address"
|
647
|
+
},
|
648
|
+
{
|
649
|
+
"internalType": "bytes",
|
650
|
+
"name": "registryData",
|
651
|
+
"type": "bytes"
|
652
|
+
},
|
653
|
+
{
|
654
|
+
"internalType": "bytes",
|
655
|
+
"name": "componentData",
|
656
|
+
"type": "bytes"
|
610
657
|
}
|
611
658
|
],
|
612
|
-
"
|
659
|
+
"name": "initializeComponent",
|
660
|
+
"outputs": [],
|
661
|
+
"stateMutability": "nonpayable",
|
613
662
|
"type": "function"
|
614
663
|
},
|
615
664
|
{
|
616
665
|
"inputs": [],
|
617
|
-
"name": "
|
666
|
+
"name": "initializeERC165",
|
618
667
|
"outputs": [],
|
619
668
|
"stateMutability": "nonpayable",
|
620
669
|
"type": "function"
|
621
670
|
},
|
622
671
|
{
|
623
|
-
"inputs": [
|
624
|
-
|
672
|
+
"inputs": [
|
673
|
+
{
|
674
|
+
"internalType": "address",
|
675
|
+
"name": "initialOwner",
|
676
|
+
"type": "address"
|
677
|
+
},
|
678
|
+
{
|
679
|
+
"internalType": "address",
|
680
|
+
"name": "registryAddress",
|
681
|
+
"type": "address"
|
682
|
+
}
|
683
|
+
],
|
684
|
+
"name": "initializeNftOwnable",
|
625
685
|
"outputs": [],
|
626
686
|
"stateMutability": "nonpayable",
|
627
687
|
"type": "function"
|
628
688
|
},
|
629
689
|
{
|
630
690
|
"inputs": [
|
691
|
+
{
|
692
|
+
"internalType": "address",
|
693
|
+
"name": "registryAddress",
|
694
|
+
"type": "address"
|
695
|
+
},
|
631
696
|
{
|
632
697
|
"internalType": "NftId",
|
633
|
-
"name": "
|
698
|
+
"name": "parentNftId",
|
634
699
|
"type": "uint96"
|
700
|
+
},
|
701
|
+
{
|
702
|
+
"internalType": "ObjectType",
|
703
|
+
"name": "objectType",
|
704
|
+
"type": "uint8"
|
705
|
+
},
|
706
|
+
{
|
707
|
+
"internalType": "bool",
|
708
|
+
"name": "isInterceptor",
|
709
|
+
"type": "bool"
|
710
|
+
},
|
711
|
+
{
|
712
|
+
"internalType": "address",
|
713
|
+
"name": "initialOwner",
|
714
|
+
"type": "address"
|
715
|
+
},
|
716
|
+
{
|
717
|
+
"internalType": "bytes",
|
718
|
+
"name": "registryData",
|
719
|
+
"type": "bytes"
|
635
720
|
}
|
636
721
|
],
|
637
|
-
"name": "
|
722
|
+
"name": "initializeRegisterable",
|
638
723
|
"outputs": [],
|
639
724
|
"stateMutability": "nonpayable",
|
640
725
|
"type": "function"
|
@@ -642,21 +727,49 @@
|
|
642
727
|
{
|
643
728
|
"inputs": [
|
644
729
|
{
|
645
|
-
"internalType": "
|
646
|
-
"name": "",
|
647
|
-
"type": "
|
648
|
-
}
|
730
|
+
"internalType": "address",
|
731
|
+
"name": "registryAddress",
|
732
|
+
"type": "address"
|
733
|
+
}
|
734
|
+
],
|
735
|
+
"name": "initializeRegistryLinked",
|
736
|
+
"outputs": [],
|
737
|
+
"stateMutability": "nonpayable",
|
738
|
+
"type": "function"
|
739
|
+
},
|
740
|
+
{
|
741
|
+
"inputs": [],
|
742
|
+
"name": "isConsumingScheduledOp",
|
743
|
+
"outputs": [
|
649
744
|
{
|
650
|
-
"internalType": "
|
745
|
+
"internalType": "bytes4",
|
651
746
|
"name": "",
|
652
|
-
"type": "
|
747
|
+
"type": "bytes4"
|
748
|
+
}
|
749
|
+
],
|
750
|
+
"stateMutability": "view",
|
751
|
+
"type": "function"
|
752
|
+
},
|
753
|
+
{
|
754
|
+
"inputs": [],
|
755
|
+
"name": "isNftInterceptor",
|
756
|
+
"outputs": [
|
757
|
+
{
|
758
|
+
"internalType": "bool",
|
759
|
+
"name": "isInterceptor",
|
760
|
+
"type": "bool"
|
653
761
|
}
|
654
762
|
],
|
655
|
-
"
|
763
|
+
"stateMutability": "view",
|
764
|
+
"type": "function"
|
765
|
+
},
|
766
|
+
{
|
767
|
+
"inputs": [],
|
768
|
+
"name": "isRegistered",
|
656
769
|
"outputs": [
|
657
770
|
{
|
658
771
|
"internalType": "bool",
|
659
|
-
"name": "
|
772
|
+
"name": "",
|
660
773
|
"type": "bool"
|
661
774
|
}
|
662
775
|
],
|
@@ -664,31 +777,32 @@
|
|
664
777
|
"type": "function"
|
665
778
|
},
|
666
779
|
{
|
667
|
-
"inputs": [
|
780
|
+
"inputs": [],
|
781
|
+
"name": "linkToRegisteredNftId",
|
782
|
+
"outputs": [
|
668
783
|
{
|
669
784
|
"internalType": "NftId",
|
670
|
-
"name": "
|
785
|
+
"name": "nftId",
|
671
786
|
"type": "uint96"
|
787
|
+
}
|
788
|
+
],
|
789
|
+
"stateMutability": "nonpayable",
|
790
|
+
"type": "function"
|
791
|
+
},
|
792
|
+
{
|
793
|
+
"inputs": [
|
794
|
+
{
|
795
|
+
"internalType": "address",
|
796
|
+
"name": "to",
|
797
|
+
"type": "address"
|
672
798
|
},
|
673
799
|
{
|
674
|
-
"
|
675
|
-
|
676
|
-
|
677
|
-
"name": "fractionalFee",
|
678
|
-
"type": "uint256"
|
679
|
-
},
|
680
|
-
{
|
681
|
-
"internalType": "uint256",
|
682
|
-
"name": "fixedFee",
|
683
|
-
"type": "uint256"
|
684
|
-
}
|
685
|
-
],
|
686
|
-
"internalType": "struct Fee",
|
687
|
-
"name": "fee",
|
688
|
-
"type": "tuple"
|
800
|
+
"internalType": "uint256",
|
801
|
+
"name": "tokenId",
|
802
|
+
"type": "uint256"
|
689
803
|
}
|
690
804
|
],
|
691
|
-
"name": "
|
805
|
+
"name": "nftMint",
|
692
806
|
"outputs": [],
|
693
807
|
"stateMutability": "nonpayable",
|
694
808
|
"type": "function"
|
@@ -696,58 +810,22 @@
|
|
696
810
|
{
|
697
811
|
"inputs": [
|
698
812
|
{
|
699
|
-
"
|
700
|
-
|
701
|
-
|
702
|
-
"name": "fractionalFee",
|
703
|
-
"type": "uint256"
|
704
|
-
},
|
705
|
-
{
|
706
|
-
"internalType": "uint256",
|
707
|
-
"name": "fixedFee",
|
708
|
-
"type": "uint256"
|
709
|
-
}
|
710
|
-
],
|
711
|
-
"internalType": "struct Fee",
|
712
|
-
"name": "poolFee",
|
713
|
-
"type": "tuple"
|
813
|
+
"internalType": "address",
|
814
|
+
"name": "from",
|
815
|
+
"type": "address"
|
714
816
|
},
|
715
817
|
{
|
716
|
-
"
|
717
|
-
|
718
|
-
|
719
|
-
"name": "fractionalFee",
|
720
|
-
"type": "uint256"
|
721
|
-
},
|
722
|
-
{
|
723
|
-
"internalType": "uint256",
|
724
|
-
"name": "fixedFee",
|
725
|
-
"type": "uint256"
|
726
|
-
}
|
727
|
-
],
|
728
|
-
"internalType": "struct Fee",
|
729
|
-
"name": "stakingFee",
|
730
|
-
"type": "tuple"
|
818
|
+
"internalType": "address",
|
819
|
+
"name": "to",
|
820
|
+
"type": "address"
|
731
821
|
},
|
732
822
|
{
|
733
|
-
"
|
734
|
-
|
735
|
-
|
736
|
-
"name": "fractionalFee",
|
737
|
-
"type": "uint256"
|
738
|
-
},
|
739
|
-
{
|
740
|
-
"internalType": "uint256",
|
741
|
-
"name": "fixedFee",
|
742
|
-
"type": "uint256"
|
743
|
-
}
|
744
|
-
],
|
745
|
-
"internalType": "struct Fee",
|
746
|
-
"name": "performanceFee",
|
747
|
-
"type": "tuple"
|
823
|
+
"internalType": "uint256",
|
824
|
+
"name": "tokenId",
|
825
|
+
"type": "uint256"
|
748
826
|
}
|
749
827
|
],
|
750
|
-
"name": "
|
828
|
+
"name": "nftTransferFrom",
|
751
829
|
"outputs": [],
|
752
830
|
"stateMutability": "nonpayable",
|
753
831
|
"type": "function"
|
@@ -755,12 +833,25 @@
|
|
755
833
|
{
|
756
834
|
"inputs": [
|
757
835
|
{
|
758
|
-
"internalType": "
|
759
|
-
"name": "
|
760
|
-
"type": "
|
836
|
+
"internalType": "bytes4",
|
837
|
+
"name": "interfaceId",
|
838
|
+
"type": "bytes4"
|
839
|
+
}
|
840
|
+
],
|
841
|
+
"name": "registerInterface",
|
842
|
+
"outputs": [],
|
843
|
+
"stateMutability": "nonpayable",
|
844
|
+
"type": "function"
|
845
|
+
},
|
846
|
+
{
|
847
|
+
"inputs": [
|
848
|
+
{
|
849
|
+
"internalType": "address",
|
850
|
+
"name": "newAuthority",
|
851
|
+
"type": "address"
|
761
852
|
}
|
762
853
|
],
|
763
|
-
"name": "
|
854
|
+
"name": "setAuthority",
|
764
855
|
"outputs": [],
|
765
856
|
"stateMutability": "nonpayable",
|
766
857
|
"type": "function"
|
@@ -796,54 +887,6 @@
|
|
796
887
|
],
|
797
888
|
"stateMutability": "view",
|
798
889
|
"type": "function"
|
799
|
-
},
|
800
|
-
{
|
801
|
-
"inputs": [
|
802
|
-
{
|
803
|
-
"internalType": "NftId",
|
804
|
-
"name": "policyNftId",
|
805
|
-
"type": "uint96"
|
806
|
-
},
|
807
|
-
{
|
808
|
-
"internalType": "bytes",
|
809
|
-
"name": "policyData",
|
810
|
-
"type": "bytes"
|
811
|
-
},
|
812
|
-
{
|
813
|
-
"internalType": "bytes",
|
814
|
-
"name": "bundleFilter",
|
815
|
-
"type": "bytes"
|
816
|
-
},
|
817
|
-
{
|
818
|
-
"internalType": "uint256",
|
819
|
-
"name": "collateralizationAmount",
|
820
|
-
"type": "uint256"
|
821
|
-
}
|
822
|
-
],
|
823
|
-
"name": "underwrite",
|
824
|
-
"outputs": [],
|
825
|
-
"stateMutability": "nonpayable",
|
826
|
-
"type": "function"
|
827
|
-
},
|
828
|
-
{
|
829
|
-
"inputs": [],
|
830
|
-
"name": "unlock",
|
831
|
-
"outputs": [],
|
832
|
-
"stateMutability": "nonpayable",
|
833
|
-
"type": "function"
|
834
|
-
},
|
835
|
-
{
|
836
|
-
"inputs": [
|
837
|
-
{
|
838
|
-
"internalType": "NftId",
|
839
|
-
"name": "bundleNftId",
|
840
|
-
"type": "uint96"
|
841
|
-
}
|
842
|
-
],
|
843
|
-
"name": "unlockBundle",
|
844
|
-
"outputs": [],
|
845
|
-
"stateMutability": "nonpayable",
|
846
|
-
"type": "function"
|
847
890
|
}
|
848
891
|
],
|
849
892
|
"bytecode": "0x",
|