@etherisc/gif-next 0.0.2-a9ccad5-356 → 0.0.2-a9f5983-610
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 +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +774 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +758 -192
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → IComponent.sol/IComponent.json} +103 -109
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +725 -0
- 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 +592 -9
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +833 -321
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +461 -149
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +38 -49
- 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 +911 -115
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +178 -165
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +797 -1007
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +211 -144
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +70 -101
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +395 -330
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +297 -116
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -19
- 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} +181 -180
- 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 +59 -16
- 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 +858 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +657 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1085 -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 +743 -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 +434 -215
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +316 -83
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +200 -204
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +622 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → instance/service/IClaimService.sol/IClaimService.json} +154 -124
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +197 -163
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +572 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +24 -416
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +30 -417
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1109 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +717 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +178 -511
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +293 -108
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +190 -571
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +286 -125
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +225 -133
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +149 -217
- 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 +238 -235
- 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 +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +195 -322
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +298 -145
- 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 +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
- 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 +23 -186
- 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 +120 -174
- 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 +141 -231
- 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 +209 -64
- package/contracts/components/IComponent.sol +68 -0
- package/contracts/components/IDistributionComponent.sol +59 -3
- package/contracts/components/IPoolComponent.sol +124 -39
- package/contracts/components/IProductComponent.sol +10 -5
- package/contracts/components/Pool.sol +283 -172
- package/contracts/components/Product.sol +125 -121
- package/contracts/instance/BundleManager.sol +8 -12
- package/contracts/instance/IInstance.sol +46 -10
- package/contracts/instance/IInstanceService.sol +30 -3
- package/contracts/instance/Instance.sol +99 -262
- package/contracts/instance/InstanceAccessManager.sol +87 -78
- package/contracts/instance/InstanceReader.sol +3 -25
- package/contracts/instance/InstanceService.sol +381 -123
- package/contracts/instance/InstanceServiceManager.sol +6 -9
- package/contracts/instance/ObjectManager.sol +8 -19
- package/contracts/instance/base/ComponentService.sol +134 -0
- package/contracts/instance/module/IAccess.sol +27 -18
- package/contracts/instance/module/IBundle.sol +2 -1
- package/contracts/instance/module/IPolicy.sol +6 -3
- package/contracts/instance/module/ISetup.sol +6 -4
- package/contracts/instance/service/ApplicationService.sol +269 -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 +216 -27
- package/contracts/instance/service/DistributionServiceManager.sol +7 -10
- package/contracts/instance/service/IApplicationService.sol +83 -0
- package/contracts/instance/service/IBundleService.sol +55 -0
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +53 -0
- package/contracts/instance/service/IPolicyService.sol +90 -0
- package/contracts/instance/service/IPoolService.sol +2 -33
- package/contracts/instance/service/IProductService.sol +2 -72
- package/contracts/instance/service/PolicyService.sol +476 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +34 -212
- package/contracts/instance/service/PoolServiceManager.sol +6 -9
- package/contracts/instance/service/ProductService.sol +123 -460
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/ChainNft.sol +1 -1
- package/contracts/registry/IRegistry.sol +37 -19
- package/contracts/registry/IRegistryService.sol +30 -13
- package/contracts/registry/Registry.sol +233 -217
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +96 -171
- package/contracts/registry/RegistryServiceManager.sol +21 -39
- package/contracts/registry/ReleaseManager.sol +322 -0
- package/contracts/registry/TokenRegistry.sol +22 -17
- 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 -6
- package/contracts/shared/IRegistryLinked.sol +12 -0
- package/contracts/shared/IService.sol +2 -1
- 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 +25 -22
- package/contracts/shared/Versionable.sol +4 -92
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestService.sol +4 -3
- 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 +19 -14
- 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/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +0 -101
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
- 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 -113
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
- package/contracts/components/BaseComponent.sol +0 -129
- package/contracts/components/IBaseComponent.sol +0 -31
- 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/AccessManagedSimple.sol +0 -115
- package/contracts/instance/AccessManagerSimple.sol +0 -692
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/base/ComponentServiceBase.sol +0 -134
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/service/ComponentOwnerService.sol +0 -317
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -3,6 +3,44 @@
|
|
3
3
|
"contractName": "IInstance",
|
4
4
|
"sourceName": "contracts/instance/IInstance.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
|
{
|
@@ -24,6 +62,44 @@
|
|
24
62
|
"name": "ErrorInvalidStateTransition",
|
25
63
|
"type": "error"
|
26
64
|
},
|
65
|
+
{
|
66
|
+
"inputs": [
|
67
|
+
{
|
68
|
+
"internalType": "NftId",
|
69
|
+
"name": "nftId",
|
70
|
+
"type": "uint96"
|
71
|
+
}
|
72
|
+
],
|
73
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
74
|
+
"type": "error"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"inputs": [
|
78
|
+
{
|
79
|
+
"internalType": "address",
|
80
|
+
"name": "contractAddress",
|
81
|
+
"type": "address"
|
82
|
+
}
|
83
|
+
],
|
84
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
85
|
+
"type": "error"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"inputs": [],
|
89
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
90
|
+
"type": "error"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"inputs": [
|
94
|
+
{
|
95
|
+
"internalType": "address",
|
96
|
+
"name": "account",
|
97
|
+
"type": "address"
|
98
|
+
}
|
99
|
+
],
|
100
|
+
"name": "ErrorNftOwnableNotOwner",
|
101
|
+
"type": "error"
|
102
|
+
},
|
27
103
|
{
|
28
104
|
"inputs": [
|
29
105
|
{
|
@@ -40,6 +116,30 @@
|
|
40
116
|
"name": "ErrorNoLifecycle",
|
41
117
|
"type": "error"
|
42
118
|
},
|
119
|
+
{
|
120
|
+
"inputs": [
|
121
|
+
{
|
122
|
+
"internalType": "address",
|
123
|
+
"name": "registryAddress",
|
124
|
+
"type": "address"
|
125
|
+
}
|
126
|
+
],
|
127
|
+
"name": "ErrorNotRegistry",
|
128
|
+
"type": "error"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"anonymous": false,
|
132
|
+
"inputs": [
|
133
|
+
{
|
134
|
+
"indexed": false,
|
135
|
+
"internalType": "address",
|
136
|
+
"name": "authority",
|
137
|
+
"type": "address"
|
138
|
+
}
|
139
|
+
],
|
140
|
+
"name": "AuthorityUpdated",
|
141
|
+
"type": "event"
|
142
|
+
},
|
43
143
|
{
|
44
144
|
"anonymous": false,
|
45
145
|
"inputs": [
|
@@ -169,6 +269,119 @@
|
|
169
269
|
"name": "LogStateUpdated",
|
170
270
|
"type": "event"
|
171
271
|
},
|
272
|
+
{
|
273
|
+
"inputs": [],
|
274
|
+
"name": "authority",
|
275
|
+
"outputs": [
|
276
|
+
{
|
277
|
+
"internalType": "address",
|
278
|
+
"name": "",
|
279
|
+
"type": "address"
|
280
|
+
}
|
281
|
+
],
|
282
|
+
"stateMutability": "view",
|
283
|
+
"type": "function"
|
284
|
+
},
|
285
|
+
{
|
286
|
+
"inputs": [
|
287
|
+
{
|
288
|
+
"internalType": "NftId",
|
289
|
+
"name": "applicationNftId",
|
290
|
+
"type": "uint96"
|
291
|
+
},
|
292
|
+
{
|
293
|
+
"components": [
|
294
|
+
{
|
295
|
+
"internalType": "NftId",
|
296
|
+
"name": "productNftId",
|
297
|
+
"type": "uint96"
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"internalType": "NftId",
|
301
|
+
"name": "bundleNftId",
|
302
|
+
"type": "uint96"
|
303
|
+
},
|
304
|
+
{
|
305
|
+
"internalType": "ReferralId",
|
306
|
+
"name": "referralId",
|
307
|
+
"type": "bytes8"
|
308
|
+
},
|
309
|
+
{
|
310
|
+
"internalType": "RiskId",
|
311
|
+
"name": "riskId",
|
312
|
+
"type": "bytes8"
|
313
|
+
},
|
314
|
+
{
|
315
|
+
"internalType": "uint256",
|
316
|
+
"name": "sumInsuredAmount",
|
317
|
+
"type": "uint256"
|
318
|
+
},
|
319
|
+
{
|
320
|
+
"internalType": "uint256",
|
321
|
+
"name": "premiumAmount",
|
322
|
+
"type": "uint256"
|
323
|
+
},
|
324
|
+
{
|
325
|
+
"internalType": "uint256",
|
326
|
+
"name": "premiumPaidAmount",
|
327
|
+
"type": "uint256"
|
328
|
+
},
|
329
|
+
{
|
330
|
+
"internalType": "Seconds",
|
331
|
+
"name": "lifetime",
|
332
|
+
"type": "uint40"
|
333
|
+
},
|
334
|
+
{
|
335
|
+
"internalType": "bytes",
|
336
|
+
"name": "applicationData",
|
337
|
+
"type": "bytes"
|
338
|
+
},
|
339
|
+
{
|
340
|
+
"internalType": "bytes",
|
341
|
+
"name": "policyData",
|
342
|
+
"type": "bytes"
|
343
|
+
},
|
344
|
+
{
|
345
|
+
"internalType": "uint16",
|
346
|
+
"name": "claimsCount",
|
347
|
+
"type": "uint16"
|
348
|
+
},
|
349
|
+
{
|
350
|
+
"internalType": "uint16",
|
351
|
+
"name": "openClaimsCount",
|
352
|
+
"type": "uint16"
|
353
|
+
},
|
354
|
+
{
|
355
|
+
"internalType": "uint256",
|
356
|
+
"name": "payoutAmount",
|
357
|
+
"type": "uint256"
|
358
|
+
},
|
359
|
+
{
|
360
|
+
"internalType": "Timestamp",
|
361
|
+
"name": "activatedAt",
|
362
|
+
"type": "uint40"
|
363
|
+
},
|
364
|
+
{
|
365
|
+
"internalType": "Timestamp",
|
366
|
+
"name": "expiredAt",
|
367
|
+
"type": "uint40"
|
368
|
+
},
|
369
|
+
{
|
370
|
+
"internalType": "Timestamp",
|
371
|
+
"name": "closedAt",
|
372
|
+
"type": "uint40"
|
373
|
+
}
|
374
|
+
],
|
375
|
+
"internalType": "struct IPolicy.PolicyInfo",
|
376
|
+
"name": "policy",
|
377
|
+
"type": "tuple"
|
378
|
+
}
|
379
|
+
],
|
380
|
+
"name": "createApplication",
|
381
|
+
"outputs": [],
|
382
|
+
"stateMutability": "nonpayable",
|
383
|
+
"type": "function"
|
384
|
+
},
|
172
385
|
{
|
173
386
|
"inputs": [
|
174
387
|
{
|
@@ -221,9 +434,9 @@
|
|
221
434
|
"type": "uint256"
|
222
435
|
},
|
223
436
|
{
|
224
|
-
"internalType": "
|
437
|
+
"internalType": "Seconds",
|
225
438
|
"name": "lifetime",
|
226
|
-
"type": "
|
439
|
+
"type": "uint40"
|
227
440
|
},
|
228
441
|
{
|
229
442
|
"internalType": "Timestamp",
|
@@ -282,11 +495,6 @@
|
|
282
495
|
"name": "distributionFee",
|
283
496
|
"type": "tuple"
|
284
497
|
},
|
285
|
-
{
|
286
|
-
"internalType": "bool",
|
287
|
-
"name": "isIntercepting",
|
288
|
-
"type": "bool"
|
289
|
-
},
|
290
498
|
{
|
291
499
|
"internalType": "address",
|
292
500
|
"name": "wallet",
|
@@ -307,98 +515,98 @@
|
|
307
515
|
"inputs": [
|
308
516
|
{
|
309
517
|
"internalType": "NftId",
|
310
|
-
"name": "
|
518
|
+
"name": "nftId",
|
311
519
|
"type": "uint96"
|
312
520
|
},
|
313
521
|
{
|
314
522
|
"components": [
|
315
523
|
{
|
316
|
-
"internalType": "
|
317
|
-
"name": "
|
318
|
-
"type": "
|
524
|
+
"internalType": "DistributorType",
|
525
|
+
"name": "distributorType",
|
526
|
+
"type": "bytes8"
|
319
527
|
},
|
320
528
|
{
|
321
|
-
"internalType": "
|
322
|
-
"name": "
|
323
|
-
"type": "
|
529
|
+
"internalType": "bool",
|
530
|
+
"name": "active",
|
531
|
+
"type": "bool"
|
324
532
|
},
|
325
533
|
{
|
326
|
-
"internalType": "
|
327
|
-
"name": "
|
328
|
-
"type": "
|
329
|
-
}
|
534
|
+
"internalType": "bytes",
|
535
|
+
"name": "data",
|
536
|
+
"type": "bytes"
|
537
|
+
}
|
538
|
+
],
|
539
|
+
"internalType": "struct IDistribution.DistributorInfo",
|
540
|
+
"name": "info",
|
541
|
+
"type": "tuple"
|
542
|
+
}
|
543
|
+
],
|
544
|
+
"name": "createDistributor",
|
545
|
+
"outputs": [],
|
546
|
+
"stateMutability": "nonpayable",
|
547
|
+
"type": "function"
|
548
|
+
},
|
549
|
+
{
|
550
|
+
"inputs": [
|
551
|
+
{
|
552
|
+
"internalType": "Key32",
|
553
|
+
"name": "distributorKey",
|
554
|
+
"type": "bytes32"
|
555
|
+
},
|
556
|
+
{
|
557
|
+
"components": [
|
330
558
|
{
|
331
|
-
"internalType": "
|
332
|
-
"name": "
|
333
|
-
"type": "
|
559
|
+
"internalType": "string",
|
560
|
+
"name": "name",
|
561
|
+
"type": "string"
|
334
562
|
},
|
335
563
|
{
|
336
|
-
"internalType": "
|
337
|
-
"name": "
|
564
|
+
"internalType": "UFixed",
|
565
|
+
"name": "minDiscountPercentage",
|
338
566
|
"type": "uint256"
|
339
567
|
},
|
340
568
|
{
|
341
|
-
"internalType": "
|
342
|
-
"name": "
|
569
|
+
"internalType": "UFixed",
|
570
|
+
"name": "maxDiscountPercentage",
|
343
571
|
"type": "uint256"
|
344
572
|
},
|
345
573
|
{
|
346
|
-
"internalType": "
|
347
|
-
"name": "
|
574
|
+
"internalType": "UFixed",
|
575
|
+
"name": "commissionPercentage",
|
348
576
|
"type": "uint256"
|
349
577
|
},
|
350
578
|
{
|
351
|
-
"internalType": "
|
352
|
-
"name": "
|
353
|
-
"type": "
|
579
|
+
"internalType": "uint32",
|
580
|
+
"name": "maxReferralCount",
|
581
|
+
"type": "uint32"
|
354
582
|
},
|
355
583
|
{
|
356
|
-
"internalType": "
|
357
|
-
"name": "
|
358
|
-
"type": "
|
584
|
+
"internalType": "uint32",
|
585
|
+
"name": "maxReferralLifetime",
|
586
|
+
"type": "uint32"
|
359
587
|
},
|
360
588
|
{
|
361
|
-
"internalType": "
|
362
|
-
"name": "
|
363
|
-
"type": "
|
364
|
-
},
|
365
|
-
{
|
366
|
-
"internalType": "uint16",
|
367
|
-
"name": "claimsCount",
|
368
|
-
"type": "uint16"
|
369
|
-
},
|
370
|
-
{
|
371
|
-
"internalType": "uint16",
|
372
|
-
"name": "openClaimsCount",
|
373
|
-
"type": "uint16"
|
374
|
-
},
|
375
|
-
{
|
376
|
-
"internalType": "uint256",
|
377
|
-
"name": "payoutAmount",
|
378
|
-
"type": "uint256"
|
379
|
-
},
|
380
|
-
{
|
381
|
-
"internalType": "Timestamp",
|
382
|
-
"name": "activatedAt",
|
383
|
-
"type": "uint40"
|
589
|
+
"internalType": "bool",
|
590
|
+
"name": "allowSelfReferrals",
|
591
|
+
"type": "bool"
|
384
592
|
},
|
385
593
|
{
|
386
|
-
"internalType": "
|
387
|
-
"name": "
|
388
|
-
"type": "
|
594
|
+
"internalType": "bool",
|
595
|
+
"name": "allowRenewals",
|
596
|
+
"type": "bool"
|
389
597
|
},
|
390
598
|
{
|
391
|
-
"internalType": "
|
392
|
-
"name": "
|
393
|
-
"type": "
|
599
|
+
"internalType": "bytes",
|
600
|
+
"name": "data",
|
601
|
+
"type": "bytes"
|
394
602
|
}
|
395
603
|
],
|
396
|
-
"internalType": "struct
|
397
|
-
"name": "
|
604
|
+
"internalType": "struct IDistribution.DistributorTypeInfo",
|
605
|
+
"name": "info",
|
398
606
|
"type": "tuple"
|
399
607
|
}
|
400
608
|
],
|
401
|
-
"name": "
|
609
|
+
"name": "createDistributorType",
|
402
610
|
"outputs": [],
|
403
611
|
"stateMutability": "nonpayable",
|
404
612
|
"type": "function"
|
@@ -422,11 +630,36 @@
|
|
422
630
|
"name": "tokenHandler",
|
423
631
|
"type": "address"
|
424
632
|
},
|
633
|
+
{
|
634
|
+
"internalType": "uint256",
|
635
|
+
"name": "maxCapitalAmount",
|
636
|
+
"type": "uint256"
|
637
|
+
},
|
638
|
+
{
|
639
|
+
"internalType": "bool",
|
640
|
+
"name": "isInterceptingBundleTransfers",
|
641
|
+
"type": "bool"
|
642
|
+
},
|
643
|
+
{
|
644
|
+
"internalType": "bool",
|
645
|
+
"name": "isExternallyManaged",
|
646
|
+
"type": "bool"
|
647
|
+
},
|
648
|
+
{
|
649
|
+
"internalType": "bool",
|
650
|
+
"name": "isVerifyingApplications",
|
651
|
+
"type": "bool"
|
652
|
+
},
|
425
653
|
{
|
426
654
|
"internalType": "UFixed",
|
427
655
|
"name": "collateralizationLevel",
|
428
656
|
"type": "uint256"
|
429
657
|
},
|
658
|
+
{
|
659
|
+
"internalType": "UFixed",
|
660
|
+
"name": "retentionLevel",
|
661
|
+
"type": "uint256"
|
662
|
+
},
|
430
663
|
{
|
431
664
|
"components": [
|
432
665
|
{
|
@@ -478,16 +711,6 @@
|
|
478
711
|
"name": "performanceFee",
|
479
712
|
"type": "tuple"
|
480
713
|
},
|
481
|
-
{
|
482
|
-
"internalType": "bool",
|
483
|
-
"name": "isIntercepting",
|
484
|
-
"type": "bool"
|
485
|
-
},
|
486
|
-
{
|
487
|
-
"internalType": "bool",
|
488
|
-
"name": "isConfirmingApplication",
|
489
|
-
"type": "bool"
|
490
|
-
},
|
491
714
|
{
|
492
715
|
"internalType": "address",
|
493
716
|
"name": "wallet",
|
@@ -656,6 +879,61 @@
|
|
656
879
|
"stateMutability": "nonpayable",
|
657
880
|
"type": "function"
|
658
881
|
},
|
882
|
+
{
|
883
|
+
"inputs": [
|
884
|
+
{
|
885
|
+
"internalType": "Key32",
|
886
|
+
"name": "referralKey",
|
887
|
+
"type": "bytes32"
|
888
|
+
},
|
889
|
+
{
|
890
|
+
"components": [
|
891
|
+
{
|
892
|
+
"internalType": "NftId",
|
893
|
+
"name": "distributorNftId",
|
894
|
+
"type": "uint96"
|
895
|
+
},
|
896
|
+
{
|
897
|
+
"internalType": "string",
|
898
|
+
"name": "referralCode",
|
899
|
+
"type": "string"
|
900
|
+
},
|
901
|
+
{
|
902
|
+
"internalType": "UFixed",
|
903
|
+
"name": "discountPercentage",
|
904
|
+
"type": "uint256"
|
905
|
+
},
|
906
|
+
{
|
907
|
+
"internalType": "uint32",
|
908
|
+
"name": "maxReferrals",
|
909
|
+
"type": "uint32"
|
910
|
+
},
|
911
|
+
{
|
912
|
+
"internalType": "uint32",
|
913
|
+
"name": "usedReferrals",
|
914
|
+
"type": "uint32"
|
915
|
+
},
|
916
|
+
{
|
917
|
+
"internalType": "Timestamp",
|
918
|
+
"name": "expiryAt",
|
919
|
+
"type": "uint40"
|
920
|
+
},
|
921
|
+
{
|
922
|
+
"internalType": "bytes",
|
923
|
+
"name": "data",
|
924
|
+
"type": "bytes"
|
925
|
+
}
|
926
|
+
],
|
927
|
+
"internalType": "struct IDistribution.ReferralInfo",
|
928
|
+
"name": "referralInfo",
|
929
|
+
"type": "tuple"
|
930
|
+
}
|
931
|
+
],
|
932
|
+
"name": "createReferral",
|
933
|
+
"outputs": [],
|
934
|
+
"stateMutability": "nonpayable",
|
935
|
+
"type": "function"
|
936
|
+
},
|
659
937
|
{
|
660
938
|
"inputs": [
|
661
939
|
{
|
@@ -778,10 +1056,10 @@
|
|
778
1056
|
},
|
779
1057
|
{
|
780
1058
|
"inputs": [],
|
781
|
-
"name": "
|
1059
|
+
"name": "getBundleService",
|
782
1060
|
"outputs": [
|
783
1061
|
{
|
784
|
-
"internalType": "contract
|
1062
|
+
"internalType": "contract IBundleService",
|
785
1063
|
"name": "",
|
786
1064
|
"type": "address"
|
787
1065
|
}
|
@@ -821,6 +1099,56 @@
|
|
821
1099
|
"stateMutability": "view",
|
822
1100
|
"type": "function"
|
823
1101
|
},
|
1102
|
+
{
|
1103
|
+
"inputs": [],
|
1104
|
+
"name": "getInitialInfo",
|
1105
|
+
"outputs": [
|
1106
|
+
{
|
1107
|
+
"components": [
|
1108
|
+
{
|
1109
|
+
"internalType": "NftId",
|
1110
|
+
"name": "nftId",
|
1111
|
+
"type": "uint96"
|
1112
|
+
},
|
1113
|
+
{
|
1114
|
+
"internalType": "NftId",
|
1115
|
+
"name": "parentNftId",
|
1116
|
+
"type": "uint96"
|
1117
|
+
},
|
1118
|
+
{
|
1119
|
+
"internalType": "ObjectType",
|
1120
|
+
"name": "objectType",
|
1121
|
+
"type": "uint8"
|
1122
|
+
},
|
1123
|
+
{
|
1124
|
+
"internalType": "bool",
|
1125
|
+
"name": "isInterceptor",
|
1126
|
+
"type": "bool"
|
1127
|
+
},
|
1128
|
+
{
|
1129
|
+
"internalType": "address",
|
1130
|
+
"name": "objectAddress",
|
1131
|
+
"type": "address"
|
1132
|
+
},
|
1133
|
+
{
|
1134
|
+
"internalType": "address",
|
1135
|
+
"name": "initialOwner",
|
1136
|
+
"type": "address"
|
1137
|
+
},
|
1138
|
+
{
|
1139
|
+
"internalType": "bytes",
|
1140
|
+
"name": "data",
|
1141
|
+
"type": "bytes"
|
1142
|
+
}
|
1143
|
+
],
|
1144
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
1145
|
+
"name": "",
|
1146
|
+
"type": "tuple"
|
1147
|
+
}
|
1148
|
+
],
|
1149
|
+
"stateMutability": "view",
|
1150
|
+
"type": "function"
|
1151
|
+
},
|
824
1152
|
{
|
825
1153
|
"inputs": [
|
826
1154
|
{
|
@@ -853,6 +1181,19 @@
|
|
853
1181
|
"stateMutability": "view",
|
854
1182
|
"type": "function"
|
855
1183
|
},
|
1184
|
+
{
|
1185
|
+
"inputs": [],
|
1186
|
+
"name": "getMajorVersion",
|
1187
|
+
"outputs": [
|
1188
|
+
{
|
1189
|
+
"internalType": "VersionPart",
|
1190
|
+
"name": "majorVersion",
|
1191
|
+
"type": "uint8"
|
1192
|
+
}
|
1193
|
+
],
|
1194
|
+
"stateMutability": "pure",
|
1195
|
+
"type": "function"
|
1196
|
+
},
|
856
1197
|
{
|
857
1198
|
"inputs": [
|
858
1199
|
{
|
@@ -899,6 +1240,45 @@
|
|
899
1240
|
"stateMutability": "view",
|
900
1241
|
"type": "function"
|
901
1242
|
},
|
1243
|
+
{
|
1244
|
+
"inputs": [],
|
1245
|
+
"name": "getNftId",
|
1246
|
+
"outputs": [
|
1247
|
+
{
|
1248
|
+
"internalType": "NftId",
|
1249
|
+
"name": "",
|
1250
|
+
"type": "uint96"
|
1251
|
+
}
|
1252
|
+
],
|
1253
|
+
"stateMutability": "view",
|
1254
|
+
"type": "function"
|
1255
|
+
},
|
1256
|
+
{
|
1257
|
+
"inputs": [],
|
1258
|
+
"name": "getOwner",
|
1259
|
+
"outputs": [
|
1260
|
+
{
|
1261
|
+
"internalType": "address",
|
1262
|
+
"name": "",
|
1263
|
+
"type": "address"
|
1264
|
+
}
|
1265
|
+
],
|
1266
|
+
"stateMutability": "view",
|
1267
|
+
"type": "function"
|
1268
|
+
},
|
1269
|
+
{
|
1270
|
+
"inputs": [],
|
1271
|
+
"name": "getPolicyService",
|
1272
|
+
"outputs": [
|
1273
|
+
{
|
1274
|
+
"internalType": "contract IPolicyService",
|
1275
|
+
"name": "",
|
1276
|
+
"type": "address"
|
1277
|
+
}
|
1278
|
+
],
|
1279
|
+
"stateMutability": "view",
|
1280
|
+
"type": "function"
|
1281
|
+
},
|
902
1282
|
{
|
903
1283
|
"inputs": [],
|
904
1284
|
"name": "getPoolService",
|
@@ -925,6 +1305,32 @@
|
|
925
1305
|
"stateMutability": "view",
|
926
1306
|
"type": "function"
|
927
1307
|
},
|
1308
|
+
{
|
1309
|
+
"inputs": [],
|
1310
|
+
"name": "getRegistry",
|
1311
|
+
"outputs": [
|
1312
|
+
{
|
1313
|
+
"internalType": "contract IRegistry",
|
1314
|
+
"name": "",
|
1315
|
+
"type": "address"
|
1316
|
+
}
|
1317
|
+
],
|
1318
|
+
"stateMutability": "view",
|
1319
|
+
"type": "function"
|
1320
|
+
},
|
1321
|
+
{
|
1322
|
+
"inputs": [],
|
1323
|
+
"name": "getRegistryAddress",
|
1324
|
+
"outputs": [
|
1325
|
+
{
|
1326
|
+
"internalType": "address",
|
1327
|
+
"name": "",
|
1328
|
+
"type": "address"
|
1329
|
+
}
|
1330
|
+
],
|
1331
|
+
"stateMutability": "view",
|
1332
|
+
"type": "function"
|
1333
|
+
},
|
928
1334
|
{
|
929
1335
|
"inputs": [
|
930
1336
|
{
|
@@ -963,6 +1369,19 @@
|
|
963
1369
|
"stateMutability": "view",
|
964
1370
|
"type": "function"
|
965
1371
|
},
|
1372
|
+
{
|
1373
|
+
"inputs": [],
|
1374
|
+
"name": "isConsumingScheduledOp",
|
1375
|
+
"outputs": [
|
1376
|
+
{
|
1377
|
+
"internalType": "bytes4",
|
1378
|
+
"name": "",
|
1379
|
+
"type": "bytes4"
|
1380
|
+
}
|
1381
|
+
],
|
1382
|
+
"stateMutability": "view",
|
1383
|
+
"type": "function"
|
1384
|
+
},
|
966
1385
|
{
|
967
1386
|
"inputs": [
|
968
1387
|
{
|
@@ -992,6 +1411,26 @@
|
|
992
1411
|
"stateMutability": "view",
|
993
1412
|
"type": "function"
|
994
1413
|
},
|
1414
|
+
{
|
1415
|
+
"inputs": [],
|
1416
|
+
"name": "linkToRegisteredNftId",
|
1417
|
+
"outputs": [],
|
1418
|
+
"stateMutability": "nonpayable",
|
1419
|
+
"type": "function"
|
1420
|
+
},
|
1421
|
+
{
|
1422
|
+
"inputs": [
|
1423
|
+
{
|
1424
|
+
"internalType": "address",
|
1425
|
+
"name": "",
|
1426
|
+
"type": "address"
|
1427
|
+
}
|
1428
|
+
],
|
1429
|
+
"name": "setAuthority",
|
1430
|
+
"outputs": [],
|
1431
|
+
"stateMutability": "nonpayable",
|
1432
|
+
"type": "function"
|
1433
|
+
},
|
995
1434
|
{
|
996
1435
|
"inputs": [
|
997
1436
|
{
|
@@ -1003,36 +1442,159 @@
|
|
1003
1442
|
"name": "supportsInterface",
|
1004
1443
|
"outputs": [
|
1005
1444
|
{
|
1006
|
-
"internalType": "bool",
|
1007
|
-
"name": "",
|
1008
|
-
"type": "bool"
|
1445
|
+
"internalType": "bool",
|
1446
|
+
"name": "",
|
1447
|
+
"type": "bool"
|
1448
|
+
}
|
1449
|
+
],
|
1450
|
+
"stateMutability": "view",
|
1451
|
+
"type": "function"
|
1452
|
+
},
|
1453
|
+
{
|
1454
|
+
"inputs": [
|
1455
|
+
{
|
1456
|
+
"internalType": "ObjectType",
|
1457
|
+
"name": "objectType",
|
1458
|
+
"type": "uint8"
|
1459
|
+
},
|
1460
|
+
{
|
1461
|
+
"internalType": "KeyId",
|
1462
|
+
"name": "id",
|
1463
|
+
"type": "bytes31"
|
1464
|
+
}
|
1465
|
+
],
|
1466
|
+
"name": "toKey32",
|
1467
|
+
"outputs": [
|
1468
|
+
{
|
1469
|
+
"internalType": "Key32",
|
1470
|
+
"name": "",
|
1471
|
+
"type": "bytes32"
|
1472
|
+
}
|
1473
|
+
],
|
1474
|
+
"stateMutability": "pure",
|
1475
|
+
"type": "function"
|
1476
|
+
},
|
1477
|
+
{
|
1478
|
+
"inputs": [
|
1479
|
+
{
|
1480
|
+
"internalType": "NftId",
|
1481
|
+
"name": "applicationNftId",
|
1482
|
+
"type": "uint96"
|
1483
|
+
},
|
1484
|
+
{
|
1485
|
+
"components": [
|
1486
|
+
{
|
1487
|
+
"internalType": "NftId",
|
1488
|
+
"name": "productNftId",
|
1489
|
+
"type": "uint96"
|
1490
|
+
},
|
1491
|
+
{
|
1492
|
+
"internalType": "NftId",
|
1493
|
+
"name": "bundleNftId",
|
1494
|
+
"type": "uint96"
|
1495
|
+
},
|
1496
|
+
{
|
1497
|
+
"internalType": "ReferralId",
|
1498
|
+
"name": "referralId",
|
1499
|
+
"type": "bytes8"
|
1500
|
+
},
|
1501
|
+
{
|
1502
|
+
"internalType": "RiskId",
|
1503
|
+
"name": "riskId",
|
1504
|
+
"type": "bytes8"
|
1505
|
+
},
|
1506
|
+
{
|
1507
|
+
"internalType": "uint256",
|
1508
|
+
"name": "sumInsuredAmount",
|
1509
|
+
"type": "uint256"
|
1510
|
+
},
|
1511
|
+
{
|
1512
|
+
"internalType": "uint256",
|
1513
|
+
"name": "premiumAmount",
|
1514
|
+
"type": "uint256"
|
1515
|
+
},
|
1516
|
+
{
|
1517
|
+
"internalType": "uint256",
|
1518
|
+
"name": "premiumPaidAmount",
|
1519
|
+
"type": "uint256"
|
1520
|
+
},
|
1521
|
+
{
|
1522
|
+
"internalType": "Seconds",
|
1523
|
+
"name": "lifetime",
|
1524
|
+
"type": "uint40"
|
1525
|
+
},
|
1526
|
+
{
|
1527
|
+
"internalType": "bytes",
|
1528
|
+
"name": "applicationData",
|
1529
|
+
"type": "bytes"
|
1530
|
+
},
|
1531
|
+
{
|
1532
|
+
"internalType": "bytes",
|
1533
|
+
"name": "policyData",
|
1534
|
+
"type": "bytes"
|
1535
|
+
},
|
1536
|
+
{
|
1537
|
+
"internalType": "uint16",
|
1538
|
+
"name": "claimsCount",
|
1539
|
+
"type": "uint16"
|
1540
|
+
},
|
1541
|
+
{
|
1542
|
+
"internalType": "uint16",
|
1543
|
+
"name": "openClaimsCount",
|
1544
|
+
"type": "uint16"
|
1545
|
+
},
|
1546
|
+
{
|
1547
|
+
"internalType": "uint256",
|
1548
|
+
"name": "payoutAmount",
|
1549
|
+
"type": "uint256"
|
1550
|
+
},
|
1551
|
+
{
|
1552
|
+
"internalType": "Timestamp",
|
1553
|
+
"name": "activatedAt",
|
1554
|
+
"type": "uint40"
|
1555
|
+
},
|
1556
|
+
{
|
1557
|
+
"internalType": "Timestamp",
|
1558
|
+
"name": "expiredAt",
|
1559
|
+
"type": "uint40"
|
1560
|
+
},
|
1561
|
+
{
|
1562
|
+
"internalType": "Timestamp",
|
1563
|
+
"name": "closedAt",
|
1564
|
+
"type": "uint40"
|
1565
|
+
}
|
1566
|
+
],
|
1567
|
+
"internalType": "struct IPolicy.PolicyInfo",
|
1568
|
+
"name": "policy",
|
1569
|
+
"type": "tuple"
|
1570
|
+
},
|
1571
|
+
{
|
1572
|
+
"internalType": "StateId",
|
1573
|
+
"name": "newState",
|
1574
|
+
"type": "uint8"
|
1009
1575
|
}
|
1010
1576
|
],
|
1011
|
-
"
|
1577
|
+
"name": "updateApplication",
|
1578
|
+
"outputs": [],
|
1579
|
+
"stateMutability": "nonpayable",
|
1012
1580
|
"type": "function"
|
1013
1581
|
},
|
1014
1582
|
{
|
1015
1583
|
"inputs": [
|
1016
1584
|
{
|
1017
|
-
"internalType": "
|
1018
|
-
"name": "
|
1019
|
-
"type": "
|
1585
|
+
"internalType": "NftId",
|
1586
|
+
"name": "applicationNftId",
|
1587
|
+
"type": "uint96"
|
1020
1588
|
},
|
1021
1589
|
{
|
1022
|
-
"internalType": "
|
1023
|
-
"name": "
|
1024
|
-
"type": "
|
1025
|
-
}
|
1026
|
-
],
|
1027
|
-
"name": "toKey32",
|
1028
|
-
"outputs": [
|
1029
|
-
{
|
1030
|
-
"internalType": "Key32",
|
1031
|
-
"name": "",
|
1032
|
-
"type": "bytes32"
|
1590
|
+
"internalType": "StateId",
|
1591
|
+
"name": "newState",
|
1592
|
+
"type": "uint8"
|
1033
1593
|
}
|
1034
1594
|
],
|
1035
|
-
"
|
1595
|
+
"name": "updateApplicationState",
|
1596
|
+
"outputs": [],
|
1597
|
+
"stateMutability": "nonpayable",
|
1036
1598
|
"type": "function"
|
1037
1599
|
},
|
1038
1600
|
{
|
@@ -1087,9 +1649,9 @@
|
|
1087
1649
|
"type": "uint256"
|
1088
1650
|
},
|
1089
1651
|
{
|
1090
|
-
"internalType": "
|
1652
|
+
"internalType": "Seconds",
|
1091
1653
|
"name": "lifetime",
|
1092
|
-
"type": "
|
1654
|
+
"type": "uint40"
|
1093
1655
|
},
|
1094
1656
|
{
|
1095
1657
|
"internalType": "Timestamp",
|
@@ -1171,11 +1733,6 @@
|
|
1171
1733
|
"name": "distributionFee",
|
1172
1734
|
"type": "tuple"
|
1173
1735
|
},
|
1174
|
-
{
|
1175
|
-
"internalType": "bool",
|
1176
|
-
"name": "isIntercepting",
|
1177
|
-
"type": "bool"
|
1178
|
-
},
|
1179
1736
|
{
|
1180
1737
|
"internalType": "address",
|
1181
1738
|
"name": "wallet",
|
@@ -1215,6 +1772,152 @@
|
|
1215
1772
|
"stateMutability": "nonpayable",
|
1216
1773
|
"type": "function"
|
1217
1774
|
},
|
1775
|
+
{
|
1776
|
+
"inputs": [
|
1777
|
+
{
|
1778
|
+
"internalType": "NftId",
|
1779
|
+
"name": "nftId",
|
1780
|
+
"type": "uint96"
|
1781
|
+
},
|
1782
|
+
{
|
1783
|
+
"components": [
|
1784
|
+
{
|
1785
|
+
"internalType": "DistributorType",
|
1786
|
+
"name": "distributorType",
|
1787
|
+
"type": "bytes8"
|
1788
|
+
},
|
1789
|
+
{
|
1790
|
+
"internalType": "bool",
|
1791
|
+
"name": "active",
|
1792
|
+
"type": "bool"
|
1793
|
+
},
|
1794
|
+
{
|
1795
|
+
"internalType": "bytes",
|
1796
|
+
"name": "data",
|
1797
|
+
"type": "bytes"
|
1798
|
+
}
|
1799
|
+
],
|
1800
|
+
"internalType": "struct IDistribution.DistributorInfo",
|
1801
|
+
"name": "info",
|
1802
|
+
"type": "tuple"
|
1803
|
+
},
|
1804
|
+
{
|
1805
|
+
"internalType": "StateId",
|
1806
|
+
"name": "newState",
|
1807
|
+
"type": "uint8"
|
1808
|
+
}
|
1809
|
+
],
|
1810
|
+
"name": "updateDistributor",
|
1811
|
+
"outputs": [],
|
1812
|
+
"stateMutability": "nonpayable",
|
1813
|
+
"type": "function"
|
1814
|
+
},
|
1815
|
+
{
|
1816
|
+
"inputs": [
|
1817
|
+
{
|
1818
|
+
"internalType": "NftId",
|
1819
|
+
"name": "nftId",
|
1820
|
+
"type": "uint96"
|
1821
|
+
},
|
1822
|
+
{
|
1823
|
+
"internalType": "StateId",
|
1824
|
+
"name": "newState",
|
1825
|
+
"type": "uint8"
|
1826
|
+
}
|
1827
|
+
],
|
1828
|
+
"name": "updateDistributorState",
|
1829
|
+
"outputs": [],
|
1830
|
+
"stateMutability": "nonpayable",
|
1831
|
+
"type": "function"
|
1832
|
+
},
|
1833
|
+
{
|
1834
|
+
"inputs": [
|
1835
|
+
{
|
1836
|
+
"internalType": "Key32",
|
1837
|
+
"name": "distributorKey",
|
1838
|
+
"type": "bytes32"
|
1839
|
+
},
|
1840
|
+
{
|
1841
|
+
"components": [
|
1842
|
+
{
|
1843
|
+
"internalType": "string",
|
1844
|
+
"name": "name",
|
1845
|
+
"type": "string"
|
1846
|
+
},
|
1847
|
+
{
|
1848
|
+
"internalType": "UFixed",
|
1849
|
+
"name": "minDiscountPercentage",
|
1850
|
+
"type": "uint256"
|
1851
|
+
},
|
1852
|
+
{
|
1853
|
+
"internalType": "UFixed",
|
1854
|
+
"name": "maxDiscountPercentage",
|
1855
|
+
"type": "uint256"
|
1856
|
+
},
|
1857
|
+
{
|
1858
|
+
"internalType": "UFixed",
|
1859
|
+
"name": "commissionPercentage",
|
1860
|
+
"type": "uint256"
|
1861
|
+
},
|
1862
|
+
{
|
1863
|
+
"internalType": "uint32",
|
1864
|
+
"name": "maxReferralCount",
|
1865
|
+
"type": "uint32"
|
1866
|
+
},
|
1867
|
+
{
|
1868
|
+
"internalType": "uint32",
|
1869
|
+
"name": "maxReferralLifetime",
|
1870
|
+
"type": "uint32"
|
1871
|
+
},
|
1872
|
+
{
|
1873
|
+
"internalType": "bool",
|
1874
|
+
"name": "allowSelfReferrals",
|
1875
|
+
"type": "bool"
|
1876
|
+
},
|
1877
|
+
{
|
1878
|
+
"internalType": "bool",
|
1879
|
+
"name": "allowRenewals",
|
1880
|
+
"type": "bool"
|
1881
|
+
},
|
1882
|
+
{
|
1883
|
+
"internalType": "bytes",
|
1884
|
+
"name": "data",
|
1885
|
+
"type": "bytes"
|
1886
|
+
}
|
1887
|
+
],
|
1888
|
+
"internalType": "struct IDistribution.DistributorTypeInfo",
|
1889
|
+
"name": "info",
|
1890
|
+
"type": "tuple"
|
1891
|
+
},
|
1892
|
+
{
|
1893
|
+
"internalType": "StateId",
|
1894
|
+
"name": "newState",
|
1895
|
+
"type": "uint8"
|
1896
|
+
}
|
1897
|
+
],
|
1898
|
+
"name": "updateDistributorType",
|
1899
|
+
"outputs": [],
|
1900
|
+
"stateMutability": "nonpayable",
|
1901
|
+
"type": "function"
|
1902
|
+
},
|
1903
|
+
{
|
1904
|
+
"inputs": [
|
1905
|
+
{
|
1906
|
+
"internalType": "Key32",
|
1907
|
+
"name": "distributorKey",
|
1908
|
+
"type": "bytes32"
|
1909
|
+
},
|
1910
|
+
{
|
1911
|
+
"internalType": "StateId",
|
1912
|
+
"name": "newState",
|
1913
|
+
"type": "uint8"
|
1914
|
+
}
|
1915
|
+
],
|
1916
|
+
"name": "updateDistributorTypeState",
|
1917
|
+
"outputs": [],
|
1918
|
+
"stateMutability": "nonpayable",
|
1919
|
+
"type": "function"
|
1920
|
+
},
|
1218
1921
|
{
|
1219
1922
|
"inputs": [
|
1220
1923
|
{
|
@@ -1260,9 +1963,9 @@
|
|
1260
1963
|
"type": "uint256"
|
1261
1964
|
},
|
1262
1965
|
{
|
1263
|
-
"internalType": "
|
1966
|
+
"internalType": "Seconds",
|
1264
1967
|
"name": "lifetime",
|
1265
|
-
"type": "
|
1968
|
+
"type": "uint40"
|
1266
1969
|
},
|
1267
1970
|
{
|
1268
1971
|
"internalType": "bytes",
|
@@ -1357,11 +2060,36 @@
|
|
1357
2060
|
"name": "tokenHandler",
|
1358
2061
|
"type": "address"
|
1359
2062
|
},
|
2063
|
+
{
|
2064
|
+
"internalType": "uint256",
|
2065
|
+
"name": "maxCapitalAmount",
|
2066
|
+
"type": "uint256"
|
2067
|
+
},
|
2068
|
+
{
|
2069
|
+
"internalType": "bool",
|
2070
|
+
"name": "isInterceptingBundleTransfers",
|
2071
|
+
"type": "bool"
|
2072
|
+
},
|
2073
|
+
{
|
2074
|
+
"internalType": "bool",
|
2075
|
+
"name": "isExternallyManaged",
|
2076
|
+
"type": "bool"
|
2077
|
+
},
|
2078
|
+
{
|
2079
|
+
"internalType": "bool",
|
2080
|
+
"name": "isVerifyingApplications",
|
2081
|
+
"type": "bool"
|
2082
|
+
},
|
1360
2083
|
{
|
1361
2084
|
"internalType": "UFixed",
|
1362
2085
|
"name": "collateralizationLevel",
|
1363
2086
|
"type": "uint256"
|
1364
2087
|
},
|
2088
|
+
{
|
2089
|
+
"internalType": "UFixed",
|
2090
|
+
"name": "retentionLevel",
|
2091
|
+
"type": "uint256"
|
2092
|
+
},
|
1365
2093
|
{
|
1366
2094
|
"components": [
|
1367
2095
|
{
|
@@ -1413,16 +2141,6 @@
|
|
1413
2141
|
"name": "performanceFee",
|
1414
2142
|
"type": "tuple"
|
1415
2143
|
},
|
1416
|
-
{
|
1417
|
-
"internalType": "bool",
|
1418
|
-
"name": "isIntercepting",
|
1419
|
-
"type": "bool"
|
1420
|
-
},
|
1421
|
-
{
|
1422
|
-
"internalType": "bool",
|
1423
|
-
"name": "isConfirmingApplication",
|
1424
|
-
"type": "bool"
|
1425
|
-
},
|
1426
2144
|
{
|
1427
2145
|
"internalType": "address",
|
1428
2146
|
"name": "wallet",
|
@@ -1637,6 +2355,84 @@
|
|
1637
2355
|
"stateMutability": "nonpayable",
|
1638
2356
|
"type": "function"
|
1639
2357
|
},
|
2358
|
+
{
|
2359
|
+
"inputs": [
|
2360
|
+
{
|
2361
|
+
"internalType": "Key32",
|
2362
|
+
"name": "referralKey",
|
2363
|
+
"type": "bytes32"
|
2364
|
+
},
|
2365
|
+
{
|
2366
|
+
"components": [
|
2367
|
+
{
|
2368
|
+
"internalType": "NftId",
|
2369
|
+
"name": "distributorNftId",
|
2370
|
+
"type": "uint96"
|
2371
|
+
},
|
2372
|
+
{
|
2373
|
+
"internalType": "string",
|
2374
|
+
"name": "referralCode",
|
2375
|
+
"type": "string"
|
2376
|
+
},
|
2377
|
+
{
|
2378
|
+
"internalType": "UFixed",
|
2379
|
+
"name": "discountPercentage",
|
2380
|
+
"type": "uint256"
|
2381
|
+
},
|
2382
|
+
{
|
2383
|
+
"internalType": "uint32",
|
2384
|
+
"name": "maxReferrals",
|
2385
|
+
"type": "uint32"
|
2386
|
+
},
|
2387
|
+
{
|
2388
|
+
"internalType": "uint32",
|
2389
|
+
"name": "usedReferrals",
|
2390
|
+
"type": "uint32"
|
2391
|
+
},
|
2392
|
+
{
|
2393
|
+
"internalType": "Timestamp",
|
2394
|
+
"name": "expiryAt",
|
2395
|
+
"type": "uint40"
|
2396
|
+
},
|
2397
|
+
{
|
2398
|
+
"internalType": "bytes",
|
2399
|
+
"name": "data",
|
2400
|
+
"type": "bytes"
|
2401
|
+
}
|
2402
|
+
],
|
2403
|
+
"internalType": "struct IDistribution.ReferralInfo",
|
2404
|
+
"name": "referralInfo",
|
2405
|
+
"type": "tuple"
|
2406
|
+
},
|
2407
|
+
{
|
2408
|
+
"internalType": "StateId",
|
2409
|
+
"name": "newState",
|
2410
|
+
"type": "uint8"
|
2411
|
+
}
|
2412
|
+
],
|
2413
|
+
"name": "updateReferral",
|
2414
|
+
"outputs": [],
|
2415
|
+
"stateMutability": "nonpayable",
|
2416
|
+
"type": "function"
|
2417
|
+
},
|
2418
|
+
{
|
2419
|
+
"inputs": [
|
2420
|
+
{
|
2421
|
+
"internalType": "Key32",
|
2422
|
+
"name": "referralKey",
|
2423
|
+
"type": "bytes32"
|
2424
|
+
},
|
2425
|
+
{
|
2426
|
+
"internalType": "StateId",
|
2427
|
+
"name": "newState",
|
2428
|
+
"type": "uint8"
|
2429
|
+
}
|
2430
|
+
],
|
2431
|
+
"name": "updateReferralState",
|
2432
|
+
"outputs": [],
|
2433
|
+
"stateMutability": "nonpayable",
|
2434
|
+
"type": "function"
|
2435
|
+
},
|
1640
2436
|
{
|
1641
2437
|
"inputs": [
|
1642
2438
|
{
|