@etherisc/gif-next 0.0.2-d10d6b3-916 → 0.0.2-d1f0662-893
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +28 -14
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +873 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +1020 -262
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +636 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +879 -31
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +879 -59
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +720 -16
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +849 -255
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +720 -251
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +69 -66
- 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 +299 -1344
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +314 -183
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +445 -3116
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +609 -178
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +414 -267
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +422 -413
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +280 -136
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2788 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +11 -27
- 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} +271 -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 +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 +71 -45
- 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 +4 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +918 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +648 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1288 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +696 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1376 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +748 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1055 -215
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +417 -81
- 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} +231 -204
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +735 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +743 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +540 -146
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +651 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +652 -303
- package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → instance/service/IPricingService.sol/IPricingService.json} +245 -177
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +76 -394
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1281 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +740 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +972 -399
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +336 -92
- package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +1004 -0
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +688 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +283 -566
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +278 -126
- 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 +244 -133
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +147 -236
- 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 +257 -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 +191 -334
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +285 -145
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +128 -53
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
- 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 +27 -29
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +84 -178
- 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 +107 -27
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -63
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +116 -51
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +185 -165
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
- 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/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 +116 -51
- 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 +204 -216
- 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 +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/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +281 -0
- 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 +179 -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 +74 -19
- 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 +209 -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 +38 -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 +272 -0
- package/contracts/components/Distribution.sol +205 -83
- package/contracts/components/IComponent.sol +90 -0
- package/contracts/components/IDistributionComponent.sol +44 -17
- package/contracts/components/IPoolComponent.sol +90 -42
- package/contracts/components/IProductComponent.sol +15 -9
- package/contracts/components/Pool.sol +218 -183
- package/contracts/components/Product.sol +250 -164
- package/contracts/instance/BundleManager.sol +17 -20
- package/contracts/instance/Cloneable.sol +7 -2
- package/contracts/instance/IInstance.sol +54 -33
- package/contracts/instance/IInstanceService.sol +52 -11
- package/contracts/instance/Instance.sol +144 -369
- package/contracts/instance/InstanceAccessManager.sol +430 -177
- package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
- package/contracts/instance/InstanceReader.sol +91 -38
- package/contracts/instance/InstanceService.sol +241 -165
- package/contracts/instance/InstanceServiceManager.sol +6 -9
- package/contracts/instance/InstanceStore.sol +212 -0
- package/contracts/instance/ObjectManager.sol +11 -24
- package/contracts/instance/base/ComponentService.sol +148 -0
- package/contracts/instance/base/KeyValueStore.sol +13 -36
- package/contracts/instance/base/Lifecycle.sol +26 -6
- package/contracts/instance/module/IAccess.sol +36 -20
- package/contracts/instance/module/IBundle.sol +8 -5
- package/contracts/instance/module/IComponents.sol +41 -0
- package/contracts/instance/module/IDistribution.sol +3 -0
- package/contracts/instance/module/IPolicy.sol +43 -11
- package/contracts/instance/module/ISetup.sol +7 -20
- package/contracts/instance/service/ApplicationService.sol +186 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +382 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/ClaimService.sol +437 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +293 -33
- package/contracts/instance/service/DistributionServiceManager.sol +7 -10
- package/contracts/instance/service/IApplicationService.sol +62 -0
- package/contracts/instance/service/IBundleService.sol +118 -0
- package/contracts/instance/service/IClaimService.sol +90 -0
- package/contracts/instance/service/IDistributionService.sol +76 -1
- package/contracts/instance/service/IPolicyService.sol +80 -0
- package/contracts/instance/service/IPoolService.sol +88 -25
- package/contracts/instance/service/IPricingService.sol +37 -0
- package/contracts/instance/service/IProductService.sol +2 -72
- package/contracts/instance/service/PolicyService.sol +376 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +286 -170
- package/contracts/instance/service/PoolServiceManager.sol +6 -9
- package/contracts/instance/service/PricingService.sol +275 -0
- package/contracts/instance/service/PricingServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +109 -469
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/ChainNft.sol +9 -1
- package/contracts/registry/IRegistry.sol +39 -19
- package/contracts/registry/IRegistryService.sol +29 -13
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +243 -224
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +101 -173
- package/contracts/registry/RegistryServiceManager.sol +21 -39
- package/contracts/registry/ReleaseManager.sol +324 -0
- package/contracts/registry/TokenRegistry.sol +22 -17
- package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/shared/ERC165.sol +14 -12
- package/contracts/shared/INftOwnable.sol +11 -10
- package/contracts/shared/IPolicyHolder.sol +40 -0
- package/contracts/shared/IRegisterable.sol +4 -6
- package/contracts/shared/IRegistryLinked.sol +11 -0
- package/contracts/shared/IService.sol +7 -4
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +64 -80
- package/contracts/shared/PolicyHolder.sol +94 -0
- package/contracts/shared/ProxyManager.sol +100 -25
- package/contracts/shared/Registerable.sol +24 -39
- package/contracts/shared/RegistryLinked.sol +43 -0
- package/contracts/shared/Service.sol +41 -24
- package/contracts/shared/TokenHandler.sol +14 -6
- package/contracts/shared/Versionable.sol +4 -92
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestService.sol +4 -3
- package/contracts/types/Amount.sol +109 -0
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +75 -0
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/Fee.sol +17 -8
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/ObjectType.sol +16 -7
- package/contracts/types/PayoutId.sol +82 -0
- package/contracts/types/Referral.sol +4 -0
- package/contracts/types/RoleId.sol +26 -19
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +7 -2
- package/contracts/types/Timestamp.sol +18 -13
- package/contracts/types/UFixed.sol +1 -0
- package/contracts/types/Version.sol +1 -0
- package/package.json +3 -3
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
- 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/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
- 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/contracts/components/BaseComponent.sol +0 -91
- package/contracts/components/IBaseComponent.sol +0 -25
- 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
@@ -7,129 +7,209 @@
|
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "address",
|
10
|
-
"name": "
|
10
|
+
"name": "authority",
|
11
11
|
"type": "address"
|
12
|
-
}
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
18
19
|
{
|
19
20
|
"internalType": "address",
|
20
|
-
"name": "
|
21
|
+
"name": "caller",
|
21
22
|
"type": "address"
|
22
23
|
},
|
23
24
|
{
|
24
|
-
"internalType": "
|
25
|
-
"name": "
|
26
|
-
"type": "
|
27
|
-
}
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
28
35
|
{
|
29
|
-
"
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
}
|
40
|
-
],
|
41
|
-
"internalType": "struct Fee",
|
42
|
-
"name": "distributionFee",
|
43
|
-
"type": "tuple"
|
44
|
-
},
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "caller",
|
38
|
+
"type": "address"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
45
46
|
{
|
46
47
|
"internalType": "address",
|
47
|
-
"name": "
|
48
|
+
"name": "target",
|
48
49
|
"type": "address"
|
49
50
|
}
|
50
51
|
],
|
51
|
-
"
|
52
|
-
"type": "
|
52
|
+
"name": "AddressEmptyCode",
|
53
|
+
"type": "error"
|
53
54
|
},
|
54
55
|
{
|
55
56
|
"inputs": [
|
56
57
|
{
|
57
58
|
"internalType": "address",
|
58
|
-
"name": "
|
59
|
+
"name": "account",
|
59
60
|
"type": "address"
|
60
|
-
}
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"name": "AddressInsufficientBalance",
|
64
|
+
"type": "error"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"inputs": [
|
68
|
+
{
|
69
|
+
"internalType": "address",
|
70
|
+
"name": "caller",
|
71
|
+
"type": "address"
|
72
|
+
}
|
73
|
+
],
|
74
|
+
"name": "ErrorComponentNotChainNft",
|
75
|
+
"type": "error"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"inputs": [
|
61
79
|
{
|
62
80
|
"internalType": "NftId",
|
63
|
-
"name": "
|
81
|
+
"name": "instanceNftId",
|
64
82
|
"type": "uint96"
|
65
83
|
}
|
66
84
|
],
|
67
|
-
"name": "
|
85
|
+
"name": "ErrorComponentNotInstance",
|
68
86
|
"type": "error"
|
69
87
|
},
|
70
88
|
{
|
71
89
|
"inputs": [
|
72
90
|
{
|
73
91
|
"internalType": "address",
|
74
|
-
"name": "
|
92
|
+
"name": "caller",
|
75
93
|
"type": "address"
|
76
94
|
}
|
77
95
|
],
|
78
|
-
"name": "
|
96
|
+
"name": "ErrorComponentNotProductService",
|
97
|
+
"type": "error"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"inputs": [],
|
101
|
+
"name": "ErrorComponentProductNftAlreadySet",
|
102
|
+
"type": "error"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"inputs": [],
|
106
|
+
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
107
|
+
"type": "error"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"inputs": [],
|
111
|
+
"name": "ErrorComponentWalletAddressZero",
|
79
112
|
"type": "error"
|
80
113
|
},
|
81
114
|
{
|
82
115
|
"inputs": [
|
83
116
|
{
|
84
117
|
"internalType": "address",
|
85
|
-
"name": "
|
118
|
+
"name": "oldWallet",
|
119
|
+
"type": "address"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"internalType": "address",
|
123
|
+
"name": "newWallet",
|
86
124
|
"type": "address"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"internalType": "uint256",
|
128
|
+
"name": "allowance",
|
129
|
+
"type": "uint256"
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"internalType": "uint256",
|
133
|
+
"name": "balance",
|
134
|
+
"type": "uint256"
|
87
135
|
}
|
88
136
|
],
|
89
|
-
"name": "
|
137
|
+
"name": "ErrorComponentWalletAllowanceTooSmall",
|
138
|
+
"type": "error"
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"inputs": [],
|
142
|
+
"name": "ErrorComponentWalletNotComponent",
|
90
143
|
"type": "error"
|
91
144
|
},
|
92
145
|
{
|
93
146
|
"inputs": [
|
94
147
|
{
|
95
148
|
"internalType": "address",
|
96
|
-
"name": "
|
149
|
+
"name": "distributor",
|
97
150
|
"type": "address"
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"internalType": "NftId",
|
154
|
+
"name": "distributorNftId",
|
155
|
+
"type": "uint96"
|
98
156
|
}
|
99
157
|
],
|
100
|
-
"name": "
|
158
|
+
"name": "ErrorDistributionAlreadyDistributor",
|
159
|
+
"type": "error"
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"inputs": [
|
163
|
+
{
|
164
|
+
"internalType": "NftId",
|
165
|
+
"name": "nftId",
|
166
|
+
"type": "uint96"
|
167
|
+
}
|
168
|
+
],
|
169
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
101
170
|
"type": "error"
|
102
171
|
},
|
103
172
|
{
|
104
173
|
"inputs": [
|
105
174
|
{
|
106
175
|
"internalType": "address",
|
107
|
-
"name": "
|
176
|
+
"name": "contractAddress",
|
108
177
|
"type": "address"
|
109
178
|
}
|
110
179
|
],
|
111
|
-
"name": "
|
180
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
112
181
|
"type": "error"
|
113
182
|
},
|
114
183
|
{
|
115
184
|
"inputs": [],
|
116
|
-
"name": "
|
185
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
117
186
|
"type": "error"
|
118
187
|
},
|
119
188
|
{
|
120
189
|
"inputs": [
|
121
190
|
{
|
122
191
|
"internalType": "address",
|
123
|
-
"name": "
|
192
|
+
"name": "account",
|
193
|
+
"type": "address"
|
194
|
+
}
|
195
|
+
],
|
196
|
+
"name": "ErrorNftOwnableNotOwner",
|
197
|
+
"type": "error"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"inputs": [
|
201
|
+
{
|
202
|
+
"internalType": "address",
|
203
|
+
"name": "registryAddress",
|
124
204
|
"type": "address"
|
125
205
|
}
|
126
206
|
],
|
127
|
-
"name": "
|
207
|
+
"name": "ErrorNotRegistry",
|
128
208
|
"type": "error"
|
129
209
|
},
|
130
210
|
{
|
131
211
|
"inputs": [],
|
132
|
-
"name": "
|
212
|
+
"name": "FailedInnerCall",
|
133
213
|
"type": "error"
|
134
214
|
},
|
135
215
|
{
|
@@ -142,6 +222,30 @@
|
|
142
222
|
"name": "NotInitializing",
|
143
223
|
"type": "error"
|
144
224
|
},
|
225
|
+
{
|
226
|
+
"inputs": [
|
227
|
+
{
|
228
|
+
"internalType": "address",
|
229
|
+
"name": "token",
|
230
|
+
"type": "address"
|
231
|
+
}
|
232
|
+
],
|
233
|
+
"name": "SafeERC20FailedOperation",
|
234
|
+
"type": "error"
|
235
|
+
},
|
236
|
+
{
|
237
|
+
"anonymous": false,
|
238
|
+
"inputs": [
|
239
|
+
{
|
240
|
+
"indexed": false,
|
241
|
+
"internalType": "address",
|
242
|
+
"name": "authority",
|
243
|
+
"type": "address"
|
244
|
+
}
|
245
|
+
],
|
246
|
+
"name": "AuthorityUpdated",
|
247
|
+
"type": "event"
|
248
|
+
},
|
145
249
|
{
|
146
250
|
"anonymous": false,
|
147
251
|
"inputs": [
|
@@ -156,61 +260,89 @@
|
|
156
260
|
"type": "event"
|
157
261
|
},
|
158
262
|
{
|
159
|
-
"
|
160
|
-
"
|
161
|
-
"outputs": [
|
263
|
+
"anonymous": false,
|
264
|
+
"inputs": [
|
162
265
|
{
|
163
|
-
"
|
164
|
-
"
|
165
|
-
"
|
266
|
+
"indexed": false,
|
267
|
+
"internalType": "uint256",
|
268
|
+
"name": "limit",
|
269
|
+
"type": "uint256"
|
166
270
|
}
|
167
271
|
],
|
168
|
-
"
|
169
|
-
"type": "
|
272
|
+
"name": "LogComponentTokenHandlerApproved",
|
273
|
+
"type": "event"
|
170
274
|
},
|
171
275
|
{
|
276
|
+
"anonymous": false,
|
172
277
|
"inputs": [
|
173
278
|
{
|
174
|
-
"
|
175
|
-
"
|
176
|
-
"
|
279
|
+
"indexed": false,
|
280
|
+
"internalType": "address",
|
281
|
+
"name": "oldWallet",
|
282
|
+
"type": "address"
|
177
283
|
},
|
178
284
|
{
|
179
|
-
"
|
180
|
-
"
|
181
|
-
"
|
285
|
+
"indexed": false,
|
286
|
+
"internalType": "address",
|
287
|
+
"name": "newWallet",
|
288
|
+
"type": "address"
|
182
289
|
}
|
183
290
|
],
|
184
|
-
"name": "
|
185
|
-
"
|
291
|
+
"name": "LogComponentWalletAddressChanged",
|
292
|
+
"type": "event"
|
293
|
+
},
|
294
|
+
{
|
295
|
+
"anonymous": false,
|
296
|
+
"inputs": [
|
297
|
+
{
|
298
|
+
"indexed": false,
|
299
|
+
"internalType": "address",
|
300
|
+
"name": "from",
|
301
|
+
"type": "address"
|
302
|
+
},
|
303
|
+
{
|
304
|
+
"indexed": false,
|
305
|
+
"internalType": "address",
|
306
|
+
"name": "to",
|
307
|
+
"type": "address"
|
308
|
+
},
|
186
309
|
{
|
310
|
+
"indexed": false,
|
187
311
|
"internalType": "uint256",
|
188
|
-
"name": "
|
312
|
+
"name": "amount",
|
189
313
|
"type": "uint256"
|
190
314
|
}
|
191
315
|
],
|
192
|
-
"
|
193
|
-
"type": "
|
316
|
+
"name": "LogComponentWalletTokensTransferred",
|
317
|
+
"type": "event"
|
194
318
|
},
|
195
319
|
{
|
320
|
+
"anonymous": false,
|
196
321
|
"inputs": [
|
197
322
|
{
|
198
|
-
"
|
199
|
-
"
|
200
|
-
"
|
323
|
+
"indexed": false,
|
324
|
+
"internalType": "address",
|
325
|
+
"name": "to",
|
326
|
+
"type": "address"
|
201
327
|
},
|
202
328
|
{
|
203
|
-
"
|
204
|
-
"
|
205
|
-
"
|
329
|
+
"indexed": false,
|
330
|
+
"internalType": "address",
|
331
|
+
"name": "caller",
|
332
|
+
"type": "address"
|
206
333
|
}
|
207
334
|
],
|
208
|
-
"name": "
|
335
|
+
"name": "LogDistributorUpdated",
|
336
|
+
"type": "event"
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"inputs": [],
|
340
|
+
"name": "COMPONENT_LOCATION_V1",
|
209
341
|
"outputs": [
|
210
342
|
{
|
211
|
-
"internalType": "
|
212
|
-
"name": "
|
213
|
-
"type": "
|
343
|
+
"internalType": "bytes32",
|
344
|
+
"name": "",
|
345
|
+
"type": "bytes32"
|
214
346
|
}
|
215
347
|
],
|
216
348
|
"stateMutability": "view",
|
@@ -218,39 +350,216 @@
|
|
218
350
|
},
|
219
351
|
{
|
220
352
|
"inputs": [],
|
221
|
-
"name": "
|
353
|
+
"name": "DISTRIBUTION_STORAGE_LOCATION_V1",
|
222
354
|
"outputs": [
|
223
355
|
{
|
224
|
-
"
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
356
|
+
"internalType": "bytes32",
|
357
|
+
"name": "",
|
358
|
+
"type": "bytes32"
|
359
|
+
}
|
360
|
+
],
|
361
|
+
"stateMutability": "view",
|
362
|
+
"type": "function"
|
363
|
+
},
|
364
|
+
{
|
365
|
+
"inputs": [],
|
366
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
367
|
+
"outputs": [
|
368
|
+
{
|
369
|
+
"internalType": "bytes32",
|
370
|
+
"name": "",
|
371
|
+
"type": "bytes32"
|
372
|
+
}
|
373
|
+
],
|
374
|
+
"stateMutability": "view",
|
375
|
+
"type": "function"
|
376
|
+
},
|
377
|
+
{
|
378
|
+
"inputs": [],
|
379
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
380
|
+
"outputs": [
|
381
|
+
{
|
382
|
+
"internalType": "bytes32",
|
383
|
+
"name": "",
|
384
|
+
"type": "bytes32"
|
385
|
+
}
|
386
|
+
],
|
387
|
+
"stateMutability": "view",
|
388
|
+
"type": "function"
|
389
|
+
},
|
390
|
+
{
|
391
|
+
"inputs": [
|
392
|
+
{
|
393
|
+
"internalType": "uint256",
|
394
|
+
"name": "spendingLimitAmount",
|
395
|
+
"type": "uint256"
|
396
|
+
}
|
397
|
+
],
|
398
|
+
"name": "approveTokenHandler",
|
399
|
+
"outputs": [],
|
400
|
+
"stateMutability": "nonpayable",
|
401
|
+
"type": "function"
|
402
|
+
},
|
403
|
+
{
|
404
|
+
"inputs": [],
|
405
|
+
"name": "authority",
|
406
|
+
"outputs": [
|
407
|
+
{
|
408
|
+
"internalType": "address",
|
409
|
+
"name": "",
|
410
|
+
"type": "address"
|
411
|
+
}
|
412
|
+
],
|
413
|
+
"stateMutability": "view",
|
414
|
+
"type": "function"
|
415
|
+
},
|
416
|
+
{
|
417
|
+
"inputs": [
|
418
|
+
{
|
419
|
+
"internalType": "ReferralId",
|
420
|
+
"name": "referralId",
|
421
|
+
"type": "bytes8"
|
422
|
+
},
|
423
|
+
{
|
424
|
+
"internalType": "uint256",
|
425
|
+
"name": "netPremiumAmount",
|
426
|
+
"type": "uint256"
|
427
|
+
}
|
428
|
+
],
|
429
|
+
"name": "calculateRenewalFeeAmount",
|
430
|
+
"outputs": [
|
431
|
+
{
|
432
|
+
"internalType": "uint256",
|
433
|
+
"name": "feeAmount",
|
434
|
+
"type": "uint256"
|
435
|
+
}
|
436
|
+
],
|
437
|
+
"stateMutability": "view",
|
438
|
+
"type": "function"
|
439
|
+
},
|
440
|
+
{
|
441
|
+
"inputs": [
|
442
|
+
{
|
443
|
+
"internalType": "address",
|
444
|
+
"name": "distributor",
|
445
|
+
"type": "address"
|
446
|
+
},
|
447
|
+
{
|
448
|
+
"internalType": "DistributorType",
|
449
|
+
"name": "distributorType",
|
450
|
+
"type": "bytes8"
|
451
|
+
},
|
452
|
+
{
|
453
|
+
"internalType": "bytes",
|
454
|
+
"name": "data",
|
455
|
+
"type": "bytes"
|
456
|
+
}
|
457
|
+
],
|
458
|
+
"name": "createDistributor",
|
459
|
+
"outputs": [
|
460
|
+
{
|
461
|
+
"internalType": "NftId",
|
462
|
+
"name": "distributorNftId",
|
463
|
+
"type": "uint96"
|
464
|
+
}
|
465
|
+
],
|
466
|
+
"stateMutability": "nonpayable",
|
467
|
+
"type": "function"
|
468
|
+
},
|
469
|
+
{
|
470
|
+
"inputs": [
|
471
|
+
{
|
472
|
+
"internalType": "string",
|
473
|
+
"name": "name",
|
474
|
+
"type": "string"
|
475
|
+
},
|
476
|
+
{
|
477
|
+
"internalType": "UFixed",
|
478
|
+
"name": "minDiscountPercentage",
|
479
|
+
"type": "uint256"
|
480
|
+
},
|
481
|
+
{
|
482
|
+
"internalType": "UFixed",
|
483
|
+
"name": "maxDiscountPercentage",
|
484
|
+
"type": "uint256"
|
485
|
+
},
|
486
|
+
{
|
487
|
+
"internalType": "UFixed",
|
488
|
+
"name": "commissionPercentage",
|
489
|
+
"type": "uint256"
|
490
|
+
},
|
491
|
+
{
|
492
|
+
"internalType": "uint32",
|
493
|
+
"name": "maxReferralCount",
|
494
|
+
"type": "uint32"
|
495
|
+
},
|
496
|
+
{
|
497
|
+
"internalType": "uint32",
|
498
|
+
"name": "maxReferralLifetime",
|
499
|
+
"type": "uint32"
|
500
|
+
},
|
501
|
+
{
|
502
|
+
"internalType": "bool",
|
503
|
+
"name": "allowSelfReferrals",
|
504
|
+
"type": "bool"
|
505
|
+
},
|
506
|
+
{
|
507
|
+
"internalType": "bool",
|
508
|
+
"name": "allowRenewals",
|
509
|
+
"type": "bool"
|
510
|
+
},
|
511
|
+
{
|
512
|
+
"internalType": "bytes",
|
513
|
+
"name": "data",
|
514
|
+
"type": "bytes"
|
515
|
+
}
|
516
|
+
],
|
517
|
+
"name": "createDistributorType",
|
518
|
+
"outputs": [
|
519
|
+
{
|
520
|
+
"internalType": "DistributorType",
|
521
|
+
"name": "distributorType",
|
522
|
+
"type": "bytes8"
|
523
|
+
}
|
524
|
+
],
|
525
|
+
"stateMutability": "nonpayable",
|
526
|
+
"type": "function"
|
527
|
+
},
|
528
|
+
{
|
529
|
+
"inputs": [],
|
530
|
+
"name": "getComponentInfo",
|
531
|
+
"outputs": [
|
532
|
+
{
|
533
|
+
"components": [
|
534
|
+
{
|
535
|
+
"internalType": "string",
|
536
|
+
"name": "name",
|
537
|
+
"type": "string"
|
538
|
+
},
|
539
|
+
{
|
540
|
+
"internalType": "contract IERC20Metadata",
|
541
|
+
"name": "token",
|
542
|
+
"type": "address"
|
543
|
+
},
|
544
|
+
{
|
545
|
+
"internalType": "contract TokenHandler",
|
546
|
+
"name": "tokenHandler",
|
547
|
+
"type": "address"
|
548
|
+
},
|
549
|
+
{
|
550
|
+
"internalType": "address",
|
551
|
+
"name": "wallet",
|
552
|
+
"type": "address"
|
553
|
+
},
|
554
|
+
{
|
555
|
+
"internalType": "Amount",
|
556
|
+
"name": "balanceAmount",
|
557
|
+
"type": "uint96"
|
558
|
+
},
|
559
|
+
{
|
560
|
+
"internalType": "Amount",
|
561
|
+
"name": "feeAmount",
|
562
|
+
"type": "uint96"
|
254
563
|
},
|
255
564
|
{
|
256
565
|
"internalType": "bytes",
|
@@ -258,144 +567,560 @@
|
|
258
567
|
"type": "bytes"
|
259
568
|
}
|
260
569
|
],
|
261
|
-
"internalType": "struct
|
262
|
-
"name": "",
|
570
|
+
"internalType": "struct IComponents.ComponentInfo",
|
571
|
+
"name": "info",
|
572
|
+
"type": "tuple"
|
573
|
+
}
|
574
|
+
],
|
575
|
+
"stateMutability": "view",
|
576
|
+
"type": "function"
|
577
|
+
},
|
578
|
+
{
|
579
|
+
"inputs": [
|
580
|
+
{
|
581
|
+
"internalType": "string",
|
582
|
+
"name": "referralCode",
|
583
|
+
"type": "string"
|
584
|
+
}
|
585
|
+
],
|
586
|
+
"name": "getDiscountPercentage",
|
587
|
+
"outputs": [
|
588
|
+
{
|
589
|
+
"internalType": "UFixed",
|
590
|
+
"name": "discountPercentage",
|
591
|
+
"type": "uint256"
|
592
|
+
},
|
593
|
+
{
|
594
|
+
"internalType": "ReferralStatus",
|
595
|
+
"name": "status",
|
596
|
+
"type": "uint8"
|
597
|
+
}
|
598
|
+
],
|
599
|
+
"stateMutability": "view",
|
600
|
+
"type": "function"
|
601
|
+
},
|
602
|
+
{
|
603
|
+
"inputs": [],
|
604
|
+
"name": "getDistributionFee",
|
605
|
+
"outputs": [
|
606
|
+
{
|
607
|
+
"components": [
|
608
|
+
{
|
609
|
+
"internalType": "UFixed",
|
610
|
+
"name": "fractionalFee",
|
611
|
+
"type": "uint256"
|
612
|
+
},
|
613
|
+
{
|
614
|
+
"internalType": "uint256",
|
615
|
+
"name": "fixedFee",
|
616
|
+
"type": "uint256"
|
617
|
+
}
|
618
|
+
],
|
619
|
+
"internalType": "struct Fee",
|
620
|
+
"name": "distributionFee",
|
621
|
+
"type": "tuple"
|
622
|
+
}
|
623
|
+
],
|
624
|
+
"stateMutability": "view",
|
625
|
+
"type": "function"
|
626
|
+
},
|
627
|
+
{
|
628
|
+
"inputs": [
|
629
|
+
{
|
630
|
+
"internalType": "address",
|
631
|
+
"name": "distributor",
|
632
|
+
"type": "address"
|
633
|
+
}
|
634
|
+
],
|
635
|
+
"name": "getDistributorNftId",
|
636
|
+
"outputs": [
|
637
|
+
{
|
638
|
+
"internalType": "NftId",
|
639
|
+
"name": "distributorNftId",
|
640
|
+
"type": "uint96"
|
641
|
+
}
|
642
|
+
],
|
643
|
+
"stateMutability": "view",
|
644
|
+
"type": "function"
|
645
|
+
},
|
646
|
+
{
|
647
|
+
"inputs": [],
|
648
|
+
"name": "getInitialInfo",
|
649
|
+
"outputs": [
|
650
|
+
{
|
651
|
+
"components": [
|
652
|
+
{
|
653
|
+
"internalType": "NftId",
|
654
|
+
"name": "nftId",
|
655
|
+
"type": "uint96"
|
656
|
+
},
|
657
|
+
{
|
658
|
+
"internalType": "NftId",
|
659
|
+
"name": "parentNftId",
|
660
|
+
"type": "uint96"
|
661
|
+
},
|
662
|
+
{
|
663
|
+
"internalType": "ObjectType",
|
664
|
+
"name": "objectType",
|
665
|
+
"type": "uint8"
|
666
|
+
},
|
667
|
+
{
|
668
|
+
"internalType": "bool",
|
669
|
+
"name": "isInterceptor",
|
670
|
+
"type": "bool"
|
671
|
+
},
|
672
|
+
{
|
673
|
+
"internalType": "address",
|
674
|
+
"name": "objectAddress",
|
675
|
+
"type": "address"
|
676
|
+
},
|
677
|
+
{
|
678
|
+
"internalType": "address",
|
679
|
+
"name": "initialOwner",
|
680
|
+
"type": "address"
|
681
|
+
},
|
682
|
+
{
|
683
|
+
"internalType": "bytes",
|
684
|
+
"name": "data",
|
685
|
+
"type": "bytes"
|
686
|
+
}
|
687
|
+
],
|
688
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
689
|
+
"name": "info",
|
690
|
+
"type": "tuple"
|
691
|
+
}
|
692
|
+
],
|
693
|
+
"stateMutability": "view",
|
694
|
+
"type": "function"
|
695
|
+
},
|
696
|
+
{
|
697
|
+
"inputs": [],
|
698
|
+
"name": "getInstance",
|
699
|
+
"outputs": [
|
700
|
+
{
|
701
|
+
"internalType": "contract IInstance",
|
702
|
+
"name": "instance",
|
703
|
+
"type": "address"
|
704
|
+
}
|
705
|
+
],
|
706
|
+
"stateMutability": "view",
|
707
|
+
"type": "function"
|
708
|
+
},
|
709
|
+
{
|
710
|
+
"inputs": [],
|
711
|
+
"name": "getName",
|
712
|
+
"outputs": [
|
713
|
+
{
|
714
|
+
"internalType": "string",
|
715
|
+
"name": "name",
|
716
|
+
"type": "string"
|
717
|
+
}
|
718
|
+
],
|
719
|
+
"stateMutability": "view",
|
720
|
+
"type": "function"
|
721
|
+
},
|
722
|
+
{
|
723
|
+
"inputs": [],
|
724
|
+
"name": "getNftId",
|
725
|
+
"outputs": [
|
726
|
+
{
|
727
|
+
"internalType": "NftId",
|
728
|
+
"name": "",
|
729
|
+
"type": "uint96"
|
730
|
+
}
|
731
|
+
],
|
732
|
+
"stateMutability": "view",
|
733
|
+
"type": "function"
|
734
|
+
},
|
735
|
+
{
|
736
|
+
"inputs": [],
|
737
|
+
"name": "getOwner",
|
738
|
+
"outputs": [
|
739
|
+
{
|
740
|
+
"internalType": "address",
|
741
|
+
"name": "",
|
742
|
+
"type": "address"
|
743
|
+
}
|
744
|
+
],
|
745
|
+
"stateMutability": "view",
|
746
|
+
"type": "function"
|
747
|
+
},
|
748
|
+
{
|
749
|
+
"inputs": [],
|
750
|
+
"name": "getProductNftId",
|
751
|
+
"outputs": [
|
752
|
+
{
|
753
|
+
"internalType": "NftId",
|
754
|
+
"name": "productNftId",
|
755
|
+
"type": "uint96"
|
756
|
+
}
|
757
|
+
],
|
758
|
+
"stateMutability": "view",
|
759
|
+
"type": "function"
|
760
|
+
},
|
761
|
+
{
|
762
|
+
"inputs": [
|
763
|
+
{
|
764
|
+
"internalType": "string",
|
765
|
+
"name": "referralCode",
|
766
|
+
"type": "string"
|
767
|
+
}
|
768
|
+
],
|
769
|
+
"name": "getReferralId",
|
770
|
+
"outputs": [
|
771
|
+
{
|
772
|
+
"internalType": "ReferralId",
|
773
|
+
"name": "referralId",
|
774
|
+
"type": "bytes8"
|
775
|
+
}
|
776
|
+
],
|
777
|
+
"stateMutability": "view",
|
778
|
+
"type": "function"
|
779
|
+
},
|
780
|
+
{
|
781
|
+
"inputs": [],
|
782
|
+
"name": "getRegistry",
|
783
|
+
"outputs": [
|
784
|
+
{
|
785
|
+
"internalType": "contract IRegistry",
|
786
|
+
"name": "",
|
787
|
+
"type": "address"
|
788
|
+
}
|
789
|
+
],
|
790
|
+
"stateMutability": "view",
|
791
|
+
"type": "function"
|
792
|
+
},
|
793
|
+
{
|
794
|
+
"inputs": [],
|
795
|
+
"name": "getSetupInfo",
|
796
|
+
"outputs": [
|
797
|
+
{
|
798
|
+
"components": [
|
799
|
+
{
|
800
|
+
"internalType": "NftId",
|
801
|
+
"name": "productNftId",
|
802
|
+
"type": "uint96"
|
803
|
+
},
|
804
|
+
{
|
805
|
+
"internalType": "contract TokenHandler",
|
806
|
+
"name": "tokenHandler",
|
807
|
+
"type": "address"
|
808
|
+
},
|
809
|
+
{
|
810
|
+
"components": [
|
811
|
+
{
|
812
|
+
"internalType": "UFixed",
|
813
|
+
"name": "fractionalFee",
|
814
|
+
"type": "uint256"
|
815
|
+
},
|
816
|
+
{
|
817
|
+
"internalType": "uint256",
|
818
|
+
"name": "fixedFee",
|
819
|
+
"type": "uint256"
|
820
|
+
}
|
821
|
+
],
|
822
|
+
"internalType": "struct Fee",
|
823
|
+
"name": "minDistributionOwnerFee",
|
824
|
+
"type": "tuple"
|
825
|
+
},
|
826
|
+
{
|
827
|
+
"components": [
|
828
|
+
{
|
829
|
+
"internalType": "UFixed",
|
830
|
+
"name": "fractionalFee",
|
831
|
+
"type": "uint256"
|
832
|
+
},
|
833
|
+
{
|
834
|
+
"internalType": "uint256",
|
835
|
+
"name": "fixedFee",
|
836
|
+
"type": "uint256"
|
837
|
+
}
|
838
|
+
],
|
839
|
+
"internalType": "struct Fee",
|
840
|
+
"name": "distributionFee",
|
841
|
+
"type": "tuple"
|
842
|
+
},
|
843
|
+
{
|
844
|
+
"internalType": "address",
|
845
|
+
"name": "wallet",
|
846
|
+
"type": "address"
|
847
|
+
},
|
848
|
+
{
|
849
|
+
"internalType": "uint256",
|
850
|
+
"name": "sumDistributionOwnerFees",
|
851
|
+
"type": "uint256"
|
852
|
+
}
|
853
|
+
],
|
854
|
+
"internalType": "struct ISetup.DistributionSetupInfo",
|
855
|
+
"name": "setupInfo",
|
856
|
+
"type": "tuple"
|
857
|
+
}
|
858
|
+
],
|
859
|
+
"stateMutability": "view",
|
860
|
+
"type": "function"
|
861
|
+
},
|
862
|
+
{
|
863
|
+
"inputs": [],
|
864
|
+
"name": "getToken",
|
865
|
+
"outputs": [
|
866
|
+
{
|
867
|
+
"internalType": "contract IERC20Metadata",
|
868
|
+
"name": "token",
|
869
|
+
"type": "address"
|
870
|
+
}
|
871
|
+
],
|
872
|
+
"stateMutability": "view",
|
873
|
+
"type": "function"
|
874
|
+
},
|
875
|
+
{
|
876
|
+
"inputs": [],
|
877
|
+
"name": "getTokenHandler",
|
878
|
+
"outputs": [
|
879
|
+
{
|
880
|
+
"internalType": "contract TokenHandler",
|
881
|
+
"name": "tokenHandler",
|
882
|
+
"type": "address"
|
883
|
+
}
|
884
|
+
],
|
885
|
+
"stateMutability": "view",
|
886
|
+
"type": "function"
|
887
|
+
},
|
888
|
+
{
|
889
|
+
"inputs": [],
|
890
|
+
"name": "getWallet",
|
891
|
+
"outputs": [
|
892
|
+
{
|
893
|
+
"internalType": "address",
|
894
|
+
"name": "walletAddress",
|
895
|
+
"type": "address"
|
896
|
+
}
|
897
|
+
],
|
898
|
+
"stateMutability": "view",
|
899
|
+
"type": "function"
|
900
|
+
},
|
901
|
+
{
|
902
|
+
"inputs": [
|
903
|
+
{
|
904
|
+
"internalType": "address",
|
905
|
+
"name": "registry",
|
906
|
+
"type": "address"
|
907
|
+
},
|
908
|
+
{
|
909
|
+
"internalType": "NftId",
|
910
|
+
"name": "instanceNftId",
|
911
|
+
"type": "uint96"
|
912
|
+
},
|
913
|
+
{
|
914
|
+
"internalType": "string",
|
915
|
+
"name": "name",
|
916
|
+
"type": "string"
|
917
|
+
},
|
918
|
+
{
|
919
|
+
"internalType": "address",
|
920
|
+
"name": "token",
|
921
|
+
"type": "address"
|
922
|
+
},
|
923
|
+
{
|
924
|
+
"internalType": "ObjectType",
|
925
|
+
"name": "componentType",
|
926
|
+
"type": "uint8"
|
927
|
+
},
|
928
|
+
{
|
929
|
+
"internalType": "bool",
|
930
|
+
"name": "isInterceptor",
|
931
|
+
"type": "bool"
|
932
|
+
},
|
933
|
+
{
|
934
|
+
"internalType": "address",
|
935
|
+
"name": "initialOwner",
|
936
|
+
"type": "address"
|
937
|
+
},
|
938
|
+
{
|
939
|
+
"internalType": "bytes",
|
940
|
+
"name": "registryData",
|
941
|
+
"type": "bytes"
|
942
|
+
}
|
943
|
+
],
|
944
|
+
"name": "initializeComponent",
|
945
|
+
"outputs": [],
|
946
|
+
"stateMutability": "nonpayable",
|
947
|
+
"type": "function"
|
948
|
+
},
|
949
|
+
{
|
950
|
+
"inputs": [
|
951
|
+
{
|
952
|
+
"internalType": "address",
|
953
|
+
"name": "registry",
|
954
|
+
"type": "address"
|
955
|
+
},
|
956
|
+
{
|
957
|
+
"internalType": "NftId",
|
958
|
+
"name": "instanceNftId",
|
959
|
+
"type": "uint96"
|
960
|
+
},
|
961
|
+
{
|
962
|
+
"internalType": "string",
|
963
|
+
"name": "name",
|
964
|
+
"type": "string"
|
965
|
+
},
|
966
|
+
{
|
967
|
+
"internalType": "address",
|
968
|
+
"name": "token",
|
969
|
+
"type": "address"
|
970
|
+
},
|
971
|
+
{
|
972
|
+
"components": [
|
973
|
+
{
|
974
|
+
"internalType": "UFixed",
|
975
|
+
"name": "fractionalFee",
|
976
|
+
"type": "uint256"
|
977
|
+
},
|
978
|
+
{
|
979
|
+
"internalType": "uint256",
|
980
|
+
"name": "fixedFee",
|
981
|
+
"type": "uint256"
|
982
|
+
}
|
983
|
+
],
|
984
|
+
"internalType": "struct Fee",
|
985
|
+
"name": "minDistributionOwnerFee",
|
986
|
+
"type": "tuple"
|
987
|
+
},
|
988
|
+
{
|
989
|
+
"components": [
|
990
|
+
{
|
991
|
+
"internalType": "UFixed",
|
992
|
+
"name": "fractionalFee",
|
993
|
+
"type": "uint256"
|
994
|
+
},
|
995
|
+
{
|
996
|
+
"internalType": "uint256",
|
997
|
+
"name": "fixedFee",
|
998
|
+
"type": "uint256"
|
999
|
+
}
|
1000
|
+
],
|
1001
|
+
"internalType": "struct Fee",
|
1002
|
+
"name": "distributionFee",
|
263
1003
|
"type": "tuple"
|
264
1004
|
},
|
1005
|
+
{
|
1006
|
+
"internalType": "address",
|
1007
|
+
"name": "initialOwner",
|
1008
|
+
"type": "address"
|
1009
|
+
},
|
265
1010
|
{
|
266
1011
|
"internalType": "bytes",
|
267
|
-
"name": "",
|
1012
|
+
"name": "registryData",
|
268
1013
|
"type": "bytes"
|
269
1014
|
}
|
270
1015
|
],
|
271
|
-
"
|
1016
|
+
"name": "initializeDistribution",
|
1017
|
+
"outputs": [],
|
1018
|
+
"stateMutability": "nonpayable",
|
272
1019
|
"type": "function"
|
273
1020
|
},
|
274
1021
|
{
|
275
1022
|
"inputs": [],
|
276
|
-
"name": "
|
277
|
-
"outputs": [
|
1023
|
+
"name": "initializeERC165",
|
1024
|
+
"outputs": [],
|
1025
|
+
"stateMutability": "nonpayable",
|
1026
|
+
"type": "function"
|
1027
|
+
},
|
1028
|
+
{
|
1029
|
+
"inputs": [
|
278
1030
|
{
|
279
|
-
"internalType": "
|
280
|
-
"name": "
|
1031
|
+
"internalType": "address",
|
1032
|
+
"name": "initialOwner",
|
1033
|
+
"type": "address"
|
1034
|
+
},
|
1035
|
+
{
|
1036
|
+
"internalType": "address",
|
1037
|
+
"name": "registryAddress",
|
281
1038
|
"type": "address"
|
282
1039
|
}
|
283
1040
|
],
|
284
|
-
"
|
1041
|
+
"name": "initializeNftOwnable",
|
1042
|
+
"outputs": [],
|
1043
|
+
"stateMutability": "nonpayable",
|
285
1044
|
"type": "function"
|
286
1045
|
},
|
287
1046
|
{
|
288
|
-
"inputs": [
|
289
|
-
|
290
|
-
|
1047
|
+
"inputs": [
|
1048
|
+
{
|
1049
|
+
"internalType": "address",
|
1050
|
+
"name": "registryAddress",
|
1051
|
+
"type": "address"
|
1052
|
+
},
|
291
1053
|
{
|
292
1054
|
"internalType": "NftId",
|
293
|
-
"name": "",
|
1055
|
+
"name": "parentNftId",
|
294
1056
|
"type": "uint96"
|
295
|
-
}
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
1057
|
+
},
|
1058
|
+
{
|
1059
|
+
"internalType": "ObjectType",
|
1060
|
+
"name": "objectType",
|
1061
|
+
"type": "uint8"
|
1062
|
+
},
|
1063
|
+
{
|
1064
|
+
"internalType": "bool",
|
1065
|
+
"name": "isInterceptor",
|
1066
|
+
"type": "bool"
|
1067
|
+
},
|
304
1068
|
{
|
305
1069
|
"internalType": "address",
|
306
|
-
"name": "",
|
1070
|
+
"name": "initialOwner",
|
307
1071
|
"type": "address"
|
1072
|
+
},
|
1073
|
+
{
|
1074
|
+
"internalType": "bytes",
|
1075
|
+
"name": "registryData",
|
1076
|
+
"type": "bytes"
|
308
1077
|
}
|
309
1078
|
],
|
310
|
-
"
|
1079
|
+
"name": "initializeRegisterable",
|
1080
|
+
"outputs": [],
|
1081
|
+
"stateMutability": "nonpayable",
|
311
1082
|
"type": "function"
|
312
1083
|
},
|
313
1084
|
{
|
314
|
-
"inputs": [
|
315
|
-
"name": "getProductNftId",
|
316
|
-
"outputs": [
|
1085
|
+
"inputs": [
|
317
1086
|
{
|
318
|
-
"internalType": "
|
319
|
-
"name": "
|
320
|
-
"type": "
|
1087
|
+
"internalType": "address",
|
1088
|
+
"name": "registryAddress",
|
1089
|
+
"type": "address"
|
321
1090
|
}
|
322
1091
|
],
|
323
|
-
"
|
1092
|
+
"name": "initializeRegistryLinked",
|
1093
|
+
"outputs": [],
|
1094
|
+
"stateMutability": "nonpayable",
|
324
1095
|
"type": "function"
|
325
1096
|
},
|
326
1097
|
{
|
327
1098
|
"inputs": [],
|
328
|
-
"name": "
|
1099
|
+
"name": "isConsumingScheduledOp",
|
329
1100
|
"outputs": [
|
330
1101
|
{
|
331
|
-
"internalType": "
|
1102
|
+
"internalType": "bytes4",
|
332
1103
|
"name": "",
|
333
|
-
"type": "
|
1104
|
+
"type": "bytes4"
|
334
1105
|
}
|
335
1106
|
],
|
336
1107
|
"stateMutability": "view",
|
337
1108
|
"type": "function"
|
338
1109
|
},
|
339
1110
|
{
|
340
|
-
"inputs": [
|
341
|
-
"name": "getSetupInfo",
|
342
|
-
"outputs": [
|
1111
|
+
"inputs": [
|
343
1112
|
{
|
344
|
-
"
|
345
|
-
|
346
|
-
|
347
|
-
"name": "productNftId",
|
348
|
-
"type": "uint96"
|
349
|
-
},
|
350
|
-
{
|
351
|
-
"internalType": "contract TokenHandler",
|
352
|
-
"name": "tokenHandler",
|
353
|
-
"type": "address"
|
354
|
-
},
|
355
|
-
{
|
356
|
-
"components": [
|
357
|
-
{
|
358
|
-
"internalType": "UFixed",
|
359
|
-
"name": "fractionalFee",
|
360
|
-
"type": "uint256"
|
361
|
-
},
|
362
|
-
{
|
363
|
-
"internalType": "uint256",
|
364
|
-
"name": "fixedFee",
|
365
|
-
"type": "uint256"
|
366
|
-
}
|
367
|
-
],
|
368
|
-
"internalType": "struct Fee",
|
369
|
-
"name": "distributionFee",
|
370
|
-
"type": "tuple"
|
371
|
-
},
|
372
|
-
{
|
373
|
-
"internalType": "bool",
|
374
|
-
"name": "isIntercepting",
|
375
|
-
"type": "bool"
|
376
|
-
},
|
377
|
-
{
|
378
|
-
"internalType": "address",
|
379
|
-
"name": "wallet",
|
380
|
-
"type": "address"
|
381
|
-
}
|
382
|
-
],
|
383
|
-
"internalType": "struct ISetup.DistributionSetupInfo",
|
384
|
-
"name": "setupInfo",
|
385
|
-
"type": "tuple"
|
1113
|
+
"internalType": "address",
|
1114
|
+
"name": "candidate",
|
1115
|
+
"type": "address"
|
386
1116
|
}
|
387
1117
|
],
|
388
|
-
"
|
389
|
-
"type": "function"
|
390
|
-
},
|
391
|
-
{
|
392
|
-
"inputs": [],
|
393
|
-
"name": "getToken",
|
1118
|
+
"name": "isDistributor",
|
394
1119
|
"outputs": [
|
395
1120
|
{
|
396
|
-
"internalType": "
|
397
|
-
"name": "
|
398
|
-
"type": "
|
1121
|
+
"internalType": "bool",
|
1122
|
+
"name": "",
|
1123
|
+
"type": "bool"
|
399
1124
|
}
|
400
1125
|
],
|
401
1126
|
"stateMutability": "view",
|
@@ -403,12 +1128,12 @@
|
|
403
1128
|
},
|
404
1129
|
{
|
405
1130
|
"inputs": [],
|
406
|
-
"name": "
|
1131
|
+
"name": "isNftInterceptor",
|
407
1132
|
"outputs": [
|
408
1133
|
{
|
409
|
-
"internalType": "
|
410
|
-
"name": "
|
411
|
-
"type": "
|
1134
|
+
"internalType": "bool",
|
1135
|
+
"name": "isInterceptor",
|
1136
|
+
"type": "bool"
|
412
1137
|
}
|
413
1138
|
],
|
414
1139
|
"stateMutability": "view",
|
@@ -444,17 +1169,40 @@
|
|
444
1169
|
{
|
445
1170
|
"inputs": [
|
446
1171
|
{
|
447
|
-
"internalType": "
|
448
|
-
"name": "
|
449
|
-
"type": "
|
1172
|
+
"internalType": "address",
|
1173
|
+
"name": "to",
|
1174
|
+
"type": "address"
|
450
1175
|
},
|
451
1176
|
{
|
452
1177
|
"internalType": "uint256",
|
453
|
-
"name": "
|
1178
|
+
"name": "tokenId",
|
454
1179
|
"type": "uint256"
|
455
1180
|
}
|
456
1181
|
],
|
457
|
-
"name": "
|
1182
|
+
"name": "nftMint",
|
1183
|
+
"outputs": [],
|
1184
|
+
"stateMutability": "nonpayable",
|
1185
|
+
"type": "function"
|
1186
|
+
},
|
1187
|
+
{
|
1188
|
+
"inputs": [
|
1189
|
+
{
|
1190
|
+
"internalType": "address",
|
1191
|
+
"name": "from",
|
1192
|
+
"type": "address"
|
1193
|
+
},
|
1194
|
+
{
|
1195
|
+
"internalType": "address",
|
1196
|
+
"name": "to",
|
1197
|
+
"type": "address"
|
1198
|
+
},
|
1199
|
+
{
|
1200
|
+
"internalType": "uint256",
|
1201
|
+
"name": "tokenId",
|
1202
|
+
"type": "uint256"
|
1203
|
+
}
|
1204
|
+
],
|
1205
|
+
"name": "nftTransferFrom",
|
458
1206
|
"outputs": [],
|
459
1207
|
"stateMutability": "nonpayable",
|
460
1208
|
"type": "function"
|
@@ -472,7 +1220,7 @@
|
|
472
1220
|
"type": "uint256"
|
473
1221
|
}
|
474
1222
|
],
|
475
|
-
"name": "
|
1223
|
+
"name": "processRenewal",
|
476
1224
|
"outputs": [],
|
477
1225
|
"stateMutability": "nonpayable",
|
478
1226
|
"type": "function"
|
@@ -480,24 +1228,48 @@
|
|
480
1228
|
{
|
481
1229
|
"inputs": [
|
482
1230
|
{
|
483
|
-
"internalType": "
|
484
|
-
"name": "
|
485
|
-
"type": "
|
1231
|
+
"internalType": "bytes4",
|
1232
|
+
"name": "interfaceId",
|
1233
|
+
"type": "bytes4"
|
486
1234
|
}
|
487
1235
|
],
|
488
|
-
"name": "
|
489
|
-
"outputs": [
|
1236
|
+
"name": "registerInterface",
|
1237
|
+
"outputs": [],
|
1238
|
+
"stateMutability": "nonpayable",
|
1239
|
+
"type": "function"
|
1240
|
+
},
|
1241
|
+
{
|
1242
|
+
"inputs": [
|
490
1243
|
{
|
491
|
-
"internalType": "
|
492
|
-
"name": "
|
493
|
-
"type": "
|
1244
|
+
"internalType": "address",
|
1245
|
+
"name": "newAuthority",
|
1246
|
+
"type": "address"
|
494
1247
|
}
|
495
1248
|
],
|
496
|
-
"
|
1249
|
+
"name": "setAuthority",
|
1250
|
+
"outputs": [],
|
1251
|
+
"stateMutability": "nonpayable",
|
497
1252
|
"type": "function"
|
498
1253
|
},
|
499
1254
|
{
|
500
1255
|
"inputs": [
|
1256
|
+
{
|
1257
|
+
"components": [
|
1258
|
+
{
|
1259
|
+
"internalType": "UFixed",
|
1260
|
+
"name": "fractionalFee",
|
1261
|
+
"type": "uint256"
|
1262
|
+
},
|
1263
|
+
{
|
1264
|
+
"internalType": "uint256",
|
1265
|
+
"name": "fixedFee",
|
1266
|
+
"type": "uint256"
|
1267
|
+
}
|
1268
|
+
],
|
1269
|
+
"internalType": "struct Fee",
|
1270
|
+
"name": "minDistributionOwnerFee",
|
1271
|
+
"type": "tuple"
|
1272
|
+
},
|
501
1273
|
{
|
502
1274
|
"components": [
|
503
1275
|
{
|
@@ -534,6 +1306,19 @@
|
|
534
1306
|
"stateMutability": "nonpayable",
|
535
1307
|
"type": "function"
|
536
1308
|
},
|
1309
|
+
{
|
1310
|
+
"inputs": [
|
1311
|
+
{
|
1312
|
+
"internalType": "address",
|
1313
|
+
"name": "newWallet",
|
1314
|
+
"type": "address"
|
1315
|
+
}
|
1316
|
+
],
|
1317
|
+
"name": "setWallet",
|
1318
|
+
"outputs": [],
|
1319
|
+
"stateMutability": "nonpayable",
|
1320
|
+
"type": "function"
|
1321
|
+
},
|
537
1322
|
{
|
538
1323
|
"inputs": [
|
539
1324
|
{
|
@@ -559,60 +1344,33 @@
|
|
559
1344
|
"outputs": [],
|
560
1345
|
"stateMutability": "nonpayable",
|
561
1346
|
"type": "function"
|
562
|
-
}
|
563
|
-
],
|
564
|
-
"bytecode": "0x60806040523480156200001157600080fd5b5060405162001ed738038062001ed7833981016040819052620000349162000824565b85858560786001856200006d6301ffc9a760e01b600090815260205260008051602062001eb7833981519152805460ff19166001179055565b600280546001600160a01b031916331790556040805160208101909152600081526200009e8787868686866200046b565b6000620000b36001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000103573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200012d91908101906200098d565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b815263cb92195b60e01b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000195573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001bb919062000a73565b620001e75760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200023b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000261919062000a98565b600380546001600160a01b039283166001600160a01b031991821617909155600580548216301790556006805498831698909116979097179096555050634c0cba3d60e11b600090815260209081527f8605f84a1fdbc6ff75d8a06315d161884729b429561b502d19c5a33135142c3a805460ff19166001179055600a80548a516008558a8301516009556001600160a81b0319168b1515610100600160a81b031916176101008d8816021790556007546040805163329802c760e21b8152905191909616975063ca600b1c96506004808701969295509093509083900301905081865afa15801562000358573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200037e919062000a98565b600b80546001600160a01b0319166001600160a01b0392831617905560075460408051634288121d60e01b815290519190921691634288121d9160048083019260209291908290030181865afa158015620003dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000403919062000a98565b600c80546001600160a01b0319166001600160a01b039290921691909117905563c8ea96c560e01b60009081526020527f358bf83baf6613c2def0011c88aae44093f6c2a350167255c9453fdf96405794805460ff1916600117905550505050505062000c13565b6200049c6301ffc9a760e01b600090815260205260008051602062001eb7833981519152805460ff19166001179055565b620004a882876200056d565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d01000000000000000000000000008615150217815590506001810162000527838262000b47565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b6001600160a01b038216620005c55760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401620001de565b600280546001600160a01b0319166001600160a01b038416179055620005eb81620005ef565b5050565b6001546001600160a01b0316156200062a5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001de565b6001600160a01b038116620006525760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036200068a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001de565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801562000707575060408051601f3d908101601f19168201909252620007049181019062000a73565b60015b620007315760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001de565b80620005eb5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001de565b50565b6001600160a01b03811681146200075c57600080fd5b805162000782816200075f565b919050565b80516001600160601b03811681146200078257600080fd5b805180151581146200078257600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620007eb57620007eb620007b0565b60405290565b604051601f8201601f191681016001600160401b03811182821017156200081c576200081c620007b0565b604052919050565b60008060008060008086880360e08112156200083f57600080fd5b87516200084c816200075f565b96506200085c6020890162000787565b955060408801516200086e816200075f565b94506200087e606089016200079f565b93506040607f19820112156200089357600080fd5b50604080519081016001600160401b0381118282101715620008b957620008b9620007b0565b6040526080880151815260a0880151602082015260c0880151909250620008e0816200075f565b809150509295509295509295565b805160ff811681146200078257600080fd5b600082601f8301126200091257600080fd5b81516001600160401b038111156200092e576200092e620007b0565b602062000944601f8301601f19168201620007f1565b82815285828487010111156200095957600080fd5b60005b83811015620009795785810183015182820184015282016200095c565b506000928101909101919091529392505050565b600060208284031215620009a057600080fd5b81516001600160401b0380821115620009b857600080fd5b9083019060e08286031215620009cd57600080fd5b620009d7620007c6565b620009e28362000787565b8152620009f26020840162000787565b602082015262000a0560408401620008ee565b604082015262000a18606084016200079f565b606082015262000a2b6080840162000775565b608082015262000a3e60a0840162000775565b60a082015260c08301518281111562000a5657600080fd5b62000a648782860162000900565b60c08301525095945050505050565b60006020828403121562000a8657600080fd5b62000a91826200079f565b9392505050565b60006020828403121562000aab57600080fd5b815162000a91816200075f565b600181811c9082168062000acd57607f821691505b60208210810362000aee57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000b4257600081815260208120601f850160051c8101602086101562000b1d5750805b601f850160051c820191505b8181101562000b3e5782815560010162000b29565b5050505b505050565b81516001600160401b0381111562000b635762000b63620007b0565b62000b7b8162000b74845462000ab8565b8462000af4565b602080601f83116001811462000bb3576000841562000b9a5750858301515b600019600386901b1c1916600185901b17855562000b3e565b600085815260208120601f198616915b8281101562000be45788860151825594840194600190910190840162000bc3565b508582101562000c035787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6112948062000c236000396000f3fe608060405234801561001057600080fd5b50600436106101415760003560e01c8063644c45e0116100b8578063d16d0fe81161007c578063d16d0fe8146102d1578063de7b5d14146102e4578063e2147567146102f5578063f7d39dea14610309578063f80e207214610265578063f83d08ba1461031c57600080fd5b8063644c45e01461028957806387ef9ba0146102a1578063893d20e8146102ac578063a69df4b5146102b4578063c200b809146102bc57600080fd5b80631eff4b221161010a5780631eff4b22146101f957806321df0da71461022e5780632a65c6881461023f5780633f52c0f6146102525780634cf30a84146102655780635ab1bd531461027857600080fd5b806251884a1461014657806301ffc9a7146101775780630fec111c146101b457806313299604146101ca578063138461e0146101ef575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101a4610185366004610dfd565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200161016e565b6101bc610324565b60405161016e929190610e74565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161016e565b6101f76103f3565b005b6102207f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161016e565b6006546001600160a01b03166101d7565b6101f761024d366004610f33565b610615565b6101f7610260366004610f87565b610764565b6101f7610273366004610fd6565b6107c9565b6001546001600160a01b03166101d7565b600154600160a01b90046001600160601b031661015a565b600a5460ff166101a4565b6101d7610831565b6101f761094f565b6102c46109ea565b60405161016e9190611000565b6102206102df366004610fd6565b610af9565b6007546001600160a01b03166101d7565b6101a4610303366004611060565b50600090565b610220610317366004610fd6565b610b0e565b6101f7610bb0565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091610367610c1b565b506040805160a081018252600754600160a01b90046001600160601b03168152600a5461010081046001600160a01b0316602080840191909152835180850185526008548152600954818301528385015260ff90911615156060830152306080830152915192935083926103db9201611000565b60405160208183030381529060405292509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610455573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610479919061108b565b156104c0576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166104e95760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610532573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610556919061108b565b61057e576040516372657a5160e01b81526001600160a01b03821660048201526024016104b7565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156105c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ec91906110a6565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b61061d610831565b6001600160a01b0316336001600160a01b0316146106505760405163700dd81160e01b81523360048201526024016104b7565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af41580156106cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f0919061108b565b61073c5760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c72656164792073657400000000000060448201526064016104b7565b600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b600b54604051631fa9607b60e11b81526001600160a01b0390911690633f52c0f6906107949084906004016110c3565b600060405180830381600087803b1580156107ae57600080fd5b505af11580156107c2573d6000803e3d6000fd5b5050505050565b600c546001600160a01b0316331461082d5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084016104b7565b5050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610896573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ba919061108b565b1561093f57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610916573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093a91906110fa565b905090565b506002546001600160a01b031690565b610957610831565b6001600160a01b0316336001600160a01b03161461098a5760405163700dd81160e01b81523360048201526024016104b7565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b1580156109d057600080fd5b505af11580156109e4573d6000803e3d6000fd5b50505050565b6109f2610da1565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610a3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6091906110fa565b9050806001600160a01b0316639ad69c67610a8b6001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240160c060405180830381865afa158015610acf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af39190611117565b91505090565b6000610b0582826111db565b90505b92915050565b600080610b196109ea565b604081810151905163012ebd8360e21b81528151600482015260208201516024820152604481018690529192509073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015610b82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba69190611200565b5095945050505050565b610bb8610831565b6001600160a01b0316336001600160a01b031614610beb5760405163700dd81160e01b81523360048201526024016104b7565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016109b6565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610ca26001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610cea610831565b6001600160a01b03168152602001826001018054610d0790611224565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3390611224565b8015610d805780601f10610d5557610100808354040283529160200191610d80565b820191906000526020600020905b815481529060010190602001808311610d6357829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001610de9604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b600060208284031215610e0f57600080fd5b81356001600160e01b031981168114610e2757600080fd5b9392505050565b6000815180845260005b81811015610e5457602081850181015186830182015201610e38565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151610eb860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610efe610120840182610e2e565b90508281036020840152610f128185610e2e565b95945050505050565b6001600160601b0381168114610f3057600080fd5b50565b600060208284031215610f4557600080fd5b8135610e2781610f1b565b6040805190810167ffffffffffffffff81118282101715610f8157634e487b7160e01b600052604160045260246000fd5b60405290565b600060408284031215610f9957600080fd5b610fa1610f50565b82358152602083013560208201528091505092915050565b80356001600160c01b031981168114610fd157600080fd5b919050565b60008060408385031215610fe957600080fd5b610ff283610fb9565b946020939093013593505050565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b60006020828403121561107257600080fd5b610b0582610fb9565b80518015158114610fd157600080fd5b60006020828403121561109d57600080fd5b610b058261107b565b6000602082840312156110b857600080fd5b8151610e2781610f1b565b815181526020808301519082015260408101610b08565b6001600160a01b0381168114610f3057600080fd5b8051610fd1816110da565b60006020828403121561110c57600080fd5b8151610e27816110da565b600081830360c081121561112a57600080fd5b60405160a0810181811067ffffffffffffffff8211171561115b57634e487b7160e01b600052604160045260246000fd5b604052835161116981610f1b565b81526020840151611179816110da565b60208201526040603f198301121561119057600080fd5b611198610f50565b915060408401518252606084015160208301528160408201526111bd6080850161107b565b60608201526111ce60a085016110ef565b6080820152949350505050565b8082028115828204841417610b0857634e487b7160e01b600052601160045260246000fd5b6000806040838503121561121357600080fd5b505080516020909101519092909150565b600181811c9082168061123857607f821691505b60208210810361125857634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212200a13b48176f03c2e9d808074ac411a1fca483569c4e94547be184374001ef6c964736f6c6343000814003367be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5",
|
565
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101415760003560e01c8063644c45e0116100b8578063d16d0fe81161007c578063d16d0fe8146102d1578063de7b5d14146102e4578063e2147567146102f5578063f7d39dea14610309578063f80e207214610265578063f83d08ba1461031c57600080fd5b8063644c45e01461028957806387ef9ba0146102a1578063893d20e8146102ac578063a69df4b5146102b4578063c200b809146102bc57600080fd5b80631eff4b221161010a5780631eff4b22146101f957806321df0da71461022e5780632a65c6881461023f5780633f52c0f6146102525780634cf30a84146102655780635ab1bd531461027857600080fd5b806251884a1461014657806301ffc9a7146101775780630fec111c146101b457806313299604146101ca578063138461e0146101ef575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101a4610185366004610dfd565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200161016e565b6101bc610324565b60405161016e929190610e74565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161016e565b6101f76103f3565b005b6102207f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161016e565b6006546001600160a01b03166101d7565b6101f761024d366004610f33565b610615565b6101f7610260366004610f87565b610764565b6101f7610273366004610fd6565b6107c9565b6001546001600160a01b03166101d7565b600154600160a01b90046001600160601b031661015a565b600a5460ff166101a4565b6101d7610831565b6101f761094f565b6102c46109ea565b60405161016e9190611000565b6102206102df366004610fd6565b610af9565b6007546001600160a01b03166101d7565b6101a4610303366004611060565b50600090565b610220610317366004610fd6565b610b0e565b6101f7610bb0565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091610367610c1b565b506040805160a081018252600754600160a01b90046001600160601b03168152600a5461010081046001600160a01b0316602080840191909152835180850185526008548152600954818301528385015260ff90911615156060830152306080830152915192935083926103db9201611000565b60405160208183030381529060405292509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610455573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610479919061108b565b156104c0576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166104e95760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610532573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610556919061108b565b61057e576040516372657a5160e01b81526001600160a01b03821660048201526024016104b7565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156105c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ec91906110a6565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b61061d610831565b6001600160a01b0316336001600160a01b0316146106505760405163700dd81160e01b81523360048201526024016104b7565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af41580156106cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f0919061108b565b61073c5760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c72656164792073657400000000000060448201526064016104b7565b600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b600b54604051631fa9607b60e11b81526001600160a01b0390911690633f52c0f6906107949084906004016110c3565b600060405180830381600087803b1580156107ae57600080fd5b505af11580156107c2573d6000803e3d6000fd5b5050505050565b600c546001600160a01b0316331461082d5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084016104b7565b5050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610896573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ba919061108b565b1561093f57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610916573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093a91906110fa565b905090565b506002546001600160a01b031690565b610957610831565b6001600160a01b0316336001600160a01b03161461098a5760405163700dd81160e01b81523360048201526024016104b7565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b1580156109d057600080fd5b505af11580156109e4573d6000803e3d6000fd5b50505050565b6109f2610da1565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610a3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6091906110fa565b9050806001600160a01b0316639ad69c67610a8b6001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240160c060405180830381865afa158015610acf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af39190611117565b91505090565b6000610b0582826111db565b90505b92915050565b600080610b196109ea565b604081810151905163012ebd8360e21b81528151600482015260208201516024820152604481018690529192509073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015610b82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba69190611200565b5095945050505050565b610bb8610831565b6001600160a01b0316336001600160a01b031614610beb5760405163700dd81160e01b81523360048201526024016104b7565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016109b6565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610ca26001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610cea610831565b6001600160a01b03168152602001826001018054610d0790611224565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3390611224565b8015610d805780601f10610d5557610100808354040283529160200191610d80565b820191906000526020600020905b815481529060010190602001808311610d6357829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001610de9604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b600060208284031215610e0f57600080fd5b81356001600160e01b031981168114610e2757600080fd5b9392505050565b6000815180845260005b81811015610e5457602081850181015186830182015201610e38565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151610eb860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610efe610120840182610e2e565b90508281036020840152610f128185610e2e565b95945050505050565b6001600160601b0381168114610f3057600080fd5b50565b600060208284031215610f4557600080fd5b8135610e2781610f1b565b6040805190810167ffffffffffffffff81118282101715610f8157634e487b7160e01b600052604160045260246000fd5b60405290565b600060408284031215610f9957600080fd5b610fa1610f50565b82358152602083013560208201528091505092915050565b80356001600160c01b031981168114610fd157600080fd5b919050565b60008060408385031215610fe957600080fd5b610ff283610fb9565b946020939093013593505050565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b60006020828403121561107257600080fd5b610b0582610fb9565b80518015158114610fd157600080fd5b60006020828403121561109d57600080fd5b610b058261107b565b6000602082840312156110b857600080fd5b8151610e2781610f1b565b815181526020808301519082015260408101610b08565b6001600160a01b0381168114610f3057600080fd5b8051610fd1816110da565b60006020828403121561110c57600080fd5b8151610e27816110da565b600081830360c081121561112a57600080fd5b60405160a0810181811067ffffffffffffffff8211171561115b57634e487b7160e01b600052604160045260246000fd5b604052835161116981610f1b565b81526020840151611179816110da565b60208201526040603f198301121561119057600080fd5b611198610f50565b915060408401518252606084015160208301528160408201526111bd6080850161107b565b60608201526111ce60a085016110ef565b6080820152949350505050565b8082028115828204841417610b0857634e487b7160e01b600052601160045260246000fd5b6000806040838503121561121357600080fd5b505080516020909101519092909150565b600181811c9082168061123857607f821691505b60208210810361125857634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212200a13b48176f03c2e9d808074ac411a1fca483569c4e94547be184374001ef6c964736f6c63430008140033",
|
566
|
-
"linkReferences": {
|
567
|
-
"contracts/types/Fee.sol": {
|
568
|
-
"FeeLib": [
|
569
|
-
{
|
570
|
-
"length": 20,
|
571
|
-
"start": 5996
|
572
|
-
}
|
573
|
-
]
|
574
|
-
},
|
575
|
-
"contracts/types/NftId.sol": {
|
576
|
-
"NftIdLib": [
|
577
|
-
{
|
578
|
-
"length": 20,
|
579
|
-
"start": 4158
|
580
|
-
},
|
581
|
-
{
|
582
|
-
"length": 20,
|
583
|
-
"start": 4728
|
584
|
-
},
|
585
|
-
{
|
586
|
-
"length": 20,
|
587
|
-
"start": 5247
|
588
|
-
}
|
589
|
-
]
|
590
|
-
}
|
591
|
-
},
|
592
|
-
"deployedLinkReferences": {
|
593
|
-
"contracts/types/Fee.sol": {
|
594
|
-
"FeeLib": [
|
595
|
-
{
|
596
|
-
"length": 20,
|
597
|
-
"start": 2889
|
598
|
-
}
|
599
|
-
]
|
600
1347
|
},
|
601
|
-
|
602
|
-
"
|
1348
|
+
{
|
1349
|
+
"inputs": [
|
603
1350
|
{
|
604
|
-
"
|
605
|
-
"
|
1351
|
+
"internalType": "NftId",
|
1352
|
+
"name": "distributorNftId",
|
1353
|
+
"type": "uint96"
|
606
1354
|
},
|
607
1355
|
{
|
608
|
-
"
|
609
|
-
"
|
1356
|
+
"internalType": "DistributorType",
|
1357
|
+
"name": "distributorType",
|
1358
|
+
"type": "bytes8"
|
610
1359
|
},
|
611
1360
|
{
|
612
|
-
"
|
613
|
-
"
|
1361
|
+
"internalType": "bytes",
|
1362
|
+
"name": "data",
|
1363
|
+
"type": "bytes"
|
614
1364
|
}
|
615
|
-
]
|
1365
|
+
],
|
1366
|
+
"name": "updateDistributorType",
|
1367
|
+
"outputs": [],
|
1368
|
+
"stateMutability": "nonpayable",
|
1369
|
+
"type": "function"
|
616
1370
|
}
|
617
|
-
|
1371
|
+
],
|
1372
|
+
"bytecode": "0x",
|
1373
|
+
"deployedBytecode": "0x",
|
1374
|
+
"linkReferences": {},
|
1375
|
+
"deployedLinkReferences": {}
|
618
1376
|
}
|