@etherisc/gif-next 0.0.2-239d061-784 → 0.0.2-23ade4a-264
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 +14 -10
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +97 -123
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +368 -163
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +81 -83
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +295 -121
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +261 -188
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +85 -155
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +288 -259
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +102 -196
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +64 -50
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +808 -456
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +171 -195
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +893 -800
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +448 -121
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +120 -227
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +249 -380
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +231 -114
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -13
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +39 -215
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +54 -71
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +203 -326
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +162 -361
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +206 -105
- 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 +1076 -241
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +354 -97
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +130 -199
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +95 -250
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +409 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +705 -138
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +51 -282
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +75 -146
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +18 -170
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +106 -437
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +212 -139
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +137 -244
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +211 -102
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +63 -267
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +203 -102
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +19 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +77 -173
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +31 -12
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +2 -2
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +109 -257
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +202 -107
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +11 -11
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +46 -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 +2 -2
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +17 -30
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +2 -2
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +17 -30
- 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 +18 -170
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -150
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -48
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +80 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +195 -86
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +34 -71
- 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 +32 -208
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -150
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +34 -71
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +50 -262
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +6 -188
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +2 -2
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
- package/contracts/components/Component.sol +98 -77
- package/contracts/components/Distribution.sol +159 -35
- package/contracts/components/IComponent.sol +40 -16
- package/contracts/components/IDistributionComponent.sol +39 -15
- package/contracts/components/IPoolComponent.sol +73 -47
- package/contracts/components/IProductComponent.sol +3 -2
- package/contracts/components/Pool.sol +171 -126
- package/contracts/components/Product.sol +38 -23
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/instance/BundleManager.sol +7 -5
- package/contracts/instance/Cloneable.sol +7 -2
- package/contracts/instance/IInstance.sol +36 -10
- package/contracts/instance/IInstanceService.sol +35 -4
- package/contracts/instance/Instance.sol +95 -36
- package/contracts/instance/InstanceAccessManager.sol +382 -157
- package/contracts/instance/InstanceReader.sol +7 -10
- package/contracts/instance/InstanceService.sol +234 -173
- package/contracts/instance/InstanceServiceManager.sol +1 -1
- package/contracts/instance/ObjectManager.sol +6 -8
- package/contracts/instance/base/ComponentService.sol +5 -5
- package/contracts/instance/base/KeyValueStore.sol +5 -2
- package/contracts/instance/base/Lifecycle.sol +11 -2
- package/contracts/instance/module/IAccess.sol +20 -13
- package/contracts/instance/module/IBundle.sol +2 -1
- package/contracts/instance/module/IComponents.sol +35 -0
- package/contracts/instance/module/IDistribution.sol +2 -0
- package/contracts/instance/module/IPolicy.sol +30 -3
- package/contracts/instance/module/ISetup.sol +7 -21
- package/contracts/instance/service/ApplicationService.sol +139 -57
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +76 -38
- 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 +375 -13
- package/contracts/instance/service/DistributionServiceManager.sol +1 -1
- package/contracts/instance/service/IApplicationService.sol +9 -9
- package/contracts/instance/service/IBundleService.sol +19 -11
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +86 -0
- package/contracts/instance/service/IPolicyService.sol +18 -34
- package/contracts/instance/service/IPoolService.sol +17 -2
- package/contracts/instance/service/PolicyService.sol +74 -195
- package/contracts/instance/service/PolicyServiceManager.sol +2 -2
- package/contracts/instance/service/PoolService.sol +128 -17
- package/contracts/instance/service/PoolServiceManager.sol +1 -1
- package/contracts/instance/service/ProductService.sol +10 -2
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/ChainNft.sol +8 -0
- package/contracts/registry/IRegistry.sol +2 -0
- package/contracts/registry/IRegistryService.sol +10 -8
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +26 -21
- package/contracts/registry/RegistryService.sol +62 -40
- package/contracts/registry/RegistryServiceManager.sol +13 -13
- package/contracts/registry/ReleaseManager.sol +18 -28
- package/contracts/registry/TokenRegistry.sol +13 -10
- package/contracts/shared/ERC165.sol +2 -1
- package/contracts/shared/INftOwnable.sol +7 -11
- package/contracts/shared/IPolicyHolder.sol +2 -2
- 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 +18 -85
- package/contracts/shared/PolicyHolder.sol +31 -2
- package/contracts/shared/ProxyManager.sol +98 -24
- package/contracts/shared/Registerable.sol +3 -10
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +10 -12
- package/contracts/shared/TokenHandler.sol +11 -5
- package/contracts/shared/Versionable.sol +1 -90
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +52 -0
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/Fee.sol +1 -0
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/ObjectType.sol +6 -5
- package/contracts/types/PayoutId.sol +54 -0
- package/contracts/types/Referral.sol +4 -0
- package/contracts/types/RoleId.sol +16 -9
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +1 -0
- package/contracts/types/Timestamp.sol +13 -13
- package/contracts/types/UFixed.sol +1 -0
- package/contracts/types/Version.sol +1 -0
- package/package.json +1 -1
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/contracts/experiment/cloning/Cloner.sol +0 -47
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
|
@@ -63,22 +63,6 @@
|
|
|
63
63
|
"name": "AddressInsufficientBalance",
|
|
64
64
|
"type": "error"
|
|
65
65
|
},
|
|
66
|
-
{
|
|
67
|
-
"inputs": [
|
|
68
|
-
{
|
|
69
|
-
"internalType": "address",
|
|
70
|
-
"name": "registry",
|
|
71
|
-
"type": "address"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"internalType": "NftId",
|
|
75
|
-
"name": "nftId",
|
|
76
|
-
"type": "uint96"
|
|
77
|
-
}
|
|
78
|
-
],
|
|
79
|
-
"name": "ErrorAlreadyLinked",
|
|
80
|
-
"type": "error"
|
|
81
|
-
},
|
|
82
66
|
{
|
|
83
67
|
"inputs": [
|
|
84
68
|
{
|
|
@@ -96,11 +80,6 @@
|
|
|
96
80
|
"internalType": "NftId",
|
|
97
81
|
"name": "instanceNftId",
|
|
98
82
|
"type": "uint96"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"internalType": "address",
|
|
102
|
-
"name": "instance",
|
|
103
|
-
"type": "address"
|
|
104
83
|
}
|
|
105
84
|
],
|
|
106
85
|
"name": "ErrorComponentNotInstance",
|
|
@@ -123,29 +102,7 @@
|
|
|
123
102
|
"type": "error"
|
|
124
103
|
},
|
|
125
104
|
{
|
|
126
|
-
"inputs": [
|
|
127
|
-
{
|
|
128
|
-
"internalType": "address",
|
|
129
|
-
"name": "caller",
|
|
130
|
-
"type": "address"
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"internalType": "uint64",
|
|
134
|
-
"name": "requiredRoleIdNum",
|
|
135
|
-
"type": "uint64"
|
|
136
|
-
}
|
|
137
|
-
],
|
|
138
|
-
"name": "ErrorComponentUnauthorized",
|
|
139
|
-
"type": "error"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"inputs": [
|
|
143
|
-
{
|
|
144
|
-
"internalType": "address",
|
|
145
|
-
"name": "newWallet",
|
|
146
|
-
"type": "address"
|
|
147
|
-
}
|
|
148
|
-
],
|
|
105
|
+
"inputs": [],
|
|
149
106
|
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
|
150
107
|
"type": "error"
|
|
151
108
|
},
|
|
@@ -183,71 +140,50 @@
|
|
|
183
140
|
{
|
|
184
141
|
"inputs": [
|
|
185
142
|
{
|
|
186
|
-
"internalType": "
|
|
187
|
-
"name": "
|
|
188
|
-
"type": "
|
|
143
|
+
"internalType": "NftId",
|
|
144
|
+
"name": "nftId",
|
|
145
|
+
"type": "uint96"
|
|
189
146
|
}
|
|
190
147
|
],
|
|
191
|
-
"name": "
|
|
192
|
-
"type": "error"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"inputs": [],
|
|
196
|
-
"name": "ErrorInitialOwnerZero",
|
|
148
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
|
197
149
|
"type": "error"
|
|
198
150
|
},
|
|
199
151
|
{
|
|
200
152
|
"inputs": [
|
|
201
153
|
{
|
|
202
154
|
"internalType": "address",
|
|
203
|
-
"name": "
|
|
155
|
+
"name": "contractAddress",
|
|
204
156
|
"type": "address"
|
|
205
157
|
}
|
|
206
158
|
],
|
|
207
|
-
"name": "
|
|
159
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
|
208
160
|
"type": "error"
|
|
209
161
|
},
|
|
210
162
|
{
|
|
211
|
-
"inputs": [
|
|
212
|
-
|
|
213
|
-
"internalType": "address",
|
|
214
|
-
"name": "registryAddress",
|
|
215
|
-
"type": "address"
|
|
216
|
-
}
|
|
217
|
-
],
|
|
218
|
-
"name": "ErrorNotRegistry",
|
|
163
|
+
"inputs": [],
|
|
164
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
|
219
165
|
"type": "error"
|
|
220
166
|
},
|
|
221
167
|
{
|
|
222
168
|
"inputs": [
|
|
223
169
|
{
|
|
224
170
|
"internalType": "address",
|
|
225
|
-
"name": "
|
|
171
|
+
"name": "account",
|
|
226
172
|
"type": "address"
|
|
227
173
|
}
|
|
228
174
|
],
|
|
229
|
-
"name": "
|
|
230
|
-
"type": "error"
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
"inputs": [],
|
|
234
|
-
"name": "ErrorRegistryAddressZero",
|
|
175
|
+
"name": "ErrorNftOwnableNotOwner",
|
|
235
176
|
"type": "error"
|
|
236
177
|
},
|
|
237
178
|
{
|
|
238
179
|
"inputs": [
|
|
239
180
|
{
|
|
240
181
|
"internalType": "address",
|
|
241
|
-
"name": "
|
|
182
|
+
"name": "registryAddress",
|
|
242
183
|
"type": "address"
|
|
243
184
|
}
|
|
244
185
|
],
|
|
245
|
-
"name": "
|
|
246
|
-
"type": "error"
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"inputs": [],
|
|
250
|
-
"name": "ErrorRegistryNotInitialized",
|
|
186
|
+
"name": "ErrorNotRegistry",
|
|
251
187
|
"type": "error"
|
|
252
188
|
},
|
|
253
189
|
{
|
|
@@ -305,6 +241,12 @@
|
|
|
305
241
|
{
|
|
306
242
|
"anonymous": false,
|
|
307
243
|
"inputs": [
|
|
244
|
+
{
|
|
245
|
+
"indexed": false,
|
|
246
|
+
"internalType": "address",
|
|
247
|
+
"name": "oldWallet",
|
|
248
|
+
"type": "address"
|
|
249
|
+
},
|
|
308
250
|
{
|
|
309
251
|
"indexed": false,
|
|
310
252
|
"internalType": "address",
|
|
@@ -340,9 +282,28 @@
|
|
|
340
282
|
"name": "LogComponentWalletTokensTransferred",
|
|
341
283
|
"type": "event"
|
|
342
284
|
},
|
|
285
|
+
{
|
|
286
|
+
"anonymous": false,
|
|
287
|
+
"inputs": [
|
|
288
|
+
{
|
|
289
|
+
"indexed": false,
|
|
290
|
+
"internalType": "address",
|
|
291
|
+
"name": "to",
|
|
292
|
+
"type": "address"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"indexed": false,
|
|
296
|
+
"internalType": "address",
|
|
297
|
+
"name": "caller",
|
|
298
|
+
"type": "address"
|
|
299
|
+
}
|
|
300
|
+
],
|
|
301
|
+
"name": "LogDistributorUpdated",
|
|
302
|
+
"type": "event"
|
|
303
|
+
},
|
|
343
304
|
{
|
|
344
305
|
"inputs": [],
|
|
345
|
-
"name": "
|
|
306
|
+
"name": "COMPONENT_LOCATION_V1",
|
|
346
307
|
"outputs": [
|
|
347
308
|
{
|
|
348
309
|
"internalType": "bytes32",
|
|
@@ -418,7 +379,7 @@
|
|
|
418
379
|
"type": "uint256"
|
|
419
380
|
}
|
|
420
381
|
],
|
|
421
|
-
"name": "
|
|
382
|
+
"name": "calculateRenewalFeeAmount",
|
|
422
383
|
"outputs": [
|
|
423
384
|
{
|
|
424
385
|
"internalType": "uint256",
|
|
@@ -432,22 +393,194 @@
|
|
|
432
393
|
{
|
|
433
394
|
"inputs": [
|
|
434
395
|
{
|
|
435
|
-
"internalType": "
|
|
436
|
-
"name": "
|
|
396
|
+
"internalType": "address",
|
|
397
|
+
"name": "distributor",
|
|
398
|
+
"type": "address"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"internalType": "DistributorType",
|
|
402
|
+
"name": "distributorType",
|
|
437
403
|
"type": "bytes8"
|
|
438
404
|
},
|
|
439
405
|
{
|
|
440
|
-
"internalType": "
|
|
441
|
-
"name": "
|
|
406
|
+
"internalType": "bytes",
|
|
407
|
+
"name": "data",
|
|
408
|
+
"type": "bytes"
|
|
409
|
+
}
|
|
410
|
+
],
|
|
411
|
+
"name": "createDistributor",
|
|
412
|
+
"outputs": [
|
|
413
|
+
{
|
|
414
|
+
"internalType": "NftId",
|
|
415
|
+
"name": "distributorNftId",
|
|
416
|
+
"type": "uint96"
|
|
417
|
+
}
|
|
418
|
+
],
|
|
419
|
+
"stateMutability": "nonpayable",
|
|
420
|
+
"type": "function"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"inputs": [
|
|
424
|
+
{
|
|
425
|
+
"internalType": "string",
|
|
426
|
+
"name": "name",
|
|
427
|
+
"type": "string"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"internalType": "UFixed",
|
|
431
|
+
"name": "minDiscountPercentage",
|
|
432
|
+
"type": "uint256"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"internalType": "UFixed",
|
|
436
|
+
"name": "maxDiscountPercentage",
|
|
437
|
+
"type": "uint256"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"internalType": "UFixed",
|
|
441
|
+
"name": "commissionPercentage",
|
|
442
442
|
"type": "uint256"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"internalType": "uint32",
|
|
446
|
+
"name": "maxReferralCount",
|
|
447
|
+
"type": "uint32"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"internalType": "uint32",
|
|
451
|
+
"name": "maxReferralLifetime",
|
|
452
|
+
"type": "uint32"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"internalType": "bool",
|
|
456
|
+
"name": "allowSelfReferrals",
|
|
457
|
+
"type": "bool"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"internalType": "bool",
|
|
461
|
+
"name": "allowRenewals",
|
|
462
|
+
"type": "bool"
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"internalType": "bytes",
|
|
466
|
+
"name": "data",
|
|
467
|
+
"type": "bytes"
|
|
443
468
|
}
|
|
444
469
|
],
|
|
445
|
-
"name": "
|
|
470
|
+
"name": "createDistributorType",
|
|
446
471
|
"outputs": [
|
|
447
472
|
{
|
|
448
|
-
"internalType": "
|
|
449
|
-
"name": "
|
|
473
|
+
"internalType": "DistributorType",
|
|
474
|
+
"name": "distributorType",
|
|
475
|
+
"type": "bytes8"
|
|
476
|
+
}
|
|
477
|
+
],
|
|
478
|
+
"stateMutability": "nonpayable",
|
|
479
|
+
"type": "function"
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"inputs": [],
|
|
483
|
+
"name": "getComponentInfo",
|
|
484
|
+
"outputs": [
|
|
485
|
+
{
|
|
486
|
+
"components": [
|
|
487
|
+
{
|
|
488
|
+
"internalType": "string",
|
|
489
|
+
"name": "name",
|
|
490
|
+
"type": "string"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"internalType": "contract IERC20Metadata",
|
|
494
|
+
"name": "token",
|
|
495
|
+
"type": "address"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"internalType": "contract TokenHandler",
|
|
499
|
+
"name": "tokenHandler",
|
|
500
|
+
"type": "address"
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"internalType": "address",
|
|
504
|
+
"name": "wallet",
|
|
505
|
+
"type": "address"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"internalType": "bytes",
|
|
509
|
+
"name": "data",
|
|
510
|
+
"type": "bytes"
|
|
511
|
+
}
|
|
512
|
+
],
|
|
513
|
+
"internalType": "struct IComponents.ComponentInfo",
|
|
514
|
+
"name": "info",
|
|
515
|
+
"type": "tuple"
|
|
516
|
+
}
|
|
517
|
+
],
|
|
518
|
+
"stateMutability": "view",
|
|
519
|
+
"type": "function"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"inputs": [
|
|
523
|
+
{
|
|
524
|
+
"internalType": "string",
|
|
525
|
+
"name": "referralCode",
|
|
526
|
+
"type": "string"
|
|
527
|
+
}
|
|
528
|
+
],
|
|
529
|
+
"name": "getDiscountPercentage",
|
|
530
|
+
"outputs": [
|
|
531
|
+
{
|
|
532
|
+
"internalType": "UFixed",
|
|
533
|
+
"name": "discountPercentage",
|
|
450
534
|
"type": "uint256"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"internalType": "ReferralStatus",
|
|
538
|
+
"name": "status",
|
|
539
|
+
"type": "uint8"
|
|
540
|
+
}
|
|
541
|
+
],
|
|
542
|
+
"stateMutability": "view",
|
|
543
|
+
"type": "function"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"inputs": [],
|
|
547
|
+
"name": "getDistributionFee",
|
|
548
|
+
"outputs": [
|
|
549
|
+
{
|
|
550
|
+
"components": [
|
|
551
|
+
{
|
|
552
|
+
"internalType": "UFixed",
|
|
553
|
+
"name": "fractionalFee",
|
|
554
|
+
"type": "uint256"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"internalType": "uint256",
|
|
558
|
+
"name": "fixedFee",
|
|
559
|
+
"type": "uint256"
|
|
560
|
+
}
|
|
561
|
+
],
|
|
562
|
+
"internalType": "struct Fee",
|
|
563
|
+
"name": "distributionFee",
|
|
564
|
+
"type": "tuple"
|
|
565
|
+
}
|
|
566
|
+
],
|
|
567
|
+
"stateMutability": "view",
|
|
568
|
+
"type": "function"
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"inputs": [
|
|
572
|
+
{
|
|
573
|
+
"internalType": "address",
|
|
574
|
+
"name": "distributor",
|
|
575
|
+
"type": "address"
|
|
576
|
+
}
|
|
577
|
+
],
|
|
578
|
+
"name": "getDistributorNftId",
|
|
579
|
+
"outputs": [
|
|
580
|
+
{
|
|
581
|
+
"internalType": "NftId",
|
|
582
|
+
"name": "distributorNftId",
|
|
583
|
+
"type": "uint96"
|
|
451
584
|
}
|
|
452
585
|
],
|
|
453
586
|
"stateMutability": "view",
|
|
@@ -503,19 +636,6 @@
|
|
|
503
636
|
"stateMutability": "view",
|
|
504
637
|
"type": "function"
|
|
505
638
|
},
|
|
506
|
-
{
|
|
507
|
-
"inputs": [],
|
|
508
|
-
"name": "getInitialOwner",
|
|
509
|
-
"outputs": [
|
|
510
|
-
{
|
|
511
|
-
"internalType": "address",
|
|
512
|
-
"name": "",
|
|
513
|
-
"type": "address"
|
|
514
|
-
}
|
|
515
|
-
],
|
|
516
|
-
"stateMutability": "view",
|
|
517
|
-
"type": "function"
|
|
518
|
-
},
|
|
519
639
|
{
|
|
520
640
|
"inputs": [],
|
|
521
641
|
"name": "getInstance",
|
|
@@ -529,19 +649,6 @@
|
|
|
529
649
|
"stateMutability": "view",
|
|
530
650
|
"type": "function"
|
|
531
651
|
},
|
|
532
|
-
{
|
|
533
|
-
"inputs": [],
|
|
534
|
-
"name": "getInstanceService",
|
|
535
|
-
"outputs": [
|
|
536
|
-
{
|
|
537
|
-
"internalType": "contract IInstanceService",
|
|
538
|
-
"name": "",
|
|
539
|
-
"type": "address"
|
|
540
|
-
}
|
|
541
|
-
],
|
|
542
|
-
"stateMutability": "view",
|
|
543
|
-
"type": "function"
|
|
544
|
-
},
|
|
545
652
|
{
|
|
546
653
|
"inputs": [],
|
|
547
654
|
"name": "getName",
|
|
@@ -594,12 +701,31 @@
|
|
|
594
701
|
"stateMutability": "view",
|
|
595
702
|
"type": "function"
|
|
596
703
|
},
|
|
704
|
+
{
|
|
705
|
+
"inputs": [
|
|
706
|
+
{
|
|
707
|
+
"internalType": "string",
|
|
708
|
+
"name": "referralCode",
|
|
709
|
+
"type": "string"
|
|
710
|
+
}
|
|
711
|
+
],
|
|
712
|
+
"name": "getReferralId",
|
|
713
|
+
"outputs": [
|
|
714
|
+
{
|
|
715
|
+
"internalType": "ReferralId",
|
|
716
|
+
"name": "referralId",
|
|
717
|
+
"type": "bytes8"
|
|
718
|
+
}
|
|
719
|
+
],
|
|
720
|
+
"stateMutability": "view",
|
|
721
|
+
"type": "function"
|
|
722
|
+
},
|
|
597
723
|
{
|
|
598
724
|
"inputs": [],
|
|
599
|
-
"name": "
|
|
725
|
+
"name": "getRegistry",
|
|
600
726
|
"outputs": [
|
|
601
727
|
{
|
|
602
|
-
"internalType": "contract
|
|
728
|
+
"internalType": "contract IRegistry",
|
|
603
729
|
"name": "",
|
|
604
730
|
"type": "address"
|
|
605
731
|
}
|
|
@@ -609,10 +735,10 @@
|
|
|
609
735
|
},
|
|
610
736
|
{
|
|
611
737
|
"inputs": [],
|
|
612
|
-
"name": "
|
|
738
|
+
"name": "getRegistryAddress",
|
|
613
739
|
"outputs": [
|
|
614
740
|
{
|
|
615
|
-
"internalType": "
|
|
741
|
+
"internalType": "address",
|
|
616
742
|
"name": "",
|
|
617
743
|
"type": "address"
|
|
618
744
|
}
|
|
@@ -636,6 +762,23 @@
|
|
|
636
762
|
"name": "tokenHandler",
|
|
637
763
|
"type": "address"
|
|
638
764
|
},
|
|
765
|
+
{
|
|
766
|
+
"components": [
|
|
767
|
+
{
|
|
768
|
+
"internalType": "UFixed",
|
|
769
|
+
"name": "fractionalFee",
|
|
770
|
+
"type": "uint256"
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"internalType": "uint256",
|
|
774
|
+
"name": "fixedFee",
|
|
775
|
+
"type": "uint256"
|
|
776
|
+
}
|
|
777
|
+
],
|
|
778
|
+
"internalType": "struct Fee",
|
|
779
|
+
"name": "minDistributionOwnerFee",
|
|
780
|
+
"type": "tuple"
|
|
781
|
+
},
|
|
639
782
|
{
|
|
640
783
|
"components": [
|
|
641
784
|
{
|
|
@@ -657,6 +800,11 @@
|
|
|
657
800
|
"internalType": "address",
|
|
658
801
|
"name": "wallet",
|
|
659
802
|
"type": "address"
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
"internalType": "uint256",
|
|
806
|
+
"name": "sumDistributionOwnerFees",
|
|
807
|
+
"type": "uint256"
|
|
660
808
|
}
|
|
661
809
|
],
|
|
662
810
|
"internalType": "struct ISetup.DistributionSetupInfo",
|
|
@@ -732,7 +880,7 @@
|
|
|
732
880
|
},
|
|
733
881
|
{
|
|
734
882
|
"internalType": "bytes",
|
|
735
|
-
"name": "
|
|
883
|
+
"name": "registryData",
|
|
736
884
|
"type": "bytes"
|
|
737
885
|
}
|
|
738
886
|
],
|
|
@@ -763,6 +911,23 @@
|
|
|
763
911
|
"name": "token",
|
|
764
912
|
"type": "address"
|
|
765
913
|
},
|
|
914
|
+
{
|
|
915
|
+
"components": [
|
|
916
|
+
{
|
|
917
|
+
"internalType": "UFixed",
|
|
918
|
+
"name": "fractionalFee",
|
|
919
|
+
"type": "uint256"
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
"internalType": "uint256",
|
|
923
|
+
"name": "fixedFee",
|
|
924
|
+
"type": "uint256"
|
|
925
|
+
}
|
|
926
|
+
],
|
|
927
|
+
"internalType": "struct Fee",
|
|
928
|
+
"name": "minDistributionOwnerFee",
|
|
929
|
+
"type": "tuple"
|
|
930
|
+
},
|
|
766
931
|
{
|
|
767
932
|
"components": [
|
|
768
933
|
{
|
|
@@ -787,7 +952,7 @@
|
|
|
787
952
|
},
|
|
788
953
|
{
|
|
789
954
|
"internalType": "bytes",
|
|
790
|
-
"name": "
|
|
955
|
+
"name": "registryData",
|
|
791
956
|
"type": "bytes"
|
|
792
957
|
}
|
|
793
958
|
],
|
|
@@ -821,19 +986,6 @@
|
|
|
821
986
|
"stateMutability": "nonpayable",
|
|
822
987
|
"type": "function"
|
|
823
988
|
},
|
|
824
|
-
{
|
|
825
|
-
"inputs": [
|
|
826
|
-
{
|
|
827
|
-
"internalType": "address",
|
|
828
|
-
"name": "initialOwner",
|
|
829
|
-
"type": "address"
|
|
830
|
-
}
|
|
831
|
-
],
|
|
832
|
-
"name": "initializeOwner",
|
|
833
|
-
"outputs": [],
|
|
834
|
-
"stateMutability": "nonpayable",
|
|
835
|
-
"type": "function"
|
|
836
|
-
},
|
|
837
989
|
{
|
|
838
990
|
"inputs": [
|
|
839
991
|
{
|
|
@@ -863,7 +1015,7 @@
|
|
|
863
1015
|
},
|
|
864
1016
|
{
|
|
865
1017
|
"internalType": "bytes",
|
|
866
|
-
"name": "
|
|
1018
|
+
"name": "registryData",
|
|
867
1019
|
"type": "bytes"
|
|
868
1020
|
}
|
|
869
1021
|
],
|
|
@@ -872,6 +1024,19 @@
|
|
|
872
1024
|
"stateMutability": "nonpayable",
|
|
873
1025
|
"type": "function"
|
|
874
1026
|
},
|
|
1027
|
+
{
|
|
1028
|
+
"inputs": [
|
|
1029
|
+
{
|
|
1030
|
+
"internalType": "address",
|
|
1031
|
+
"name": "registryAddress",
|
|
1032
|
+
"type": "address"
|
|
1033
|
+
}
|
|
1034
|
+
],
|
|
1035
|
+
"name": "initializeRegistryLinked",
|
|
1036
|
+
"outputs": [],
|
|
1037
|
+
"stateMutability": "nonpayable",
|
|
1038
|
+
"type": "function"
|
|
1039
|
+
},
|
|
875
1040
|
{
|
|
876
1041
|
"inputs": [],
|
|
877
1042
|
"name": "isConsumingScheduledOp",
|
|
@@ -885,6 +1050,25 @@
|
|
|
885
1050
|
"stateMutability": "view",
|
|
886
1051
|
"type": "function"
|
|
887
1052
|
},
|
|
1053
|
+
{
|
|
1054
|
+
"inputs": [
|
|
1055
|
+
{
|
|
1056
|
+
"internalType": "address",
|
|
1057
|
+
"name": "candidate",
|
|
1058
|
+
"type": "address"
|
|
1059
|
+
}
|
|
1060
|
+
],
|
|
1061
|
+
"name": "isDistributor",
|
|
1062
|
+
"outputs": [
|
|
1063
|
+
{
|
|
1064
|
+
"internalType": "bool",
|
|
1065
|
+
"name": "",
|
|
1066
|
+
"type": "bool"
|
|
1067
|
+
}
|
|
1068
|
+
],
|
|
1069
|
+
"stateMutability": "view",
|
|
1070
|
+
"type": "function"
|
|
1071
|
+
},
|
|
888
1072
|
{
|
|
889
1073
|
"inputs": [],
|
|
890
1074
|
"name": "isNftInterceptor",
|
|
@@ -927,11 +1111,6 @@
|
|
|
927
1111
|
},
|
|
928
1112
|
{
|
|
929
1113
|
"inputs": [
|
|
930
|
-
{
|
|
931
|
-
"internalType": "address",
|
|
932
|
-
"name": "from",
|
|
933
|
-
"type": "address"
|
|
934
|
-
},
|
|
935
1114
|
{
|
|
936
1115
|
"internalType": "address",
|
|
937
1116
|
"name": "to",
|
|
@@ -943,7 +1122,7 @@
|
|
|
943
1122
|
"type": "uint256"
|
|
944
1123
|
}
|
|
945
1124
|
],
|
|
946
|
-
"name": "
|
|
1125
|
+
"name": "nftMint",
|
|
947
1126
|
"outputs": [],
|
|
948
1127
|
"stateMutability": "nonpayable",
|
|
949
1128
|
"type": "function"
|
|
@@ -951,17 +1130,22 @@
|
|
|
951
1130
|
{
|
|
952
1131
|
"inputs": [
|
|
953
1132
|
{
|
|
954
|
-
"internalType": "
|
|
955
|
-
"name": "
|
|
956
|
-
"type": "
|
|
1133
|
+
"internalType": "address",
|
|
1134
|
+
"name": "from",
|
|
1135
|
+
"type": "address"
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
"internalType": "address",
|
|
1139
|
+
"name": "to",
|
|
1140
|
+
"type": "address"
|
|
957
1141
|
},
|
|
958
1142
|
{
|
|
959
1143
|
"internalType": "uint256",
|
|
960
|
-
"name": "
|
|
1144
|
+
"name": "tokenId",
|
|
961
1145
|
"type": "uint256"
|
|
962
1146
|
}
|
|
963
1147
|
],
|
|
964
|
-
"name": "
|
|
1148
|
+
"name": "nftTransferFrom",
|
|
965
1149
|
"outputs": [],
|
|
966
1150
|
"stateMutability": "nonpayable",
|
|
967
1151
|
"type": "function"
|
|
@@ -979,30 +1163,11 @@
|
|
|
979
1163
|
"type": "uint256"
|
|
980
1164
|
}
|
|
981
1165
|
],
|
|
982
|
-
"name": "
|
|
1166
|
+
"name": "processRenewal",
|
|
983
1167
|
"outputs": [],
|
|
984
1168
|
"stateMutability": "nonpayable",
|
|
985
1169
|
"type": "function"
|
|
986
1170
|
},
|
|
987
|
-
{
|
|
988
|
-
"inputs": [
|
|
989
|
-
{
|
|
990
|
-
"internalType": "ReferralId",
|
|
991
|
-
"name": "referralId",
|
|
992
|
-
"type": "bytes8"
|
|
993
|
-
}
|
|
994
|
-
],
|
|
995
|
-
"name": "referralIsValid",
|
|
996
|
-
"outputs": [
|
|
997
|
-
{
|
|
998
|
-
"internalType": "bool",
|
|
999
|
-
"name": "isValid",
|
|
1000
|
-
"type": "bool"
|
|
1001
|
-
}
|
|
1002
|
-
],
|
|
1003
|
-
"stateMutability": "view",
|
|
1004
|
-
"type": "function"
|
|
1005
|
-
},
|
|
1006
1171
|
{
|
|
1007
1172
|
"inputs": [
|
|
1008
1173
|
{
|
|
@@ -1031,6 +1196,23 @@
|
|
|
1031
1196
|
},
|
|
1032
1197
|
{
|
|
1033
1198
|
"inputs": [
|
|
1199
|
+
{
|
|
1200
|
+
"components": [
|
|
1201
|
+
{
|
|
1202
|
+
"internalType": "UFixed",
|
|
1203
|
+
"name": "fractionalFee",
|
|
1204
|
+
"type": "uint256"
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
"internalType": "uint256",
|
|
1208
|
+
"name": "fixedFee",
|
|
1209
|
+
"type": "uint256"
|
|
1210
|
+
}
|
|
1211
|
+
],
|
|
1212
|
+
"internalType": "struct Fee",
|
|
1213
|
+
"name": "minDistributionOwnerFee",
|
|
1214
|
+
"type": "tuple"
|
|
1215
|
+
},
|
|
1034
1216
|
{
|
|
1035
1217
|
"components": [
|
|
1036
1218
|
{
|
|
@@ -1105,6 +1287,29 @@
|
|
|
1105
1287
|
"outputs": [],
|
|
1106
1288
|
"stateMutability": "nonpayable",
|
|
1107
1289
|
"type": "function"
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
"inputs": [
|
|
1293
|
+
{
|
|
1294
|
+
"internalType": "NftId",
|
|
1295
|
+
"name": "distributorNftId",
|
|
1296
|
+
"type": "uint96"
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
"internalType": "DistributorType",
|
|
1300
|
+
"name": "distributorType",
|
|
1301
|
+
"type": "bytes8"
|
|
1302
|
+
},
|
|
1303
|
+
{
|
|
1304
|
+
"internalType": "bytes",
|
|
1305
|
+
"name": "data",
|
|
1306
|
+
"type": "bytes"
|
|
1307
|
+
}
|
|
1308
|
+
],
|
|
1309
|
+
"name": "updateDistributorType",
|
|
1310
|
+
"outputs": [],
|
|
1311
|
+
"stateMutability": "nonpayable",
|
|
1312
|
+
"type": "function"
|
|
1108
1313
|
}
|
|
1109
1314
|
],
|
|
1110
1315
|
"bytecode": "0x",
|