@etherisc/gif-next 0.0.2-fe88ad7-208 → 0.0.2-ff282a4-523
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +8 -13
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1376 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1556 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +780 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +1000 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +840 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +73 -83
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +275 -1359
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +264 -218
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +441 -2539
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +479 -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 +432 -280
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +399 -383
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +295 -99
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2847 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +6 -1
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +49 -0
- 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 +93 -14
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +38 -13
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +58 -75
- 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/pool/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1288 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +696 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +316 -250
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1095 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1077 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.json +1407 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1622 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +708 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +918 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +648 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1386 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +748 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +218 -191
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +264 -277
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +241 -230
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/Product.sol/Product.json → product/IProductComponent.sol/IProductComponent.json} +254 -168
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +72 -166
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1281 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +740 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +1004 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +688 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/product/Product.sol/Product.json +1198 -0
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +864 -0
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +640 -0
- 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 +165 -5
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +158 -215
- 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 +196 -31
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +20 -20
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +270 -254
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +291 -85
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +151 -77
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +142 -54
- 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/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/{components/Pool.sol/Pool.json → shared/Component.sol/Component.json} +358 -327
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentService.sol/ComponentService.json} +263 -164
- 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/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/IComponent.sol/IComponent.json} +173 -212
- 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 +71 -165
- 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 +109 -29
- 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 +285 -65
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +118 -53
- 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 +173 -153
- 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/staking/IStaking.sol/IStaking.dbg.json +4 -0
- package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → staking/IStaking.sol/IStaking.json} +62 -150
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → staking/IStakingService.sol/IStakingService.json} +232 -169
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +497 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +623 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +797 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +632 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +3 -3
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +166 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
- package/contracts/distribution/Distribution.sol +285 -0
- package/contracts/distribution/DistributionService.sol +349 -0
- package/contracts/{instance/service → distribution}/DistributionServiceManager.sol +6 -6
- package/contracts/distribution/IDistributionComponent.sol +71 -0
- package/contracts/distribution/IDistributionService.sol +87 -0
- package/contracts/instance/BundleManager.sol +22 -25
- package/contracts/instance/IInstance.sol +56 -41
- package/contracts/instance/IInstanceService.sol +49 -16
- package/contracts/instance/Instance.sol +149 -196
- package/contracts/instance/InstanceAccessManager.sol +406 -166
- package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
- package/contracts/instance/InstanceReader.sol +102 -49
- package/contracts/instance/InstanceService.sol +206 -248
- package/contracts/instance/InstanceServiceManager.sol +2 -2
- package/contracts/instance/InstanceStore.sol +211 -0
- package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +8 -3
- package/contracts/instance/base/IKeyValueStore.sol +14 -10
- package/contracts/instance/base/ILifecycle.sol +3 -3
- package/contracts/instance/base/KeyValueStore.sol +44 -47
- package/contracts/instance/base/Lifecycle.sol +28 -7
- package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +16 -35
- package/contracts/instance/module/IAccess.sol +24 -18
- package/contracts/instance/module/IBundle.sol +11 -8
- package/contracts/instance/module/IComponents.sol +41 -0
- package/contracts/instance/module/IDistribution.sol +7 -4
- package/contracts/instance/module/IPolicy.sol +50 -17
- package/contracts/instance/module/IRisk.sol +1 -1
- package/contracts/instance/module/ISetup.sol +9 -22
- package/contracts/instance/module/ITreasury.sol +2 -2
- package/contracts/pool/BundleService.sol +382 -0
- package/contracts/{instance/service → pool}/BundleServiceManager.sol +6 -6
- package/contracts/pool/IBundleService.sol +118 -0
- package/contracts/pool/IPoolComponent.sol +114 -0
- package/contracts/pool/IPoolService.sol +114 -0
- package/contracts/pool/Pool.sol +302 -0
- package/contracts/pool/PoolService.sol +403 -0
- package/contracts/{instance/service → pool}/PoolServiceManager.sol +6 -6
- package/contracts/product/ApplicationService.sol +186 -0
- package/contracts/product/ApplicationServiceManager.sol +35 -0
- package/contracts/product/ClaimService.sol +442 -0
- package/contracts/product/ClaimServiceManager.sol +35 -0
- package/contracts/product/IApplicationService.sol +62 -0
- package/contracts/product/IClaimService.sol +93 -0
- package/contracts/product/IPolicyService.sol +80 -0
- package/contracts/product/IPricingService.sol +37 -0
- package/contracts/product/IProductComponent.sol +41 -0
- package/contracts/{instance/service → product}/IProductService.sol +10 -10
- package/contracts/product/PolicyService.sol +376 -0
- package/contracts/{instance/service → product}/PolicyServiceManager.sol +7 -7
- package/contracts/product/PricingService.sol +275 -0
- package/contracts/product/PricingServiceManager.sol +51 -0
- package/contracts/product/Product.sol +379 -0
- package/contracts/product/ProductService.sol +210 -0
- package/contracts/{instance/service → product}/ProductServiceManager.sol +7 -7
- package/contracts/registry/ChainNft.sol +15 -1
- package/contracts/registry/IRegistry.sol +33 -14
- package/contracts/registry/IRegistryService.sol +28 -17
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +184 -75
- package/contracts/registry/RegistryAccessManager.sol +32 -35
- package/contracts/registry/RegistryService.sol +126 -145
- package/contracts/registry/RegistryServiceManager.sol +13 -15
- package/contracts/registry/ReleaseManager.sol +157 -145
- package/contracts/registry/TokenRegistry.sol +21 -15
- package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/shared/Component.sol +271 -0
- package/contracts/shared/ComponentService.sol +150 -0
- package/contracts/shared/ERC165.sol +14 -12
- package/contracts/shared/IComponent.sol +90 -0
- package/contracts/shared/INftOwnable.sol +12 -11
- 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 +6 -4
- package/contracts/shared/IVersionable.sol +5 -48
- 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 +26 -41
- package/contracts/shared/RegistryLinked.sol +43 -0
- package/contracts/shared/Service.sol +37 -23
- package/contracts/shared/TokenHandler.sol +14 -6
- package/contracts/shared/Versionable.sol +4 -92
- package/contracts/staking/IStaking.sol +15 -0
- package/contracts/staking/IStakingService.sol +105 -0
- package/contracts/staking/Staking.sol +64 -0
- package/contracts/staking/StakingManager.sol +44 -0
- package/contracts/staking/StakingService.sol +204 -0
- package/contracts/staking/StakingServiceManager.sol +41 -0
- package/contracts/type/Amount.sol +109 -0
- package/contracts/{types → type}/Blocknumber.sol +1 -0
- package/contracts/type/ClaimId.sol +75 -0
- package/contracts/{types → type}/DistributorType.sol +2 -2
- package/contracts/{types → type}/Fee.sol +17 -8
- package/contracts/{types → type}/NftId.sol +8 -0
- package/contracts/{types → type}/NftIdSet.sol +1 -1
- package/contracts/{types → type}/ObjectType.sol +21 -7
- package/contracts/type/PayoutId.sol +82 -0
- package/contracts/{types → type}/Referral.sol +4 -0
- package/contracts/{types → type}/RoleId.sol +56 -14
- package/contracts/type/Seconds.sol +54 -0
- package/contracts/{types → type}/StateId.sol +7 -2
- package/contracts/{types → type}/Timestamp.sol +18 -13
- package/contracts/{types → type}/UFixed.sol +1 -0
- package/contracts/{types → type}/Version.sol +1 -0
- package/package.json +3 -3
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/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/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
- 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/BundleService.sol/BundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -945
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -432
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -814
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -693
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -420
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -993
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -464
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -727
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -420
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -420
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
- package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
- package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
- package/contracts/components/BaseComponent.sol +0 -159
- package/contracts/components/Distribution.sol +0 -163
- package/contracts/components/IBaseComponent.sol +0 -34
- package/contracts/components/IDistributionComponent.sol +0 -44
- package/contracts/components/IPoolComponent.sol +0 -66
- package/contracts/components/IProductComponent.sol +0 -35
- package/contracts/components/Pool.sol +0 -271
- package/contracts/components/Product.sol +0 -292
- package/contracts/experiment/cloning/Cloner.sol +0 -47
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
- package/contracts/instance/IInstanceBase.sol +0 -26
- package/contracts/instance/InstanceBase.sol +0 -41
- package/contracts/instance/base/ComponentServiceBase.sol +0 -82
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/service/BundleService.sol +0 -260
- package/contracts/instance/service/ComponentOwnerService.sol +0 -315
- package/contracts/instance/service/DistributionService.sol +0 -113
- package/contracts/instance/service/IBundleService.sol +0 -45
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/instance/service/IDistributionService.sol +0 -12
- package/contracts/instance/service/IPolicyService.sol +0 -87
- package/contracts/instance/service/IPoolService.sol +0 -20
- package/contracts/instance/service/PolicyService.sol +0 -503
- package/contracts/instance/service/PoolService.sol +0 -124
- package/contracts/instance/service/ProductService.sol +0 -170
- package/contracts/shared/ContractDeployerLib.sol +0 -72
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
- package/contracts/test/TestFee.sol +0 -25
- package/contracts/test/TestRegisterable.sol +0 -18
- package/contracts/test/TestRoleId.sol +0 -14
- package/contracts/test/TestService.sol +0 -25
- package/contracts/test/TestToken.sol +0 -26
- package/contracts/test/TestVersion.sol +0 -44
- package/contracts/test/TestVersionable.sol +0 -17
- package/contracts/test/Usdc.sol +0 -26
- package/contracts/types/ChainId.sol +0 -38
- package/contracts/types/NumberId.sol +0 -52
- /package/contracts/{types → type}/AddressSet.sol +0 -0
- /package/contracts/{types → type}/Key32.sol +0 -0
- /package/contracts/{types → type}/RiskId.sol +0 -0
@@ -0,0 +1,497 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "Staking",
|
4
|
+
"sourceName": "contracts/staking/Staking.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "authority",
|
11
|
+
"type": "address"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"internalType": "address",
|
21
|
+
"name": "caller",
|
22
|
+
"type": "address"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
35
|
+
{
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "caller",
|
38
|
+
"type": "address"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
46
|
+
{
|
47
|
+
"internalType": "NftId",
|
48
|
+
"name": "nftId",
|
49
|
+
"type": "uint96"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
53
|
+
"type": "error"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"inputs": [
|
57
|
+
{
|
58
|
+
"internalType": "address",
|
59
|
+
"name": "contractAddress",
|
60
|
+
"type": "address"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
64
|
+
"type": "error"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"inputs": [],
|
68
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
69
|
+
"type": "error"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"inputs": [
|
73
|
+
{
|
74
|
+
"internalType": "address",
|
75
|
+
"name": "account",
|
76
|
+
"type": "address"
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"name": "ErrorNftOwnableNotOwner",
|
80
|
+
"type": "error"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"inputs": [
|
84
|
+
{
|
85
|
+
"internalType": "address",
|
86
|
+
"name": "registryAddress",
|
87
|
+
"type": "address"
|
88
|
+
}
|
89
|
+
],
|
90
|
+
"name": "ErrorNotRegistry",
|
91
|
+
"type": "error"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"inputs": [],
|
95
|
+
"name": "InvalidInitialization",
|
96
|
+
"type": "error"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"inputs": [],
|
100
|
+
"name": "NotInitializing",
|
101
|
+
"type": "error"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"anonymous": false,
|
105
|
+
"inputs": [
|
106
|
+
{
|
107
|
+
"indexed": false,
|
108
|
+
"internalType": "address",
|
109
|
+
"name": "authority",
|
110
|
+
"type": "address"
|
111
|
+
}
|
112
|
+
],
|
113
|
+
"name": "AuthorityUpdated",
|
114
|
+
"type": "event"
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"anonymous": false,
|
118
|
+
"inputs": [
|
119
|
+
{
|
120
|
+
"indexed": false,
|
121
|
+
"internalType": "uint64",
|
122
|
+
"name": "version",
|
123
|
+
"type": "uint64"
|
124
|
+
}
|
125
|
+
],
|
126
|
+
"name": "Initialized",
|
127
|
+
"type": "event"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"inputs": [],
|
131
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
132
|
+
"outputs": [
|
133
|
+
{
|
134
|
+
"internalType": "bytes32",
|
135
|
+
"name": "",
|
136
|
+
"type": "bytes32"
|
137
|
+
}
|
138
|
+
],
|
139
|
+
"stateMutability": "view",
|
140
|
+
"type": "function"
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"inputs": [],
|
144
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
145
|
+
"outputs": [
|
146
|
+
{
|
147
|
+
"internalType": "bytes32",
|
148
|
+
"name": "",
|
149
|
+
"type": "bytes32"
|
150
|
+
}
|
151
|
+
],
|
152
|
+
"stateMutability": "view",
|
153
|
+
"type": "function"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"inputs": [],
|
157
|
+
"name": "authority",
|
158
|
+
"outputs": [
|
159
|
+
{
|
160
|
+
"internalType": "address",
|
161
|
+
"name": "",
|
162
|
+
"type": "address"
|
163
|
+
}
|
164
|
+
],
|
165
|
+
"stateMutability": "view",
|
166
|
+
"type": "function"
|
167
|
+
},
|
168
|
+
{
|
169
|
+
"inputs": [],
|
170
|
+
"name": "getInitialInfo",
|
171
|
+
"outputs": [
|
172
|
+
{
|
173
|
+
"components": [
|
174
|
+
{
|
175
|
+
"internalType": "NftId",
|
176
|
+
"name": "nftId",
|
177
|
+
"type": "uint96"
|
178
|
+
},
|
179
|
+
{
|
180
|
+
"internalType": "NftId",
|
181
|
+
"name": "parentNftId",
|
182
|
+
"type": "uint96"
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"internalType": "ObjectType",
|
186
|
+
"name": "objectType",
|
187
|
+
"type": "uint8"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"internalType": "bool",
|
191
|
+
"name": "isInterceptor",
|
192
|
+
"type": "bool"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"internalType": "address",
|
196
|
+
"name": "objectAddress",
|
197
|
+
"type": "address"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"internalType": "address",
|
201
|
+
"name": "initialOwner",
|
202
|
+
"type": "address"
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"internalType": "bytes",
|
206
|
+
"name": "data",
|
207
|
+
"type": "bytes"
|
208
|
+
}
|
209
|
+
],
|
210
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
211
|
+
"name": "info",
|
212
|
+
"type": "tuple"
|
213
|
+
}
|
214
|
+
],
|
215
|
+
"stateMutability": "view",
|
216
|
+
"type": "function"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"inputs": [],
|
220
|
+
"name": "getNftId",
|
221
|
+
"outputs": [
|
222
|
+
{
|
223
|
+
"internalType": "NftId",
|
224
|
+
"name": "",
|
225
|
+
"type": "uint96"
|
226
|
+
}
|
227
|
+
],
|
228
|
+
"stateMutability": "view",
|
229
|
+
"type": "function"
|
230
|
+
},
|
231
|
+
{
|
232
|
+
"inputs": [],
|
233
|
+
"name": "getOwner",
|
234
|
+
"outputs": [
|
235
|
+
{
|
236
|
+
"internalType": "address",
|
237
|
+
"name": "",
|
238
|
+
"type": "address"
|
239
|
+
}
|
240
|
+
],
|
241
|
+
"stateMutability": "view",
|
242
|
+
"type": "function"
|
243
|
+
},
|
244
|
+
{
|
245
|
+
"inputs": [],
|
246
|
+
"name": "getRegistry",
|
247
|
+
"outputs": [
|
248
|
+
{
|
249
|
+
"internalType": "contract IRegistry",
|
250
|
+
"name": "",
|
251
|
+
"type": "address"
|
252
|
+
}
|
253
|
+
],
|
254
|
+
"stateMutability": "view",
|
255
|
+
"type": "function"
|
256
|
+
},
|
257
|
+
{
|
258
|
+
"inputs": [],
|
259
|
+
"name": "getVersion",
|
260
|
+
"outputs": [
|
261
|
+
{
|
262
|
+
"internalType": "Version",
|
263
|
+
"name": "",
|
264
|
+
"type": "uint24"
|
265
|
+
}
|
266
|
+
],
|
267
|
+
"stateMutability": "pure",
|
268
|
+
"type": "function"
|
269
|
+
},
|
270
|
+
{
|
271
|
+
"inputs": [],
|
272
|
+
"name": "initializeERC165",
|
273
|
+
"outputs": [],
|
274
|
+
"stateMutability": "nonpayable",
|
275
|
+
"type": "function"
|
276
|
+
},
|
277
|
+
{
|
278
|
+
"inputs": [
|
279
|
+
{
|
280
|
+
"internalType": "address",
|
281
|
+
"name": "initialOwner",
|
282
|
+
"type": "address"
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"internalType": "address",
|
286
|
+
"name": "registryAddress",
|
287
|
+
"type": "address"
|
288
|
+
}
|
289
|
+
],
|
290
|
+
"name": "initializeNftOwnable",
|
291
|
+
"outputs": [],
|
292
|
+
"stateMutability": "nonpayable",
|
293
|
+
"type": "function"
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"inputs": [
|
297
|
+
{
|
298
|
+
"internalType": "address",
|
299
|
+
"name": "registryAddress",
|
300
|
+
"type": "address"
|
301
|
+
},
|
302
|
+
{
|
303
|
+
"internalType": "NftId",
|
304
|
+
"name": "parentNftId",
|
305
|
+
"type": "uint96"
|
306
|
+
},
|
307
|
+
{
|
308
|
+
"internalType": "ObjectType",
|
309
|
+
"name": "objectType",
|
310
|
+
"type": "uint8"
|
311
|
+
},
|
312
|
+
{
|
313
|
+
"internalType": "bool",
|
314
|
+
"name": "isInterceptor",
|
315
|
+
"type": "bool"
|
316
|
+
},
|
317
|
+
{
|
318
|
+
"internalType": "address",
|
319
|
+
"name": "initialOwner",
|
320
|
+
"type": "address"
|
321
|
+
},
|
322
|
+
{
|
323
|
+
"internalType": "bytes",
|
324
|
+
"name": "registryData",
|
325
|
+
"type": "bytes"
|
326
|
+
}
|
327
|
+
],
|
328
|
+
"name": "initializeRegisterable",
|
329
|
+
"outputs": [],
|
330
|
+
"stateMutability": "nonpayable",
|
331
|
+
"type": "function"
|
332
|
+
},
|
333
|
+
{
|
334
|
+
"inputs": [
|
335
|
+
{
|
336
|
+
"internalType": "address",
|
337
|
+
"name": "registryAddress",
|
338
|
+
"type": "address"
|
339
|
+
}
|
340
|
+
],
|
341
|
+
"name": "initializeRegistryLinked",
|
342
|
+
"outputs": [],
|
343
|
+
"stateMutability": "nonpayable",
|
344
|
+
"type": "function"
|
345
|
+
},
|
346
|
+
{
|
347
|
+
"inputs": [
|
348
|
+
{
|
349
|
+
"internalType": "address",
|
350
|
+
"name": "activatedBy",
|
351
|
+
"type": "address"
|
352
|
+
},
|
353
|
+
{
|
354
|
+
"internalType": "bytes",
|
355
|
+
"name": "data",
|
356
|
+
"type": "bytes"
|
357
|
+
}
|
358
|
+
],
|
359
|
+
"name": "initializeVersionable",
|
360
|
+
"outputs": [],
|
361
|
+
"stateMutability": "nonpayable",
|
362
|
+
"type": "function"
|
363
|
+
},
|
364
|
+
{
|
365
|
+
"inputs": [],
|
366
|
+
"name": "isConsumingScheduledOp",
|
367
|
+
"outputs": [
|
368
|
+
{
|
369
|
+
"internalType": "bytes4",
|
370
|
+
"name": "",
|
371
|
+
"type": "bytes4"
|
372
|
+
}
|
373
|
+
],
|
374
|
+
"stateMutability": "view",
|
375
|
+
"type": "function"
|
376
|
+
},
|
377
|
+
{
|
378
|
+
"inputs": [],
|
379
|
+
"name": "linkToRegisteredNftId",
|
380
|
+
"outputs": [],
|
381
|
+
"stateMutability": "nonpayable",
|
382
|
+
"type": "function"
|
383
|
+
},
|
384
|
+
{
|
385
|
+
"inputs": [
|
386
|
+
{
|
387
|
+
"internalType": "bytes4",
|
388
|
+
"name": "interfaceId",
|
389
|
+
"type": "bytes4"
|
390
|
+
}
|
391
|
+
],
|
392
|
+
"name": "registerInterface",
|
393
|
+
"outputs": [],
|
394
|
+
"stateMutability": "nonpayable",
|
395
|
+
"type": "function"
|
396
|
+
},
|
397
|
+
{
|
398
|
+
"inputs": [
|
399
|
+
{
|
400
|
+
"internalType": "address",
|
401
|
+
"name": "newAuthority",
|
402
|
+
"type": "address"
|
403
|
+
}
|
404
|
+
],
|
405
|
+
"name": "setAuthority",
|
406
|
+
"outputs": [],
|
407
|
+
"stateMutability": "nonpayable",
|
408
|
+
"type": "function"
|
409
|
+
},
|
410
|
+
{
|
411
|
+
"inputs": [
|
412
|
+
{
|
413
|
+
"internalType": "bytes4",
|
414
|
+
"name": "interfaceId",
|
415
|
+
"type": "bytes4"
|
416
|
+
}
|
417
|
+
],
|
418
|
+
"name": "supportsInterface",
|
419
|
+
"outputs": [
|
420
|
+
{
|
421
|
+
"internalType": "bool",
|
422
|
+
"name": "",
|
423
|
+
"type": "bool"
|
424
|
+
}
|
425
|
+
],
|
426
|
+
"stateMutability": "view",
|
427
|
+
"type": "function"
|
428
|
+
},
|
429
|
+
{
|
430
|
+
"inputs": [
|
431
|
+
{
|
432
|
+
"internalType": "bytes",
|
433
|
+
"name": "data",
|
434
|
+
"type": "bytes"
|
435
|
+
}
|
436
|
+
],
|
437
|
+
"name": "upgradeVersionable",
|
438
|
+
"outputs": [],
|
439
|
+
"stateMutability": "nonpayable",
|
440
|
+
"type": "function"
|
441
|
+
}
|
442
|
+
],
|
443
|
+
"bytecode": "0x608060405234801561001057600080fd5b5061001961001e565b6100d0565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161561006e5760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100cd5780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b611672806100df6000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806349bb9e4b116100ad578063893d20e811610071578063893d20e81461029f5780638fb36037146102a7578063ada9652e146102c8578063bf7e214f146102dd578063f7c34ee0146102fb57600080fd5b806349bb9e4b146102195780635ab1bd531461022c578063644c45e014610251578063675393bf146102795780637a9e5e4b1461028c57600080fd5b80631eff4b22116100f45780631eff4b22146101a3578063214cdb80146101d857806327bb7a33146101eb578063329d6e74146101fe57806336fc697e1461021157600080fd5b806301ffc9a7146101265780630d8e6e2c146101685780630fec111c14610184578063138461e014610199575b600080fd5b61015361013436600461104f565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61017061030e565b60405162ffffff909116815260200161015f565b61018c610398565b60405161015f91906110c6565b6101a16104eb565b005b6101ca7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161015f565b6101a16101e636600461104f565b6106f2565b6101a16101f936600461122b565b61071f565b6101a161020c3660046112c9565b6107c4565b6101a1610911565b6101a16102273660046112fd565b610957565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161015f565b6000805160206115dd833981519152546040516001600160601b03909116815260200161015f565b6101a161028736600461134c565b610a56565b6101a161029a36600461134c565b610b64565b610239610bfe565b6102af610d35565b6040516001600160e01b0319909116815260200161015f565b6101ca6000805160206115dd83398151915281565b6000805160206115fd833981519152546001600160a01b0316610239565b6101a1610309366004611369565b610d6d565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561036f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061039391906113a2565b905090565b6040805160e0808201835260008083526020830181905282840181905260608084018290526080840182905260a0840182905260c0840152835191820190935290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300919081906001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610447610bfe565b6001600160a01b03168152602001826001018054610464906113c7565b80601f0160208091040260200160405190810160405280929190818152602001828054610490906113c7565b80156104dd5780601f106104b2576101008083540402835291602001916104dd565b820191906000526020600020905b8154815290600101906020018083116104c057829003601f168201915b505050505081525091505090565b60006000805160206115dd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561055a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057e9190611401565b156105af5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306105c26001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561060a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062e9190611401565b6106565760405163b9304b0d60e01b81526001600160a01b03821660048201526024016105a6565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156106aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ce919061141e565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6106fa610de4565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610727610de4565b6107318287610d6d565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016107ba838261148a565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6107e661030e565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610826573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084a9190611549565b60008051602061161d8339815191528054600160401b900460ff168061087d575080546001600160401b03808416911610155b1561089b5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556108c583610e1d565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610919610de4565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008051602061161d8339815191528054600160401b810460ff1615906001600160401b031660008115801561098a5750825b90506000826001600160401b031660011480156109a65750303b155b9050811580156109b4575080155b156109d25760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156109fc57845460ff60401b1916600160401b1785555b610a068787610e25565b8315610a4d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610a5e610de4565b806001600160a01b03163b600003610a945760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105a6565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152631373a18560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610b0e575060408051601f3d908101601f19168201909252610b0b91810190611401565b60015b610b365760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105a6565b80610b5f5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016105a6565b505b50565b33610b846000805160206115fd833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610bbf5760405162d1953b60e31b81526001600160a01b03821660048201526024016105a6565b816001600160a01b03163b600003610bf5576040516361798f2f60e11b81526001600160a01b03831660048201526024016105a6565b610b5f82610fd1565b6000806000805160206115dd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c929190611401565b15610d1f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610cf5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d199190611572565b91505090565b54600160601b90046001600160a01b0316919050565b6000805160206115fd833981519152805460009190600160a01b900460ff16610d5f576000610d19565b638fb3603760e01b91505090565b610d75610de4565b610d7e81610a56565b610d86610911565b6001600160a01b038216610dad5760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206115dd83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008051602061161d83398151915254600160401b900460ff16610e1b57604051631afcd79f60e31b815260040160405180910390fd5b565b610121610de4565b60008051602061161d8339815191528054600160401b810460ff1615906001600160401b0316600081158015610e585750825b90506000826001600160401b03166001148015610e745750303b155b905081158015610e82575080155b15610ea05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610eca57845460ff60401b1916600160401b1785555b600080600088806020019051810190610ee3919061158f565b925092509250610f6983846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4f919061141e565b602d6000856040518060200160405280600081525061071f565b610f7282611032565b610f82634a531f3360e01b6106f2565b610f8c60006106f2565b5050508315610a4d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610a44565b6000805160206115fd83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61103a610de4565b610b6181611046610de4565b610b6181610fd1565b60006020828403121561106157600080fd5b81356001600160e01b03198116811461107957600080fd5b9392505050565b6000815180845260005b818110156110a65760208185018101518683018201520161108a565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161112f60c08401826001600160a01b03169052565b5060c083015160e080840152611149610100840182611080565b949350505050565b6001600160a01b0381168114610b6157600080fd5b6001600160601b0381168114610b6157600080fd5b8015158114610b6157600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f8301126111b057600080fd5b81356001600160401b03808211156111ca576111ca611189565b604051601f8301601f19908116603f011681019082821181831017156111f2576111f2611189565b8160405283815286602085880101111561120b57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c0878903121561124457600080fd5b863561124f81611151565b9550602087013561125f81611166565b9450604087013560ff8116811461127557600080fd5b935060608701356112858161117b565b9250608087013561129581611151565b915060a08701356001600160401b038111156112b057600080fd5b6112bc89828a0161119f565b9150509295509295509295565b6000602082840312156112db57600080fd5b81356001600160401b038111156112f157600080fd5b6111498482850161119f565b6000806040838503121561131057600080fd5b823561131b81611151565b915060208301356001600160401b0381111561133657600080fd5b6113428582860161119f565b9150509250929050565b60006020828403121561135e57600080fd5b813561107981611151565b6000806040838503121561137c57600080fd5b823561138781611151565b9150602083013561139781611151565b809150509250929050565b6000602082840312156113b457600080fd5b815162ffffff8116811461107957600080fd5b600181811c908216806113db57607f821691505b6020821081036113fb57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561141357600080fd5b81516110798161117b565b60006020828403121561143057600080fd5b815161107981611166565b601f82111561148557600081815260208120601f850160051c810160208610156114625750805b601f850160051c820191505b818110156114815782815560010161146e565b5050505b505050565b81516001600160401b038111156114a3576114a3611189565b6114b7816114b184546113c7565b8461143b565b602080601f8311600181146114ec57600084156114d45750858301515b600019600386901b1c1916600185901b178555611481565b600085815260208120601f198616915b8281101561151b578886015182559484019460019091019084016114fc565b50858210156115395787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561155b57600080fd5b81516001600160401b038116811461107957600080fd5b60006020828403121561158457600080fd5b815161107981611151565b6000806000606084860312156115a457600080fd5b83516115af81611151565b60208501519093506115c081611151565b60408501519092506115d181611151565b80915050925092509256fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212208fc369732241f18f1cd1d9f7f2df1a4992d155deb84da7934762c1c956e44b7764736f6c63430008140033",
|
444
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101215760003560e01c806349bb9e4b116100ad578063893d20e811610071578063893d20e81461029f5780638fb36037146102a7578063ada9652e146102c8578063bf7e214f146102dd578063f7c34ee0146102fb57600080fd5b806349bb9e4b146102195780635ab1bd531461022c578063644c45e014610251578063675393bf146102795780637a9e5e4b1461028c57600080fd5b80631eff4b22116100f45780631eff4b22146101a3578063214cdb80146101d857806327bb7a33146101eb578063329d6e74146101fe57806336fc697e1461021157600080fd5b806301ffc9a7146101265780630d8e6e2c146101685780630fec111c14610184578063138461e014610199575b600080fd5b61015361013436600461104f565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61017061030e565b60405162ffffff909116815260200161015f565b61018c610398565b60405161015f91906110c6565b6101a16104eb565b005b6101ca7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161015f565b6101a16101e636600461104f565b6106f2565b6101a16101f936600461122b565b61071f565b6101a161020c3660046112c9565b6107c4565b6101a1610911565b6101a16102273660046112fd565b610957565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161015f565b6000805160206115dd833981519152546040516001600160601b03909116815260200161015f565b6101a161028736600461134c565b610a56565b6101a161029a36600461134c565b610b64565b610239610bfe565b6102af610d35565b6040516001600160e01b0319909116815260200161015f565b6101ca6000805160206115dd83398151915281565b6000805160206115fd833981519152546001600160a01b0316610239565b6101a1610309366004611369565b610d6d565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561036f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061039391906113a2565b905090565b6040805160e0808201835260008083526020830181905282840181905260608084018290526080840182905260a0840182905260c0840152835191820190935290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300919081906001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610447610bfe565b6001600160a01b03168152602001826001018054610464906113c7565b80601f0160208091040260200160405190810160405280929190818152602001828054610490906113c7565b80156104dd5780601f106104b2576101008083540402835291602001916104dd565b820191906000526020600020905b8154815290600101906020018083116104c057829003601f168201915b505050505081525091505090565b60006000805160206115dd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561055a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057e9190611401565b156105af5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306105c26001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561060a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062e9190611401565b6106565760405163b9304b0d60e01b81526001600160a01b03821660048201526024016105a6565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156106aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ce919061141e565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6106fa610de4565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610727610de4565b6107318287610d6d565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016107ba838261148a565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6107e661030e565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610826573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084a9190611549565b60008051602061161d8339815191528054600160401b900460ff168061087d575080546001600160401b03808416911610155b1561089b5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556108c583610e1d565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610919610de4565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008051602061161d8339815191528054600160401b810460ff1615906001600160401b031660008115801561098a5750825b90506000826001600160401b031660011480156109a65750303b155b9050811580156109b4575080155b156109d25760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156109fc57845460ff60401b1916600160401b1785555b610a068787610e25565b8315610a4d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610a5e610de4565b806001600160a01b03163b600003610a945760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105a6565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152631373a18560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610b0e575060408051601f3d908101601f19168201909252610b0b91810190611401565b60015b610b365760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105a6565b80610b5f5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016105a6565b505b50565b33610b846000805160206115fd833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610bbf5760405162d1953b60e31b81526001600160a01b03821660048201526024016105a6565b816001600160a01b03163b600003610bf5576040516361798f2f60e11b81526001600160a01b03831660048201526024016105a6565b610b5f82610fd1565b6000806000805160206115dd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c929190611401565b15610d1f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610cf5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d199190611572565b91505090565b54600160601b90046001600160a01b0316919050565b6000805160206115fd833981519152805460009190600160a01b900460ff16610d5f576000610d19565b638fb3603760e01b91505090565b610d75610de4565b610d7e81610a56565b610d86610911565b6001600160a01b038216610dad5760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206115dd83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008051602061161d83398151915254600160401b900460ff16610e1b57604051631afcd79f60e31b815260040160405180910390fd5b565b610121610de4565b60008051602061161d8339815191528054600160401b810460ff1615906001600160401b0316600081158015610e585750825b90506000826001600160401b03166001148015610e745750303b155b905081158015610e82575080155b15610ea05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610eca57845460ff60401b1916600160401b1785555b600080600088806020019051810190610ee3919061158f565b925092509250610f6983846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4f919061141e565b602d6000856040518060200160405280600081525061071f565b610f7282611032565b610f82634a531f3360e01b6106f2565b610f8c60006106f2565b5050508315610a4d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610a44565b6000805160206115fd83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61103a610de4565b610b6181611046610de4565b610b6181610fd1565b60006020828403121561106157600080fd5b81356001600160e01b03198116811461107957600080fd5b9392505050565b6000815180845260005b818110156110a65760208185018101518683018201520161108a565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161112f60c08401826001600160a01b03169052565b5060c083015160e080840152611149610100840182611080565b949350505050565b6001600160a01b0381168114610b6157600080fd5b6001600160601b0381168114610b6157600080fd5b8015158114610b6157600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f8301126111b057600080fd5b81356001600160401b03808211156111ca576111ca611189565b604051601f8301601f19908116603f011681019082821181831017156111f2576111f2611189565b8160405283815286602085880101111561120b57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c0878903121561124457600080fd5b863561124f81611151565b9550602087013561125f81611166565b9450604087013560ff8116811461127557600080fd5b935060608701356112858161117b565b9250608087013561129581611151565b915060a08701356001600160401b038111156112b057600080fd5b6112bc89828a0161119f565b9150509295509295509295565b6000602082840312156112db57600080fd5b81356001600160401b038111156112f157600080fd5b6111498482850161119f565b6000806040838503121561131057600080fd5b823561131b81611151565b915060208301356001600160401b0381111561133657600080fd5b6113428582860161119f565b9150509250929050565b60006020828403121561135e57600080fd5b813561107981611151565b6000806040838503121561137c57600080fd5b823561138781611151565b9150602083013561139781611151565b809150509250929050565b6000602082840312156113b457600080fd5b815162ffffff8116811461107957600080fd5b600181811c908216806113db57607f821691505b6020821081036113fb57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561141357600080fd5b81516110798161117b565b60006020828403121561143057600080fd5b815161107981611166565b601f82111561148557600081815260208120601f850160051c810160208610156114625750805b601f850160051c820191505b818110156114815782815560010161146e565b5050505b505050565b81516001600160401b038111156114a3576114a3611189565b6114b7816114b184546113c7565b8461143b565b602080601f8311600181146114ec57600084156114d45750858301515b600019600386901b1c1916600185901b178555611481565b600085815260208120601f198616915b8281101561151b578886015182559484019460019091019084016114fc565b50858210156115395787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561155b57600080fd5b81516001600160401b038116811461107957600080fd5b60006020828403121561158457600080fd5b815161107981611151565b6000806000606084860312156115a457600080fd5b83516115af81611151565b60208501519093506115c081611151565b60408501519092506115d181611151565b80915050925092509256fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212208fc369732241f18f1cd1d9f7f2df1a4992d155deb84da7934762c1c956e44b7764736f6c63430008140033",
|
445
|
+
"linkReferences": {
|
446
|
+
"contracts/type/NftId.sol": {
|
447
|
+
"NftIdLib": [
|
448
|
+
{
|
449
|
+
"length": 20,
|
450
|
+
"start": 1535
|
451
|
+
},
|
452
|
+
{
|
453
|
+
"length": 20,
|
454
|
+
"start": 3347
|
455
|
+
}
|
456
|
+
]
|
457
|
+
},
|
458
|
+
"contracts/type/Version.sol": {
|
459
|
+
"VersionLib": [
|
460
|
+
{
|
461
|
+
"length": 20,
|
462
|
+
"start": 1044
|
463
|
+
},
|
464
|
+
{
|
465
|
+
"length": 20,
|
466
|
+
"start": 2213
|
467
|
+
}
|
468
|
+
]
|
469
|
+
}
|
470
|
+
},
|
471
|
+
"deployedLinkReferences": {
|
472
|
+
"contracts/type/NftId.sol": {
|
473
|
+
"NftIdLib": [
|
474
|
+
{
|
475
|
+
"length": 20,
|
476
|
+
"start": 1312
|
477
|
+
},
|
478
|
+
{
|
479
|
+
"length": 20,
|
480
|
+
"start": 3124
|
481
|
+
}
|
482
|
+
]
|
483
|
+
},
|
484
|
+
"contracts/type/Version.sol": {
|
485
|
+
"VersionLib": [
|
486
|
+
{
|
487
|
+
"length": 20,
|
488
|
+
"start": 821
|
489
|
+
},
|
490
|
+
{
|
491
|
+
"length": 20,
|
492
|
+
"start": 1990
|
493
|
+
}
|
494
|
+
]
|
495
|
+
}
|
496
|
+
}
|
497
|
+
}
|