@etherisc/gif-next 0.0.2-bfb44e0-483 → 0.0.2-c0b400a-177
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +8 -8
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +80 -145
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +125 -239
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +77 -92
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +102 -183
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +261 -201
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +81 -164
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +278 -288
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +85 -218
- 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 +496 -536
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +105 -212
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +567 -621
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +448 -121
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +120 -227
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +170 -397
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +207 -116
- 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 +18 -220
- 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 +54 -71
- 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 +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +182 -331
- 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 +141 -366
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +182 -107
- 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 +824 -268
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +312 -109
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +124 -206
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +89 -257
- 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 +514 -157
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +45 -289
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +69 -153
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +12 -177
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +85 -442
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +188 -141
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +116 -249
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +187 -104
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +42 -272
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +179 -104
- 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 +19 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +71 -180
- 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 +31 -12
- 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 +90 -264
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +182 -113
- 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 +34 -67
- 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 +2 -2
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +4 -30
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +4 -30
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -21
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +12 -177
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -150
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +10 -62
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -23
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +171 -88
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +11 -74
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -23
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +13 -215
- 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 +0 -150
- 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 +11 -74
- 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 +31 -269
- 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 +6 -188
- 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 +96 -81
- package/contracts/components/Distribution.sol +29 -47
- package/contracts/components/IComponent.sol +40 -16
- package/contracts/components/IDistributionComponent.sol +1 -30
- package/contracts/components/IPoolComponent.sol +73 -47
- package/contracts/components/IProductComponent.sol +3 -2
- package/contracts/components/Pool.sol +171 -126
- package/contracts/components/Product.sol +38 -23
- 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 +23 -11
- package/contracts/instance/IInstanceService.sol +18 -5
- package/contracts/instance/Instance.sol +62 -16
- package/contracts/instance/InstanceAccessManager.sol +382 -157
- package/contracts/instance/InstanceReader.sol +7 -10
- package/contracts/instance/InstanceService.sol +222 -160
- package/contracts/instance/InstanceServiceManager.sol +1 -1
- package/contracts/instance/ObjectManager.sol +6 -8
- package/contracts/instance/base/ComponentService.sol +5 -5
- package/contracts/instance/base/KeyValueStore.sol +5 -2
- package/contracts/instance/base/Lifecycle.sol +11 -2
- package/contracts/instance/module/IAccess.sol +20 -13
- 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 -21
- package/contracts/instance/service/ApplicationService.sol +139 -57
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +76 -38
- 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 +224 -31
- package/contracts/instance/service/DistributionServiceManager.sol +1 -1
- package/contracts/instance/service/IApplicationService.sol +9 -9
- package/contracts/instance/service/IBundleService.sol +19 -11
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +36 -3
- package/contracts/instance/service/IPolicyService.sol +18 -34
- package/contracts/instance/service/IPoolService.sol +17 -2
- package/contracts/instance/service/PolicyService.sol +74 -195
- package/contracts/instance/service/PolicyServiceManager.sol +2 -2
- package/contracts/instance/service/PoolService.sol +128 -17
- package/contracts/instance/service/PoolServiceManager.sol +1 -1
- package/contracts/instance/service/ProductService.sol +10 -2
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/ChainNft.sol +8 -0
- package/contracts/registry/IRegistry.sol +2 -0
- package/contracts/registry/IRegistryService.sol +10 -8
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +26 -21
- package/contracts/registry/RegistryService.sol +62 -40
- package/contracts/registry/RegistryServiceManager.sol +13 -13
- package/contracts/registry/ReleaseManager.sol +18 -28
- package/contracts/registry/TokenRegistry.sol +13 -10
- package/contracts/shared/ERC165.sol +2 -1
- package/contracts/shared/INftOwnable.sol +4 -9
- package/contracts/shared/IRegistryLinked.sol +0 -3
- package/contracts/shared/IService.sol +2 -0
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +10 -80
- package/contracts/shared/ProxyManager.sol +98 -24
- package/contracts/shared/Registerable.sol +3 -10
- package/contracts/shared/RegistryLinked.sol +10 -26
- package/contracts/shared/Service.sol +10 -12
- package/contracts/shared/TokenHandler.sol +11 -5
- package/contracts/shared/Versionable.sol +1 -90
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +52 -0
- package/contracts/types/Fee.sol +1 -0
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/ObjectType.sol +5 -4
- 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 +1 -1
- 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/IB.sol/IB.json +0 -50
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/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
@@ -5,29 +5,34 @@
|
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [
|
8
|
-
{
|
9
|
-
"internalType": "address",
|
10
|
-
"name": "registry",
|
11
|
-
"type": "address"
|
12
|
-
},
|
13
8
|
{
|
14
9
|
"internalType": "NftId",
|
15
|
-
"name": "
|
10
|
+
"name": "bundleNftId",
|
16
11
|
"type": "uint96"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "StateId",
|
15
|
+
"name": "state",
|
16
|
+
"type": "uint8"
|
17
17
|
}
|
18
18
|
],
|
19
|
-
"name": "
|
19
|
+
"name": "ErrorBundleServiceBundleNotOpen",
|
20
20
|
"type": "error"
|
21
21
|
},
|
22
22
|
{
|
23
23
|
"inputs": [
|
24
24
|
{
|
25
|
-
"internalType": "
|
26
|
-
"name": "
|
27
|
-
"type": "
|
25
|
+
"internalType": "NftId",
|
26
|
+
"name": "bundleNftId",
|
27
|
+
"type": "uint96"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"internalType": "uint256",
|
31
|
+
"name": "openPoliciesCount",
|
32
|
+
"type": "uint256"
|
28
33
|
}
|
29
34
|
],
|
30
|
-
"name": "
|
35
|
+
"name": "ErrorBundleServiceBundleWithOpenPolicies",
|
31
36
|
"type": "error"
|
32
37
|
},
|
33
38
|
{
|
@@ -48,55 +53,67 @@
|
|
48
53
|
"type": "uint256"
|
49
54
|
}
|
50
55
|
],
|
51
|
-
"name": "
|
56
|
+
"name": "ErrorBundleServiceInsufficientAllowance",
|
52
57
|
"type": "error"
|
53
58
|
},
|
54
59
|
{
|
55
|
-
"inputs": [
|
56
|
-
|
60
|
+
"inputs": [
|
61
|
+
{
|
62
|
+
"internalType": "address",
|
63
|
+
"name": "caller",
|
64
|
+
"type": "address"
|
65
|
+
}
|
66
|
+
],
|
67
|
+
"name": "ErrorIServiceCallerUnknown",
|
57
68
|
"type": "error"
|
58
69
|
},
|
59
70
|
{
|
60
71
|
"inputs": [
|
61
72
|
{
|
62
|
-
"internalType": "
|
63
|
-
"name": "
|
64
|
-
"type": "
|
73
|
+
"internalType": "NftId",
|
74
|
+
"name": "nftId",
|
75
|
+
"type": "uint96"
|
65
76
|
}
|
66
77
|
],
|
67
|
-
"name": "
|
78
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
68
79
|
"type": "error"
|
69
80
|
},
|
70
81
|
{
|
71
82
|
"inputs": [
|
72
83
|
{
|
73
84
|
"internalType": "address",
|
74
|
-
"name": "
|
85
|
+
"name": "contractAddress",
|
75
86
|
"type": "address"
|
76
87
|
}
|
77
88
|
],
|
78
|
-
"name": "
|
89
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
79
90
|
"type": "error"
|
80
91
|
},
|
81
92
|
{
|
82
93
|
"inputs": [],
|
83
|
-
"name": "
|
94
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
84
95
|
"type": "error"
|
85
96
|
},
|
86
97
|
{
|
87
98
|
"inputs": [
|
88
99
|
{
|
89
100
|
"internalType": "address",
|
90
|
-
"name": "
|
101
|
+
"name": "account",
|
91
102
|
"type": "address"
|
92
103
|
}
|
93
104
|
],
|
94
|
-
"name": "
|
105
|
+
"name": "ErrorNftOwnableNotOwner",
|
95
106
|
"type": "error"
|
96
107
|
},
|
97
108
|
{
|
98
|
-
"inputs": [
|
99
|
-
|
109
|
+
"inputs": [
|
110
|
+
{
|
111
|
+
"internalType": "address",
|
112
|
+
"name": "registryAddress",
|
113
|
+
"type": "address"
|
114
|
+
}
|
115
|
+
],
|
116
|
+
"name": "ErrorNotRegistry",
|
100
117
|
"type": "error"
|
101
118
|
},
|
102
119
|
{
|
@@ -104,26 +121,53 @@
|
|
104
121
|
"inputs": [
|
105
122
|
{
|
106
123
|
"indexed": false,
|
107
|
-
"internalType": "
|
108
|
-
"name": "
|
109
|
-
"type": "
|
110
|
-
}
|
124
|
+
"internalType": "NftId",
|
125
|
+
"name": "bundleNftId",
|
126
|
+
"type": "uint96"
|
127
|
+
}
|
128
|
+
],
|
129
|
+
"name": "LogBundleServiceBundleActivated",
|
130
|
+
"type": "event"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"anonymous": false,
|
134
|
+
"inputs": [
|
111
135
|
{
|
112
136
|
"indexed": false,
|
113
|
-
"internalType": "
|
114
|
-
"name": "
|
115
|
-
"type": "
|
116
|
-
}
|
137
|
+
"internalType": "NftId",
|
138
|
+
"name": "bundleNftId",
|
139
|
+
"type": "uint96"
|
140
|
+
}
|
141
|
+
],
|
142
|
+
"name": "LogBundleServiceBundleClosed",
|
143
|
+
"type": "event"
|
144
|
+
},
|
145
|
+
{
|
146
|
+
"anonymous": false,
|
147
|
+
"inputs": [
|
117
148
|
{
|
118
149
|
"indexed": false,
|
119
|
-
"internalType": "
|
120
|
-
"name": "
|
121
|
-
"type": "
|
150
|
+
"internalType": "NftId",
|
151
|
+
"name": "bundleNftId",
|
152
|
+
"type": "uint96"
|
122
153
|
}
|
123
154
|
],
|
124
|
-
"name": "
|
155
|
+
"name": "LogBundleServiceBundleLocked",
|
125
156
|
"type": "event"
|
126
157
|
},
|
158
|
+
{
|
159
|
+
"inputs": [
|
160
|
+
{
|
161
|
+
"internalType": "NftId",
|
162
|
+
"name": "bundleNftId",
|
163
|
+
"type": "uint96"
|
164
|
+
}
|
165
|
+
],
|
166
|
+
"name": "close",
|
167
|
+
"outputs": [],
|
168
|
+
"stateMutability": "nonpayable",
|
169
|
+
"type": "function"
|
170
|
+
},
|
127
171
|
{
|
128
172
|
"inputs": [
|
129
173
|
{
|
@@ -182,9 +226,9 @@
|
|
182
226
|
"type": "uint256"
|
183
227
|
},
|
184
228
|
{
|
185
|
-
"internalType": "
|
229
|
+
"internalType": "Seconds",
|
186
230
|
"name": "lifetime",
|
187
|
-
"type": "
|
231
|
+
"type": "uint40"
|
188
232
|
},
|
189
233
|
{
|
190
234
|
"internalType": "bytes",
|
@@ -192,7 +236,7 @@
|
|
192
236
|
"type": "bytes"
|
193
237
|
}
|
194
238
|
],
|
195
|
-
"name": "
|
239
|
+
"name": "create",
|
196
240
|
"outputs": [
|
197
241
|
{
|
198
242
|
"internalType": "NftId",
|
@@ -266,19 +310,6 @@
|
|
266
310
|
"stateMutability": "view",
|
267
311
|
"type": "function"
|
268
312
|
},
|
269
|
-
{
|
270
|
-
"inputs": [],
|
271
|
-
"name": "getInitializedVersion",
|
272
|
-
"outputs": [
|
273
|
-
{
|
274
|
-
"internalType": "uint64",
|
275
|
-
"name": "",
|
276
|
-
"type": "uint64"
|
277
|
-
}
|
278
|
-
],
|
279
|
-
"stateMutability": "view",
|
280
|
-
"type": "function"
|
281
|
-
},
|
282
313
|
{
|
283
314
|
"inputs": [],
|
284
315
|
"name": "getMajorVersion",
|
@@ -357,84 +388,6 @@
|
|
357
388
|
"stateMutability": "pure",
|
358
389
|
"type": "function"
|
359
390
|
},
|
360
|
-
{
|
361
|
-
"inputs": [
|
362
|
-
{
|
363
|
-
"internalType": "uint256",
|
364
|
-
"name": "index",
|
365
|
-
"type": "uint256"
|
366
|
-
}
|
367
|
-
],
|
368
|
-
"name": "getVersion",
|
369
|
-
"outputs": [
|
370
|
-
{
|
371
|
-
"internalType": "Version",
|
372
|
-
"name": "version",
|
373
|
-
"type": "uint24"
|
374
|
-
}
|
375
|
-
],
|
376
|
-
"stateMutability": "view",
|
377
|
-
"type": "function"
|
378
|
-
},
|
379
|
-
{
|
380
|
-
"inputs": [],
|
381
|
-
"name": "getVersionCount",
|
382
|
-
"outputs": [
|
383
|
-
{
|
384
|
-
"internalType": "uint256",
|
385
|
-
"name": "numberOfVersions",
|
386
|
-
"type": "uint256"
|
387
|
-
}
|
388
|
-
],
|
389
|
-
"stateMutability": "view",
|
390
|
-
"type": "function"
|
391
|
-
},
|
392
|
-
{
|
393
|
-
"inputs": [
|
394
|
-
{
|
395
|
-
"internalType": "Version",
|
396
|
-
"name": "version",
|
397
|
-
"type": "uint24"
|
398
|
-
}
|
399
|
-
],
|
400
|
-
"name": "getVersionInfo",
|
401
|
-
"outputs": [
|
402
|
-
{
|
403
|
-
"components": [
|
404
|
-
{
|
405
|
-
"internalType": "Version",
|
406
|
-
"name": "version",
|
407
|
-
"type": "uint24"
|
408
|
-
},
|
409
|
-
{
|
410
|
-
"internalType": "address",
|
411
|
-
"name": "implementation",
|
412
|
-
"type": "address"
|
413
|
-
},
|
414
|
-
{
|
415
|
-
"internalType": "address",
|
416
|
-
"name": "activatedBy",
|
417
|
-
"type": "address"
|
418
|
-
},
|
419
|
-
{
|
420
|
-
"internalType": "Timestamp",
|
421
|
-
"name": "activatedAt",
|
422
|
-
"type": "uint40"
|
423
|
-
},
|
424
|
-
{
|
425
|
-
"internalType": "Blocknumber",
|
426
|
-
"name": "activatedIn",
|
427
|
-
"type": "uint32"
|
428
|
-
}
|
429
|
-
],
|
430
|
-
"internalType": "struct IVersionable.VersionInfo",
|
431
|
-
"name": "versionInfo",
|
432
|
-
"type": "tuple"
|
433
|
-
}
|
434
|
-
],
|
435
|
-
"stateMutability": "view",
|
436
|
-
"type": "function"
|
437
|
-
},
|
438
391
|
{
|
439
392
|
"inputs": [
|
440
393
|
{
|
@@ -460,11 +413,6 @@
|
|
460
413
|
},
|
461
414
|
{
|
462
415
|
"inputs": [
|
463
|
-
{
|
464
|
-
"internalType": "address",
|
465
|
-
"name": "implementation",
|
466
|
-
"type": "address"
|
467
|
-
},
|
468
416
|
{
|
469
417
|
"internalType": "address",
|
470
418
|
"name": "activatedBy",
|
@@ -481,25 +429,6 @@
|
|
481
429
|
"stateMutability": "nonpayable",
|
482
430
|
"type": "function"
|
483
431
|
},
|
484
|
-
{
|
485
|
-
"inputs": [
|
486
|
-
{
|
487
|
-
"internalType": "Version",
|
488
|
-
"name": "version",
|
489
|
-
"type": "uint24"
|
490
|
-
}
|
491
|
-
],
|
492
|
-
"name": "isInitialized",
|
493
|
-
"outputs": [
|
494
|
-
{
|
495
|
-
"internalType": "bool",
|
496
|
-
"name": "",
|
497
|
-
"type": "bool"
|
498
|
-
}
|
499
|
-
],
|
500
|
-
"stateMutability": "view",
|
501
|
-
"type": "function"
|
502
|
-
},
|
503
432
|
{
|
504
433
|
"inputs": [],
|
505
434
|
"name": "linkToRegisteredNftId",
|
@@ -515,7 +444,7 @@
|
|
515
444
|
"type": "uint96"
|
516
445
|
}
|
517
446
|
],
|
518
|
-
"name": "
|
447
|
+
"name": "lock",
|
519
448
|
"outputs": [],
|
520
449
|
"stateMutability": "nonpayable",
|
521
450
|
"type": "function"
|
@@ -595,9 +524,9 @@
|
|
595
524
|
"type": "uint256"
|
596
525
|
},
|
597
526
|
{
|
598
|
-
"internalType": "
|
527
|
+
"internalType": "Seconds",
|
599
528
|
"name": "lifetime",
|
600
|
-
"type": "
|
529
|
+
"type": "uint40"
|
601
530
|
},
|
602
531
|
{
|
603
532
|
"internalType": "Timestamp",
|
@@ -643,7 +572,7 @@
|
|
643
572
|
"type": "tuple"
|
644
573
|
}
|
645
574
|
],
|
646
|
-
"name": "
|
575
|
+
"name": "setFee",
|
647
576
|
"outputs": [],
|
648
577
|
"stateMutability": "nonpayable",
|
649
578
|
"type": "function"
|
@@ -675,110 +604,13 @@
|
|
675
604
|
"type": "uint96"
|
676
605
|
}
|
677
606
|
],
|
678
|
-
"name": "
|
607
|
+
"name": "unlock",
|
679
608
|
"outputs": [],
|
680
609
|
"stateMutability": "nonpayable",
|
681
610
|
"type": "function"
|
682
611
|
},
|
683
612
|
{
|
684
613
|
"inputs": [
|
685
|
-
{
|
686
|
-
"internalType": "NftId",
|
687
|
-
"name": "instanceNftId",
|
688
|
-
"type": "uint96"
|
689
|
-
},
|
690
|
-
{
|
691
|
-
"internalType": "NftId",
|
692
|
-
"name": "bundleNftId",
|
693
|
-
"type": "uint96"
|
694
|
-
},
|
695
|
-
{
|
696
|
-
"components": [
|
697
|
-
{
|
698
|
-
"internalType": "NftId",
|
699
|
-
"name": "poolNftId",
|
700
|
-
"type": "uint96"
|
701
|
-
},
|
702
|
-
{
|
703
|
-
"components": [
|
704
|
-
{
|
705
|
-
"internalType": "UFixed",
|
706
|
-
"name": "fractionalFee",
|
707
|
-
"type": "uint256"
|
708
|
-
},
|
709
|
-
{
|
710
|
-
"internalType": "uint256",
|
711
|
-
"name": "fixedFee",
|
712
|
-
"type": "uint256"
|
713
|
-
}
|
714
|
-
],
|
715
|
-
"internalType": "struct Fee",
|
716
|
-
"name": "fee",
|
717
|
-
"type": "tuple"
|
718
|
-
},
|
719
|
-
{
|
720
|
-
"internalType": "bytes",
|
721
|
-
"name": "filter",
|
722
|
-
"type": "bytes"
|
723
|
-
},
|
724
|
-
{
|
725
|
-
"internalType": "uint256",
|
726
|
-
"name": "capitalAmount",
|
727
|
-
"type": "uint256"
|
728
|
-
},
|
729
|
-
{
|
730
|
-
"internalType": "uint256",
|
731
|
-
"name": "lockedAmount",
|
732
|
-
"type": "uint256"
|
733
|
-
},
|
734
|
-
{
|
735
|
-
"internalType": "uint256",
|
736
|
-
"name": "balanceAmount",
|
737
|
-
"type": "uint256"
|
738
|
-
},
|
739
|
-
{
|
740
|
-
"internalType": "uint256",
|
741
|
-
"name": "lifetime",
|
742
|
-
"type": "uint256"
|
743
|
-
},
|
744
|
-
{
|
745
|
-
"internalType": "Timestamp",
|
746
|
-
"name": "expiredAt",
|
747
|
-
"type": "uint40"
|
748
|
-
},
|
749
|
-
{
|
750
|
-
"internalType": "Timestamp",
|
751
|
-
"name": "closedAt",
|
752
|
-
"type": "uint40"
|
753
|
-
}
|
754
|
-
],
|
755
|
-
"internalType": "struct IBundle.BundleInfo",
|
756
|
-
"name": "bundleInfo",
|
757
|
-
"type": "tuple"
|
758
|
-
},
|
759
|
-
{
|
760
|
-
"internalType": "StateId",
|
761
|
-
"name": "state",
|
762
|
-
"type": "uint8"
|
763
|
-
}
|
764
|
-
],
|
765
|
-
"name": "updateBundle",
|
766
|
-
"outputs": [],
|
767
|
-
"stateMutability": "nonpayable",
|
768
|
-
"type": "function"
|
769
|
-
},
|
770
|
-
{
|
771
|
-
"inputs": [
|
772
|
-
{
|
773
|
-
"internalType": "address",
|
774
|
-
"name": "implementation",
|
775
|
-
"type": "address"
|
776
|
-
},
|
777
|
-
{
|
778
|
-
"internalType": "address",
|
779
|
-
"name": "activatedBy",
|
780
|
-
"type": "address"
|
781
|
-
},
|
782
614
|
{
|
783
615
|
"internalType": "bytes",
|
784
616
|
"name": "upgradeData",
|