@etherisc/gif-next 0.0.2-f4f92b3-338 → 0.0.2-f509abc-684
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +73 -1
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +270 -94
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +627 -157
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +122 -72
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +323 -102
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +325 -186
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +126 -144
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +552 -212
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +374 -166
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +64 -50
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +801 -434
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +194 -192
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +992 -782
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +441 -164
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +119 -221
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +371 -302
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +330 -102
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -13
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +118 -169
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +61 -78
- 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/IComponents.sol/IComponents.json +10 -0
- 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/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +968 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +306 -315
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +305 -93
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1212 -252
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +453 -85
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +556 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +155 -240
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +409 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +711 -139
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +60 -286
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +81 -147
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +22 -169
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +185 -391
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +311 -127
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +222 -204
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +310 -90
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +142 -221
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +302 -90
- 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 +34 -2
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +83 -174
- 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 +47 -15
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +2 -2
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +193 -216
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +300 -94
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +11 -11
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -37
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
- 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/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -29
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +22 -169
- 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/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +113 -33
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -74
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +125 -55
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +113 -164
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
- 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/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +125 -55
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +134 -221
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +2 -2
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
- package/contracts/components/Component.sol +112 -83
- package/contracts/components/Distribution.sol +189 -53
- package/contracts/components/IComponent.sol +48 -17
- package/contracts/components/IDistributionComponent.sol +39 -15
- package/contracts/components/IPoolComponent.sol +84 -41
- package/contracts/components/IProductComponent.sol +3 -2
- package/contracts/components/Pool.sol +211 -153
- package/contracts/components/Product.sol +96 -61
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/instance/BundleManager.sol +7 -5
- package/contracts/instance/Cloneable.sol +7 -2
- package/contracts/instance/IInstance.sol +36 -10
- package/contracts/instance/IInstanceService.sol +36 -4
- package/contracts/instance/Instance.sol +101 -43
- package/contracts/instance/InstanceAccessManager.sol +383 -159
- package/contracts/instance/InstanceReader.sol +7 -10
- package/contracts/instance/InstanceService.sol +262 -129
- package/contracts/instance/InstanceServiceManager.sol +1 -1
- package/contracts/instance/ObjectManager.sol +6 -8
- package/contracts/instance/base/ComponentService.sol +6 -6
- package/contracts/instance/base/KeyValueStore.sol +5 -2
- package/contracts/instance/base/Lifecycle.sol +11 -2
- package/contracts/instance/module/IAccess.sol +22 -16
- package/contracts/instance/module/IBundle.sol +2 -1
- package/contracts/instance/module/IComponents.sol +35 -0
- package/contracts/instance/module/IDistribution.sol +2 -0
- package/contracts/instance/module/IPolicy.sol +30 -3
- package/contracts/instance/module/ISetup.sol +7 -20
- package/contracts/instance/service/ApplicationService.sol +350 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +82 -39
- package/contracts/instance/service/BundleServiceManager.sol +1 -1
- package/contracts/instance/service/ClaimService.sol +151 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +376 -15
- package/contracts/instance/service/DistributionServiceManager.sol +1 -1
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +30 -12
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +86 -0
- package/contracts/instance/service/IPolicyService.sol +27 -49
- package/contracts/instance/service/IPoolService.sol +17 -2
- package/contracts/instance/service/PolicyService.sol +148 -283
- package/contracts/instance/service/PolicyServiceManager.sol +2 -2
- package/contracts/instance/service/PoolService.sol +130 -19
- package/contracts/instance/service/PoolServiceManager.sol +1 -1
- package/contracts/instance/service/ProductService.sol +20 -11
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/ChainNft.sol +8 -0
- package/contracts/registry/IRegistry.sol +5 -2
- package/contracts/registry/IRegistryService.sol +10 -8
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +43 -28
- package/contracts/registry/RegistryService.sol +69 -48
- package/contracts/registry/RegistryServiceManager.sol +13 -13
- package/contracts/registry/ReleaseManager.sol +18 -28
- package/contracts/registry/TokenRegistry.sol +16 -12
- package/contracts/shared/ERC165.sol +14 -12
- package/contracts/shared/INftOwnable.sol +11 -10
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +3 -3
- package/contracts/shared/IRegistryLinked.sol +12 -0
- package/contracts/shared/IService.sol +2 -0
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +66 -85
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +100 -25
- package/contracts/shared/Registerable.sol +7 -19
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +15 -17
- package/contracts/shared/TokenHandler.sol +11 -5
- package/contracts/shared/Versionable.sol +4 -92
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestService.sol +1 -1
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +52 -0
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/Fee.sol +1 -0
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/ObjectType.sol +10 -5
- package/contracts/types/PayoutId.sol +54 -0
- package/contracts/types/Referral.sol +4 -0
- package/contracts/types/RoleId.sol +16 -9
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +1 -0
- package/contracts/types/Timestamp.sol +13 -13
- package/contracts/types/UFixed.sol +1 -0
- package/contracts/types/Version.sol +1 -0
- package/package.json +3 -3
- 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/IA.sol/ISharedA.json +0 -37
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- 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/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
| @@ -67,16 +67,11 @@ | |
| 67 67 | 
             
                  "inputs": [
         | 
| 68 68 | 
             
                    {
         | 
| 69 69 | 
             
                      "internalType": "address",
         | 
| 70 | 
            -
                      "name": " | 
| 70 | 
            +
                      "name": "caller",
         | 
| 71 71 | 
             
                      "type": "address"
         | 
| 72 | 
            -
                    },
         | 
| 73 | 
            -
                    {
         | 
| 74 | 
            -
                      "internalType": "NftId",
         | 
| 75 | 
            -
                      "name": "nftId",
         | 
| 76 | 
            -
                      "type": "uint96"
         | 
| 77 72 | 
             
                    }
         | 
| 78 73 | 
             
                  ],
         | 
