@etherisc/gif-next 0.0.2-e5a2253-213 → 0.0.2-e69072e-892
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 +4 -0
- package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → Component.sol/Component.json} +340 -59
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +804 -211
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{IBaseComponent.sol/IBaseComponent.json → IComponent.sol/IComponent.json} +95 -56
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +699 -22
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +814 -60
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +519 -4
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +896 -298
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +442 -129
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +38 -62
- 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 +910 -289
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +110 -171
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +874 -557
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +52 -115
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +101 -168
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +346 -263
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +319 -86
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -32
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +119 -189
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +2 -2
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +13 -13
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +968 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +258 -283
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +305 -80
- 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 +983 -221
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +441 -72
- 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 +130 -217
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → instance/service/IClaimService.sol/IClaimService.json} +146 -179
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +552 -140
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +40 -292
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +22 -174
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +22 -174
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +161 -407
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +311 -114
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +139 -237
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +302 -77
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +139 -237
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +302 -77
- 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 +98 -5
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +112 -198
- 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 +112 -27
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +18 -18
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +216 -234
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +300 -81
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +70 -53
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +151 -50
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +22 -174
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +114 -157
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +135 -214
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +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 +2 -2
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/contracts/components/Component.sol +221 -0
- package/contracts/components/Distribution.sol +206 -67
- package/contracts/components/IComponent.sol +68 -0
- package/contracts/components/IDistributionComponent.sol +44 -9
- package/contracts/components/IPoolComponent.sol +124 -39
- package/contracts/components/IProductComponent.sol +8 -3
- package/contracts/components/Pool.sol +284 -164
- package/contracts/components/Product.sol +110 -116
- package/contracts/instance/BundleManager.sol +8 -12
- package/contracts/instance/IInstance.sol +41 -9
- package/contracts/instance/IInstanceService.sol +20 -1
- package/contracts/instance/Instance.sol +90 -61
- package/contracts/instance/InstanceAccessManager.sol +18 -24
- package/contracts/instance/InstanceReader.sol +3 -25
- package/contracts/instance/InstanceService.sol +195 -50
- package/contracts/instance/InstanceServiceManager.sol +1 -1
- package/contracts/instance/ObjectManager.sol +7 -24
- package/contracts/instance/base/{ComponentServiceBase.sol → ComponentService.sol} +9 -13
- package/contracts/instance/module/IAccess.sol +3 -4
- package/contracts/instance/module/IBundle.sol +2 -1
- package/contracts/instance/module/IDistribution.sol +2 -0
- package/contracts/instance/module/IPolicy.sol +30 -3
- package/contracts/instance/module/ISetup.sol +10 -10
- package/contracts/instance/service/ApplicationService.sol +350 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +17 -12
- 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 +312 -33
- package/contracts/instance/service/DistributionServiceManager.sol +1 -1
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +14 -3
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +74 -0
- package/contracts/instance/service/IPolicyService.sol +26 -50
- package/contracts/instance/service/PolicyService.sol +127 -262
- package/contracts/instance/service/PolicyServiceManager.sol +2 -2
- package/contracts/instance/service/PoolService.sol +12 -45
- package/contracts/instance/service/PoolServiceManager.sol +1 -1
- package/contracts/instance/service/ProductService.sol +50 -26
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/IRegistry.sol +16 -8
- package/contracts/registry/IRegistryService.sol +19 -10
- package/contracts/registry/Registry.sol +120 -52
- package/contracts/registry/RegistryAccessManager.sol +31 -25
- package/contracts/registry/RegistryService.sol +91 -128
- package/contracts/registry/RegistryServiceManager.sol +13 -13
- package/contracts/registry/ReleaseManager.sol +86 -106
- package/contracts/registry/TokenRegistry.sol +19 -13
- package/contracts/shared/ERC165.sol +14 -12
- package/contracts/shared/INftOwnable.sol +11 -10
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +4 -4
- 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 -80
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +100 -25
- package/contracts/shared/Registerable.sol +16 -32
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +19 -19
- package/contracts/shared/Versionable.sol +4 -92
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestService.sol +1 -1
- package/contracts/types/ClaimId.sol +52 -0
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/ObjectType.sol +9 -5
- package/contracts/types/PayoutId.sol +54 -0
- package/contracts/types/RoleId.sol +12 -7
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/Timestamp.sol +12 -13
- package/package.json +3 -3
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -100
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/contracts/components/BaseComponent.sol +0 -168
- package/contracts/components/IBaseComponent.sol +0 -35
- package/contracts/experiment/cloning/Cloner.sol +0 -47
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
- package/contracts/instance/IInstanceBase.sol +0 -25
- package/contracts/instance/InstanceBase.sol +0 -39
- package/contracts/instance/base/IInstanceBase.sol +0 -21
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
package/README.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# GIF-Next (Generic Insurance Framework, next version)
|
2
2
|
|
3
|
+
|
4
|
+
```mermaid
|
5
|
+
graph TD
|
6
|
+
IPoolComponent --> IComponent
|
7
|
+
IComponent --> IRegisterable
|
8
|
+
IComponent --> ITransferInterceptor
|
9
|
+
IRegistryService --> IService
|
10
|
+
IService-->IRegisterable
|
11
|
+
IService-->IVersionable
|
12
|
+
IRegisterable-->INftOwnable
|
13
|
+
INftOwnable-->IERC165
|
14
|
+
```
|
15
|
+
|
3
16
|
## Add OpenZeppelin V5 Dependencies
|
4
17
|
|
5
18
|
```shell
|
@@ -392,9 +405,68 @@ Intercepting property
|
|
392
405
|
|
393
406
|
### Product
|
394
407
|
|
408
|
+
### Payout Handling
|
409
|
+
|
410
|
+
Pool specifies **retention level**.
|
411
|
+
Retention level defines up to which percentage of the sum insured the pool is payout out using its own/current funds.
|
412
|
+
Depending on the amount of a new payout the poolService decides to either execute the payout directly or to add the payout as a pending payout with a notification of the pool.
|
413
|
+
|
414
|
+
The sequence below sketches the small payout flow (payout < retention amount)
|
415
|
+
- retention level: 30%
|
416
|
+
- sum insured: 1000
|
417
|
+
- payout: 200
|
418
|
+
|
419
|
+
```mermaid
|
420
|
+
sequenceDiagram
|
421
|
+
participant customer
|
422
|
+
participant product
|
423
|
+
participant claimService
|
424
|
+
participant poolService
|
425
|
+
participant pool
|
426
|
+
product->>claimService: createPayout()
|
427
|
+
claimService ->> poolService: requestPayout()
|
428
|
+
poolService -->> pool: verifyPayout() *
|
429
|
+
poolService ->> poolService: processPayout()
|
430
|
+
poolService ->> customer: transfer token for payout
|
431
|
+
poolService ->> claimService: payoutExecuted()
|
432
|
+
poolService -->> customer: payoutExecutedCallback() **
|
433
|
+
```
|
434
|
+
|
435
|
+
*: if pool is configured to verify payouts before execution
|
436
|
+
|
437
|
+
**: callback only if customer is contract (IPolicyHolder)
|
438
|
+
|
439
|
+
The sequence below sketches the call flow for payouts larger than the retention amount
|
440
|
+
- retention level: 30%
|
441
|
+
- sum insured: 1000
|
442
|
+
- payout: 500
|
443
|
+
* locally available: 300
|
444
|
+
* via policy (re-insurance): 200
|
445
|
+
|
446
|
+
```mermaid
|
447
|
+
sequenceDiagram
|
448
|
+
participant customer
|
449
|
+
participant product
|
450
|
+
participant claimService
|
451
|
+
participant poolService
|
452
|
+
participant pool
|
453
|
+
pool ->> reinsuranceProduct: applyForPolicy()
|
454
|
+
product->>claimService: createPayout()
|
455
|
+
claimService ->> poolService: requestPayout()
|
456
|
+
poolService ->> pool: pendingPayoutAdded()
|
457
|
+
pool ->> pool: getReinsurancePolicy()
|
458
|
+
pool ->> reinsuranceProduct: claim()
|
459
|
+
reinsuranceProduct -->> reinsurancePool: createPayout
|
460
|
+
reinsurancePool ->> pool: transfer token for payout
|
461
|
+
reinsurancePool ->> pool: payoutExecutedCallback()
|
462
|
+
pool ->> poolService: processPendingPayout()
|
463
|
+
poolService ->> customer: transfer token for payout
|
464
|
+
poolService ->> claimService: payoutExecuted()
|
465
|
+
```
|
466
|
+
|
395
467
|
### Pool
|
396
468
|
|
397
|
-
###
|
469
|
+
### Distribution
|
398
470
|
|
399
471
|
### Oracle
|
400
472
|
|
@@ -1,55 +1,66 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "
|
4
|
-
"sourceName": "contracts/components/
|
3
|
+
"contractName": "Component",
|
4
|
+
"sourceName": "contracts/components/Component.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "address",
|
10
|
-
"name": "
|
10
|
+
"name": "authority",
|
11
11
|
"type": "address"
|
12
12
|
}
|
13
13
|
],
|
14
|
-
"name": "
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
15
|
"type": "error"
|
16
16
|
},
|
17
17
|
{
|
18
18
|
"inputs": [
|
19
19
|
{
|
20
20
|
"internalType": "address",
|
21
|
-
"name": "
|
21
|
+
"name": "caller",
|
22
22
|
"type": "address"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
23
28
|
}
|
24
29
|
],
|
25
|
-
"name": "
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
26
31
|
"type": "error"
|
27
32
|
},
|
28
33
|
{
|
29
34
|
"inputs": [
|
30
35
|
{
|
31
36
|
"internalType": "address",
|
32
|
-
"name": "
|
37
|
+
"name": "caller",
|
33
38
|
"type": "address"
|
34
|
-
}
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
35
46
|
{
|
36
|
-
"internalType": "
|
37
|
-
"name": "
|
38
|
-
"type": "
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "target",
|
49
|
+
"type": "address"
|
39
50
|
}
|
40
51
|
],
|
41
|
-
"name": "
|
52
|
+
"name": "AddressEmptyCode",
|
42
53
|
"type": "error"
|
43
54
|
},
|
44
55
|
{
|
45
56
|
"inputs": [
|
46
57
|
{
|
47
58
|
"internalType": "address",
|
48
|
-
"name": "
|
59
|
+
"name": "account",
|
49
60
|
"type": "address"
|
50
61
|
}
|
51
62
|
],
|
52
|
-
"name": "
|
63
|
+
"name": "AddressInsufficientBalance",
|
53
64
|
"type": "error"
|
54
65
|
},
|
55
66
|
{
|
@@ -58,25 +69,46 @@
|
|
58
69
|
"internalType": "address",
|
59
70
|
"name": "caller",
|
60
71
|
"type": "address"
|
61
|
-
}
|
72
|
+
}
|
73
|
+
],
|
74
|
+
"name": "ErrorComponentNotChainNft",
|
75
|
+
"type": "error"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"inputs": [
|
62
79
|
{
|
63
|
-
"internalType": "
|
64
|
-
"name": "
|
65
|
-
"type": "
|
80
|
+
"internalType": "NftId",
|
81
|
+
"name": "instanceNftId",
|
82
|
+
"type": "uint96"
|
66
83
|
}
|
67
84
|
],
|
68
|
-
"name": "
|
85
|
+
"name": "ErrorComponentNotInstance",
|
69
86
|
"type": "error"
|
70
87
|
},
|
71
88
|
{
|
72
89
|
"inputs": [
|
73
90
|
{
|
74
91
|
"internalType": "address",
|
75
|
-
"name": "
|
92
|
+
"name": "caller",
|
76
93
|
"type": "address"
|
77
94
|
}
|
78
95
|
],
|
79
|
-
"name": "
|
96
|
+
"name": "ErrorComponentNotProductService",
|
97
|
+
"type": "error"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"inputs": [],
|
101
|
+
"name": "ErrorComponentProductNftAlreadySet",
|
102
|
+
"type": "error"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"inputs": [],
|
106
|
+
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
107
|
+
"type": "error"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"inputs": [],
|
111
|
+
"name": "ErrorComponentWalletAddressZero",
|
80
112
|
"type": "error"
|
81
113
|
},
|
82
114
|
{
|
@@ -102,72 +134,56 @@
|
|
102
134
|
"type": "uint256"
|
103
135
|
}
|
104
136
|
],
|
105
|
-
"name": "
|
137
|
+
"name": "ErrorComponentWalletAllowanceTooSmall",
|
106
138
|
"type": "error"
|
107
139
|
},
|
108
140
|
{
|
109
141
|
"inputs": [
|
110
142
|
{
|
111
|
-
"internalType": "
|
112
|
-
"name": "
|
113
|
-
"type": "
|
143
|
+
"internalType": "NftId",
|
144
|
+
"name": "nftId",
|
145
|
+
"type": "uint96"
|
114
146
|
}
|
115
147
|
],
|
116
|
-
"name": "
|
148
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
117
149
|
"type": "error"
|
118
150
|
},
|
119
151
|
{
|
120
152
|
"inputs": [
|
121
153
|
{
|
122
154
|
"internalType": "address",
|
123
|
-
"name": "
|
155
|
+
"name": "contractAddress",
|
124
156
|
"type": "address"
|
125
157
|
}
|
126
158
|
],
|
127
|
-
"name": "
|
159
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
128
160
|
"type": "error"
|
129
161
|
},
|
130
162
|
{
|
131
|
-
"inputs": [
|
132
|
-
|
133
|
-
"internalType": "address",
|
134
|
-
"name": "registryAddress",
|
135
|
-
"type": "address"
|
136
|
-
}
|
137
|
-
],
|
138
|
-
"name": "ErrorNotRegistry",
|
163
|
+
"inputs": [],
|
164
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
139
165
|
"type": "error"
|
140
166
|
},
|
141
167
|
{
|
142
168
|
"inputs": [
|
143
169
|
{
|
144
170
|
"internalType": "address",
|
145
|
-
"name": "
|
171
|
+
"name": "account",
|
146
172
|
"type": "address"
|
147
173
|
}
|
148
174
|
],
|
149
|
-
"name": "
|
150
|
-
"type": "error"
|
151
|
-
},
|
152
|
-
{
|
153
|
-
"inputs": [],
|
154
|
-
"name": "ErrorRegistryAddressZero",
|
175
|
+
"name": "ErrorNftOwnableNotOwner",
|
155
176
|
"type": "error"
|
156
177
|
},
|
157
178
|
{
|
158
179
|
"inputs": [
|
159
180
|
{
|
160
181
|
"internalType": "address",
|
161
|
-
"name": "
|
182
|
+
"name": "registryAddress",
|
162
183
|
"type": "address"
|
163
184
|
}
|
164
185
|
],
|
165
|
-
"name": "
|
166
|
-
"type": "error"
|
167
|
-
},
|
168
|
-
{
|
169
|
-
"inputs": [],
|
170
|
-
"name": "ErrorRegistryNotInitialized",
|
186
|
+
"name": "ErrorNotRegistry",
|
171
187
|
"type": "error"
|
172
188
|
},
|
173
189
|
{
|
@@ -196,6 +212,19 @@
|
|
196
212
|
"name": "SafeERC20FailedOperation",
|
197
213
|
"type": "error"
|
198
214
|
},
|
215
|
+
{
|
216
|
+
"anonymous": false,
|
217
|
+
"inputs": [
|
218
|
+
{
|
219
|
+
"indexed": false,
|
220
|
+
"internalType": "address",
|
221
|
+
"name": "authority",
|
222
|
+
"type": "address"
|
223
|
+
}
|
224
|
+
],
|
225
|
+
"name": "AuthorityUpdated",
|
226
|
+
"type": "event"
|
227
|
+
},
|
199
228
|
{
|
200
229
|
"anonymous": false,
|
201
230
|
"inputs": [
|
@@ -212,6 +241,12 @@
|
|
212
241
|
{
|
213
242
|
"anonymous": false,
|
214
243
|
"inputs": [
|
244
|
+
{
|
245
|
+
"indexed": false,
|
246
|
+
"internalType": "address",
|
247
|
+
"name": "oldWallet",
|
248
|
+
"type": "address"
|
249
|
+
},
|
215
250
|
{
|
216
251
|
"indexed": false,
|
217
252
|
"internalType": "address",
|
@@ -219,7 +254,7 @@
|
|
219
254
|
"type": "address"
|
220
255
|
}
|
221
256
|
],
|
222
|
-
"name": "
|
257
|
+
"name": "LogComponentWalletAddressChanged",
|
223
258
|
"type": "event"
|
224
259
|
},
|
225
260
|
{
|
@@ -244,9 +279,35 @@
|
|
244
279
|
"type": "uint256"
|
245
280
|
}
|
246
281
|
],
|
247
|
-
"name": "
|
282
|
+
"name": "LogComponentWalletTokensTransferred",
|
248
283
|
"type": "event"
|
249
284
|
},
|
285
|
+
{
|
286
|
+
"inputs": [],
|
287
|
+
"name": "COMPONENT_LOCATION_V1",
|
288
|
+
"outputs": [
|
289
|
+
{
|
290
|
+
"internalType": "bytes32",
|
291
|
+
"name": "",
|
292
|
+
"type": "bytes32"
|
293
|
+
}
|
294
|
+
],
|
295
|
+
"stateMutability": "view",
|
296
|
+
"type": "function"
|
297
|
+
},
|
298
|
+
{
|
299
|
+
"inputs": [],
|
300
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
301
|
+
"outputs": [
|
302
|
+
{
|
303
|
+
"internalType": "bytes32",
|
304
|
+
"name": "",
|
305
|
+
"type": "bytes32"
|
306
|
+
}
|
307
|
+
],
|
308
|
+
"stateMutability": "view",
|
309
|
+
"type": "function"
|
310
|
+
},
|
250
311
|
{
|
251
312
|
"inputs": [],
|
252
313
|
"name": "REGISTERABLE_LOCATION_V1",
|
@@ -260,6 +321,19 @@
|
|
260
321
|
"stateMutability": "view",
|
261
322
|
"type": "function"
|
262
323
|
},
|
324
|
+
{
|
325
|
+
"inputs": [],
|
326
|
+
"name": "authority",
|
327
|
+
"outputs": [
|
328
|
+
{
|
329
|
+
"internalType": "address",
|
330
|
+
"name": "",
|
331
|
+
"type": "address"
|
332
|
+
}
|
333
|
+
],
|
334
|
+
"stateMutability": "view",
|
335
|
+
"type": "function"
|
336
|
+
},
|
263
337
|
{
|
264
338
|
"inputs": [],
|
265
339
|
"name": "getInitialInfo",
|
@@ -303,13 +377,8 @@
|
|
303
377
|
}
|
304
378
|
],
|
305
379
|
"internalType": "struct IRegistry.ObjectInfo",
|
306
|
-
"name": "",
|
380
|
+
"name": "info",
|
307
381
|
"type": "tuple"
|
308
|
-
},
|
309
|
-
{
|
310
|
-
"internalType": "bytes",
|
311
|
-
"name": "data",
|
312
|
-
"type": "bytes"
|
313
382
|
}
|
314
383
|
],
|
315
384
|
"stateMutability": "view",
|
@@ -338,7 +407,7 @@
|
|
338
407
|
"type": "string"
|
339
408
|
}
|
340
409
|
],
|
341
|
-
"stateMutability": "
|
410
|
+
"stateMutability": "view",
|
342
411
|
"type": "function"
|
343
412
|
},
|
344
413
|
{
|
@@ -393,6 +462,19 @@
|
|
393
462
|
"stateMutability": "view",
|
394
463
|
"type": "function"
|
395
464
|
},
|
465
|
+
{
|
466
|
+
"inputs": [],
|
467
|
+
"name": "getRegistryAddress",
|
468
|
+
"outputs": [
|
469
|
+
{
|
470
|
+
"internalType": "address",
|
471
|
+
"name": "",
|
472
|
+
"type": "address"
|
473
|
+
}
|
474
|
+
],
|
475
|
+
"stateMutability": "view",
|
476
|
+
"type": "function"
|
477
|
+
},
|
396
478
|
{
|
397
479
|
"inputs": [],
|
398
480
|
"name": "getToken",
|
@@ -419,6 +501,156 @@
|
|
419
501
|
"stateMutability": "view",
|
420
502
|
"type": "function"
|
421
503
|
},
|
504
|
+
{
|
505
|
+
"inputs": [
|
506
|
+
{
|
507
|
+
"internalType": "address",
|
508
|
+
"name": "registry",
|
509
|
+
"type": "address"
|
510
|
+
},
|
511
|
+
{
|
512
|
+
"internalType": "NftId",
|
513
|
+
"name": "instanceNftId",
|
514
|
+
"type": "uint96"
|
515
|
+
},
|
516
|
+
{
|
517
|
+
"internalType": "string",
|
518
|
+
"name": "name",
|
519
|
+
"type": "string"
|
520
|
+
},
|
521
|
+
{
|
522
|
+
"internalType": "address",
|
523
|
+
"name": "token",
|
524
|
+
"type": "address"
|
525
|
+
},
|
526
|
+
{
|
527
|
+
"internalType": "ObjectType",
|
528
|
+
"name": "componentType",
|
529
|
+
"type": "uint8"
|
530
|
+
},
|
531
|
+
{
|
532
|
+
"internalType": "bool",
|
533
|
+
"name": "isInterceptor",
|
534
|
+
"type": "bool"
|
535
|
+
},
|
536
|
+
{
|
537
|
+
"internalType": "address",
|
538
|
+
"name": "initialOwner",
|
539
|
+
"type": "address"
|
540
|
+
},
|
541
|
+
{
|
542
|
+
"internalType": "bytes",
|
543
|
+
"name": "registryData",
|
544
|
+
"type": "bytes"
|
545
|
+
}
|
546
|
+
],
|
547
|
+
"name": "initializeComponent",
|
548
|
+
"outputs": [],
|
549
|
+
"stateMutability": "nonpayable",
|
550
|
+
"type": "function"
|
551
|
+
},
|
552
|
+
{
|
553
|
+
"inputs": [],
|
554
|
+
"name": "initializeERC165",
|
555
|
+
"outputs": [],
|
556
|
+
"stateMutability": "nonpayable",
|
557
|
+
"type": "function"
|
558
|
+
},
|
559
|
+
{
|
560
|
+
"inputs": [
|
561
|
+
{
|
562
|
+
"internalType": "address",
|
563
|
+
"name": "initialOwner",
|
564
|
+
"type": "address"
|
565
|
+
},
|
566
|
+
{
|
567
|
+
"internalType": "address",
|
568
|
+
"name": "registryAddress",
|
569
|
+
"type": "address"
|
570
|
+
}
|
571
|
+
],
|
572
|
+
"name": "initializeNftOwnable",
|
573
|
+
"outputs": [],
|
574
|
+
"stateMutability": "nonpayable",
|
575
|
+
"type": "function"
|
576
|
+
},
|
577
|
+
{
|
578
|
+
"inputs": [
|
579
|
+
{
|
580
|
+
"internalType": "address",
|
581
|
+
"name": "registryAddress",
|
582
|
+
"type": "address"
|
583
|
+
},
|
584
|
+
{
|
585
|
+
"internalType": "NftId",
|
586
|
+
"name": "parentNftId",
|
587
|
+
"type": "uint96"
|
588
|
+
},
|
589
|
+
{
|
590
|
+
"internalType": "ObjectType",
|
591
|
+
"name": "objectType",
|
592
|
+
"type": "uint8"
|
593
|
+
},
|
594
|
+
{
|
595
|
+
"internalType": "bool",
|
596
|
+
"name": "isInterceptor",
|
597
|
+
"type": "bool"
|
598
|
+
},
|
599
|
+
{
|
600
|
+
"internalType": "address",
|
601
|
+
"name": "initialOwner",
|
602
|
+
"type": "address"
|
603
|
+
},
|
604
|
+
{
|
605
|
+
"internalType": "bytes",
|
606
|
+
"name": "registryData",
|
607
|
+
"type": "bytes"
|
608
|
+
}
|
609
|
+
],
|
610
|
+
"name": "initializeRegisterable",
|
611
|
+
"outputs": [],
|
612
|
+
"stateMutability": "nonpayable",
|
613
|
+
"type": "function"
|
614
|
+
},
|
615
|
+
{
|
616
|
+
"inputs": [
|
617
|
+
{
|
618
|
+
"internalType": "address",
|
619
|
+
"name": "registryAddress",
|
620
|
+
"type": "address"
|
621
|
+
}
|
622
|
+
],
|
623
|
+
"name": "initializeRegistryLinked",
|
624
|
+
"outputs": [],
|
625
|
+
"stateMutability": "nonpayable",
|
626
|
+
"type": "function"
|
627
|
+
},
|
628
|
+
{
|
629
|
+
"inputs": [],
|
630
|
+
"name": "isConsumingScheduledOp",
|
631
|
+
"outputs": [
|
632
|
+
{
|
633
|
+
"internalType": "bytes4",
|
634
|
+
"name": "",
|
635
|
+
"type": "bytes4"
|
636
|
+
}
|
637
|
+
],
|
638
|
+
"stateMutability": "view",
|
639
|
+
"type": "function"
|
640
|
+
},
|
641
|
+
{
|
642
|
+
"inputs": [],
|
643
|
+
"name": "isNftInterceptor",
|
644
|
+
"outputs": [
|
645
|
+
{
|
646
|
+
"internalType": "bool",
|
647
|
+
"name": "isInterceptor",
|
648
|
+
"type": "bool"
|
649
|
+
}
|
650
|
+
],
|
651
|
+
"stateMutability": "view",
|
652
|
+
"type": "function"
|
653
|
+
},
|
422
654
|
{
|
423
655
|
"inputs": [],
|
424
656
|
"name": "linkToRegisteredNftId",
|
@@ -433,6 +665,55 @@
|
|
433
665
|
"stateMutability": "nonpayable",
|
434
666
|
"type": "function"
|
435
667
|
},
|
668
|
+
{
|
669
|
+
"inputs": [
|
670
|
+
{
|
671
|
+
"internalType": "address",
|
672
|
+
"name": "from",
|
673
|
+
"type": "address"
|
674
|
+
},
|
675
|
+
{
|
676
|
+
"internalType": "address",
|
677
|
+
"name": "to",
|
678
|
+
"type": "address"
|
679
|
+
},
|
680
|
+
{
|
681
|
+
"internalType": "uint256",
|
682
|
+
"name": "tokenId",
|
683
|
+
"type": "uint256"
|
684
|
+
}
|
685
|
+
],
|
686
|
+
"name": "nftTransferFrom",
|
687
|
+
"outputs": [],
|
688
|
+
"stateMutability": "nonpayable",
|
689
|
+
"type": "function"
|
690
|
+
},
|
691
|
+
{
|
692
|
+
"inputs": [
|
693
|
+
{
|
694
|
+
"internalType": "bytes4",
|
695
|
+
"name": "interfaceId",
|
696
|
+
"type": "bytes4"
|
697
|
+
}
|
698
|
+
],
|
699
|
+
"name": "registerInterface",
|
700
|
+
"outputs": [],
|
701
|
+
"stateMutability": "nonpayable",
|
702
|
+
"type": "function"
|
703
|
+
},
|
704
|
+
{
|
705
|
+
"inputs": [
|
706
|
+
{
|
707
|
+
"internalType": "address",
|
708
|
+
"name": "newAuthority",
|
709
|
+
"type": "address"
|
710
|
+
}
|
711
|
+
],
|
712
|
+
"name": "setAuthority",
|
713
|
+
"outputs": [],
|
714
|
+
"stateMutability": "nonpayable",
|
715
|
+
"type": "function"
|
716
|
+
},
|
436
717
|
{
|
437
718
|
"inputs": [
|
438
719
|
{
|