@etherisc/gif-next 0.0.2-e9148e0-933 → 0.0.2-e922e07-736
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +136 -2
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +774 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +879 -236
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → components/IComponent.sol/IComponent.json} +164 -159
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +689 -30
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +838 -58
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +524 -9
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +950 -281
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +568 -188
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +86 -2
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1912 -421
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +194 -165
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +901 -1127
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +211 -144
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +126 -159
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +420 -305
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +297 -112
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +189 -177
- 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 +2 -2
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/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 +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1096 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
- 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 +1221 -213
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +436 -79
- 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 +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +633 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +150 -207
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +727 -160
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +540 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +37 -251
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +47 -414
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1021 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +209 -321
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +296 -95
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +218 -499
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +299 -98
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +242 -131
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +158 -215
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +256 -226
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +202 -318
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +298 -141
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
- 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 -34
- 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 +31 -183
- 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 +120 -27
- 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 -61
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
- 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 +127 -170
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- 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/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +148 -227
- 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/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/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/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 +2 -2
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
- 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/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/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/contracts/components/Component.sol +221 -0
- package/contracts/components/Distribution.sol +200 -79
- package/contracts/components/IComponent.sol +68 -0
- package/contracts/components/IDistributionComponent.sol +44 -17
- package/contracts/components/IPoolComponent.sol +126 -37
- package/contracts/components/IProductComponent.sol +10 -5
- package/contracts/components/Pool.sol +288 -152
- package/contracts/components/Product.sol +124 -119
- package/contracts/instance/BundleManager.sol +125 -0
- package/contracts/instance/Cloneable.sol +46 -0
- package/contracts/instance/IInstance.sol +56 -5
- package/contracts/instance/IInstanceService.sol +33 -4
- package/contracts/instance/Instance.sol +109 -261
- package/contracts/instance/InstanceAccessManager.sol +87 -78
- package/contracts/instance/InstanceReader.sol +12 -25
- package/contracts/instance/InstanceService.sol +401 -104
- package/contracts/instance/InstanceServiceManager.sol +6 -9
- package/contracts/instance/ObjectManager.sol +84 -0
- package/contracts/instance/base/ComponentService.sol +134 -0
- package/contracts/instance/module/IAccess.sol +27 -18
- package/contracts/instance/module/IBundle.sol +2 -1
- package/contracts/instance/module/IDistribution.sol +2 -0
- package/contracts/instance/module/IPolicy.sol +30 -3
- package/contracts/instance/module/ISetup.sol +12 -10
- package/contracts/instance/service/ApplicationService.sol +349 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +299 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/ClaimService.sol +151 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +390 -28
- package/contracts/instance/service/DistributionServiceManager.sol +7 -10
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +55 -0
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +86 -0
- package/contracts/instance/service/IPolicyService.sol +72 -0
- package/contracts/instance/service/IPoolService.sol +6 -23
- package/contracts/instance/service/IProductService.sol +6 -73
- package/contracts/instance/service/PolicyService.sol +394 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +38 -123
- package/contracts/instance/service/PoolServiceManager.sol +6 -9
- package/contracts/instance/service/ProductService.sol +133 -448
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/ChainNft.sol +1 -1
- package/contracts/registry/IRegistry.sol +39 -19
- package/contracts/registry/IRegistryService.sol +30 -13
- package/contracts/registry/Registry.sol +236 -216
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +96 -171
- package/contracts/registry/RegistryServiceManager.sol +21 -39
- package/contracts/registry/ReleaseManager.sol +322 -0
- package/contracts/registry/TokenRegistry.sol +22 -17
- 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 +4 -6
- package/contracts/shared/IRegistryLinked.sol +12 -0
- package/contracts/shared/IService.sol +4 -1
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +66 -80
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +100 -25
- package/contracts/shared/Registerable.sol +16 -32
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +25 -22
- package/contracts/shared/Versionable.sol +4 -92
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestService.sol +4 -3
- package/contracts/types/ClaimId.sol +52 -0
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/ObjectType.sol +9 -5
- package/contracts/types/PayoutId.sol +54 -0
- package/contracts/types/Referral.sol +4 -0
- package/contracts/types/RoleId.sol +19 -14
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/Timestamp.sol +12 -13
- package/package.json +3 -3
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
- 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/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/contracts/components/BaseComponent.sol +0 -91
- package/contracts/components/IBaseComponent.sol +0 -25
- package/contracts/experiment/cloning/Cloner.sol +0 -47
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/AccessManagedSimple.sol +0 -115
- package/contracts/instance/AccessManagerSimple.sol +0 -692
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/base/ComponentServiceBase.sol +0 -124
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/service/ComponentOwnerService.sol +0 -317
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -7,146 +7,73 @@
|
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "address",
|
10
|
-
"name": "
|
11
|
-
"type": "address"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"internalType": "NftId",
|
15
|
-
"name": "nftId",
|
16
|
-
"type": "uint96"
|
17
|
-
}
|
18
|
-
],
|
19
|
-
"name": "ErrorAlreadyLinked",
|
20
|
-
"type": "error"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"inputs": [
|
24
|
-
{
|
25
|
-
"internalType": "address",
|
26
|
-
"name": "contractAddress",
|
10
|
+
"name": "caller",
|
27
11
|
"type": "address"
|
28
12
|
}
|
29
13
|
],
|
30
|
-
"name": "
|
14
|
+
"name": "ErrorIServiceCallerUnknown",
|
31
15
|
"type": "error"
|
32
16
|
},
|
33
17
|
{
|
34
18
|
"inputs": [
|
35
19
|
{
|
36
|
-
"internalType": "
|
37
|
-
"name": "
|
38
|
-
"type": "
|
20
|
+
"internalType": "NftId",
|
21
|
+
"name": "nftId",
|
22
|
+
"type": "uint96"
|
39
23
|
}
|
40
24
|
],
|
41
|
-
"name": "
|
25
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
42
26
|
"type": "error"
|
43
27
|
},
|
44
28
|
{
|
45
29
|
"inputs": [
|
46
30
|
{
|
47
31
|
"internalType": "address",
|
48
|
-
"name": "
|
32
|
+
"name": "contractAddress",
|
49
33
|
"type": "address"
|
50
34
|
}
|
51
35
|
],
|
52
|
-
"name": "
|
36
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
53
37
|
"type": "error"
|
54
38
|
},
|
55
39
|
{
|
56
40
|
"inputs": [],
|
57
|
-
"name": "
|
41
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
58
42
|
"type": "error"
|
59
43
|
},
|
60
44
|
{
|
61
45
|
"inputs": [
|
62
46
|
{
|
63
47
|
"internalType": "address",
|
64
|
-
"name": "
|
48
|
+
"name": "account",
|
65
49
|
"type": "address"
|
66
50
|
}
|
67
51
|
],
|
68
|
-
"name": "
|
69
|
-
"type": "error"
|
70
|
-
},
|
71
|
-
{
|
72
|
-
"inputs": [],
|
73
|
-
"name": "ErrorRegistryNotInitialized",
|
52
|
+
"name": "ErrorNftOwnableNotOwner",
|
74
53
|
"type": "error"
|
75
54
|
},
|
76
55
|
{
|
77
|
-
"anonymous": false,
|
78
56
|
"inputs": [
|
79
57
|
{
|
80
|
-
"indexed": false,
|
81
|
-
"internalType": "Version",
|
82
|
-
"name": "version",
|
83
|
-
"type": "uint24"
|
84
|
-
},
|
85
|
-
{
|
86
|
-
"indexed": false,
|
87
58
|
"internalType": "address",
|
88
|
-
"name": "
|
89
|
-
"type": "address"
|
90
|
-
},
|
91
|
-
{
|
92
|
-
"indexed": false,
|
93
|
-
"internalType": "address",
|
94
|
-
"name": "activatedBy",
|
59
|
+
"name": "registryAddress",
|
95
60
|
"type": "address"
|
96
61
|
}
|
97
62
|
],
|
98
|
-
"name": "
|
99
|
-
"type": "
|
63
|
+
"name": "ErrorNotRegistry",
|
64
|
+
"type": "error"
|
100
65
|
},
|
101
66
|
{
|
102
|
-
"inputs": [
|
103
|
-
|
104
|
-
"internalType": "address",
|
105
|
-
"name": "owner",
|
106
|
-
"type": "address"
|
107
|
-
},
|
108
|
-
{
|
109
|
-
"components": [
|
110
|
-
{
|
111
|
-
"internalType": "UFixed",
|
112
|
-
"name": "fractionalFee",
|
113
|
-
"type": "uint256"
|
114
|
-
},
|
115
|
-
{
|
116
|
-
"internalType": "uint256",
|
117
|
-
"name": "fixedFee",
|
118
|
-
"type": "uint256"
|
119
|
-
}
|
120
|
-
],
|
121
|
-
"internalType": "struct Fee",
|
122
|
-
"name": "fee",
|
123
|
-
"type": "tuple"
|
124
|
-
},
|
125
|
-
{
|
126
|
-
"internalType": "uint256",
|
127
|
-
"name": "amount",
|
128
|
-
"type": "uint256"
|
129
|
-
},
|
130
|
-
{
|
131
|
-
"internalType": "uint256",
|
132
|
-
"name": "lifetime",
|
133
|
-
"type": "uint256"
|
134
|
-
},
|
135
|
-
{
|
136
|
-
"internalType": "bytes",
|
137
|
-
"name": "filter",
|
138
|
-
"type": "bytes"
|
139
|
-
}
|
140
|
-
],
|
141
|
-
"name": "createBundle",
|
67
|
+
"inputs": [],
|
68
|
+
"name": "getDomain",
|
142
69
|
"outputs": [
|
143
70
|
{
|
144
|
-
"internalType": "
|
145
|
-
"name": "
|
146
|
-
"type": "
|
71
|
+
"internalType": "ObjectType",
|
72
|
+
"name": "serviceDomain",
|
73
|
+
"type": "uint8"
|
147
74
|
}
|
148
75
|
],
|
149
|
-
"stateMutability": "
|
76
|
+
"stateMutability": "pure",
|
150
77
|
"type": "function"
|
151
78
|
},
|
152
79
|
{
|
@@ -194,24 +121,6 @@
|
|
194
121
|
"internalType": "struct IRegistry.ObjectInfo",
|
195
122
|
"name": "",
|
196
123
|
"type": "tuple"
|
197
|
-
},
|
198
|
-
{
|
199
|
-
"internalType": "bytes",
|
200
|
-
"name": "data",
|
201
|
-
"type": "bytes"
|
202
|
-
}
|
203
|
-
],
|
204
|
-
"stateMutability": "view",
|
205
|
-
"type": "function"
|
206
|
-
},
|
207
|
-
{
|
208
|
-
"inputs": [],
|
209
|
-
"name": "getInitializedVersion",
|
210
|
-
"outputs": [
|
211
|
-
{
|
212
|
-
"internalType": "uint64",
|
213
|
-
"name": "",
|
214
|
-
"type": "uint64"
|
215
124
|
}
|
216
125
|
],
|
217
126
|
"stateMutability": "view",
|
@@ -230,19 +139,6 @@
|
|
230
139
|
"stateMutability": "view",
|
231
140
|
"type": "function"
|
232
141
|
},
|
233
|
-
{
|
234
|
-
"inputs": [],
|
235
|
-
"name": "getName",
|
236
|
-
"outputs": [
|
237
|
-
{
|
238
|
-
"internalType": "string",
|
239
|
-
"name": "name",
|
240
|
-
"type": "string"
|
241
|
-
}
|
242
|
-
],
|
243
|
-
"stateMutability": "pure",
|
244
|
-
"type": "function"
|
245
|
-
},
|
246
142
|
{
|
247
143
|
"inputs": [],
|
248
144
|
"name": "getNftId",
|
@@ -284,31 +180,12 @@
|
|
284
180
|
},
|
285
181
|
{
|
286
182
|
"inputs": [],
|
287
|
-
"name": "
|
183
|
+
"name": "getRegistryAddress",
|
288
184
|
"outputs": [
|
289
185
|
{
|
290
|
-
"internalType": "
|
186
|
+
"internalType": "address",
|
291
187
|
"name": "",
|
292
|
-
"type": "
|
293
|
-
}
|
294
|
-
],
|
295
|
-
"stateMutability": "pure",
|
296
|
-
"type": "function"
|
297
|
-
},
|
298
|
-
{
|
299
|
-
"inputs": [
|
300
|
-
{
|
301
|
-
"internalType": "uint256",
|
302
|
-
"name": "index",
|
303
|
-
"type": "uint256"
|
304
|
-
}
|
305
|
-
],
|
306
|
-
"name": "getVersion",
|
307
|
-
"outputs": [
|
308
|
-
{
|
309
|
-
"internalType": "Version",
|
310
|
-
"name": "version",
|
311
|
-
"type": "uint24"
|
188
|
+
"type": "address"
|
312
189
|
}
|
313
190
|
],
|
314
191
|
"stateMutability": "view",
|
@@ -316,70 +193,19 @@
|
|
316
193
|
},
|
317
194
|
{
|
318
195
|
"inputs": [],
|
319
|
-
"name": "
|
196
|
+
"name": "getVersion",
|
320
197
|
"outputs": [
|
321
|
-
{
|
322
|
-
"internalType": "uint256",
|
323
|
-
"name": "numberOfVersions",
|
324
|
-
"type": "uint256"
|
325
|
-
}
|
326
|
-
],
|
327
|
-
"stateMutability": "view",
|
328
|
-
"type": "function"
|
329
|
-
},
|
330
|
-
{
|
331
|
-
"inputs": [
|
332
198
|
{
|
333
199
|
"internalType": "Version",
|
334
|
-
"name": "
|
200
|
+
"name": "",
|
335
201
|
"type": "uint24"
|
336
202
|
}
|
337
203
|
],
|
338
|
-
"
|
339
|
-
"outputs": [
|
340
|
-
{
|
341
|
-
"components": [
|
342
|
-
{
|
343
|
-
"internalType": "Version",
|
344
|
-
"name": "version",
|
345
|
-
"type": "uint24"
|
346
|
-
},
|
347
|
-
{
|
348
|
-
"internalType": "address",
|
349
|
-
"name": "implementation",
|
350
|
-
"type": "address"
|
351
|
-
},
|
352
|
-
{
|
353
|
-
"internalType": "address",
|
354
|
-
"name": "activatedBy",
|
355
|
-
"type": "address"
|
356
|
-
},
|
357
|
-
{
|
358
|
-
"internalType": "Timestamp",
|
359
|
-
"name": "activatedAt",
|
360
|
-
"type": "uint40"
|
361
|
-
},
|
362
|
-
{
|
363
|
-
"internalType": "Blocknumber",
|
364
|
-
"name": "activatedIn",
|
365
|
-
"type": "uint32"
|
366
|
-
}
|
367
|
-
],
|
368
|
-
"internalType": "struct IVersionable.VersionInfo",
|
369
|
-
"name": "versionInfo",
|
370
|
-
"type": "tuple"
|
371
|
-
}
|
372
|
-
],
|
373
|
-
"stateMutability": "view",
|
204
|
+
"stateMutability": "pure",
|
374
205
|
"type": "function"
|
375
206
|
},
|
376
207
|
{
|
377
208
|
"inputs": [
|
378
|
-
{
|
379
|
-
"internalType": "address",
|
380
|
-
"name": "implementation",
|
381
|
-
"type": "address"
|
382
|
-
},
|
383
209
|
{
|
384
210
|
"internalType": "address",
|
385
211
|
"name": "activatedBy",
|
@@ -391,30 +217,11 @@
|
|
391
217
|
"type": "bytes"
|
392
218
|
}
|
393
219
|
],
|
394
|
-
"name": "
|
220
|
+
"name": "initializeVersionable",
|
395
221
|
"outputs": [],
|
396
222
|
"stateMutability": "nonpayable",
|
397
223
|
"type": "function"
|
398
224
|
},
|
399
|
-
{
|
400
|
-
"inputs": [
|
401
|
-
{
|
402
|
-
"internalType": "Version",
|
403
|
-
"name": "version",
|
404
|
-
"type": "uint24"
|
405
|
-
}
|
406
|
-
],
|
407
|
-
"name": "isInitialized",
|
408
|
-
"outputs": [
|
409
|
-
{
|
410
|
-
"internalType": "bool",
|
411
|
-
"name": "",
|
412
|
-
"type": "bool"
|
413
|
-
}
|
414
|
-
],
|
415
|
-
"stateMutability": "view",
|
416
|
-
"type": "function"
|
417
|
-
},
|
418
225
|
{
|
419
226
|
"inputs": [],
|
420
227
|
"name": "linkToRegisteredNftId",
|
@@ -424,31 +231,20 @@
|
|
424
231
|
},
|
425
232
|
{
|
426
233
|
"inputs": [
|
234
|
+
{
|
235
|
+
"internalType": "address",
|
236
|
+
"name": "poolAddress",
|
237
|
+
"type": "address"
|
238
|
+
}
|
239
|
+
],
|
240
|
+
"name": "register",
|
241
|
+
"outputs": [
|
427
242
|
{
|
428
243
|
"internalType": "NftId",
|
429
|
-
"name": "
|
244
|
+
"name": "",
|
430
245
|
"type": "uint96"
|
431
|
-
},
|
432
|
-
{
|
433
|
-
"components": [
|
434
|
-
{
|
435
|
-
"internalType": "UFixed",
|
436
|
-
"name": "fractionalFee",
|
437
|
-
"type": "uint256"
|
438
|
-
},
|
439
|
-
{
|
440
|
-
"internalType": "uint256",
|
441
|
-
"name": "fixedFee",
|
442
|
-
"type": "uint256"
|
443
|
-
}
|
444
|
-
],
|
445
|
-
"internalType": "struct Fee",
|
446
|
-
"name": "fee",
|
447
|
-
"type": "tuple"
|
448
246
|
}
|
449
247
|
],
|
450
|
-
"name": "setBundleFee",
|
451
|
-
"outputs": [],
|
452
248
|
"stateMutability": "nonpayable",
|
453
249
|
"type": "function"
|
454
250
|
},
|
@@ -532,23 +328,13 @@
|
|
532
328
|
},
|
533
329
|
{
|
534
330
|
"inputs": [
|
535
|
-
{
|
536
|
-
"internalType": "address",
|
537
|
-
"name": "implementation",
|
538
|
-
"type": "address"
|
539
|
-
},
|
540
|
-
{
|
541
|
-
"internalType": "address",
|
542
|
-
"name": "activatedBy",
|
543
|
-
"type": "address"
|
544
|
-
},
|
545
331
|
{
|
546
332
|
"internalType": "bytes",
|
547
333
|
"name": "upgradeData",
|
548
334
|
"type": "bytes"
|
549
335
|
}
|
550
336
|
],
|
551
|
-
"name": "
|
337
|
+
"name": "upgradeVersionable",
|
552
338
|
"outputs": [],
|
553
339
|
"stateMutability": "nonpayable",
|
554
340
|
"type": "function"
|