@etherisc/gif-next 0.0.2-f7eda15-119 → 0.0.2-f831797-539
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +73 -1
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +252 -94
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +611 -159
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +104 -72
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +311 -108
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +331 -164
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +108 -144
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +553 -185
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +356 -166
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +30 -11
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +722 -422
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +94 -171
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +911 -779
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +39 -89
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +119 -216
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +276 -254
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +319 -99
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +2 -2
- 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 +13 -13
- 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 +1207 -255
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +449 -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 +214 -204
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +306 -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/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +15 -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/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +28 -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 +2 -2
- 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 +103 -78
- package/contracts/components/Distribution.sol +187 -57
- package/contracts/components/IComponent.sol +48 -17
- package/contracts/components/IDistributionComponent.sol +39 -15
- package/contracts/components/IPoolComponent.sol +84 -31
- package/contracts/components/IProductComponent.sol +3 -2
- package/contracts/components/Pool.sol +217 -145
- package/contracts/components/Product.sol +97 -69
- package/contracts/instance/BundleManager.sol +7 -5
- package/contracts/instance/IInstance.sol +24 -3
- package/contracts/instance/IInstanceService.sol +20 -1
- package/contracts/instance/Instance.sol +65 -39
- package/contracts/instance/InstanceAccessManager.sol +12 -13
- package/contracts/instance/InstanceReader.sol +4 -3
- package/contracts/instance/InstanceService.sol +111 -57
- package/contracts/instance/InstanceServiceManager.sol +1 -1
- package/contracts/instance/base/ComponentService.sol +1 -1
- package/contracts/instance/base/KeyValueStore.sol +5 -2
- package/contracts/instance/base/Lifecycle.sol +11 -2
- package/contracts/instance/module/IAccess.sol +3 -4
- 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 +360 -16
- 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 +75 -22
- package/contracts/instance/service/PoolServiceManager.sol +1 -1
- package/contracts/instance/service/ProductService.sol +10 -11
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/IRegistry.sol +3 -2
- package/contracts/registry/IRegistryService.sol +10 -8
- package/contracts/registry/Registry.sol +20 -8
- 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 +10 -5
- 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
@@ -5,18 +5,13 @@
|
|
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
10
|
"name": "nftId",
|
16
11
|
"type": "uint96"
|
17
12
|
}
|
18
13
|
],
|
19
|
-
"name": "
|
14
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
20
15
|
"type": "error"
|
21
16
|
},
|
22
17
|
{
|
@@ -27,29 +22,23 @@
|
|
27
22
|
"type": "address"
|
28
23
|
}
|
29
24
|
],
|
30
|
-
"name": "
|
25
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
31
26
|
"type": "error"
|
32
27
|
},
|
33
28
|
{
|
34
|
-
"inputs": [
|
35
|
-
|
36
|
-
"internalType": "address",
|
37
|
-
"name": "account",
|
38
|
-
"type": "address"
|
39
|
-
}
|
40
|
-
],
|
41
|
-
"name": "ErrorNotOwner",
|
29
|
+
"inputs": [],
|
30
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
42
31
|
"type": "error"
|
43
32
|
},
|
44
33
|
{
|
45
34
|
"inputs": [
|
46
35
|
{
|
47
36
|
"internalType": "address",
|
48
|
-
"name": "
|
37
|
+
"name": "account",
|
49
38
|
"type": "address"
|
50
39
|
}
|
51
40
|
],
|
52
|
-
"name": "
|
41
|
+
"name": "ErrorNftOwnableNotOwner",
|
53
42
|
"type": "error"
|
54
43
|
},
|
55
44
|
{
|
@@ -60,28 +49,7 @@
|
|
60
49
|
"type": "address"
|
61
50
|
}
|
62
51
|
],
|
63
|
-
"name": "
|
64
|
-
"type": "error"
|
65
|
-
},
|
66
|
-
{
|
67
|
-
"inputs": [],
|
68
|
-
"name": "ErrorRegistryAddressZero",
|
69
|
-
"type": "error"
|
70
|
-
},
|
71
|
-
{
|
72
|
-
"inputs": [
|
73
|
-
{
|
74
|
-
"internalType": "address",
|
75
|
-
"name": "registry",
|
76
|
-
"type": "address"
|
77
|
-
}
|
78
|
-
],
|
79
|
-
"name": "ErrorRegistryAlreadyInitialized",
|
80
|
-
"type": "error"
|
81
|
-
},
|
82
|
-
{
|
83
|
-
"inputs": [],
|
84
|
-
"name": "ErrorRegistryNotInitialized",
|
52
|
+
"name": "ErrorNotRegistry",
|
85
53
|
"type": "error"
|
86
54
|
},
|
87
55
|
{
|
@@ -107,6 +75,19 @@
|
|
107
75
|
"name": "Initialized",
|
108
76
|
"type": "event"
|
109
77
|
},
|
78
|
+
{
|
79
|
+
"inputs": [],
|
80
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
81
|
+
"outputs": [
|
82
|
+
{
|
83
|
+
"internalType": "bytes32",
|
84
|
+
"name": "",
|
85
|
+
"type": "bytes32"
|
86
|
+
}
|
87
|
+
],
|
88
|
+
"stateMutability": "view",
|
89
|
+
"type": "function"
|
90
|
+
},
|
110
91
|
{
|
111
92
|
"inputs": [],
|
112
93
|
"name": "REGISTERABLE_LOCATION_V1",
|
@@ -172,12 +153,12 @@
|
|
172
153
|
},
|
173
154
|
{
|
174
155
|
"inputs": [],
|
175
|
-
"name": "
|
156
|
+
"name": "getNftId",
|
176
157
|
"outputs": [
|
177
158
|
{
|
178
|
-
"internalType": "
|
159
|
+
"internalType": "NftId",
|
179
160
|
"name": "",
|
180
|
-
"type": "
|
161
|
+
"type": "uint96"
|
181
162
|
}
|
182
163
|
],
|
183
164
|
"stateMutability": "view",
|
@@ -185,12 +166,12 @@
|
|
185
166
|
},
|
186
167
|
{
|
187
168
|
"inputs": [],
|
188
|
-
"name": "
|
169
|
+
"name": "getOwner",
|
189
170
|
"outputs": [
|
190
171
|
{
|
191
|
-
"internalType": "
|
172
|
+
"internalType": "address",
|
192
173
|
"name": "",
|
193
|
-
"type": "
|
174
|
+
"type": "address"
|
194
175
|
}
|
195
176
|
],
|
196
177
|
"stateMutability": "view",
|
@@ -198,10 +179,10 @@
|
|
198
179
|
},
|
199
180
|
{
|
200
181
|
"inputs": [],
|
201
|
-
"name": "
|
182
|
+
"name": "getRegistry",
|
202
183
|
"outputs": [
|
203
184
|
{
|
204
|
-
"internalType": "
|
185
|
+
"internalType": "contract IRegistry",
|
205
186
|
"name": "",
|
206
187
|
"type": "address"
|
207
188
|
}
|
@@ -211,10 +192,10 @@
|
|
211
192
|
},
|
212
193
|
{
|
213
194
|
"inputs": [],
|
214
|
-
"name": "
|
195
|
+
"name": "getRegistryAddress",
|
215
196
|
"outputs": [
|
216
197
|
{
|
217
|
-
"internalType": "
|
198
|
+
"internalType": "address",
|
218
199
|
"name": "",
|
219
200
|
"type": "address"
|
220
201
|
}
|
@@ -222,6 +203,82 @@
|
|
222
203
|
"stateMutability": "view",
|
223
204
|
"type": "function"
|
224
205
|
},
|
206
|
+
{
|
207
|
+
"inputs": [],
|
208
|
+
"name": "initializeERC165",
|
209
|
+
"outputs": [],
|
210
|
+
"stateMutability": "nonpayable",
|
211
|
+
"type": "function"
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"inputs": [
|
215
|
+
{
|
216
|
+
"internalType": "address",
|
217
|
+
"name": "initialOwner",
|
218
|
+
"type": "address"
|
219
|
+
},
|
220
|
+
{
|
221
|
+
"internalType": "address",
|
222
|
+
"name": "registryAddress",
|
223
|
+
"type": "address"
|
224
|
+
}
|
225
|
+
],
|
226
|
+
"name": "initializeNftOwnable",
|
227
|
+
"outputs": [],
|
228
|
+
"stateMutability": "nonpayable",
|
229
|
+
"type": "function"
|
230
|
+
},
|
231
|
+
{
|
232
|
+
"inputs": [
|
233
|
+
{
|
234
|
+
"internalType": "address",
|
235
|
+
"name": "registryAddress",
|
236
|
+
"type": "address"
|
237
|
+
},
|
238
|
+
{
|
239
|
+
"internalType": "NftId",
|
240
|
+
"name": "parentNftId",
|
241
|
+
"type": "uint96"
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"internalType": "ObjectType",
|
245
|
+
"name": "objectType",
|
246
|
+
"type": "uint8"
|
247
|
+
},
|
248
|
+
{
|
249
|
+
"internalType": "bool",
|
250
|
+
"name": "isInterceptor",
|
251
|
+
"type": "bool"
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"internalType": "address",
|
255
|
+
"name": "initialOwner",
|
256
|
+
"type": "address"
|
257
|
+
},
|
258
|
+
{
|
259
|
+
"internalType": "bytes",
|
260
|
+
"name": "registryData",
|
261
|
+
"type": "bytes"
|
262
|
+
}
|
263
|
+
],
|
264
|
+
"name": "initializeRegisterable",
|
265
|
+
"outputs": [],
|
266
|
+
"stateMutability": "nonpayable",
|
267
|
+
"type": "function"
|
268
|
+
},
|
269
|
+
{
|
270
|
+
"inputs": [
|
271
|
+
{
|
272
|
+
"internalType": "address",
|
273
|
+
"name": "registryAddress",
|
274
|
+
"type": "address"
|
275
|
+
}
|
276
|
+
],
|
277
|
+
"name": "initializeRegistryLinked",
|
278
|
+
"outputs": [],
|
279
|
+
"stateMutability": "nonpayable",
|
280
|
+
"type": "function"
|
281
|
+
},
|
225
282
|
{
|
226
283
|
"inputs": [],
|
227
284
|
"name": "linkToRegisteredNftId",
|
@@ -229,6 +286,19 @@
|
|
229
286
|
"stateMutability": "nonpayable",
|
230
287
|
"type": "function"
|
231
288
|
},
|
289
|
+
{
|
290
|
+
"inputs": [
|
291
|
+
{
|
292
|
+
"internalType": "bytes4",
|
293
|
+
"name": "interfaceId",
|
294
|
+
"type": "bytes4"
|
295
|
+
}
|
296
|
+
],
|
297
|
+
"name": "registerInterface",
|
298
|
+
"outputs": [],
|
299
|
+
"stateMutability": "nonpayable",
|
300
|
+
"type": "function"
|
301
|
+
},
|
232
302
|
{
|
233
303
|
"inputs": [
|
234
304
|
{
|
@@ -249,18 +319,18 @@
|
|
249
319
|
"type": "function"
|
250
320
|
}
|
251
321
|
],
|
252
|
-
"bytecode": "
|
253
|
-
"deployedBytecode": "
|
322
|
+
"bytecode": "0x608060405234801561001057600080fd5b50610eb3806100206000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80635ab1bd531161008c578063893d20e811610066578063893d20e814610213578063ada9652e1461021b578063f21de1e8146101b3578063f7c34ee01461023057600080fd5b80635ab1bd53146101b3578063644c45e0146101d8578063675393bf1461020057600080fd5b80631eff4b22116100c85780631eff4b2214610150578063214cdb801461018557806327bb7a331461019857806336fc697e146101ab57600080fd5b806301ffc9a7146100ef5780630fec111c14610131578063138461e014610146575b600080fd5b61011c6100fd366004610a04565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610139610243565b6040516101289190610a7b565b61014e6103f2565b005b6101777f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610128565b61014e610193366004610a04565b6105f9565b61014e6101a6366004610b54565b610626565b61014e6106b2565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610128565b600080516020610e5e833981519152546040516001600160601b039091168152602001610128565b61014e61020e366004610c67565b6106f8565b6101c0610806565b610177600080516020610e5e83398151915281565b61014e61023e366004610c84565b61093d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906102ee90610cbd565b80601f016020809104026020016040519081016040528092919081815260200182805461031a90610cbd565b80156103675780601f1061033c57610100808354040283529160200191610367565b820191906000526020600020905b81548152906001019060200180831161034a57829003601f168201915b50505050508152505090506040518060e00160405280610385600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016103d6610806565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020610e5e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610461573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104859190610cf7565b156104b65780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306104c96001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610511573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105359190610cf7565b61055d5760405163b9304b0d60e01b81526001600160a01b03821660048201526024016104ad565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156105b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d59190610d14565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6106016109b4565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61062e6109b4565b610638828761093d565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016106a88382610d80565b5050505050505050565b6106ba6109b4565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6107006109b4565b806001600160a01b03163b6000036107365760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104ad565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156107b0575060408051601f3d908101601f191682019092526107ad91810190610cf7565b60015b6107d85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104ad565b806108015760405163fdeac91f60e01b81526001600160a01b03831660048201526024016104ad565b505b50565b600080600080516020610e5e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610876573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089a9190610cf7565b15610927576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156108fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109219190610e40565b91505090565b54600160601b90046001600160a01b0316919050565b6109456109b4565b61094e816106f8565b6109566106b2565b6001600160a01b03821661097d5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020610e5e83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16610a0257604051631afcd79f60e31b815260040160405180910390fd5b565b600060208284031215610a1657600080fd5b81356001600160e01b031981168114610a2e57600080fd5b9392505050565b6000815180845260005b81811015610a5b57602081850181015186830182015201610a3f565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151610ae460c08401826001600160a01b03169052565b5060c083015160e080840152610afe610100840182610a35565b949350505050565b6001600160a01b038116811461080357600080fd5b6001600160601b038116811461080357600080fd5b801515811461080357600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060008060008060c08789031215610b6d57600080fd5b8635610b7881610b06565b95506020870135610b8881610b1b565b9450604087013560ff81168114610b9e57600080fd5b93506060870135610bae81610b30565b92506080870135610bbe81610b06565b915060a087013567ffffffffffffffff80821115610bdb57600080fd5b818901915089601f830112610bef57600080fd5b813581811115610c0157610c01610b3e565b604051601f8201601f19908116603f01168101908382118183101715610c2957610c29610b3e565b816040528281528c6020848701011115610c4257600080fd5b8260208601602083013760006020848301015280955050505050509295509295509295565b600060208284031215610c7957600080fd5b8135610a2e81610b06565b60008060408385031215610c9757600080fd5b8235610ca281610b06565b91506020830135610cb281610b06565b809150509250929050565b600181811c90821680610cd157607f821691505b602082108103610cf157634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610d0957600080fd5b8151610a2e81610b30565b600060208284031215610d2657600080fd5b8151610a2e81610b1b565b601f821115610d7b57600081815260208120601f850160051c81016020861015610d585750805b601f850160051c820191505b81811015610d7757828155600101610d64565b5050505b505050565b815167ffffffffffffffff811115610d9a57610d9a610b3e565b610dae81610da88454610cbd565b84610d31565b602080601f831160018114610de35760008415610dcb5750858301515b600019600386901b1c1916600185901b178555610d77565b600085815260208120601f198616915b82811015610e1257888601518255948401946001909101908401610df3565b5085821015610e305787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215610e5257600080fd5b8151610a2e81610b0656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220df1e5451d718a4646ac7f04cdd05815f12e503fef68bde6cb9afa8e5de18cba964736f6c63430008140033",
|
323
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80635ab1bd531161008c578063893d20e811610066578063893d20e814610213578063ada9652e1461021b578063f21de1e8146101b3578063f7c34ee01461023057600080fd5b80635ab1bd53146101b3578063644c45e0146101d8578063675393bf1461020057600080fd5b80631eff4b22116100c85780631eff4b2214610150578063214cdb801461018557806327bb7a331461019857806336fc697e146101ab57600080fd5b806301ffc9a7146100ef5780630fec111c14610131578063138461e014610146575b600080fd5b61011c6100fd366004610a04565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610139610243565b6040516101289190610a7b565b61014e6103f2565b005b6101777f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610128565b61014e610193366004610a04565b6105f9565b61014e6101a6366004610b54565b610626565b61014e6106b2565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610128565b600080516020610e5e833981519152546040516001600160601b039091168152602001610128565b61014e61020e366004610c67565b6106f8565b6101c0610806565b610177600080516020610e5e83398151915281565b61014e61023e366004610c84565b61093d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906102ee90610cbd565b80601f016020809104026020016040519081016040528092919081815260200182805461031a90610cbd565b80156103675780601f1061033c57610100808354040283529160200191610367565b820191906000526020600020905b81548152906001019060200180831161034a57829003601f168201915b50505050508152505090506040518060e00160405280610385600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016103d6610806565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020610e5e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610461573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104859190610cf7565b156104b65780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306104c96001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610511573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105359190610cf7565b61055d5760405163b9304b0d60e01b81526001600160a01b03821660048201526024016104ad565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156105b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d59190610d14565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6106016109b4565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61062e6109b4565b610638828761093d565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016106a88382610d80565b5050505050505050565b6106ba6109b4565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6107006109b4565b806001600160a01b03163b6000036107365760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104ad565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156107b0575060408051601f3d908101601f191682019092526107ad91810190610cf7565b60015b6107d85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104ad565b806108015760405163fdeac91f60e01b81526001600160a01b03831660048201526024016104ad565b505b50565b600080600080516020610e5e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610876573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089a9190610cf7565b15610927576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156108fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109219190610e40565b91505090565b54600160601b90046001600160a01b0316919050565b6109456109b4565b61094e816106f8565b6109566106b2565b6001600160a01b03821661097d5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020610e5e83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16610a0257604051631afcd79f60e31b815260040160405180910390fd5b565b600060208284031215610a1657600080fd5b81356001600160e01b031981168114610a2e57600080fd5b9392505050565b6000815180845260005b81811015610a5b57602081850181015186830182015201610a3f565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151610ae460c08401826001600160a01b03169052565b5060c083015160e080840152610afe610100840182610a35565b949350505050565b6001600160a01b038116811461080357600080fd5b6001600160601b038116811461080357600080fd5b801515811461080357600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060008060008060c08789031215610b6d57600080fd5b8635610b7881610b06565b95506020870135610b8881610b1b565b9450604087013560ff81168114610b9e57600080fd5b93506060870135610bae81610b30565b92506080870135610bbe81610b06565b915060a087013567ffffffffffffffff80821115610bdb57600080fd5b818901915089601f830112610bef57600080fd5b813581811115610c0157610c01610b3e565b604051601f8201601f19908116603f01168101908382118183101715610c2957610c29610b3e565b816040528281528c6020848701011115610c4257600080fd5b8260208601602083013760006020848301015280955050505050509295509295509295565b600060208284031215610c7957600080fd5b8135610a2e81610b06565b60008060408385031215610c9757600080fd5b8235610ca281610b06565b91506020830135610cb281610b06565b809150509250929050565b600181811c90821680610cd157607f821691505b602082108103610cf157634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610d0957600080fd5b8151610a2e81610b30565b600060208284031215610d2657600080fd5b8151610a2e81610b1b565b601f821115610d7b57600081815260208120601f850160051c81016020861015610d585750805b601f850160051c820191505b81811015610d7757828155600101610d64565b5050505b505050565b815167ffffffffffffffff811115610d9a57610d9a610b3e565b610dae81610da88454610cbd565b84610d31565b602080601f831160018114610de35760008415610dcb5750858301515b600019600386901b1c1916600185901b178555610d77565b600085815260208120601f198616915b82811015610e1257888601518255948401946001909101908401610df3565b5085821015610e305787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215610e5257600080fd5b8151610a2e81610b0656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220df1e5451d718a4646ac7f04cdd05815f12e503fef68bde6cb9afa8e5de18cba964736f6c63430008140033",
|
254
324
|
"linkReferences": {
|
255
325
|
"contracts/types/NftId.sol": {
|
256
326
|
"NftIdLib": [
|
257
327
|
{
|
258
328
|
"length": 20,
|
259
|
-
"start":
|
329
|
+
"start": 1095
|
260
330
|
},
|
261
331
|
{
|
262
332
|
"length": 20,
|
263
|
-
"start":
|
333
|
+
"start": 2140
|
264
334
|
}
|
265
335
|
]
|
266
336
|
}
|
@@ -270,11 +340,11 @@
|
|
270
340
|
"NftIdLib": [
|
271
341
|
{
|
272
342
|
"length": 20,
|
273
|
-
"start":
|
343
|
+
"start": 1063
|
274
344
|
},
|
275
345
|
{
|
276
346
|
"length": 20,
|
277
|
-
"start":
|
347
|
+
"start": 2108
|
278
348
|
}
|
279
349
|
]
|
280
350
|
}
|
@@ -0,0 +1,84 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "RegistryLinked",
|
4
|
+
"sourceName": "contracts/shared/RegistryLinked.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "registryAddress",
|
11
|
+
"type": "address"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "ErrorNotRegistry",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [],
|
19
|
+
"name": "InvalidInitialization",
|
20
|
+
"type": "error"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"inputs": [],
|
24
|
+
"name": "NotInitializing",
|
25
|
+
"type": "error"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"anonymous": false,
|
29
|
+
"inputs": [
|
30
|
+
{
|
31
|
+
"indexed": false,
|
32
|
+
"internalType": "uint64",
|
33
|
+
"name": "version",
|
34
|
+
"type": "uint64"
|
35
|
+
}
|
36
|
+
],
|
37
|
+
"name": "Initialized",
|
38
|
+
"type": "event"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"inputs": [],
|
42
|
+
"name": "getRegistry",
|
43
|
+
"outputs": [
|
44
|
+
{
|
45
|
+
"internalType": "contract IRegistry",
|
46
|
+
"name": "",
|
47
|
+
"type": "address"
|
48
|
+
}
|
49
|
+
],
|
50
|
+
"stateMutability": "view",
|
51
|
+
"type": "function"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"inputs": [],
|
55
|
+
"name": "getRegistryAddress",
|
56
|
+
"outputs": [
|
57
|
+
{
|
58
|
+
"internalType": "address",
|
59
|
+
"name": "",
|
60
|
+
"type": "address"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"stateMutability": "view",
|
64
|
+
"type": "function"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"inputs": [
|
68
|
+
{
|
69
|
+
"internalType": "address",
|
70
|
+
"name": "registryAddress",
|
71
|
+
"type": "address"
|
72
|
+
}
|
73
|
+
],
|
74
|
+
"name": "initializeRegistryLinked",
|
75
|
+
"outputs": [],
|
76
|
+
"stateMutability": "nonpayable",
|
77
|
+
"type": "function"
|
78
|
+
}
|
79
|
+
],
|
80
|
+
"bytecode": "0x608060405234801561001057600080fd5b50610264806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80635ab1bd5314610046578063675393bf14610065578063f21de1e814610046575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b6100786100733660046101dc565b61007a565b005b61008261018c565b806001600160a01b03163b6000036100bd5760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610137575060408051601f3d908101601f191682019092526101349181019061020c565b60015b61015f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016100b4565b806101885760405163fdeac91f60e01b81526001600160a01b03831660048201526024016100b4565b5050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166101da57604051631afcd79f60e31b815260040160405180910390fd5b565b6000602082840312156101ee57600080fd5b81356001600160a01b038116811461020557600080fd5b9392505050565b60006020828403121561021e57600080fd5b8151801515811461020557600080fdfea26469706673582212201e4b8b5db4a71445407082d0d80533417751df88875cc1883ea3186394f13ffb64736f6c63430008140033",
|
81
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c80635ab1bd5314610046578063675393bf14610065578063f21de1e814610046575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b6100786100733660046101dc565b61007a565b005b61008261018c565b806001600160a01b03163b6000036100bd5760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610137575060408051601f3d908101601f191682019092526101349181019061020c565b60015b61015f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016100b4565b806101885760405163fdeac91f60e01b81526001600160a01b03831660048201526024016100b4565b5050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166101da57604051631afcd79f60e31b815260040160405180910390fd5b565b6000602082840312156101ee57600080fd5b81356001600160a01b038116811461020557600080fd5b9392505050565b60006020828403121561021e57600080fd5b8151801515811461020557600080fdfea26469706673582212201e4b8b5db4a71445407082d0d80533417751df88875cc1883ea3186394f13ffb64736f6c63430008140033",
|
82
|
+
"linkReferences": {},
|
83
|
+
"deployedLinkReferences": {}
|
84
|
+
}
|