| 79 | 
            -
                  "name": " | 
| 74 | 
            +
                  "name": "ErrorComponentNotChainNft",
         | 
| 80 75 | 
             
                  "type": "error"
         | 
| 81 76 | 
             
                },
         | 
| 82 77 | 
             
                {
         | 
| @@ -85,11 +80,6 @@ | |
| 85 80 | 
             
                      "internalType": "NftId",
         | 
| 86 81 | 
             
                      "name": "instanceNftId",
         | 
| 87 82 | 
             
                      "type": "uint96"
         | 
| 88 | 
            -
                    },
         | 
| 89 | 
            -
                    {
         | 
| 90 | 
            -
                      "internalType": "address",
         | 
| 91 | 
            -
                      "name": "instance",
         | 
| 92 | 
            -
                      "type": "address"
         | 
| 93 83 | 
             
                    }
         | 
| 94 84 | 
             
                  ],
         | 
| 95 85 | 
             
                  "name": "ErrorComponentNotInstance",
         | 
| @@ -112,29 +102,7 @@ | |
| 112 102 | 
             
                  "type": "error"
         | 
| 113 103 | 
             
                },
         | 
| 114 104 | 
             
                {
         | 
| 115 | 
            -
                  "inputs": [
         | 
| 116 | 
            -
                    {
         | 
| 117 | 
            -
                      "internalType": "address",
         | 
| 118 | 
            -
                      "name": "caller",
         | 
| 119 | 
            -
                      "type": "address"
         | 
| 120 | 
            -
                    },
         | 
| 121 | 
            -
                    {
         | 
| 122 | 
            -
                      "internalType": "uint64",
         | 
| 123 | 
            -
                      "name": "requiredRoleIdNum",
         | 
| 124 | 
            -
                      "type": "uint64"
         | 
| 125 | 
            -
                    }
         | 
| 126 | 
            -
                  ],
         | 
| 127 | 
            -
                  "name": "ErrorComponentUnauthorized",
         | 
| 128 | 
            -
                  "type": "error"
         | 
| 129 | 
            -
                },
         | 
| 130 | 
            -
                {
         | 
| 131 | 
            -
                  "inputs": [
         | 
| 132 | 
            -
                    {
         | 
| 133 | 
            -
                      "internalType": "address",
         | 
| 134 | 
            -
                      "name": "newWallet",
         | 
| 135 | 
            -
                      "type": "address"
         | 
| 136 | 
            -
                    }
         | 
| 137 | 
            -
                  ],
         | 
| 105 | 
            +
                  "inputs": [],
         | 
| 138 106 | 
             
                  "name": "ErrorComponentWalletAddressIsSameAsCurrent",
         | 
| 139 107 | 
             
                  "type": "error"
         | 
| 140 108 | 
             
                },
         | 
| @@ -172,66 +140,50 @@ | |
| 172 140 | 
             
                {
         | 
| 173 141 | 
             
                  "inputs": [
         | 
| 174 142 | 
             
                    {
         | 
| 175 | 
            -
                      "internalType": " | 
| 176 | 
            -
                      "name": " | 
| 177 | 
            -
                      "type": " | 
| 143 | 
            +
                      "internalType": "NftId",
         | 
| 144 | 
            +
                      "name": "nftId",
         | 
| 145 | 
            +
                      "type": "uint96"
         | 
| 178 146 | 
             
                    }
         | 
| 179 147 | 
             
                  ],
         | 
| 180 | 
            -
                  "name": " | 
| 148 | 
            +
                  "name": "ErrorNftOwnableAlreadyLinked",
         | 
| 181 149 | 
             
                  "type": "error"
         | 
| 182 150 | 
             
                },
         | 
| 183 151 | 
             
                {
         | 
| 184 152 | 
             
                  "inputs": [
         | 
| 185 153 | 
             
                    {
         | 
| 186 154 | 
             
                      "internalType": "address",
         | 
| 187 | 
            -
                      "name": " | 
| 155 | 
            +
                      "name": "contractAddress",
         | 
| 188 156 | 
             
                      "type": "address"
         | 
| 189 157 | 
             
                    }
         | 
| 190 158 | 
             
                  ],
         | 
| 191 | 
            -
                  "name": " | 
| 159 | 
            +
                  "name": "ErrorNftOwnableContractNotRegistered",
         | 
| 192 160 | 
             
                  "type": "error"
         | 
| 193 161 | 
             
                },
         | 
| 194 162 | 
             
                {
         | 
| 195 | 
            -
                  "inputs": [
         | 
| 196 | 
            -
             | 
| 197 | 
            -
                      "internalType": "address",
         | 
| 198 | 
            -
                      "name": "registryAddress",
         | 
| 199 | 
            -
                      "type": "address"
         | 
| 200 | 
            -
                    }
         | 
| 201 | 
            -
                  ],
         | 
| 202 | 
            -
                  "name": "ErrorNotRegistry",
         | 
| 163 | 
            +
                  "inputs": [],
         | 
| 164 | 
            +
                  "name": "ErrorNftOwnableInitialOwnerZero",
         | 
| 203 165 | 
             
                  "type": "error"
         | 
| 204 166 | 
             
                },
         | 
