@etherisc/gif-next 0.0.2-e875d61-189 → 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 +314 -27
- 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 +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +1261 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/IComponent.sol/IComponent.json} +234 -239
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +811 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +804 -131
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +455 -62
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +1192 -196
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +865 -114
- 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/Cloneable.sol/Cloneable.json +185 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1556 -1003
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +509 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +2282 -1171
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1355 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1046 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +693 -0
- 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/ComponentService.sol/ComponentService.json +552 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
- 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 +37 -245
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +4 -4
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IDistribution.sol/IDistribution.json} +2 -2
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
- package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.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 +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1724 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +801 -0
- 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/{base/InstanceBase.sol/InstanceBase.json → service/IClaimService.sol/IClaimService.json} +221 -156
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1013 -0
- 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 +136 -165
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +139 -232
- 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 +416 -160
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +649 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +401 -297
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +466 -34
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +890 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +470 -103
- 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 +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1177 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
- 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 +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
- 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 +4 -0
- package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +38 -74
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/component/IComponent.sol/IComponentModule.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +66 -73
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +100 -33
- 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 +4 -0
- package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/IService.sol/IService.json} +121 -152
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +16 -125
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
- 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 +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +256 -25
- 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 +4 -0
- package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/Service.sol/Service.json} +220 -159
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +29 -115
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +272 -26
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +281 -139
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
- 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 +38 -140
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
- 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 +4 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
- 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 +4 -0
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
- 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 +4 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
- 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 +38 -7
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
- package/contracts/components/Component.sol +221 -0
- package/contracts/components/Distribution.sol +280 -0
- package/contracts/components/IComponent.sol +68 -0
- package/contracts/components/IDistributionComponent.sol +71 -0
- package/contracts/components/IPoolComponent.sol +136 -42
- package/contracts/components/IProductComponent.sol +30 -9
- package/contracts/components/Pool.sol +308 -121
- package/contracts/components/Product.sol +211 -56
- package/contracts/instance/BundleManager.sol +125 -0
- package/contracts/instance/Cloneable.sol +46 -0
- package/contracts/instance/IInstance.sol +85 -43
- package/contracts/instance/IInstanceService.sol +59 -0
- package/contracts/instance/Instance.sol +277 -57
- package/contracts/instance/InstanceAccessManager.sol +297 -0
- package/contracts/instance/InstanceReader.sol +293 -0
- package/contracts/instance/InstanceService.sol +489 -0
- package/contracts/instance/InstanceServiceManager.sol +54 -0
- package/contracts/instance/ObjectManager.sol +84 -0
- package/contracts/instance/base/ComponentService.sol +134 -0
- package/contracts/instance/base/IKeyValueStore.sol +13 -14
- package/contracts/instance/base/ILifecycle.sol +3 -3
- package/contracts/instance/base/KeyValueStore.sol +49 -38
- package/contracts/instance/base/Lifecycle.sol +11 -3
- package/contracts/instance/module/IAccess.sol +47 -0
- package/contracts/instance/module/IBundle.sol +21 -0
- package/contracts/instance/module/IDistribution.sol +41 -0
- package/contracts/instance/module/IPolicy.sol +72 -0
- package/contracts/instance/module/IRisk.sol +11 -0
- package/contracts/instance/module/ISetup.sol +46 -0
- package/contracts/instance/module/ITreasury.sol +23 -0
- 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 +450 -0
- package/contracts/instance/service/DistributionServiceManager.sol +51 -0
- 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 +98 -0
- package/contracts/instance/service/IPolicyService.sol +72 -0
- package/contracts/instance/service/IPoolService.sol +8 -18
- package/contracts/instance/service/IProductService.sol +21 -39
- package/contracts/instance/service/PolicyService.sol +394 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +77 -97
- package/contracts/instance/service/PoolServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +168 -301
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +79 -36
- package/contracts/registry/IRegistry.sol +66 -24
- package/contracts/registry/IRegistryService.sol +67 -0
- package/contracts/registry/ITransferInterceptor.sol +6 -0
- package/contracts/registry/Registry.sol +366 -283
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +283 -0
- package/contracts/registry/RegistryServiceManager.sol +62 -0
- package/contracts/registry/ReleaseManager.sol +322 -0
- package/contracts/registry/TokenRegistry.sol +116 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +14 -8
- package/contracts/shared/INftOwnable.sol +23 -0
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +10 -19
- package/contracts/shared/IRegistryLinked.sol +12 -0
- package/contracts/shared/IService.sol +18 -0
- package/contracts/shared/IVersionable.sol +38 -37
- package/contracts/shared/NftOwnable.sol +120 -0
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +169 -0
- package/contracts/shared/Registerable.sol +54 -66
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +58 -0
- package/contracts/shared/TokenHandler.sol +27 -0
- package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
- package/contracts/shared/Versionable.sol +38 -68
- package/contracts/test/TestFee.sol +2 -2
- package/contracts/test/TestRegisterable.sol +5 -6
- package/contracts/test/TestRoleId.sol +1 -1
- package/contracts/test/TestService.sol +7 -14
- package/contracts/types/ClaimId.sol +52 -0
- package/contracts/types/DistributorType.sol +55 -0
- package/contracts/types/Fee.sol +10 -5
- package/contracts/types/Key32.sol +8 -3
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/NumberId.sol +52 -0
- package/contracts/types/ObjectType.sol +44 -11
- package/contracts/types/PayoutId.sol +54 -0
- package/contracts/types/Referral.sol +89 -0
- package/contracts/types/RiskId.sol +43 -0
- package/contracts/types/RoleId.sol +67 -10
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +5 -1
- package/contracts/types/Timestamp.sol +16 -13
- package/contracts/types/UFixed.sol +128 -12
- package/contracts/types/Version.sol +13 -1
- package/package.json +6 -5
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- 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/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -81
- package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -265
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -265
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -136
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -273
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -273
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -144
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -144
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -531
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -531
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -523
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
- package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -455
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -436
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
- package/contracts/components/BaseComponent.sol +0 -94
- package/contracts/components/IBaseComponent.sol +0 -19
- 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/README.md +0 -112
- 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/IInstanceLinked.sol +0 -8
- package/contracts/instance/base/ComponentServiceBase.sol +0 -42
- package/contracts/instance/base/IInstanceBase.sol +0 -19
- package/contracts/instance/base/IService.sol +0 -15
- package/contracts/instance/base/InstanceBase.sol +0 -84
- package/contracts/instance/base/ModuleBase.sol +0 -46
- package/contracts/instance/base/ServiceBase.sol +0 -37
- package/contracts/instance/module/access/Access.sol +0 -149
- package/contracts/instance/module/access/IAccess.sol +0 -53
- package/contracts/instance/module/bundle/BundleModule.sol +0 -135
- package/contracts/instance/module/bundle/IBundle.sol +0 -51
- package/contracts/instance/module/compensation/CompensationModule.sol +0 -17
- package/contracts/instance/module/compensation/ICompensation.sol +0 -10
- package/contracts/instance/module/component/ComponentModule.sol +0 -81
- package/contracts/instance/module/component/IComponent.sol +0 -29
- package/contracts/instance/module/policy/IPolicy.sol +0 -59
- package/contracts/instance/module/policy/PolicyModule.sol +0 -89
- package/contracts/instance/module/pool/IPoolModule.sol +0 -40
- package/contracts/instance/module/pool/PoolModule.sol +0 -90
- package/contracts/instance/module/risk/IRisk.sol +0 -10
- package/contracts/instance/module/risk/RiskModule.sol +0 -17
- package/contracts/instance/module/treasury/ITreasury.sol +0 -96
- package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
- package/contracts/instance/module/treasury/TreasuryModule.sol +0 -171
- package/contracts/instance/service/ComponentOwnerService.sol +0 -155
- package/contracts/instance/service/IComponentOwnerService.sol +0 -22
- package/contracts/registry/IChainNft.sol +0 -21
- package/contracts/registry/IRegistryLinked.sol +0 -8
- package/contracts/shared/IOwnable.sol +0 -6
- package/contracts/test/TestPool.sol +0 -24
- package/contracts/test/TestProduct.sol +0 -51
@@ -0,0 +1,754 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "ClaimService",
|
4
|
+
"sourceName": "contracts/instance/service/ClaimService.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "component",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "NftId",
|
15
|
+
"name": "nftId",
|
16
|
+
"type": "uint96"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"name": "ErrorComponentServiceAlreadyRegistered",
|
20
|
+
"type": "error"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"inputs": [
|
24
|
+
{
|
25
|
+
"internalType": "address",
|
26
|
+
"name": "component",
|
27
|
+
"type": "address"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "ErrorComponentServiceComponentLocked",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
35
|
+
{
|
36
|
+
"internalType": "NftId",
|
37
|
+
"name": "instanceNftId",
|
38
|
+
"type": "uint96"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"internalType": "RoleId",
|
42
|
+
"name": "requiredRole",
|
43
|
+
"type": "uint64"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"internalType": "address",
|
47
|
+
"name": "sender",
|
48
|
+
"type": "address"
|
49
|
+
}
|
50
|
+
],
|
51
|
+
"name": "ErrorComponentServiceExpectedRoleMissing",
|
52
|
+
"type": "error"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"inputs": [
|
56
|
+
{
|
57
|
+
"internalType": "address",
|
58
|
+
"name": "component",
|
59
|
+
"type": "address"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"internalType": "ObjectType",
|
63
|
+
"name": "requiredType",
|
64
|
+
"type": "uint8"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"internalType": "ObjectType",
|
68
|
+
"name": "componentType",
|
69
|
+
"type": "uint8"
|
70
|
+
}
|
71
|
+
],
|
72
|
+
"name": "ErrorComponentServiceInvalidType",
|
73
|
+
"type": "error"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"inputs": [
|
77
|
+
{
|
78
|
+
"internalType": "address",
|
79
|
+
"name": "component",
|
80
|
+
"type": "address"
|
81
|
+
}
|
82
|
+
],
|
83
|
+
"name": "ErrorComponentServiceNotComponent",
|
84
|
+
"type": "error"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"inputs": [
|
88
|
+
{
|
89
|
+
"internalType": "address",
|
90
|
+
"name": "component",
|
91
|
+
"type": "address"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"internalType": "address",
|
95
|
+
"name": "initialOwner",
|
96
|
+
"type": "address"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"internalType": "address",
|
100
|
+
"name": "sender",
|
101
|
+
"type": "address"
|
102
|
+
}
|
103
|
+
],
|
104
|
+
"name": "ErrorComponentServiceSenderNotOwner",
|
105
|
+
"type": "error"
|
106
|
+
},
|
107
|
+
{
|
108
|
+
"inputs": [
|
109
|
+
{
|
110
|
+
"internalType": "address",
|
111
|
+
"name": "caller",
|
112
|
+
"type": "address"
|
113
|
+
}
|
114
|
+
],
|
115
|
+
"name": "ErrorIServiceCallerUnknown",
|
116
|
+
"type": "error"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"inputs": [
|
120
|
+
{
|
121
|
+
"internalType": "NftId",
|
122
|
+
"name": "nftId",
|
123
|
+
"type": "uint96"
|
124
|
+
}
|
125
|
+
],
|
126
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
127
|
+
"type": "error"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"inputs": [
|
131
|
+
{
|
132
|
+
"internalType": "address",
|
133
|
+
"name": "contractAddress",
|
134
|
+
"type": "address"
|
135
|
+
}
|
136
|
+
],
|
137
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
138
|
+
"type": "error"
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"inputs": [],
|
142
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
143
|
+
"type": "error"
|
144
|
+
},
|
145
|
+
{
|
146
|
+
"inputs": [
|
147
|
+
{
|
148
|
+
"internalType": "address",
|
149
|
+
"name": "account",
|
150
|
+
"type": "address"
|
151
|
+
}
|
152
|
+
],
|
153
|
+
"name": "ErrorNftOwnableNotOwner",
|
154
|
+
"type": "error"
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"inputs": [
|
158
|
+
{
|
159
|
+
"internalType": "address",
|
160
|
+
"name": "registryAddress",
|
161
|
+
"type": "address"
|
162
|
+
}
|
163
|
+
],
|
164
|
+
"name": "ErrorNotRegistry",
|
165
|
+
"type": "error"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"inputs": [],
|
169
|
+
"name": "InvalidInitialization",
|
170
|
+
"type": "error"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"inputs": [],
|
174
|
+
"name": "NotInitializing",
|
175
|
+
"type": "error"
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"anonymous": false,
|
179
|
+
"inputs": [
|
180
|
+
{
|
181
|
+
"indexed": false,
|
182
|
+
"internalType": "uint64",
|
183
|
+
"name": "version",
|
184
|
+
"type": "uint64"
|
185
|
+
}
|
186
|
+
],
|
187
|
+
"name": "Initialized",
|
188
|
+
"type": "event"
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"inputs": [],
|
192
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
193
|
+
"outputs": [
|
194
|
+
{
|
195
|
+
"internalType": "bytes32",
|
196
|
+
"name": "",
|
197
|
+
"type": "bytes32"
|
198
|
+
}
|
199
|
+
],
|
200
|
+
"stateMutability": "view",
|
201
|
+
"type": "function"
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"inputs": [],
|
205
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
206
|
+
"outputs": [
|
207
|
+
{
|
208
|
+
"internalType": "bytes32",
|
209
|
+
"name": "",
|
210
|
+
"type": "bytes32"
|
211
|
+
}
|
212
|
+
],
|
213
|
+
"stateMutability": "view",
|
214
|
+
"type": "function"
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"inputs": [
|
218
|
+
{
|
219
|
+
"internalType": "NftId",
|
220
|
+
"name": "policyNftId",
|
221
|
+
"type": "uint96"
|
222
|
+
},
|
223
|
+
{
|
224
|
+
"internalType": "ClaimId",
|
225
|
+
"name": "claimId",
|
226
|
+
"type": "uint16"
|
227
|
+
}
|
228
|
+
],
|
229
|
+
"name": "closeClaim",
|
230
|
+
"outputs": [],
|
231
|
+
"stateMutability": "nonpayable",
|
232
|
+
"type": "function"
|
233
|
+
},
|
234
|
+
{
|
235
|
+
"inputs": [
|
236
|
+
{
|
237
|
+
"internalType": "NftId",
|
238
|
+
"name": "policyNftId",
|
239
|
+
"type": "uint96"
|
240
|
+
},
|
241
|
+
{
|
242
|
+
"internalType": "ClaimId",
|
243
|
+
"name": "claimId",
|
244
|
+
"type": "uint16"
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"internalType": "uint256",
|
248
|
+
"name": "claimAmount",
|
249
|
+
"type": "uint256"
|
250
|
+
}
|
251
|
+
],
|
252
|
+
"name": "confirmClaim",
|
253
|
+
"outputs": [],
|
254
|
+
"stateMutability": "nonpayable",
|
255
|
+
"type": "function"
|
256
|
+
},
|
257
|
+
{
|
258
|
+
"inputs": [
|
259
|
+
{
|
260
|
+
"internalType": "NftId",
|
261
|
+
"name": "policyNftId",
|
262
|
+
"type": "uint96"
|
263
|
+
},
|
264
|
+
{
|
265
|
+
"internalType": "uint256",
|
266
|
+
"name": "claimAmount",
|
267
|
+
"type": "uint256"
|
268
|
+
},
|
269
|
+
{
|
270
|
+
"internalType": "bytes",
|
271
|
+
"name": "claimData",
|
272
|
+
"type": "bytes"
|
273
|
+
}
|
274
|
+
],
|
275
|
+
"name": "createClaim",
|
276
|
+
"outputs": [
|
277
|
+
{
|
278
|
+
"internalType": "ClaimId",
|
279
|
+
"name": "",
|
280
|
+
"type": "uint16"
|
281
|
+
}
|
282
|
+
],
|
283
|
+
"stateMutability": "nonpayable",
|
284
|
+
"type": "function"
|
285
|
+
},
|
286
|
+
{
|
287
|
+
"inputs": [
|
288
|
+
{
|
289
|
+
"internalType": "NftId",
|
290
|
+
"name": "policyNftId",
|
291
|
+
"type": "uint96"
|
292
|
+
},
|
293
|
+
{
|
294
|
+
"internalType": "ClaimId",
|
295
|
+
"name": "claimId",
|
296
|
+
"type": "uint16"
|
297
|
+
},
|
298
|
+
{
|
299
|
+
"internalType": "uint256",
|
300
|
+
"name": "payoutAmount",
|
301
|
+
"type": "uint256"
|
302
|
+
},
|
303
|
+
{
|
304
|
+
"internalType": "bytes",
|
305
|
+
"name": "payoutData",
|
306
|
+
"type": "bytes"
|
307
|
+
}
|
308
|
+
],
|
309
|
+
"name": "createPayout",
|
310
|
+
"outputs": [
|
311
|
+
{
|
312
|
+
"internalType": "PayoutId",
|
313
|
+
"name": "payoutId",
|
314
|
+
"type": "uint24"
|
315
|
+
}
|
316
|
+
],
|
317
|
+
"stateMutability": "nonpayable",
|
318
|
+
"type": "function"
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"inputs": [
|
322
|
+
{
|
323
|
+
"internalType": "NftId",
|
324
|
+
"name": "policyNftId",
|
325
|
+
"type": "uint96"
|
326
|
+
},
|
327
|
+
{
|
328
|
+
"internalType": "ClaimId",
|
329
|
+
"name": "claimId",
|
330
|
+
"type": "uint16"
|
331
|
+
}
|
332
|
+
],
|
333
|
+
"name": "declineClaim",
|
334
|
+
"outputs": [],
|
335
|
+
"stateMutability": "nonpayable",
|
336
|
+
"type": "function"
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"inputs": [],
|
340
|
+
"name": "getDomain",
|
341
|
+
"outputs": [
|
342
|
+
{
|
343
|
+
"internalType": "ObjectType",
|
344
|
+
"name": "",
|
345
|
+
"type": "uint8"
|
346
|
+
}
|
347
|
+
],
|
348
|
+
"stateMutability": "pure",
|
349
|
+
"type": "function"
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"inputs": [],
|
353
|
+
"name": "getInitialInfo",
|
354
|
+
"outputs": [
|
355
|
+
{
|
356
|
+
"components": [
|
357
|
+
{
|
358
|
+
"internalType": "NftId",
|
359
|
+
"name": "nftId",
|
360
|
+
"type": "uint96"
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"internalType": "NftId",
|
364
|
+
"name": "parentNftId",
|
365
|
+
"type": "uint96"
|
366
|
+
},
|
367
|
+
{
|
368
|
+
"internalType": "ObjectType",
|
369
|
+
"name": "objectType",
|
370
|
+
"type": "uint8"
|
371
|
+
},
|
372
|
+
{
|
373
|
+
"internalType": "bool",
|
374
|
+
"name": "isInterceptor",
|
375
|
+
"type": "bool"
|
376
|
+
},
|
377
|
+
{
|
378
|
+
"internalType": "address",
|
379
|
+
"name": "objectAddress",
|
380
|
+
"type": "address"
|
381
|
+
},
|
382
|
+
{
|
383
|
+
"internalType": "address",
|
384
|
+
"name": "initialOwner",
|
385
|
+
"type": "address"
|
386
|
+
},
|
387
|
+
{
|
388
|
+
"internalType": "bytes",
|
389
|
+
"name": "data",
|
390
|
+
"type": "bytes"
|
391
|
+
}
|
392
|
+
],
|
393
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
394
|
+
"name": "info",
|
395
|
+
"type": "tuple"
|
396
|
+
}
|
397
|
+
],
|
398
|
+
"stateMutability": "view",
|
399
|
+
"type": "function"
|
400
|
+
},
|
401
|
+
{
|
402
|
+
"inputs": [],
|
403
|
+
"name": "getInstanceService",
|
404
|
+
"outputs": [
|
405
|
+
{
|
406
|
+
"internalType": "contract InstanceService",
|
407
|
+
"name": "",
|
408
|
+
"type": "address"
|
409
|
+
}
|
410
|
+
],
|
411
|
+
"stateMutability": "view",
|
412
|
+
"type": "function"
|
413
|
+
},
|
414
|
+
{
|
415
|
+
"inputs": [],
|
416
|
+
"name": "getMajorVersion",
|
417
|
+
"outputs": [
|
418
|
+
{
|
419
|
+
"internalType": "VersionPart",
|
420
|
+
"name": "majorVersion",
|
421
|
+
"type": "uint8"
|
422
|
+
}
|
423
|
+
],
|
424
|
+
"stateMutability": "view",
|
425
|
+
"type": "function"
|
426
|
+
},
|
427
|
+
{
|
428
|
+
"inputs": [],
|
429
|
+
"name": "getNftId",
|
430
|
+
"outputs": [
|
431
|
+
{
|
432
|
+
"internalType": "NftId",
|
433
|
+
"name": "",
|
434
|
+
"type": "uint96"
|
435
|
+
}
|
436
|
+
],
|
437
|
+
"stateMutability": "view",
|
438
|
+
"type": "function"
|
439
|
+
},
|
440
|
+
{
|
441
|
+
"inputs": [],
|
442
|
+
"name": "getOwner",
|
443
|
+
"outputs": [
|
444
|
+
{
|
445
|
+
"internalType": "address",
|
446
|
+
"name": "",
|
447
|
+
"type": "address"
|
448
|
+
}
|
449
|
+
],
|
450
|
+
"stateMutability": "view",
|
451
|
+
"type": "function"
|
452
|
+
},
|
453
|
+
{
|
454
|
+
"inputs": [],
|
455
|
+
"name": "getRegistry",
|
456
|
+
"outputs": [
|
457
|
+
{
|
458
|
+
"internalType": "contract IRegistry",
|
459
|
+
"name": "",
|
460
|
+
"type": "address"
|
461
|
+
}
|
462
|
+
],
|
463
|
+
"stateMutability": "view",
|
464
|
+
"type": "function"
|
465
|
+
},
|
466
|
+
{
|
467
|
+
"inputs": [],
|
468
|
+
"name": "getRegistryAddress",
|
469
|
+
"outputs": [
|
470
|
+
{
|
471
|
+
"internalType": "address",
|
472
|
+
"name": "",
|
473
|
+
"type": "address"
|
474
|
+
}
|
475
|
+
],
|
476
|
+
"stateMutability": "view",
|
477
|
+
"type": "function"
|
478
|
+
},
|
479
|
+
{
|
480
|
+
"inputs": [],
|
481
|
+
"name": "getRegistryService",
|
482
|
+
"outputs": [
|
483
|
+
{
|
484
|
+
"internalType": "contract IRegistryService",
|
485
|
+
"name": "",
|
486
|
+
"type": "address"
|
487
|
+
}
|
488
|
+
],
|
489
|
+
"stateMutability": "view",
|
490
|
+
"type": "function"
|
491
|
+
},
|
492
|
+
{
|
493
|
+
"inputs": [],
|
494
|
+
"name": "getVersion",
|
495
|
+
"outputs": [
|
496
|
+
{
|
497
|
+
"internalType": "Version",
|
498
|
+
"name": "",
|
499
|
+
"type": "uint24"
|
500
|
+
}
|
501
|
+
],
|
502
|
+
"stateMutability": "pure",
|
503
|
+
"type": "function"
|
504
|
+
},
|
505
|
+
{
|
506
|
+
"inputs": [],
|
507
|
+
"name": "initializeERC165",
|
508
|
+
"outputs": [],
|
509
|
+
"stateMutability": "nonpayable",
|
510
|
+
"type": "function"
|
511
|
+
},
|
512
|
+
{
|
513
|
+
"inputs": [
|
514
|
+
{
|
515
|
+
"internalType": "address",
|
516
|
+
"name": "initialOwner",
|
517
|
+
"type": "address"
|
518
|
+
},
|
519
|
+
{
|
520
|
+
"internalType": "address",
|
521
|
+
"name": "registryAddress",
|
522
|
+
"type": "address"
|
523
|
+
}
|
524
|
+
],
|
525
|
+
"name": "initializeNftOwnable",
|
526
|
+
"outputs": [],
|
527
|
+
"stateMutability": "nonpayable",
|
528
|
+
"type": "function"
|
529
|
+
},
|
530
|
+
{
|
531
|
+
"inputs": [
|
532
|
+
{
|
533
|
+
"internalType": "address",
|
534
|
+
"name": "registryAddress",
|
535
|
+
"type": "address"
|
536
|
+
},
|
537
|
+
{
|
538
|
+
"internalType": "NftId",
|
539
|
+
"name": "parentNftId",
|
540
|
+
"type": "uint96"
|
541
|
+
},
|
542
|
+
{
|
543
|
+
"internalType": "ObjectType",
|
544
|
+
"name": "objectType",
|
545
|
+
"type": "uint8"
|
546
|
+
},
|
547
|
+
{
|
548
|
+
"internalType": "bool",
|
549
|
+
"name": "isInterceptor",
|
550
|
+
"type": "bool"
|
551
|
+
},
|
552
|
+
{
|
553
|
+
"internalType": "address",
|
554
|
+
"name": "initialOwner",
|
555
|
+
"type": "address"
|
556
|
+
},
|
557
|
+
{
|
558
|
+
"internalType": "bytes",
|
559
|
+
"name": "registryData",
|
560
|
+
"type": "bytes"
|
561
|
+
}
|
562
|
+
],
|
563
|
+
"name": "initializeRegisterable",
|
564
|
+
"outputs": [],
|
565
|
+
"stateMutability": "nonpayable",
|
566
|
+
"type": "function"
|
567
|
+
},
|
568
|
+
{
|
569
|
+
"inputs": [
|
570
|
+
{
|
571
|
+
"internalType": "address",
|
572
|
+
"name": "registryAddress",
|
573
|
+
"type": "address"
|
574
|
+
}
|
575
|
+
],
|
576
|
+
"name": "initializeRegistryLinked",
|
577
|
+
"outputs": [],
|
578
|
+
"stateMutability": "nonpayable",
|
579
|
+
"type": "function"
|
580
|
+
},
|
581
|
+
{
|
582
|
+
"inputs": [
|
583
|
+
{
|
584
|
+
"internalType": "address",
|
585
|
+
"name": "registry",
|
586
|
+
"type": "address"
|
587
|
+
},
|
588
|
+
{
|
589
|
+
"internalType": "address",
|
590
|
+
"name": "initialOwner",
|
591
|
+
"type": "address"
|
592
|
+
}
|
593
|
+
],
|
594
|
+
"name": "initializeService",
|
595
|
+
"outputs": [],
|
596
|
+
"stateMutability": "nonpayable",
|
597
|
+
"type": "function"
|
598
|
+
},
|
599
|
+
{
|
600
|
+
"inputs": [
|
601
|
+
{
|
602
|
+
"internalType": "address",
|
603
|
+
"name": "activatedBy",
|
604
|
+
"type": "address"
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"internalType": "bytes",
|
608
|
+
"name": "data",
|
609
|
+
"type": "bytes"
|
610
|
+
}
|
611
|
+
],
|
612
|
+
"name": "initializeVersionable",
|
613
|
+
"outputs": [],
|
614
|
+
"stateMutability": "nonpayable",
|
615
|
+
"type": "function"
|
616
|
+
},
|
617
|
+
{
|
618
|
+
"inputs": [],
|
619
|
+
"name": "linkToRegisteredNftId",
|
620
|
+
"outputs": [],
|
621
|
+
"stateMutability": "nonpayable",
|
622
|
+
"type": "function"
|
623
|
+
},
|
624
|
+
{
|
625
|
+
"inputs": [
|
626
|
+
{
|
627
|
+
"internalType": "NftId",
|
628
|
+
"name": "policyNftId",
|
629
|
+
"type": "uint96"
|
630
|
+
},
|
631
|
+
{
|
632
|
+
"internalType": "PayoutId",
|
633
|
+
"name": "payoutId",
|
634
|
+
"type": "uint24"
|
635
|
+
}
|
636
|
+
],
|
637
|
+
"name": "payoutExecuted",
|
638
|
+
"outputs": [],
|
639
|
+
"stateMutability": "nonpayable",
|
640
|
+
"type": "function"
|
641
|
+
},
|
642
|
+
{
|
643
|
+
"inputs": [
|
644
|
+
{
|
645
|
+
"internalType": "bytes4",
|
646
|
+
"name": "interfaceId",
|
647
|
+
"type": "bytes4"
|
648
|
+
}
|
649
|
+
],
|
650
|
+
"name": "registerInterface",
|
651
|
+
"outputs": [],
|
652
|
+
"stateMutability": "nonpayable",
|
653
|
+
"type": "function"
|
654
|
+
},
|
655
|
+
{
|
656
|
+
"inputs": [
|
657
|
+
{
|
658
|
+
"internalType": "bytes4",
|
659
|
+
"name": "interfaceId",
|
660
|
+
"type": "bytes4"
|
661
|
+
}
|
662
|
+
],
|
663
|
+
"name": "supportsInterface",
|
664
|
+
"outputs": [
|
665
|
+
{
|
666
|
+
"internalType": "bool",
|
667
|
+
"name": "",
|
668
|
+
"type": "bool"
|
669
|
+
}
|
670
|
+
],
|
671
|
+
"stateMutability": "view",
|
672
|
+
"type": "function"
|
673
|
+
},
|
674
|
+
{
|
675
|
+
"inputs": [
|
676
|
+
{
|
677
|
+
"internalType": "bytes",
|
678
|
+
"name": "data",
|
679
|
+
"type": "bytes"
|
680
|
+
}
|
681
|
+
],
|
682
|
+
"name": "upgradeVersionable",
|
683
|
+
"outputs": [],
|
684
|
+
"stateMutability": "nonpayable",
|
685
|
+
"type": "function"
|
686
|
+
}
|
687
|
+
],
|
688
|
+
"bytecode": "0x608060405234801561001057600080fd5b5061001961001e565b6100d0565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161561006e5760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100cd5780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61194f806100df6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063675393bf116100f9578063cc9fc59a11610097578063ea86657211610071578063ea866572146103d6578063f21de1e8146102e1578063f7c34ee0146103e9578063fc20e6f4146103fc57600080fd5b8063cc9fc59a146103b8578063cde749f4146103c0578063e10b6067146103c857600080fd5b80639e14822a116100d35780639e14822a14610373578063ada9652e14610386578063b68d18091461039b578063caf4e3d4146103b057600080fd5b8063675393bf1461032e5780637211bedd14610341578063893d20e81461036b57600080fd5b806327bb7a331161016657806349bb9e4b1161014057806349bb9e4b146102ce5780634a7d34cb146101c95780635ab1bd53146102e1578063644c45e01461030657600080fd5b806327bb7a33146102a0578063329d6e74146102b357806336fc697e146102c657600080fd5b80630fec111c116101a25780630fec111c1461023b578063138461e0146102505780631eff4b2214610258578063214cdb801461028d57600080fd5b806301a57efc146101c957806301ffc9a7146101dd5780630d8e6e2c1461021f575b600080fd5b6101db6101d73660046111bc565b5050565b005b61020a6101eb3660046111f1565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610227610415565b60405162ffffff9091168152602001610216565b61024361049f565b6040516102169190611268565b6101db61064e565b61027f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610216565b6101db61029b3660046111f1565b610855565b6101db6102ae3660046113c7565b610882565b6101db6102c136600461145f565b61090e565b6101db610a5b565b6101db6102dc366004611493565b610aa1565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610216565b6000805160206118da833981519152546040516001600160601b039091168152602001610216565b6101db61033c3660046114e2565b610ba0565b61035861034f3660046114ff565b60009392505050565b60405161ffff9091168152602001610216565b6102ee610cac565b6101db610381366004611557565b505050565b61027f6000805160206118da83398151915281565b60d45b60405160ff9091168152602001610216565b6102ee610de3565b6102ee610e80565b61039e610eaa565b6101db6101d73660046115a6565b6101db6103e43660046115df565b610f21565b6101db6103f73660046115df565b610fb9565b61022761040a36600461160d565b600095945050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610476573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049a91906116a9565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061054a906116c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610576906116c6565b80156105c35780601f10610598576101008083540402835291602001916105c3565b820191906000526020600020905b8154815290600101906020018083116105a657829003601f168201915b50505050508152505090506040518060e001604052806105e1600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610632610cac565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206118da83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156106bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e19190611700565b156107125780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107256001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561076d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107919190611700565b6107b95760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610709565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561080d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610831919061171d565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61085d611030565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61088a611030565b6108948287610fb9565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016109048382611788565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610930610415565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610970573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109949190611847565b6000805160206118fa8339815191528054600160401b900460ff16806109c7575080546001600160401b03808416911610155b156109e55760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a0f83611069565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a63611030565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206118fa8339815191528054600160401b810460ff1615906001600160401b0316600081158015610ad45750825b90506000826001600160401b03166001148015610af05750303b155b905081158015610afe575080155b15610b1c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b4657845460ff60401b1916600160401b1785555b610b508787611071565b8315610b9757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610ba8611030565b806001600160a01b03163b600003610bde5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610709565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610c58575060408051601f3d908101601f19168201909252610c5591810190611700565b60015b610c805760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610709565b806101d75760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610709565b50565b6000806000805160206118da83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d409190611700565b15610dcd576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610da3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc79190611870565b91505090565b54600160601b90046001600160a01b0316919050565b600080610df86001546001600160a01b031690565b6001600160a01b031663d39e604360285b610e11610eaa565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610e56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7a9190611870565b92915050565b600080610e956001546001600160a01b031690565b6001600160a01b031663d39e60436046610e09565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015610efd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049a919061188d565b610f29611030565b610fa982836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8f919061171d565b603c60008560405180602001604052806000815250610882565b6101d7637b6a51fd60e01b610855565b610fc1611030565b610fca81610ba0565b610fd2610a5b565b6001600160a01b038216610ff95760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206118da83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000805160206118fa83398151915254600160401b900460ff1661106757604051631afcd79f60e31b815260040160405180910390fd5b565b6101c4611030565b6000805160206118fa8339815191528054600160401b810460ff1615906001600160401b03166000811580156110a45750825b90506000826001600160401b031660011480156110c05750303b155b9050811580156110ce575080155b156110ec5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561111657845460ff60401b1916600160401b1785555b6000808780602001905181019061112d91906118aa565b909250905061113c828a610f21565b61114c63baf6f05360e01b610855565b50508315610b9757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610b8e565b6001600160601b0381168114610ca957600080fd5b803561ffff811681146111b757600080fd5b919050565b600080604083850312156111cf57600080fd5b82356111da81611190565b91506111e8602084016111a5565b90509250929050565b60006020828403121561120357600080fd5b81356001600160e01b03198116811461121b57600080fd5b9392505050565b6000815180845260005b818110156112485760208185018101518683018201520161122c565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516112d160c08401826001600160a01b03169052565b5060c083015160e0808401526112eb610100840182611222565b949350505050565b6001600160a01b0381168114610ca957600080fd5b60ff81168114610ca957600080fd5b8015158114610ca957600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261134c57600080fd5b81356001600160401b038082111561136657611366611325565b604051601f8301601f19908116603f0116810190828211818310171561138e5761138e611325565b816040528381528660208588010111156113a757600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c087890312156113e057600080fd5b86356113eb816112f3565b955060208701356113fb81611190565b9450604087013561140b81611308565b9350606087013561141b81611317565b9250608087013561142b816112f3565b915060a08701356001600160401b0381111561144657600080fd5b61145289828a0161133b565b9150509295509295509295565b60006020828403121561147157600080fd5b81356001600160401b0381111561148757600080fd5b6112eb8482850161133b565b600080604083850312156114a657600080fd5b82356114b1816112f3565b915060208301356001600160401b038111156114cc57600080fd5b6114d88582860161133b565b9150509250929050565b6000602082840312156114f457600080fd5b813561121b816112f3565b60008060006060848603121561151457600080fd5b833561151f81611190565b92506020840135915060408401356001600160401b0381111561154157600080fd5b61154d8682870161133b565b9150509250925092565b60008060006060848603121561156c57600080fd5b833561157781611190565b9250611585602085016111a5565b9150604084013590509250925092565b62ffffff81168114610ca957600080fd5b600080604083850312156115b957600080fd5b82356115c481611190565b915060208301356115d481611595565b809150509250929050565b600080604083850312156115f257600080fd5b82356115fd816112f3565b915060208301356115d4816112f3565b60008060008060006080868803121561162557600080fd5b853561163081611190565b945061163e602087016111a5565b93506040860135925060608601356001600160401b038082111561166157600080fd5b818801915088601f83011261167557600080fd5b81358181111561168457600080fd5b89602082850101111561169657600080fd5b9699959850939650602001949392505050565b6000602082840312156116bb57600080fd5b815161121b81611595565b600181811c908216806116da57607f821691505b6020821081036116fa57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561171257600080fd5b815161121b81611317565b60006020828403121561172f57600080fd5b815161121b81611190565b601f82111561038157600081815260208120601f850160051c810160208610156117615750805b601f850160051c820191505b818110156117805782815560010161176d565b505050505050565b81516001600160401b038111156117a1576117a1611325565b6117b5816117af84546116c6565b8461173a565b602080601f8311600181146117ea57600084156117d25750858301515b600019600386901b1c1916600185901b178555611780565b600085815260208120601f198616915b82811015611819578886015182559484019460019091019084016117fa565b50858210156118375787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561185957600080fd5b81516001600160401b038116811461121b57600080fd5b60006020828403121561188257600080fd5b815161121b816112f3565b60006020828403121561189f57600080fd5b815161121b81611308565b600080604083850312156118bd57600080fd5b82516118c8816112f3565b60208401519092506115d4816112f356fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212200e9333e4f2e2ffde4d99e48b1c9fa9d0770c78773cf72050849dff333d8ce96664736f6c63430008140033",
|
689
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063675393bf116100f9578063cc9fc59a11610097578063ea86657211610071578063ea866572146103d6578063f21de1e8146102e1578063f7c34ee0146103e9578063fc20e6f4146103fc57600080fd5b8063cc9fc59a146103b8578063cde749f4146103c0578063e10b6067146103c857600080fd5b80639e14822a116100d35780639e14822a14610373578063ada9652e14610386578063b68d18091461039b578063caf4e3d4146103b057600080fd5b8063675393bf1461032e5780637211bedd14610341578063893d20e81461036b57600080fd5b806327bb7a331161016657806349bb9e4b1161014057806349bb9e4b146102ce5780634a7d34cb146101c95780635ab1bd53146102e1578063644c45e01461030657600080fd5b806327bb7a33146102a0578063329d6e74146102b357806336fc697e146102c657600080fd5b80630fec111c116101a25780630fec111c1461023b578063138461e0146102505780631eff4b2214610258578063214cdb801461028d57600080fd5b806301a57efc146101c957806301ffc9a7146101dd5780630d8e6e2c1461021f575b600080fd5b6101db6101d73660046111bc565b5050565b005b61020a6101eb3660046111f1565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610227610415565b60405162ffffff9091168152602001610216565b61024361049f565b6040516102169190611268565b6101db61064e565b61027f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610216565b6101db61029b3660046111f1565b610855565b6101db6102ae3660046113c7565b610882565b6101db6102c136600461145f565b61090e565b6101db610a5b565b6101db6102dc366004611493565b610aa1565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610216565b6000805160206118da833981519152546040516001600160601b039091168152602001610216565b6101db61033c3660046114e2565b610ba0565b61035861034f3660046114ff565b60009392505050565b60405161ffff9091168152602001610216565b6102ee610cac565b6101db610381366004611557565b505050565b61027f6000805160206118da83398151915281565b60d45b60405160ff9091168152602001610216565b6102ee610de3565b6102ee610e80565b61039e610eaa565b6101db6101d73660046115a6565b6101db6103e43660046115df565b610f21565b6101db6103f73660046115df565b610fb9565b61022761040a36600461160d565b600095945050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610476573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049a91906116a9565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061054a906116c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610576906116c6565b80156105c35780601f10610598576101008083540402835291602001916105c3565b820191906000526020600020905b8154815290600101906020018083116105a657829003601f168201915b50505050508152505090506040518060e001604052806105e1600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610632610cac565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206118da83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156106bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e19190611700565b156107125780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107256001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561076d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107919190611700565b6107b95760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610709565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561080d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610831919061171d565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61085d611030565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61088a611030565b6108948287610fb9565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016109048382611788565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610930610415565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610970573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109949190611847565b6000805160206118fa8339815191528054600160401b900460ff16806109c7575080546001600160401b03808416911610155b156109e55760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a0f83611069565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a63611030565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206118fa8339815191528054600160401b810460ff1615906001600160401b0316600081158015610ad45750825b90506000826001600160401b03166001148015610af05750303b155b905081158015610afe575080155b15610b1c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b4657845460ff60401b1916600160401b1785555b610b508787611071565b8315610b9757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610ba8611030565b806001600160a01b03163b600003610bde5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610709565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610c58575060408051601f3d908101601f19168201909252610c5591810190611700565b60015b610c805760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610709565b806101d75760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610709565b50565b6000806000805160206118da83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d409190611700565b15610dcd576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610da3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc79190611870565b91505090565b54600160601b90046001600160a01b0316919050565b600080610df86001546001600160a01b031690565b6001600160a01b031663d39e604360285b610e11610eaa565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610e56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7a9190611870565b92915050565b600080610e956001546001600160a01b031690565b6001600160a01b031663d39e60436046610e09565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015610efd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049a919061188d565b610f29611030565b610fa982836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8f919061171d565b603c60008560405180602001604052806000815250610882565b6101d7637b6a51fd60e01b610855565b610fc1611030565b610fca81610ba0565b610fd2610a5b565b6001600160a01b038216610ff95760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206118da83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000805160206118fa83398151915254600160401b900460ff1661106757604051631afcd79f60e31b815260040160405180910390fd5b565b6101c4611030565b6000805160206118fa8339815191528054600160401b810460ff1615906001600160401b03166000811580156110a45750825b90506000826001600160401b031660011480156110c05750303b155b9050811580156110ce575080155b156110ec5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561111657845460ff60401b1916600160401b1785555b6000808780602001905181019061112d91906118aa565b909250905061113c828a610f21565b61114c63baf6f05360e01b610855565b50508315610b9757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610b8e565b6001600160601b0381168114610ca957600080fd5b803561ffff811681146111b757600080fd5b919050565b600080604083850312156111cf57600080fd5b82356111da81611190565b91506111e8602084016111a5565b90509250929050565b60006020828403121561120357600080fd5b81356001600160e01b03198116811461121b57600080fd5b9392505050565b6000815180845260005b818110156112485760208185018101518683018201520161122c565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516112d160c08401826001600160a01b03169052565b5060c083015160e0808401526112eb610100840182611222565b949350505050565b6001600160a01b0381168114610ca957600080fd5b60ff81168114610ca957600080fd5b8015158114610ca957600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261134c57600080fd5b81356001600160401b038082111561136657611366611325565b604051601f8301601f19908116603f0116810190828211818310171561138e5761138e611325565b816040528381528660208588010111156113a757600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c087890312156113e057600080fd5b86356113eb816112f3565b955060208701356113fb81611190565b9450604087013561140b81611308565b9350606087013561141b81611317565b9250608087013561142b816112f3565b915060a08701356001600160401b0381111561144657600080fd5b61145289828a0161133b565b9150509295509295509295565b60006020828403121561147157600080fd5b81356001600160401b0381111561148757600080fd5b6112eb8482850161133b565b600080604083850312156114a657600080fd5b82356114b1816112f3565b915060208301356001600160401b038111156114cc57600080fd5b6114d88582860161133b565b9150509250929050565b6000602082840312156114f457600080fd5b813561121b816112f3565b60008060006060848603121561151457600080fd5b833561151f81611190565b92506020840135915060408401356001600160401b0381111561154157600080fd5b61154d8682870161133b565b9150509250925092565b60008060006060848603121561156c57600080fd5b833561157781611190565b9250611585602085016111a5565b9150604084013590509250925092565b62ffffff81168114610ca957600080fd5b600080604083850312156115b957600080fd5b82356115c481611190565b915060208301356115d481611595565b809150509250929050565b600080604083850312156115f257600080fd5b82356115fd816112f3565b915060208301356115d4816112f3565b60008060008060006080868803121561162557600080fd5b853561163081611190565b945061163e602087016111a5565b93506040860135925060608601356001600160401b038082111561166157600080fd5b818801915088601f83011261167557600080fd5b81358181111561168457600080fd5b89602082850101111561169657600080fd5b9699959850939650602001949392505050565b6000602082840312156116bb57600080fd5b815161121b81611595565b600181811c908216806116da57607f821691505b6020821081036116fa57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561171257600080fd5b815161121b81611317565b60006020828403121561172f57600080fd5b815161121b81611190565b601f82111561038157600081815260208120601f850160051c810160208610156117615750805b601f850160051c820191505b818110156117805782815560010161176d565b505050505050565b81516001600160401b038111156117a1576117a1611325565b6117b5816117af84546116c6565b8461173a565b602080601f8311600181146117ea57600084156117d25750858301515b600019600386901b1c1916600185901b178555611780565b600085815260208120601f198616915b82811015611819578886015182559484019460019091019084016117fa565b50858210156118375787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561185957600080fd5b81516001600160401b038116811461121b57600080fd5b60006020828403121561188257600080fd5b815161121b816112f3565b60006020828403121561189f57600080fd5b815161121b81611308565b600080604083850312156118bd57600080fd5b82516118c8816112f3565b60208401519092506115d4816112f356fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212200e9333e4f2e2ffde4d99e48b1c9fa9d0770c78773cf72050849dff333d8ce96664736f6c63430008140033",
|
690
|
+
"linkReferences": {
|
691
|
+
"contracts/types/NftId.sol": {
|
692
|
+
"NftIdLib": [
|
693
|
+
{
|
694
|
+
"length": 20,
|
695
|
+
"start": 1890
|
696
|
+
},
|
697
|
+
{
|
698
|
+
"length": 20,
|
699
|
+
"start": 3521
|
700
|
+
}
|
701
|
+
]
|
702
|
+
},
|
703
|
+
"contracts/types/Version.sol": {
|
704
|
+
"VersionLib": [
|
705
|
+
{
|
706
|
+
"length": 20,
|
707
|
+
"start": 1307
|
708
|
+
},
|
709
|
+
{
|
710
|
+
"length": 20,
|
711
|
+
"start": 2543
|
712
|
+
}
|
713
|
+
],
|
714
|
+
"VersionPartLib": [
|
715
|
+
{
|
716
|
+
"length": 20,
|
717
|
+
"start": 4002
|
718
|
+
}
|
719
|
+
]
|
720
|
+
}
|
721
|
+
},
|
722
|
+
"deployedLinkReferences": {
|
723
|
+
"contracts/types/NftId.sol": {
|
724
|
+
"NftIdLib": [
|
725
|
+
{
|
726
|
+
"length": 20,
|
727
|
+
"start": 1667
|
728
|
+
},
|
729
|
+
{
|
730
|
+
"length": 20,
|
731
|
+
"start": 3298
|
732
|
+
}
|
733
|
+
]
|
734
|
+
},
|
735
|
+
"contracts/types/Version.sol": {
|
736
|
+
"VersionLib": [
|
737
|
+
{
|
738
|
+
"length": 20,
|
739
|
+
"start": 1084
|
740
|
+
},
|
741
|
+
{
|
742
|
+
"length": 20,
|
743
|
+
"start": 2320
|
744
|
+
}
|
745
|
+
],
|
746
|
+
"VersionPartLib": [
|
747
|
+
{
|
748
|
+
"length": 20,
|
749
|
+
"start": 3779
|
750
|
+
}
|
751
|
+
]
|
752
|
+
}
|
753
|
+
}
|
754
|
+
}
|