@etherisc/gif-next 0.0.2-634aad6-607 → 0.0.2-644310f-416
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +73 -1
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +394 -39
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +862 -202
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +130 -30
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +775 -22
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +655 -43
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +649 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +572 -108
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +494 -39
- 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 +814 -101
- 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 +823 -414
- 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 +76 -97
- 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 +1 -1
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +118 -161
- 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 +883 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +653 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +258 -256
- 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 +809 -250
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +417 -72
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +495 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +126 -213
- 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 +370 -140
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +40 -228
- 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 +176 -275
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +318 -93
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +142 -213
- 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 +142 -213
- 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 +109 -195
- 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 +213 -231
- 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 +113 -156
- 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 +134 -213
- 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/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- 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 +130 -64
- package/contracts/components/Distribution.sol +199 -65
- package/contracts/components/IComponent.sol +22 -5
- package/contracts/components/IDistributionComponent.sol +57 -9
- package/contracts/components/IPoolComponent.sol +50 -29
- package/contracts/components/IProductComponent.sol +5 -1
- package/contracts/components/Pool.sol +133 -137
- package/contracts/components/Product.sol +102 -112
- package/contracts/instance/BundleManager.sol +7 -11
- package/contracts/instance/IInstance.sol +41 -9
- package/contracts/instance/IInstanceService.sol +19 -0
- 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 +181 -50
- package/contracts/instance/InstanceServiceManager.sol +1 -1
- package/contracts/instance/ObjectManager.sol +7 -24
- package/contracts/instance/base/ComponentService.sol +3 -2
- package/contracts/instance/module/IAccess.sol +3 -4
- package/contracts/instance/module/IDistribution.sol +2 -0
- package/contracts/instance/module/IPolicy.sol +14 -2
- package/contracts/instance/module/ISetup.sol +6 -4
- package/contracts/instance/service/ApplicationService.sol +286 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +11 -6
- 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 +291 -31
- package/contracts/instance/service/DistributionServiceManager.sol +1 -1
- package/contracts/instance/service/IApplicationService.sol +80 -0
- package/contracts/instance/service/IBundleService.sol +11 -1
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +71 -0
- package/contracts/instance/service/IPolicyService.sol +41 -46
- package/contracts/instance/service/PolicyService.sol +100 -158
- package/contracts/instance/service/PolicyServiceManager.sol +2 -2
- package/contracts/instance/service/PoolService.sol +9 -42
- package/contracts/instance/service/PoolServiceManager.sol +1 -1
- package/contracts/instance/service/ProductService.sol +20 -28
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/IRegistry.sol +16 -8
- package/contracts/registry/IRegistryService.sol +15 -6
- package/contracts/registry/Registry.sol +120 -52
- package/contracts/registry/RegistryAccessManager.sol +31 -25
- package/contracts/registry/RegistryService.sol +88 -125
- 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 +14 -30
- 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 +5 -5
- package/package.json +3 -3
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/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/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/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
|
|
|
@@ -3,6 +3,44 @@
|
|
|
3
3
|
"contractName": "Component",
|
|
4
4
|
"sourceName": "contracts/components/Component.sol",
|
|
5
5
|
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "authority",
|
|
11
|
+
"type": "address"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
|
15
|
+
"type": "error"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"inputs": [
|
|
19
|
+
{
|
|
20
|
+
"internalType": "address",
|
|
21
|
+
"name": "caller",
|
|
22
|
+
"type": "address"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"internalType": "uint32",
|
|
26
|
+
"name": "delay",
|
|
27
|
+
"type": "uint32"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
|
31
|
+
"type": "error"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"inputs": [
|
|
35
|
+
{
|
|
36
|
+
"internalType": "address",
|
|
37
|
+
"name": "caller",
|
|
38
|
+
"type": "address"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"name": "AccessManagedUnauthorized",
|
|
42
|
+
"type": "error"
|
|
43
|
+
},
|
|
6
44
|
{
|
|
7
45
|
"inputs": [
|
|
8
46
|
{
|
|
@@ -29,16 +67,27 @@
|
|
|
29
67
|
"inputs": [
|
|
30
68
|
{
|
|
31
69
|
"internalType": "address",
|
|
32
|
-
"name": "
|
|
70
|
+
"name": "caller",
|
|
33
71
|
"type": "address"
|
|
34
|
-
}
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"name": "ErrorComponentNotChainNft",
|
|
75
|
+
"type": "error"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"inputs": [
|
|
35
79
|
{
|
|
36
80
|
"internalType": "NftId",
|
|
37
|
-
"name": "
|
|
81
|
+
"name": "instanceNftId",
|
|
38
82
|
"type": "uint96"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"internalType": "address",
|
|
86
|
+
"name": "instance",
|
|
87
|
+
"type": "address"
|
|
39
88
|
}
|
|
40
89
|
],
|
|
41
|
-
"name": "
|
|
90
|
+
"name": "ErrorComponentNotInstance",
|
|
42
91
|
"type": "error"
|
|
43
92
|
},
|
|
44
93
|
{
|
|
@@ -84,6 +133,11 @@
|
|
|
84
133
|
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
|
85
134
|
"type": "error"
|
|
86
135
|
},
|
|
136
|
+
{
|
|
137
|
+
"inputs": [],
|
|
138
|
+
"name": "ErrorComponentWalletAddressZero",
|
|
139
|
+
"type": "error"
|
|
140
|
+
},
|
|
87
141
|
{
|
|
88
142
|
"inputs": [
|
|
89
143
|
{
|
|
@@ -113,66 +167,50 @@
|
|
|
113
167
|
{
|
|
114
168
|
"inputs": [
|
|
115
169
|
{
|
|
116
|
-
"internalType": "
|
|
117
|
-
"name": "
|
|
118
|
-
"type": "
|
|
170
|
+
"internalType": "NftId",
|
|
171
|
+
"name": "nftId",
|
|
172
|
+
"type": "uint96"
|
|
119
173
|
}
|
|
120
174
|
],
|
|
121
|
-
"name": "
|
|
175
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
|
122
176
|
"type": "error"
|
|
123
177
|
},
|
|
124
178
|
{
|
|
125
179
|
"inputs": [
|
|
126
180
|
{
|
|
127
181
|
"internalType": "address",
|
|
128
|
-
"name": "
|
|
182
|
+
"name": "contractAddress",
|
|
129
183
|
"type": "address"
|
|
130
184
|
}
|
|
131
185
|
],
|
|
132
|
-
"name": "
|
|
186
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
|
133
187
|
"type": "error"
|
|
134
188
|
},
|
|
135
189
|
{
|
|
136
|
-
"inputs": [
|
|
137
|
-
|
|
138
|
-
"internalType": "address",
|
|
139
|
-
"name": "registryAddress",
|
|
140
|
-
"type": "address"
|
|
141
|
-
}
|
|
142
|
-
],
|
|
143
|
-
"name": "ErrorNotRegistry",
|
|
190
|
+
"inputs": [],
|
|
191
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
|
144
192
|
"type": "error"
|
|
145
193
|
},
|
|
146
194
|
{
|
|
147
195
|
"inputs": [
|
|
148
196
|
{
|
|
149
197
|
"internalType": "address",
|
|
150
|
-
"name": "
|
|
198
|
+
"name": "account",
|
|
151
199
|
"type": "address"
|
|
152
200
|
}
|
|
153
201
|
],
|
|
154
|
-
"name": "
|
|
155
|
-
"type": "error"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"inputs": [],
|
|
159
|
-
"name": "ErrorRegistryAddressZero",
|
|
202
|
+
"name": "ErrorNftOwnableNotOwner",
|
|
160
203
|
"type": "error"
|
|
161
204
|
},
|
|
162
205
|
{
|
|
163
206
|
"inputs": [
|
|
164
207
|
{
|
|
165
208
|
"internalType": "address",
|
|
166
|
-
"name": "
|
|
209
|
+
"name": "registryAddress",
|
|
167
210
|
"type": "address"
|
|
168
211
|
}
|
|
169
212
|
],
|
|
170
|
-
"name": "
|
|
171
|
-
"type": "error"
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"inputs": [],
|
|
175
|
-
"name": "ErrorRegistryNotInitialized",
|
|
213
|
+
"name": "ErrorNotRegistry",
|
|
176
214
|
"type": "error"
|
|
177
215
|
},
|
|
178
216
|
{
|
|
@@ -201,6 +239,19 @@
|
|
|
201
239
|
"name": "SafeERC20FailedOperation",
|
|
202
240
|
"type": "error"
|
|
203
241
|
},
|
|
242
|
+
{
|
|
243
|
+
"anonymous": false,
|
|
244
|
+
"inputs": [
|
|
245
|
+
{
|
|
246
|
+
"indexed": false,
|
|
247
|
+
"internalType": "address",
|
|
248
|
+
"name": "authority",
|
|
249
|
+
"type": "address"
|
|
250
|
+
}
|
|
251
|
+
],
|
|
252
|
+
"name": "AuthorityUpdated",
|
|
253
|
+
"type": "event"
|
|
254
|
+
},
|
|
204
255
|
{
|
|
205
256
|
"anonymous": false,
|
|
206
257
|
"inputs": [
|
|
@@ -252,6 +303,32 @@
|
|
|
252
303
|
"name": "LogComponentWalletTokensTransferred",
|
|
253
304
|
"type": "event"
|
|
254
305
|
},
|
|
306
|
+
{
|
|
307
|
+
"inputs": [],
|
|
308
|
+
"name": "CONTRACT_LOCATION_V1",
|
|
309
|
+
"outputs": [
|
|
310
|
+
{
|
|
311
|
+
"internalType": "bytes32",
|
|
312
|
+
"name": "",
|
|
313
|
+
"type": "bytes32"
|
|
314
|
+
}
|
|
315
|
+
],
|
|
316
|
+
"stateMutability": "view",
|
|
317
|
+
"type": "function"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"inputs": [],
|
|
321
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
|
322
|
+
"outputs": [
|
|
323
|
+
{
|
|
324
|
+
"internalType": "bytes32",
|
|
325
|
+
"name": "",
|
|
326
|
+
"type": "bytes32"
|
|
327
|
+
}
|
|
328
|
+
],
|
|
329
|
+
"stateMutability": "view",
|
|
330
|
+
"type": "function"
|
|
331
|
+
},
|
|
255
332
|
{
|
|
256
333
|
"inputs": [],
|
|
257
334
|
"name": "REGISTERABLE_LOCATION_V1",
|
|
@@ -265,6 +342,19 @@
|
|
|
265
342
|
"stateMutability": "view",
|
|
266
343
|
"type": "function"
|
|
267
344
|
},
|
|
345
|
+
{
|
|
346
|
+
"inputs": [],
|
|
347
|
+
"name": "authority",
|
|
348
|
+
"outputs": [
|
|
349
|
+
{
|
|
350
|
+
"internalType": "address",
|
|
351
|
+
"name": "",
|
|
352
|
+
"type": "address"
|
|
353
|
+
}
|
|
354
|
+
],
|
|
355
|
+
"stateMutability": "view",
|
|
356
|
+
"type": "function"
|
|
357
|
+
},
|
|
268
358
|
{
|
|
269
359
|
"inputs": [],
|
|
270
360
|
"name": "getInitialInfo",
|
|
@@ -308,13 +398,8 @@
|
|
|
308
398
|
}
|
|
309
399
|
],
|
|
310
400
|
"internalType": "struct IRegistry.ObjectInfo",
|
|
311
|
-
"name": "",
|
|
401
|
+
"name": "info",
|
|
312
402
|
"type": "tuple"
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
"internalType": "bytes",
|
|
316
|
-
"name": "data",
|
|
317
|
-
"type": "bytes"
|
|
318
403
|
}
|
|
319
404
|
],
|
|
320
405
|
"stateMutability": "view",
|
|
@@ -333,6 +418,32 @@
|
|
|
333
418
|
"stateMutability": "view",
|
|
334
419
|
"type": "function"
|
|
335
420
|
},
|
|
421
|
+
{
|
|
422
|
+
"inputs": [],
|
|
423
|
+
"name": "getInstanceReader",
|
|
424
|
+
"outputs": [
|
|
425
|
+
{
|
|
426
|
+
"internalType": "contract InstanceReader",
|
|
427
|
+
"name": "reader",
|
|
428
|
+
"type": "address"
|
|
429
|
+
}
|
|
430
|
+
],
|
|
431
|
+
"stateMutability": "view",
|
|
432
|
+
"type": "function"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"inputs": [],
|
|
436
|
+
"name": "getInstanceService",
|
|
437
|
+
"outputs": [
|
|
438
|
+
{
|
|
439
|
+
"internalType": "contract IInstanceService",
|
|
440
|
+
"name": "",
|
|
441
|
+
"type": "address"
|
|
442
|
+
}
|
|
443
|
+
],
|
|
444
|
+
"stateMutability": "view",
|
|
445
|
+
"type": "function"
|
|
446
|
+
},
|
|
336
447
|
{
|
|
337
448
|
"inputs": [],
|
|
338
449
|
"name": "getName",
|
|
@@ -343,7 +454,7 @@
|
|
|
343
454
|
"type": "string"
|
|
344
455
|
}
|
|
345
456
|
],
|
|
346
|
-
"stateMutability": "
|
|
457
|
+
"stateMutability": "view",
|
|
347
458
|
"type": "function"
|
|
348
459
|
},
|
|
349
460
|
{
|
|
@@ -385,6 +496,19 @@
|
|
|
385
496
|
"stateMutability": "view",
|
|
386
497
|
"type": "function"
|
|
387
498
|
},
|
|
499
|
+
{
|
|
500
|
+
"inputs": [],
|
|
501
|
+
"name": "getProductService",
|
|
502
|
+
"outputs": [
|
|
503
|
+
{
|
|
504
|
+
"internalType": "contract IProductService",
|
|
505
|
+
"name": "",
|
|
506
|
+
"type": "address"
|
|
507
|
+
}
|
|
508
|
+
],
|
|
509
|
+
"stateMutability": "view",
|
|
510
|
+
"type": "function"
|
|
511
|
+
},
|
|
388
512
|
{
|
|
389
513
|
"inputs": [],
|
|
390
514
|
"name": "getRegistry",
|
|
@@ -398,6 +522,38 @@
|
|
|
398
522
|
"stateMutability": "view",
|
|
399
523
|
"type": "function"
|
|
400
524
|
},
|
|
525
|
+
{
|
|
526
|
+
"inputs": [],
|
|
527
|
+
"name": "getRegistryAddress",
|
|
528
|
+
"outputs": [
|
|
529
|
+
{
|
|
530
|
+
"internalType": "address",
|
|
531
|
+
"name": "",
|
|
532
|
+
"type": "address"
|
|
533
|
+
}
|
|
534
|
+
],
|
|
535
|
+
"stateMutability": "view",
|
|
536
|
+
"type": "function"
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"inputs": [
|
|
540
|
+
{
|
|
541
|
+
"internalType": "ObjectType",
|
|
542
|
+
"name": "domain",
|
|
543
|
+
"type": "uint8"
|
|
544
|
+
}
|
|
545
|
+
],
|
|
546
|
+
"name": "getServiceAddress",
|
|
547
|
+
"outputs": [
|
|
548
|
+
{
|
|
549
|
+
"internalType": "address",
|
|
550
|
+
"name": "service",
|
|
551
|
+
"type": "address"
|
|
552
|
+
}
|
|
553
|
+
],
|
|
554
|
+
"stateMutability": "view",
|
|
555
|
+
"type": "function"
|
|
556
|
+
},
|
|
401
557
|
{
|
|
402
558
|
"inputs": [],
|
|
403
559
|
"name": "getToken",
|
|
@@ -424,6 +580,156 @@
|
|
|
424
580
|
"stateMutability": "view",
|
|
425
581
|
"type": "function"
|
|
426
582
|
},
|
|
583
|
+
{
|
|
584
|
+
"inputs": [
|
|
585
|
+
{
|
|
586
|
+
"internalType": "address",
|
|
587
|
+
"name": "registry",
|
|
588
|
+
"type": "address"
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"internalType": "NftId",
|
|
592
|
+
"name": "instanceNftId",
|
|
593
|
+
"type": "uint96"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"internalType": "string",
|
|
597
|
+
"name": "name",
|
|
598
|
+
"type": "string"
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"internalType": "address",
|
|
602
|
+
"name": "token",
|
|
603
|
+
"type": "address"
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"internalType": "ObjectType",
|
|
607
|
+
"name": "componentType",
|
|
608
|
+
"type": "uint8"
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"internalType": "bool",
|
|
612
|
+
"name": "isInterceptor",
|
|
613
|
+
"type": "bool"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"internalType": "address",
|
|
617
|
+
"name": "initialOwner",
|
|
618
|
+
"type": "address"
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"internalType": "bytes",
|
|
622
|
+
"name": "data",
|
|
623
|
+
"type": "bytes"
|
|
624
|
+
}
|
|
625
|
+
],
|
|
626
|
+
"name": "initializeComponent",
|
|
627
|
+
"outputs": [],
|
|
628
|
+
"stateMutability": "nonpayable",
|
|
629
|
+
"type": "function"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"inputs": [],
|
|
633
|
+
"name": "initializeERC165",
|
|
634
|
+
"outputs": [],
|
|
635
|
+
"stateMutability": "nonpayable",
|
|
636
|
+
"type": "function"
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"inputs": [
|
|
640
|
+
{
|
|
641
|
+
"internalType": "address",
|
|
642
|
+
"name": "initialOwner",
|
|
643
|
+
"type": "address"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"internalType": "address",
|
|
647
|
+
"name": "registryAddress",
|
|
648
|
+
"type": "address"
|
|
649
|
+
}
|
|
650
|
+
],
|
|
651
|
+
"name": "initializeNftOwnable",
|
|
652
|
+
"outputs": [],
|
|
653
|
+
"stateMutability": "nonpayable",
|
|
654
|
+
"type": "function"
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"inputs": [
|
|
658
|
+
{
|
|
659
|
+
"internalType": "address",
|
|
660
|
+
"name": "registryAddress",
|
|
661
|
+
"type": "address"
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"internalType": "NftId",
|
|
665
|
+
"name": "parentNftId",
|
|
666
|
+
"type": "uint96"
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"internalType": "ObjectType",
|
|
670
|
+
"name": "objectType",
|
|
671
|
+
"type": "uint8"
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"internalType": "bool",
|
|
675
|
+
"name": "isInterceptor",
|
|
676
|
+
"type": "bool"
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"internalType": "address",
|
|
680
|
+
"name": "initialOwner",
|
|
681
|
+
"type": "address"
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
"internalType": "bytes",
|
|
685
|
+
"name": "data",
|
|
686
|
+
"type": "bytes"
|
|
687
|
+
}
|
|
688
|
+
],
|
|
689
|
+
"name": "initializeRegisterable",
|
|
690
|
+
"outputs": [],
|
|
691
|
+
"stateMutability": "nonpayable",
|
|
692
|
+
"type": "function"
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"inputs": [
|
|
696
|
+
{
|
|
697
|
+
"internalType": "address",
|
|
698
|
+
"name": "registryAddress",
|
|
699
|
+
"type": "address"
|
|
700
|
+
}
|
|
701
|
+
],
|
|
702
|
+
"name": "initializeRegistryLinked",
|
|
703
|
+
"outputs": [],
|
|
704
|
+
"stateMutability": "nonpayable",
|
|
705
|
+
"type": "function"
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"inputs": [],
|
|
709
|
+
"name": "isConsumingScheduledOp",
|
|
710
|
+
"outputs": [
|
|
711
|
+
{
|
|
712
|
+
"internalType": "bytes4",
|
|
713
|
+
"name": "",
|
|
714
|
+
"type": "bytes4"
|
|
715
|
+
}
|
|
716
|
+
],
|
|
717
|
+
"stateMutability": "view",
|
|
718
|
+
"type": "function"
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"inputs": [],
|
|
722
|
+
"name": "isNftInterceptor",
|
|
723
|
+
"outputs": [
|
|
724
|
+
{
|
|
725
|
+
"internalType": "bool",
|
|
726
|
+
"name": "isInterceptor",
|
|
727
|
+
"type": "bool"
|
|
728
|
+
}
|
|
729
|
+
],
|
|
730
|
+
"stateMutability": "view",
|
|
731
|
+
"type": "function"
|
|
732
|
+
},
|
|
427
733
|
{
|
|
428
734
|
"inputs": [],
|
|
429
735
|
"name": "linkToRegisteredNftId",
|
|
@@ -438,6 +744,55 @@
|
|
|
438
744
|
"stateMutability": "nonpayable",
|
|
439
745
|
"type": "function"
|
|
440
746
|
},
|
|
747
|
+
{
|
|
748
|
+
"inputs": [
|
|
749
|
+
{
|
|
750
|
+
"internalType": "address",
|
|
751
|
+
"name": "from",
|
|
752
|
+
"type": "address"
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"internalType": "address",
|
|
756
|
+
"name": "to",
|
|
757
|
+
"type": "address"
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"internalType": "uint256",
|
|
761
|
+
"name": "tokenId",
|
|
762
|
+
"type": "uint256"
|
|
763
|
+
}
|
|
764
|
+
],
|
|
765
|
+
"name": "nftTransferFrom",
|
|
766
|
+
"outputs": [],
|
|
767
|
+
"stateMutability": "nonpayable",
|
|
768
|
+
"type": "function"
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"inputs": [
|
|
772
|
+
{
|
|
773
|
+
"internalType": "bytes4",
|
|
774
|
+
"name": "interfaceId",
|
|
775
|
+
"type": "bytes4"
|
|
776
|
+
}
|
|
777
|
+
],
|
|
778
|
+
"name": "registerInterface",
|
|
779
|
+
"outputs": [],
|
|
780
|
+
"stateMutability": "nonpayable",
|
|
781
|
+
"type": "function"
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"inputs": [
|
|
785
|
+
{
|
|
786
|
+
"internalType": "address",
|
|
787
|
+
"name": "newAuthority",
|
|
788
|
+
"type": "address"
|
|
789
|
+
}
|
|
790
|
+
],
|
|
791
|
+
"name": "setAuthority",
|
|
792
|
+
"outputs": [],
|
|
793
|
+
"stateMutability": "nonpayable",
|
|
794
|
+
"type": "function"
|
|
795
|
+
},
|
|
441
796
|
{
|
|
442
797
|
"inputs": [
|
|
443
798
|
{
|