| 205 167 | 
             
                {
         | 
| 206 168 | 
             
                  "inputs": [
         | 
| 207 169 | 
             
                    {
         | 
| 208 170 | 
             
                      "internalType": "address",
         | 
| 209 | 
            -
                      "name": " | 
| 171 | 
            +
                      "name": "account",
         | 
| 210 172 | 
             
                      "type": "address"
         | 
| 211 173 | 
             
                    }
         | 
| 212 174 | 
             
                  ],
         | 
| 213 | 
            -
                  "name": " | 
| 214 | 
            -
                  "type": "error"
         | 
| 215 | 
            -
                },
         | 
| 216 | 
            -
                {
         | 
| 217 | 
            -
                  "inputs": [],
         | 
| 218 | 
            -
                  "name": "ErrorRegistryAddressZero",
         | 
| 175 | 
            +
                  "name": "ErrorNftOwnableNotOwner",
         | 
| 219 176 | 
             
                  "type": "error"
         | 
| 220 177 | 
             
                },
         | 
| 221 178 | 
             
                {
         | 
| 222 179 | 
             
                  "inputs": [
         | 
| 223 180 | 
             
                    {
         | 
| 224 181 | 
             
                      "internalType": "address",
         | 
| 225 | 
            -
                      "name": " | 
| 182 | 
            +
                      "name": "registryAddress",
         | 
| 226 183 | 
             
                      "type": "address"
         | 
| 227 184 | 
             
                    }
         | 
| 228 185 | 
             
                  ],
         | 
| 229 | 
            -
                  "name": " | 
| 230 | 
            -
                  "type": "error"
         | 
| 231 | 
            -
                },
         | 
| 232 | 
            -
                {
         | 
| 233 | 
            -
                  "inputs": [],
         | 
| 234 | 
            -
                  "name": "ErrorRegistryNotInitialized",
         | 
| 186 | 
            +
                  "name": "ErrorNotRegistry",
         | 
| 235 187 | 
             
                  "type": "error"
         | 
| 236 188 | 
             
                },
         | 
| 237 189 | 
             
                {
         | 
| @@ -289,6 +241,12 @@ | |
| 289 241 | 
             
                {
         | 
| 290 242 | 
             
                  "anonymous": false,
         | 
| 291 243 | 
             
                  "inputs": [
         | 
| 244 | 
            +
                    {
         | 
| 245 | 
            +
                      "indexed": false,
         | 
| 246 | 
            +
                      "internalType": "address",
         | 
| 247 | 
            +
                      "name": "oldWallet",
         | 
| 248 | 
            +
                      "type": "address"
         | 
| 249 | 
            +
                    },
         | 
| 292 250 | 
             
                    {
         | 
| 293 251 | 
             
                      "indexed": false,
         | 
| 294 252 | 
             
                      "internalType": "address",
         | 
| @@ -326,7 +284,33 @@ | |
| 326 284 | 
             
                },
         | 
| 327 285 | 
             
                {
         | 
| 328 286 | 
             
                  "inputs": [],
         | 
| 329 | 
            -
                  "name": " | 
| 287 | 
            +
                  "name": "COMPONENT_LOCATION_V1",
         | 
| 288 | 
            +
                  "outputs": [
         | 
| 289 | 
            +
                    {
         | 
| 290 | 
            +
                      "internalType": "bytes32",
         | 
| 291 | 
            +
                      "name": "",
         | 
| 292 | 
            +
                      "type": "bytes32"
         | 
| 293 | 
            +
                    }
         | 
| 294 | 
            +
                  ],
         | 
| 295 | 
            +
                  "stateMutability": "view",
         | 
| 296 | 
            +
                  "type": "function"
         | 
| 297 | 
            +
                },
         | 
| 298 | 
            +
                {
         | 
| 299 | 
            +
                  "inputs": [],
         | 
| 300 | 
            +
                  "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
         | 
| 301 | 
            +
                  "outputs": [
         | 
| 302 | 
            +
                    {
         | 
| 303 | 
            +
                      "internalType": "bytes32",
         | 
| 304 | 
            +
                      "name": "",
         | 
| 305 | 
            +
                      "type": "bytes32"
         | 
| 306 | 
            +
                    }
         | 
| 307 | 
            +
                  ],
         | 
| 308 | 
            +
                  "stateMutability": "view",
         | 
| 309 | 
            +
                  "type": "function"
         | 
| 310 | 
            +
                },
         | 
| 311 | 
            +
                {
         | 
| 312 | 
            +
                  "inputs": [],
         | 
| 313 | 
            +
                  "name": "PRODUCT_STORAGE_LOCATION_V1",
         | 
| 330 314 | 
             
                  "outputs": [
         | 
| 331 315 | 
             
                    {
         | 
| 332 316 | 
             
                      "internalType": "bytes32",
         | 
| @@ -376,9 +360,9 @@ | |
| 376 360 | 
             
                      "type": "bytes8"
         | 
| 377 361 | 
             
                    },
         | 
| 378 362 | 
             
                    {
         | 
| 379 | 
            -
                      "internalType": " | 
| 363 | 
            +
                      "internalType": "Seconds",
         | 
| 380 364 | 
             
                      "name": "lifetime",
         | 
| 381 | 
            -
                      "type": " | 
| 365 | 
            +
                      "type": "uint40"
         | 
| 382 366 | 
             
                    },
         | 
| 383 367 | 
             
                    {
         | 
| 384 368 | 
             
                      "internalType": "bytes",
         | 
| @@ -410,9 +394,9 @@ | |
| 410 394 | 
             
                      "type": "bytes8"
         | 
| 411 395 | 
             
                    },
         | 
| 412 396 | 
             
                    {
         | 
| 413 | 
            -
                      "internalType": " | 
| 397 | 
            +
                      "internalType": "Seconds",
         | 
| 414 398 | 
             
                      "name": "lifetime",
         | 
| 415 | 
            -
                      "type": " | 
| 399 | 
            +
                      "type": "uint40"
         | 
| 416 400 | 
             
                    },
         | 
| 417 401 | 
             
                    {
         | 
| 418 402 | 
             
                      "internalType": "bytes",
         | 
| @@ -441,6 +425,46 @@ | |
| 441 425 | 
             
                  "stateMutability": "view",
         | 
| 442 426 | 
             
                  "type": "function"
         | 
| 443 427 | 
             
                },
         | 
| 428 | 
            +
                {
         | 
| 429 | 
            +
                  "inputs": [],
         | 
| 430 | 
            +
                  "name": "getComponentInfo",
         | 
| 431 | 
            +
                  "outputs": [
         | 
| 432 | 
            +
                    {
         | 
| 433 | 
            +
                      "components": [
         | 
| 434 | 
            +
                        {
         | 
| 435 | 
            +
                          "internalType": "string",
         | 
| 436 | 
            +
                          "name": "name",
         | 
| 437 | 
            +
                          "type": "string"
         | 
| 438 | 
            +
                        },
         | 
| 439 | 
            +
                        {
         | 
| 440 | 
            +
                          "internalType": "contract IERC20Metadata",
         | 
| 441 | 
            +
                          "name": "token",
         | 
| 442 | 
            +
                          "type": "address"
         | 
| 443 | 
            +
                        },
         | 
| 444 | 
            +
                        {
         | 
| 445 | 
            +
                          "internalType": "contract TokenHandler",
         | 
| 446 | 
            +
                          "name": "tokenHandler",
         | 
| 447 | 
            +
                          "type": "address"
         | 
| 448 | 
            +
                        },
         | 
| 449 | 
            +
                        {
         | 
| 450 | 
            +
                          "internalType": "address",
         | 
| 451 | 
            +
                          "name": "wallet",
         | 
| 452 | 
            +
                          "type": "address"
         | 
| 453 | 
            +
                        },
         | 
| 454 | 
            +
                        {
         | 
| 455 | 
            +
                          "internalType": "bytes",
         | 
| 456 | 
            +
                          "name": "data",
         | 
| 457 | 
            +
                          "type": "bytes"
         | 
| 458 | 
            +
                        }
         | 
| 459 | 
            +
                      ],
         | 
| 460 | 
            +
                      "internalType": "struct IComponents.ComponentInfo",
         | 
| 461 | 
            +
                      "name": "info",
         | 
| 462 | 
            +
                      "type": "tuple"
         | 
| 463 | 
            +
                    }
         | 
| 464 | 
            +
                  ],
         | 
| 465 | 
            +
                  "stateMutability": "view",
         | 
| 466 | 
            +
                  "type": "function"
         | 
| 467 | 
            +
                },
         | 
| 444 468 | 
             
                {
         | 
| 445 469 | 
             
                  "inputs": [],
         | 
| 446 470 | 
             
                  "name": "getDistributionNftId",
         | 
| @@ -504,19 +528,6 @@ | |
| 504 528 | 
             
                  "stateMutability": "view",
         | 
| 505 529 | 
             
                  "type": "function"
         | 
| 506 530 | 
             
                },
         | 
| 507 | 
            -
                {
         | 
| 508 | 
            -
                  "inputs": [],
         | 
| 509 | 
            -
                  "name": "getInitialOwner",
         | 
| 510 | 
            -
                  "outputs": [
         | 
| 511 | 
            -
                    {
         | 
| 512 | 
            -
                      "internalType": "address",
         | 
| 513 | 
            -
                      "name": "",
         | 
| 514 | 
            -
                      "type": "address"
         | 
| 515 | 
            -
                    }
         | 
| 516 | 
            -
                  ],
         | 
| 517 | 
            -
                  "stateMutability": "view",
         | 
| 518 | 
            -
                  "type": "function"
         | 
| 519 | 
            -
                },
         | 
| 520 531 | 
             
                {
         | 
| 521 532 | 
             
                  "inputs": [],
         | 
| 522 533 | 
             
                  "name": "getInstance",
         | 
| @@ -530,19 +541,6 @@ | |
| 530 541 | 
             
                  "stateMutability": "view",
         | 
| 531 542 | 
             
                  "type": "function"
         | 
| 532 543 | 
             
                },
         | 
| 533 | 
            -
                {
         | 
| 534 | 
            -
                  "inputs": [],
         | 
| 535 | 
            -
                  "name": "getInstanceService",
         | 
| 536 | 
            -
                  "outputs": [
         | 
| 537 | 
            -
                    {
         | 
| 538 | 
            -
                      "internalType": "contract IInstanceService",
         | 
| 539 | 
            -
                      "name": "",
         | 
| 540 | 
            -
                      "type": "address"
         | 
| 541 | 
            -
                    }
         | 
| 542 | 
            -
                  ],
         | 
| 543 | 
            -
                  "stateMutability": "view",
         | 
| 544 | 
            -
                  "type": "function"
         | 
| 545 | 
            -
                },
         | 
| 546 544 | 
             
                {
         | 
| 547 545 | 
             
                  "inputs": [],
         | 
| 548 546 | 
             
                  "name": "getName",
         | 
| @@ -610,10 +608,10 @@ | |
| 610 608 | 
             
                },
         | 
| 611 609 | 
             
                {
         | 
| 612 610 | 
             
                  "inputs": [],
         | 
| 613 | 
            -
                  "name": " | 
| 611 | 
            +
                  "name": "getRegistry",
         | 
| 614 612 | 
             
                  "outputs": [
         | 
| 615 613 | 
             
                    {
         | 
| 616 | 
            -
                      "internalType": "contract  | 
| 614 | 
            +
                      "internalType": "contract IRegistry",
         | 
| 617 615 | 
             
                      "name": "",
         | 
| 618 616 | 
             
                      "type": "address"
         | 
| 619 617 | 
             
                    }
         | 
| @@ -623,10 +621,10 @@ | |
| 623 621 | 
             
                },
         | 
| 624 622 | 
             
                {
         | 
| 625 623 | 
             
                  "inputs": [],
         | 
| 626 | 
            -
                  "name": " | 
| 624 | 
            +
                  "name": "getRegistryAddress",
         | 
| 627 625 | 
             
                  "outputs": [
         | 
| 628 626 | 
             
                    {
         | 
| 629 | 
            -
                      "internalType": " | 
| 627 | 
            +
                      "internalType": "address",
         | 
| 630 628 | 
             
                      "name": "",
         | 
| 631 629 | 
             
                      "type": "address"
         | 
| 632 630 | 
             
                    }
         | 
| @@ -660,23 +658,6 @@ | |
| 660 658 | 
             
                          "name": "poolNftId",
         | 
| 661 659 | 
             
                          "type": "uint96"
         | 
| 662 660 | 
             
                        },
         | 
| 663 | 
            -
                        {
         | 
| 664 | 
            -
                          "components": [
         | 
| 665 | 
            -
                            {
         | 
| 666 | 
            -
                              "internalType": "UFixed",
         | 
| 667 | 
            -
                              "name": "fractionalFee",
         | 
| 668 | 
            -
                              "type": "uint256"
         | 
| 669 | 
            -
                            },
         | 
| 670 | 
            -
                            {
         | 
| 671 | 
            -
                              "internalType": "uint256",
         | 
| 672 | 
            -
                              "name": "fixedFee",
         | 
| 673 | 
            -
                              "type": "uint256"
         | 
| 674 | 
            -
                            }
         | 
| 675 | 
            -
                          ],
         | 
| 676 | 
            -
                          "internalType": "struct Fee",
         | 
| 677 | 
            -
                          "name": "distributionFee",
         | 
| 678 | 
            -
                          "type": "tuple"
         | 
| 679 | 
            -
                        },
         | 
| 680 661 | 
             
                        {
         | 
| 681 662 | 
             
                          "components": [
         | 
| 682 663 | 
             
                            {
         | 
| @@ -711,57 +692,6 @@ | |
| 711 692 | 
             
                          "name": "processingFee",
         | 
| 712 693 | 
             
                          "type": "tuple"
         | 
| 713 694 | 
             
                        },
         | 
| 714 | 
            -
                        {
         | 
| 715 | 
            -
                          "components": [
         | 
| 716 | 
            -
                            {
         | 
| 717 | 
            -
                              "internalType": "UFixed",
         | 
| 718 | 
            -
                              "name": "fractionalFee",
         | 
| 719 | 
            -
                              "type": "uint256"
         | 
| 720 | 
            -
                            },
         | 
| 721 | 
            -
                            {
         | 
| 722 | 
            -
                              "internalType": "uint256",
         | 
| 723 | 
            -
                              "name": "fixedFee",
         | 
| 724 | 
            -
                              "type": "uint256"
         | 
| 725 | 
            -
                            }
         | 
| 726 | 
            -
                          ],
         | 
| 727 | 
            -
                          "internalType": "struct Fee",
         | 
| 728 | 
            -
                          "name": "poolFee",
         | 
| 729 | 
            -
                          "type": "tuple"
         | 
| 730 | 
            -
                        },
         | 
| 731 | 
            -
                        {
         | 
| 732 | 
            -
                          "components": [
         | 
| 733 | 
            -
                            {
         | 
| 734 | 
            -
                              "internalType": "UFixed",
         | 
| 735 | 
            -
                              "name": "fractionalFee",
         | 
| 736 | 
            -
                              "type": "uint256"
         | 
| 737 | 
            -
                            },
         | 
| 738 | 
            -
                            {
         | 
| 739 | 
            -
                              "internalType": "uint256",
         | 
| 740 | 
            -
                              "name": "fixedFee",
         | 
| 741 | 
            -
                              "type": "uint256"
         | 
| 742 | 
            -
                            }
         | 
| 743 | 
            -
                          ],
         | 
| 744 | 
            -
                          "internalType": "struct Fee",
         | 
| 745 | 
            -
                          "name": "stakingFee",
         | 
| 746 | 
            -
                          "type": "tuple"
         | 
| 747 | 
            -
                        },
         | 
| 748 | 
            -
                        {
         | 
| 749 | 
            -
                          "components": [
         | 
| 750 | 
            -
                            {
         | 
| 751 | 
            -
                              "internalType": "UFixed",
         | 
| 752 | 
            -
                              "name": "fractionalFee",
         | 
| 753 | 
            -
                              "type": "uint256"
         | 
| 754 | 
            -
                            },
         | 
| 755 | 
            -
                            {
         | 
| 756 | 
            -
                              "internalType": "uint256",
         | 
| 757 | 
            -
                              "name": "fixedFee",
         | 
| 758 | 
            -
                              "type": "uint256"
         | 
| 759 | 
            -
                            }
         | 
| 760 | 
            -
                          ],
         | 
| 761 | 
            -
                          "internalType": "struct Fee",
         | 
| 762 | 
            -
                          "name": "performanceFee",
         | 
| 763 | 
            -
                          "type": "tuple"
         | 
| 764 | 
            -
                        },
         | 
| 765 695 | 
             
                        {
         | 
| 766 696 | 
             
                          "internalType": "bool",
         | 
| 767 697 | 
             
                          "name": "isIntercepting",
         | 
| @@ -807,6 +737,217 @@ | |
| 807 737 | 
             
                  "stateMutability": "view",
         | 
| 808 738 | 
             
                  "type": "function"
         | 
| 809 739 | 
             
                },
         | 
| 740 | 
            +
                {
         | 
| 741 | 
            +
                  "inputs": [
         | 
| 742 | 
            +
                    {
         | 
| 743 | 
            +
                      "internalType": "address",
         | 
| 744 | 
            +
                      "name": "registry",
         | 
| 745 | 
            +
                      "type": "address"
         | 
| 746 | 
            +
                    },
         | 
| 747 | 
            +
                    {
         | 
| 748 | 
            +
                      "internalType": "NftId",
         | 
| 749 | 
            +
                      "name": "instanceNftId",
         | 
| 750 | 
            +
                      "type": "uint96"
         | 
| 751 | 
            +
                    },
         | 
| 752 | 
            +
                    {
         | 
| 753 | 
            +
                      "internalType": "string",
         | 
| 754 | 
            +
                      "name": "name",
         | 
| 755 | 
            +
                      "type": "string"
         | 
| 756 | 
            +
                    },
         | 
| 757 | 
            +
                    {
         | 
| 758 | 
            +
                      "internalType": "address",
         | 
| 759 | 
            +
                      "name": "token",
         | 
| 760 | 
            +
                      "type": "address"
         | 
| 761 | 
            +
                    },
         | 
| 762 | 
            +
                    {
         | 
| 763 | 
            +
                      "internalType": "ObjectType",
         | 
| 764 | 
            +
                      "name": "componentType",
         | 
| 765 | 
            +
                      "type": "uint8"
         | 
| 766 | 
            +
                    },
         | 
| 767 | 
            +
                    {
         | 
| 768 | 
            +
                      "internalType": "bool",
         | 
| 769 | 
            +
                      "name": "isInterceptor",
         | 
| 770 | 
            +
                      "type": "bool"
         | 
| 771 | 
            +
                    },
         | 
| 772 | 
            +
                    {
         | 
| 773 | 
            +
                      "internalType": "address",
         | 
| 774 | 
            +
                      "name": "initialOwner",
         | 
| 775 | 
            +
                      "type": "address"
         | 
| 776 | 
            +
                    },
         | 
| 777 | 
            +
                    {
         | 
| 778 | 
            +
                      "internalType": "bytes",
         | 
| 779 | 
            +
                      "name": "registryData",
         | 
| 780 | 
            +
                      "type": "bytes"
         | 
| 781 | 
            +
                    }
         | 
| 782 | 
            +
                  ],
         | 
| 783 | 
            +
                  "name": "initializeComponent",
         | 
| 784 | 
            +
                  "outputs": [],
         | 
| 785 | 
            +
                  "stateMutability": "nonpayable",
         | 
| 786 | 
            +
                  "type": "function"
         | 
| 787 | 
            +
                },
         | 
| 788 | 
            +
                {
         | 
| 789 | 
            +
                  "inputs": [],
         | 
| 790 | 
            +
                  "name": "initializeERC165",
         | 
| 791 | 
            +
                  "outputs": [],
         | 
| 792 | 
            +
                  "stateMutability": "nonpayable",
         | 
| 793 | 
            +
                  "type": "function"
         | 
| 794 | 
            +
                },
         | 
| 795 | 
            +
                {
         | 
| 796 | 
            +
                  "inputs": [
         | 
| 797 | 
            +
                    {
         | 
| 798 | 
            +
                      "internalType": "address",
         | 
| 799 | 
            +
                      "name": "initialOwner",
         | 
| 800 | 
            +
                      "type": "address"
         | 
| 801 | 
            +
                    },
         | 
| 802 | 
            +
                    {
         | 
| 803 | 
            +
                      "internalType": "address",
         | 
| 804 | 
            +
                      "name": "registryAddress",
         | 
| 805 | 
            +
                      "type": "address"
         | 
| 806 | 
            +
                    }
         | 
| 807 | 
            +
                  ],
         | 
| 808 | 
            +
                  "name": "initializeNftOwnable",
         | 
| 809 | 
            +
                  "outputs": [],
         | 
| 810 | 
            +
                  "stateMutability": "nonpayable",
         | 
| 811 | 
            +
                  "type": "function"
         | 
| 812 | 
            +
                },
         | 
| 813 | 
            +
                {
         | 
| 814 | 
            +
                  "inputs": [
         | 
| 815 | 
            +
                    {
         | 
| 816 | 
            +
                      "internalType": "address",
         | 
| 817 | 
            +
                      "name": "registry",
         | 
| 818 | 
            +
                      "type": "address"
         | 
| 819 | 
            +
                    },
         | 
| 820 | 
            +
                    {
         | 
| 821 | 
            +
                      "internalType": "NftId",
         | 
| 822 | 
            +
                      "name": "instanceNftId",
         | 
| 823 | 
            +
                      "type": "uint96"
         | 
| 824 | 
            +
                    },
         | 
| 825 | 
            +
                    {
         | 
| 826 | 
            +
                      "internalType": "string",
         | 
| 827 | 
            +
                      "name": "name",
         | 
| 828 | 
            +
                      "type": "string"
         | 
| 829 | 
            +
                    },
         | 
| 830 | 
            +
                    {
         | 
| 831 | 
            +
                      "internalType": "address",
         | 
| 832 | 
            +
                      "name": "token",
         | 
| 833 | 
            +
                      "type": "address"
         | 
| 834 | 
            +
                    },
         | 
| 835 | 
            +
                    {
         | 
| 836 | 
            +
                      "internalType": "bool",
         | 
| 837 | 
            +
                      "name": "isInterceptor",
         | 
| 838 | 
            +
                      "type": "bool"
         | 
| 839 | 
            +
                    },
         | 
| 840 | 
            +
                    {
         | 
| 841 | 
            +
                      "internalType": "address",
         | 
| 842 | 
            +
                      "name": "pool",
         | 
| 843 | 
            +
                      "type": "address"
         | 
| 844 | 
            +
                    },
         | 
| 845 | 
            +
                    {
         | 
| 846 | 
            +
                      "internalType": "address",
         | 
| 847 | 
            +
                      "name": "distribution",
         | 
| 848 | 
            +
                      "type": "address"
         | 
| 849 | 
            +
                    },
         | 
| 850 | 
            +
                    {
         | 
| 851 | 
            +
                      "components": [
         | 
| 852 | 
            +
                        {
         | 
| 853 | 
            +
                          "internalType": "UFixed",
         | 
| 854 | 
            +
                          "name": "fractionalFee",
         | 
| 855 | 
            +
                          "type": "uint256"
         | 
| 856 | 
            +
                        },
         | 
| 857 | 
            +
                        {
         | 
| 858 | 
            +
                          "internalType": "uint256",
         | 
| 859 | 
            +
                          "name": "fixedFee",
         | 
| 860 | 
            +
                          "type": "uint256"
         | 
| 861 | 
            +
                        }
         | 
| 862 | 
            +
                      ],
         | 
| 863 | 
            +
                      "internalType": "struct Fee",
         | 
| 864 | 
            +
                      "name": "productFee",
         | 
| 865 | 
            +
                      "type": "tuple"
         | 
| 866 | 
            +
                    },
         | 
| 867 | 
            +
                    {
         | 
| 868 | 
            +
                      "components": [
         | 
| 869 | 
            +
                        {
         | 
| 870 | 
            +
                          "internalType": "UFixed",
         | 
| 871 | 
            +
                          "name": "fractionalFee",
         | 
| 872 | 
            +
                          "type": "uint256"
         | 
| 873 | 
            +
                        },
         | 
| 874 | 
            +
                        {
         | 
| 875 | 
            +
                          "internalType": "uint256",
         | 
| 876 | 
            +
                          "name": "fixedFee",
         | 
| 877 | 
            +
                          "type": "uint256"
         | 
| 878 | 
            +
                        }
         | 
| 879 | 
            +
                      ],
         | 
| 880 | 
            +
                      "internalType": "struct Fee",
         | 
| 881 | 
            +
                      "name": "processingFee",
         | 
| 882 | 
            +
                      "type": "tuple"
         | 
| 883 | 
            +
                    },
         | 
| 884 | 
            +
                    {
         | 
| 885 | 
            +
                      "internalType": "address",
         | 
| 886 | 
            +
                      "name": "initialOwner",
         | 
| 887 | 
            +
                      "type": "address"
         | 
| 888 | 
            +
                    },
         | 
| 889 | 
            +
                    {
         | 
| 890 | 
            +
                      "internalType": "bytes",
         | 
| 891 | 
            +
                      "name": "registryData",
         | 
| 892 | 
            +
                      "type": "bytes"
         | 
| 893 | 
            +
                    }
         | 
| 894 | 
            +
                  ],
         | 
| 895 | 
            +
                  "name": "initializeProduct",
         | 
| 896 | 
            +
                  "outputs": [],
         | 
| 897 | 
            +
                  "stateMutability": "nonpayable",
         | 
| 898 | 
            +
                  "type": "function"
         | 
| 899 | 
            +
                },
         | 
| 900 | 
            +
                {
         | 
| 901 | 
            +
                  "inputs": [
         | 
| 902 | 
            +
                    {
         | 
| 903 | 
            +
                      "internalType": "address",
         | 
| 904 | 
            +
                      "name": "registryAddress",
         | 
| 905 | 
            +
                      "type": "address"
         | 
| 906 | 
            +
                    },
         | 
| 907 | 
            +
                    {
         | 
| 908 | 
            +
                      "internalType": "NftId",
         | 
| 909 | 
            +
                      "name": "parentNftId",
         | 
| 910 | 
            +
                      "type": "uint96"
         | 
| 911 | 
            +
                    },
         | 
| 912 | 
            +
                    {
         | 
| 913 | 
            +
                      "internalType": "ObjectType",
         | 
| 914 | 
            +
                      "name": "objectType",
         | 
| 915 | 
            +
                      "type": "uint8"
         | 
| 916 | 
            +
                    },
         | 
| 917 | 
            +
                    {
         | 
| 918 | 
            +
                      "internalType": "bool",
         | 
| 919 | 
            +
                      "name": "isInterceptor",
         | 
| 920 | 
            +
                      "type": "bool"
         | 
| 921 | 
            +
                    },
         | 
| 922 | 
            +
                    {
         | 
| 923 | 
            +
                      "internalType": "address",
         | 
| 924 | 
            +
                      "name": "initialOwner",
         | 
| 925 | 
            +
                      "type": "address"
         | 
| 926 | 
            +
                    },
         | 
| 927 | 
            +
                    {
         | 
| 928 | 
            +
                      "internalType": "bytes",
         | 
| 929 | 
            +
                      "name": "registryData",
         | 
| 930 | 
            +
                      "type": "bytes"
         | 
| 931 | 
            +
                    }
         | 
| 932 | 
            +
                  ],
         | 
| 933 | 
            +
                  "name": "initializeRegisterable",
         | 
| 934 | 
            +
                  "outputs": [],
         | 
| 935 | 
            +
                  "stateMutability": "nonpayable",
         | 
| 936 | 
            +
                  "type": "function"
         | 
| 937 | 
            +
                },
         | 
| 938 | 
            +
                {
         | 
| 939 | 
            +
                  "inputs": [
         | 
| 940 | 
            +
                    {
         | 
| 941 | 
            +
                      "internalType": "address",
         | 
| 942 | 
            +
                      "name": "registryAddress",
         | 
| 943 | 
            +
                      "type": "address"
         | 
| 944 | 
            +
                    }
         | 
| 945 | 
            +
                  ],
         | 
| 946 | 
            +
                  "name": "initializeRegistryLinked",
         | 
| 947 | 
            +
                  "outputs": [],
         | 
| 948 | 
            +
                  "stateMutability": "nonpayable",
         | 
| 949 | 
            +
                  "type": "function"
         | 
| 950 | 
            +
                },
         | 
| 810 951 | 
             
                {
         | 
| 811 952 | 
             
                  "inputs": [],
         | 
| 812 953 | 
             
                  "name": "isConsumingScheduledOp",
         | 
| @@ -820,6 +961,19 @@ | |
| 820 961 | 
             
                  "stateMutability": "view",
         | 
| 821 962 | 
             
                  "type": "function"
         | 
| 822 963 | 
             
                },
         | 
| 964 | 
            +
                {
         | 
| 965 | 
            +
                  "inputs": [],
         | 
| 966 | 
            +
                  "name": "isNftInterceptor",
         | 
| 967 | 
            +
                  "outputs": [
         | 
| 968 | 
            +
                    {
         | 
| 969 | 
            +
                      "internalType": "bool",
         | 
| 970 | 
            +
                      "name": "isInterceptor",
         | 
| 971 | 
            +
                      "type": "bool"
         | 
| 972 | 
            +
                    }
         | 
| 973 | 
            +
                  ],
         | 
| 974 | 
            +
                  "stateMutability": "view",
         | 
| 975 | 
            +
                  "type": "function"
         | 
| 976 | 
            +
                },
         | 
| 823 977 | 
             
                {
         | 
| 824 978 | 
             
                  "inputs": [],
         | 
| 825 979 | 
             
                  "name": "linkToRegisteredNftId",
         | 
| @@ -834,6 +988,60 @@ | |
| 834 988 | 
             
                  "stateMutability": "nonpayable",
         | 
| 835 989 | 
             
                  "type": "function"
         | 
| 836 990 | 
             
                },
         | 
| 991 | 
            +
                {
         | 
| 992 | 
            +
                  "inputs": [
         | 
| 993 | 
            +
                    {
         | 
| 994 | 
            +
                      "internalType": "address",
         | 
| 995 | 
            +
                      "name": "to",
         | 
| 996 | 
            +
                      "type": "address"
         | 
| 997 | 
            +
                    },
         | 
| 998 | 
            +
                    {
         | 
| 999 | 
            +
                      "internalType": "uint256",
         | 
| 1000 | 
            +
                      "name": "tokenId",
         | 
| 1001 | 
            +
                      "type": "uint256"
         | 
| 1002 | 
            +
                    }
         | 
| 1003 | 
            +
                  ],
         | 
| 1004 | 
            +
                  "name": "nftMint",
         | 
| 1005 | 
            +
                  "outputs": [],
         | 
| 1006 | 
            +
                  "stateMutability": "nonpayable",
         | 
| 1007 | 
            +
                  "type": "function"
         | 
| 1008 | 
            +
                },
         | 
| 1009 | 
            +
                {
         | 
| 1010 | 
            +
                  "inputs": [
         | 
| 1011 | 
            +
                    {
         | 
| 1012 | 
            +
                      "internalType": "address",
         | 
| 1013 | 
            +
                      "name": "from",
         | 
| 1014 | 
            +
                      "type": "address"
         | 
| 1015 | 
            +
                    },
         | 
| 1016 | 
            +
                    {
         | 
| 1017 | 
            +
                      "internalType": "address",
         | 
| 1018 | 
            +
                      "name": "to",
         | 
| 1019 | 
            +
                      "type": "address"
         | 
| 1020 | 
            +
                    },
         | 
| 1021 | 
            +
                    {
         | 
| 1022 | 
            +
                      "internalType": "uint256",
         | 
| 1023 | 
            +
                      "name": "tokenId",
         | 
| 1024 | 
            +
                      "type": "uint256"
         | 
| 1025 | 
            +
                    }
         | 
| 1026 | 
            +
                  ],
         | 
| 1027 | 
            +
                  "name": "nftTransferFrom",
         | 
| 1028 | 
            +
                  "outputs": [],
         | 
| 1029 | 
            +
                  "stateMutability": "nonpayable",
         | 
| 1030 | 
            +
                  "type": "function"
         | 
| 1031 | 
            +
                },
         | 
| 1032 | 
            +
                {
         | 
| 1033 | 
            +
                  "inputs": [
         | 
| 1034 | 
            +
                    {
         | 
| 1035 | 
            +
                      "internalType": "bytes4",
         | 
| 1036 | 
            +
                      "name": "interfaceId",
         | 
| 1037 | 
            +
                      "type": "bytes4"
         | 
| 1038 | 
            +
                    }
         | 
| 1039 | 
            +
                  ],
         | 
| 1040 | 
            +
                  "name": "registerInterface",
         | 
| 1041 | 
            +
                  "outputs": [],
         | 
| 1042 | 
            +
                  "stateMutability": "nonpayable",
         | 
| 1043 | 
            +
                  "type": "function"
         | 
| 1044 | 
            +
                },
         | 
| 837 1045 | 
             
                {
         | 
| 838 1046 | 
             
                  "inputs": [
         | 
| 839 1047 | 
             
                    {
         |