@etherisc/gif-next 0.0.2-da77c50-824 → 0.0.2-db1e1e4-828
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +249 -23
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +842 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +1329 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +605 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +969 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +823 -115
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +608 -57
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +1132 -143
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +967 -105
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +190 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1502 -1157
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +633 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +2276 -1275
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1330 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1289 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1179 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +741 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +607 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/{module/lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +532 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +194 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.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 +4 -0
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IRisk.sol/IRisk.json} +2 -2
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{pool/IPoolModule.sol/IPool.json → ISetup.sol/ISetup.json} +2 -2
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1039 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +673 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1231 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +721 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +817 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +641 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1798 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +805 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +622 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +659 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +475 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1090 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +606 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +577 -109
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +186 -213
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1092 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +697 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +955 -217
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +661 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +456 -301
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +653 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +199 -12
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +485 -34
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +866 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +487 -101
- 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 +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1158 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
- 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 +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
- 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 +4 -0
- package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +38 -74
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +100 -33
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/{instance/InstanceBase.sol/InstanceBase.json → shared/IService.sol/IService.json} +164 -142
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +16 -125
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +256 -25
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → shared/Service.sol/Service.json} +261 -217
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +29 -115
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +30 -6
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +272 -26
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +44 -10
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +343 -154
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +14 -18
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +37 -163
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
- 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 +161 -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 +100 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +288 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +78 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
- 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 +4 -0
- package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +101 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
- package/contracts/components/Component.sol +253 -0
- package/contracts/components/Distribution.sol +280 -0
- package/contracts/components/IComponent.sol +76 -0
- package/contracts/components/IDistributionComponent.sol +71 -0
- package/contracts/components/IPoolComponent.sol +98 -42
- package/contracts/components/IProductComponent.sol +30 -9
- package/contracts/components/Pool.sol +238 -109
- package/contracts/components/Product.sol +218 -42
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/instance/BundleManager.sol +127 -0
- package/contracts/instance/Cloneable.sol +51 -0
- package/contracts/instance/IInstance.sol +84 -36
- package/contracts/instance/IInstanceService.sol +72 -0
- package/contracts/instance/Instance.sol +311 -45
- package/contracts/instance/InstanceAccessManager.sol +527 -0
- package/contracts/instance/InstanceReader.sol +291 -0
- package/contracts/instance/InstanceService.sol +495 -0
- package/contracts/instance/InstanceServiceManager.sol +54 -0
- package/contracts/instance/ObjectManager.sol +82 -0
- package/contracts/instance/base/ComponentService.sol +121 -0
- package/contracts/instance/base/IKeyValueStore.sol +49 -0
- package/contracts/instance/base/ILifecycle.sol +30 -0
- package/contracts/instance/base/KeyValueStore.sol +180 -0
- package/contracts/instance/base/Lifecycle.sol +109 -0
- package/contracts/instance/module/IAccess.sol +54 -0
- package/contracts/instance/module/IBundle.sol +23 -0
- package/contracts/instance/module/IComponents.sol +41 -0
- package/contracts/instance/module/IDistribution.sol +41 -0
- package/contracts/instance/module/IPolicy.sol +72 -0
- package/contracts/instance/module/IRisk.sol +11 -0
- package/contracts/instance/module/ISetup.sol +33 -0
- package/contracts/instance/module/ITreasury.sol +23 -0
- package/contracts/instance/service/ApplicationService.sol +350 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +431 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/ClaimService.sol +151 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +435 -0
- package/contracts/instance/service/DistributionServiceManager.sol +51 -0
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +93 -0
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +99 -0
- package/contracts/instance/service/IPolicyService.sol +72 -0
- package/contracts/instance/service/IPoolService.sol +81 -12
- package/contracts/instance/service/IProductService.sol +21 -39
- package/contracts/instance/service/PolicyService.sol +362 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +256 -51
- package/contracts/instance/service/PoolServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +150 -298
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +87 -36
- package/contracts/registry/IRegistry.sol +68 -24
- package/contracts/registry/IRegistryService.sol +68 -0
- package/contracts/registry/ITransferInterceptor.sol +7 -0
- package/contracts/registry/Registry.sol +372 -286
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +282 -0
- package/contracts/registry/RegistryServiceManager.sol +62 -0
- package/contracts/registry/ReleaseManager.sol +324 -0
- package/contracts/registry/TokenRegistry.sol +116 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +14 -8
- package/contracts/shared/INftOwnable.sol +23 -0
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +10 -19
- package/contracts/shared/IRegistryLinked.sol +12 -0
- package/contracts/shared/IService.sol +16 -0
- package/contracts/shared/IVersionable.sol +38 -37
- package/contracts/shared/NftOwnable.sol +120 -0
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +169 -0
- package/contracts/shared/Registerable.sol +54 -66
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +72 -0
- package/contracts/shared/TokenHandler.sol +33 -0
- package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
- package/contracts/shared/Versionable.sol +38 -71
- package/contracts/test/TestFee.sol +4 -4
- package/contracts/test/TestRegisterable.sol +5 -6
- package/contracts/test/TestRoleId.sol +2 -2
- package/contracts/test/TestService.sol +8 -18
- package/contracts/test/TestVersion.sol +4 -7
- package/contracts/test/TestVersionable.sol +2 -5
- package/contracts/test/Usdc.sol +26 -0
- package/contracts/types/Amount.sol +60 -0
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +52 -0
- package/contracts/types/DistributorType.sol +55 -0
- package/contracts/types/Fee.sol +52 -20
- package/contracts/types/Key32.sol +50 -0
- package/contracts/types/NftId.sol +24 -1
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/NumberId.sol +52 -0
- package/contracts/types/ObjectType.sol +56 -14
- package/contracts/types/PayoutId.sol +54 -0
- package/contracts/types/Referral.sol +89 -0
- package/contracts/types/RiskId.sol +43 -0
- package/contracts/types/RoleId.sol +72 -11
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +13 -2
- package/contracts/types/Timestamp.sol +17 -13
- package/contracts/types/UFixed.sol +145 -25
- package/contracts/types/Version.sol +43 -26
- package/package.json +6 -5
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
- package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.json +0 -50
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -276
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -276
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
- package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
- package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
- package/artifacts/contracts/instance/module/product/IProductModule.sol/IProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/product/IProductModule.sol/IProductModule.json +0 -10
- package/artifacts/contracts/instance/module/product/ProductModule.sol/ProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/product/ProductModule.sol/ProductModule.json +0 -10
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -538
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -538
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -519
- package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -364
- package/artifacts/contracts/instance/service/IService.sol/IService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IService.sol/IService.json +0 -300
- package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.json +0 -300
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
- package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
- package/contracts/components/BaseComponent.sol +0 -89
- package/contracts/components/IBaseComponent.sol +0 -19
- 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/README.md +0 -112
- 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/IInstanceLinked.sol +0 -8
- package/contracts/instance/IServiceLinked.sol +0 -12
- package/contracts/instance/InstanceBase.sol +0 -74
- package/contracts/instance/module/access/Access.sol +0 -149
- package/contracts/instance/module/access/IAccess.sol +0 -53
- package/contracts/instance/module/bundle/BundleModule.sol +0 -228
- package/contracts/instance/module/bundle/IBundle.sol +0 -53
- package/contracts/instance/module/component/ComponentModule.sol +0 -104
- package/contracts/instance/module/component/IComponent.sol +0 -53
- package/contracts/instance/module/lifecycle/ILifecycle.sol +0 -47
- package/contracts/instance/module/lifecycle/LifecycleModule.sol +0 -89
- package/contracts/instance/module/policy/IPolicy.sol +0 -60
- package/contracts/instance/module/policy/PolicyModule.sol +0 -84
- package/contracts/instance/module/pool/IPoolModule.sol +0 -41
- package/contracts/instance/module/pool/PoolModule.sol +0 -87
- package/contracts/instance/module/product/IProductModule.sol +0 -6
- package/contracts/instance/module/product/ProductModule.sol +0 -8
- package/contracts/instance/module/treasury/ITreasury.sol +0 -104
- package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
- package/contracts/instance/module/treasury/TreasuryModule.sol +0 -148
- package/contracts/instance/service/ComponentOwnerService.sol +0 -174
- package/contracts/instance/service/ComponentServiceBase.sol +0 -41
- package/contracts/instance/service/IComponentOwnerService.sol +0 -22
- package/contracts/instance/service/IService.sol +0 -15
- package/contracts/instance/service/ServiceBase.sol +0 -39
- package/contracts/registry/IChainNft.sol +0 -21
- package/contracts/registry/IRegistryLinked.sol +0 -8
- package/contracts/shared/IOwnable.sol +0 -6
- package/contracts/test/TestPool.sol +0 -22
- package/contracts/test/TestProduct.sol +0 -44
@@ -14,34 +14,137 @@
|
|
14
14
|
"internalType": "NftId",
|
15
15
|
"name": "registryNftId",
|
16
16
|
"type": "uint96"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"internalType": "address",
|
20
|
+
"name": "initialOwner",
|
21
|
+
"type": "address"
|
17
22
|
}
|
18
23
|
],
|
19
24
|
"stateMutability": "nonpayable",
|
20
25
|
"type": "constructor"
|
21
26
|
},
|
22
27
|
{
|
23
|
-
"anonymous": false,
|
24
28
|
"inputs": [
|
25
29
|
{
|
26
|
-
"
|
27
|
-
"
|
28
|
-
"
|
29
|
-
|
30
|
-
|
30
|
+
"internalType": "address",
|
31
|
+
"name": "authority",
|
32
|
+
"type": "address"
|
33
|
+
}
|
34
|
+
],
|
35
|
+
"name": "AccessManagedInvalidAuthority",
|
36
|
+
"type": "error"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"inputs": [
|
31
40
|
{
|
32
|
-
"indexed": false,
|
33
41
|
"internalType": "address",
|
34
|
-
"name": "
|
42
|
+
"name": "caller",
|
35
43
|
"type": "address"
|
36
44
|
},
|
45
|
+
{
|
46
|
+
"internalType": "uint32",
|
47
|
+
"name": "delay",
|
48
|
+
"type": "uint32"
|
49
|
+
}
|
50
|
+
],
|
51
|
+
"name": "AccessManagedRequiredDelay",
|
52
|
+
"type": "error"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"inputs": [
|
56
|
+
{
|
57
|
+
"internalType": "address",
|
58
|
+
"name": "caller",
|
59
|
+
"type": "address"
|
60
|
+
}
|
61
|
+
],
|
62
|
+
"name": "AccessManagedUnauthorized",
|
63
|
+
"type": "error"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"inputs": [
|
67
|
+
{
|
68
|
+
"internalType": "NftId",
|
69
|
+
"name": "nftId",
|
70
|
+
"type": "uint96"
|
71
|
+
}
|
72
|
+
],
|
73
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
74
|
+
"type": "error"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"inputs": [
|
78
|
+
{
|
79
|
+
"internalType": "address",
|
80
|
+
"name": "contractAddress",
|
81
|
+
"type": "address"
|
82
|
+
}
|
83
|
+
],
|
84
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
85
|
+
"type": "error"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"inputs": [],
|
89
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
90
|
+
"type": "error"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"inputs": [
|
94
|
+
{
|
95
|
+
"internalType": "address",
|
96
|
+
"name": "account",
|
97
|
+
"type": "address"
|
98
|
+
}
|
99
|
+
],
|
100
|
+
"name": "ErrorNftOwnableNotOwner",
|
101
|
+
"type": "error"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"inputs": [
|
105
|
+
{
|
106
|
+
"internalType": "address",
|
107
|
+
"name": "registryAddress",
|
108
|
+
"type": "address"
|
109
|
+
}
|
110
|
+
],
|
111
|
+
"name": "ErrorNotRegistry",
|
112
|
+
"type": "error"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"inputs": [],
|
116
|
+
"name": "InvalidInitialization",
|
117
|
+
"type": "error"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"inputs": [],
|
121
|
+
"name": "NotInitializing",
|
122
|
+
"type": "error"
|
123
|
+
},
|
124
|
+
{
|
125
|
+
"anonymous": false,
|
126
|
+
"inputs": [
|
37
127
|
{
|
38
128
|
"indexed": false,
|
39
129
|
"internalType": "address",
|
40
|
-
"name": "
|
130
|
+
"name": "authority",
|
41
131
|
"type": "address"
|
42
132
|
}
|
43
133
|
],
|
44
|
-
"name": "
|
134
|
+
"name": "AuthorityUpdated",
|
135
|
+
"type": "event"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"anonymous": false,
|
139
|
+
"inputs": [
|
140
|
+
{
|
141
|
+
"indexed": false,
|
142
|
+
"internalType": "uint64",
|
143
|
+
"name": "version",
|
144
|
+
"type": "uint64"
|
145
|
+
}
|
146
|
+
],
|
147
|
+
"name": "Initialized",
|
45
148
|
"type": "event"
|
46
149
|
},
|
47
150
|
{
|
@@ -58,31 +161,26 @@
|
|
58
161
|
"type": "function"
|
59
162
|
},
|
60
163
|
{
|
61
|
-
"inputs": [
|
62
|
-
|
63
|
-
|
64
|
-
"name": "implementation",
|
65
|
-
"type": "address"
|
66
|
-
},
|
164
|
+
"inputs": [],
|
165
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
166
|
+
"outputs": [
|
67
167
|
{
|
68
|
-
"internalType": "
|
69
|
-
"name": "
|
70
|
-
"type": "
|
168
|
+
"internalType": "bytes32",
|
169
|
+
"name": "",
|
170
|
+
"type": "bytes32"
|
71
171
|
}
|
72
172
|
],
|
73
|
-
"
|
74
|
-
"outputs": [],
|
75
|
-
"stateMutability": "nonpayable",
|
173
|
+
"stateMutability": "view",
|
76
174
|
"type": "function"
|
77
175
|
},
|
78
176
|
{
|
79
177
|
"inputs": [],
|
80
|
-
"name": "
|
178
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
81
179
|
"outputs": [
|
82
180
|
{
|
83
|
-
"internalType": "
|
84
|
-
"name": "
|
85
|
-
"type": "
|
181
|
+
"internalType": "bytes32",
|
182
|
+
"name": "",
|
183
|
+
"type": "bytes32"
|
86
184
|
}
|
87
185
|
],
|
88
186
|
"stateMutability": "view",
|
@@ -90,12 +188,12 @@
|
|
90
188
|
},
|
91
189
|
{
|
92
190
|
"inputs": [],
|
93
|
-
"name": "
|
191
|
+
"name": "authority",
|
94
192
|
"outputs": [
|
95
193
|
{
|
96
|
-
"internalType": "
|
97
|
-
"name": "
|
98
|
-
"type": "
|
194
|
+
"internalType": "address",
|
195
|
+
"name": "",
|
196
|
+
"type": "address"
|
99
197
|
}
|
100
198
|
],
|
101
199
|
"stateMutability": "view",
|
@@ -103,12 +201,12 @@
|
|
103
201
|
},
|
104
202
|
{
|
105
203
|
"inputs": [],
|
106
|
-
"name": "
|
204
|
+
"name": "getDomain",
|
107
205
|
"outputs": [
|
108
206
|
{
|
109
|
-
"internalType": "
|
110
|
-
"name": "
|
111
|
-
"type": "
|
207
|
+
"internalType": "ObjectType",
|
208
|
+
"name": "",
|
209
|
+
"type": "uint8"
|
112
210
|
}
|
113
211
|
],
|
114
212
|
"stateMutability": "pure",
|
@@ -116,12 +214,49 @@
|
|
116
214
|
},
|
117
215
|
{
|
118
216
|
"inputs": [],
|
119
|
-
"name": "
|
217
|
+
"name": "getInitialInfo",
|
120
218
|
"outputs": [
|
121
219
|
{
|
122
|
-
"
|
123
|
-
|
124
|
-
|
220
|
+
"components": [
|
221
|
+
{
|
222
|
+
"internalType": "NftId",
|
223
|
+
"name": "nftId",
|
224
|
+
"type": "uint96"
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"internalType": "NftId",
|
228
|
+
"name": "parentNftId",
|
229
|
+
"type": "uint96"
|
230
|
+
},
|
231
|
+
{
|
232
|
+
"internalType": "ObjectType",
|
233
|
+
"name": "objectType",
|
234
|
+
"type": "uint8"
|
235
|
+
},
|
236
|
+
{
|
237
|
+
"internalType": "bool",
|
238
|
+
"name": "isInterceptor",
|
239
|
+
"type": "bool"
|
240
|
+
},
|
241
|
+
{
|
242
|
+
"internalType": "address",
|
243
|
+
"name": "objectAddress",
|
244
|
+
"type": "address"
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"internalType": "address",
|
248
|
+
"name": "initialOwner",
|
249
|
+
"type": "address"
|
250
|
+
},
|
251
|
+
{
|
252
|
+
"internalType": "bytes",
|
253
|
+
"name": "data",
|
254
|
+
"type": "bytes"
|
255
|
+
}
|
256
|
+
],
|
257
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
258
|
+
"name": "info",
|
259
|
+
"type": "tuple"
|
125
260
|
}
|
126
261
|
],
|
127
262
|
"stateMutability": "view",
|
@@ -129,12 +264,12 @@
|
|
129
264
|
},
|
130
265
|
{
|
131
266
|
"inputs": [],
|
132
|
-
"name": "
|
267
|
+
"name": "getNftId",
|
133
268
|
"outputs": [
|
134
269
|
{
|
135
|
-
"internalType": "
|
136
|
-
"name": "
|
137
|
-
"type": "
|
270
|
+
"internalType": "NftId",
|
271
|
+
"name": "",
|
272
|
+
"type": "uint96"
|
138
273
|
}
|
139
274
|
],
|
140
275
|
"stateMutability": "view",
|
@@ -142,12 +277,12 @@
|
|
142
277
|
},
|
143
278
|
{
|
144
279
|
"inputs": [],
|
145
|
-
"name": "
|
280
|
+
"name": "getOwner",
|
146
281
|
"outputs": [
|
147
282
|
{
|
148
|
-
"internalType": "
|
149
|
-
"name": "
|
150
|
-
"type": "
|
283
|
+
"internalType": "address",
|
284
|
+
"name": "",
|
285
|
+
"type": "address"
|
151
286
|
}
|
152
287
|
],
|
153
288
|
"stateMutability": "view",
|
@@ -159,7 +294,7 @@
|
|
159
294
|
"outputs": [
|
160
295
|
{
|
161
296
|
"internalType": "contract IRegistry",
|
162
|
-
"name": "
|
297
|
+
"name": "",
|
163
298
|
"type": "address"
|
164
299
|
}
|
165
300
|
],
|
@@ -168,15 +303,15 @@
|
|
168
303
|
},
|
169
304
|
{
|
170
305
|
"inputs": [],
|
171
|
-
"name": "
|
306
|
+
"name": "getRegistryAddress",
|
172
307
|
"outputs": [
|
173
308
|
{
|
174
|
-
"internalType": "
|
309
|
+
"internalType": "address",
|
175
310
|
"name": "",
|
176
|
-
"type": "
|
311
|
+
"type": "address"
|
177
312
|
}
|
178
313
|
],
|
179
|
-
"stateMutability": "
|
314
|
+
"stateMutability": "view",
|
180
315
|
"type": "function"
|
181
316
|
},
|
182
317
|
{
|
@@ -192,98 +327,131 @@
|
|
192
327
|
"stateMutability": "pure",
|
193
328
|
"type": "function"
|
194
329
|
},
|
330
|
+
{
|
331
|
+
"inputs": [],
|
332
|
+
"name": "initializeERC165",
|
333
|
+
"outputs": [],
|
334
|
+
"stateMutability": "nonpayable",
|
335
|
+
"type": "function"
|
336
|
+
},
|
195
337
|
{
|
196
338
|
"inputs": [
|
197
339
|
{
|
198
|
-
"internalType": "
|
199
|
-
"name": "
|
200
|
-
"type": "
|
201
|
-
}
|
202
|
-
],
|
203
|
-
"name": "getVersion",
|
204
|
-
"outputs": [
|
340
|
+
"internalType": "address",
|
341
|
+
"name": "initialOwner",
|
342
|
+
"type": "address"
|
343
|
+
},
|
205
344
|
{
|
206
|
-
"internalType": "
|
207
|
-
"name": "",
|
208
|
-
"type": "
|
345
|
+
"internalType": "address",
|
346
|
+
"name": "registryAddress",
|
347
|
+
"type": "address"
|
209
348
|
}
|
210
349
|
],
|
211
|
-
"
|
350
|
+
"name": "initializeNftOwnable",
|
351
|
+
"outputs": [],
|
352
|
+
"stateMutability": "nonpayable",
|
212
353
|
"type": "function"
|
213
354
|
},
|
214
355
|
{
|
215
|
-
"inputs": [
|
216
|
-
"name": "getVersionCount",
|
217
|
-
"outputs": [
|
356
|
+
"inputs": [
|
218
357
|
{
|
219
|
-
"internalType": "
|
220
|
-
"name": "",
|
221
|
-
"type": "
|
358
|
+
"internalType": "address",
|
359
|
+
"name": "registryAddress",
|
360
|
+
"type": "address"
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"internalType": "NftId",
|
364
|
+
"name": "parentNftId",
|
365
|
+
"type": "uint96"
|
366
|
+
},
|
367
|
+
{
|
368
|
+
"internalType": "ObjectType",
|
369
|
+
"name": "objectType",
|
370
|
+
"type": "uint8"
|
371
|
+
},
|
372
|
+
{
|
373
|
+
"internalType": "bool",
|
374
|
+
"name": "isInterceptor",
|
375
|
+
"type": "bool"
|
376
|
+
},
|
377
|
+
{
|
378
|
+
"internalType": "address",
|
379
|
+
"name": "initialOwner",
|
380
|
+
"type": "address"
|
381
|
+
},
|
382
|
+
{
|
383
|
+
"internalType": "bytes",
|
384
|
+
"name": "registryData",
|
385
|
+
"type": "bytes"
|
222
386
|
}
|
223
387
|
],
|
224
|
-
"
|
388
|
+
"name": "initializeRegisterable",
|
389
|
+
"outputs": [],
|
390
|
+
"stateMutability": "nonpayable",
|
225
391
|
"type": "function"
|
226
392
|
},
|
227
393
|
{
|
228
394
|
"inputs": [
|
229
395
|
{
|
230
|
-
"internalType": "
|
231
|
-
"name": "
|
232
|
-
"type": "
|
396
|
+
"internalType": "address",
|
397
|
+
"name": "registryAddress",
|
398
|
+
"type": "address"
|
233
399
|
}
|
234
400
|
],
|
235
|
-
"name": "
|
236
|
-
"outputs": [
|
401
|
+
"name": "initializeRegistryLinked",
|
402
|
+
"outputs": [],
|
403
|
+
"stateMutability": "nonpayable",
|
404
|
+
"type": "function"
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"inputs": [
|
237
408
|
{
|
238
|
-
"
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
"name": "activatedBy",
|
252
|
-
"type": "address"
|
253
|
-
},
|
254
|
-
{
|
255
|
-
"internalType": "Blocknumber",
|
256
|
-
"name": "activatedIn",
|
257
|
-
"type": "uint32"
|
258
|
-
},
|
259
|
-
{
|
260
|
-
"internalType": "Timestamp",
|
261
|
-
"name": "activatedAt",
|
262
|
-
"type": "uint40"
|
263
|
-
}
|
264
|
-
],
|
265
|
-
"internalType": "struct IVersionable.VersionInfo",
|
266
|
-
"name": "",
|
267
|
-
"type": "tuple"
|
409
|
+
"internalType": "address",
|
410
|
+
"name": "registry",
|
411
|
+
"type": "address"
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"internalType": "address",
|
415
|
+
"name": "authority",
|
416
|
+
"type": "address"
|
417
|
+
},
|
418
|
+
{
|
419
|
+
"internalType": "address",
|
420
|
+
"name": "initialOwner",
|
421
|
+
"type": "address"
|
268
422
|
}
|
269
423
|
],
|
270
|
-
"
|
424
|
+
"name": "initializeService",
|
425
|
+
"outputs": [],
|
426
|
+
"stateMutability": "nonpayable",
|
271
427
|
"type": "function"
|
272
428
|
},
|
273
429
|
{
|
274
430
|
"inputs": [
|
275
431
|
{
|
276
|
-
"internalType": "
|
277
|
-
"name": "
|
278
|
-
"type": "
|
432
|
+
"internalType": "address",
|
433
|
+
"name": "activatedBy",
|
434
|
+
"type": "address"
|
435
|
+
},
|
436
|
+
{
|
437
|
+
"internalType": "bytes",
|
438
|
+
"name": "data",
|
439
|
+
"type": "bytes"
|
279
440
|
}
|
280
441
|
],
|
281
|
-
"name": "
|
442
|
+
"name": "initializeVersionable",
|
443
|
+
"outputs": [],
|
444
|
+
"stateMutability": "nonpayable",
|
445
|
+
"type": "function"
|
446
|
+
},
|
447
|
+
{
|
448
|
+
"inputs": [],
|
449
|
+
"name": "isConsumingScheduledOp",
|
282
450
|
"outputs": [
|
283
451
|
{
|
284
|
-
"internalType": "
|
452
|
+
"internalType": "bytes4",
|
285
453
|
"name": "",
|
286
|
-
"type": "
|
454
|
+
"type": "bytes4"
|
287
455
|
}
|
288
456
|
],
|
289
457
|
"stateMutability": "view",
|
@@ -291,14 +459,34 @@
|
|
291
459
|
},
|
292
460
|
{
|
293
461
|
"inputs": [],
|
294
|
-
"name": "
|
295
|
-
"outputs": [
|
462
|
+
"name": "linkToRegisteredNftId",
|
463
|
+
"outputs": [],
|
464
|
+
"stateMutability": "nonpayable",
|
465
|
+
"type": "function"
|
466
|
+
},
|
467
|
+
{
|
468
|
+
"inputs": [
|
296
469
|
{
|
297
|
-
"internalType": "
|
298
|
-
"name": "
|
299
|
-
"type": "
|
470
|
+
"internalType": "bytes4",
|
471
|
+
"name": "interfaceId",
|
472
|
+
"type": "bytes4"
|
473
|
+
}
|
474
|
+
],
|
475
|
+
"name": "registerInterface",
|
476
|
+
"outputs": [],
|
477
|
+
"stateMutability": "nonpayable",
|
478
|
+
"type": "function"
|
479
|
+
},
|
480
|
+
{
|
481
|
+
"inputs": [
|
482
|
+
{
|
483
|
+
"internalType": "address",
|
484
|
+
"name": "newAuthority",
|
485
|
+
"type": "address"
|
300
486
|
}
|
301
487
|
],
|
488
|
+
"name": "setAuthority",
|
489
|
+
"outputs": [],
|
302
490
|
"stateMutability": "nonpayable",
|
303
491
|
"type": "function"
|
304
492
|
},
|
@@ -320,20 +508,33 @@
|
|
320
508
|
],
|
321
509
|
"stateMutability": "view",
|
322
510
|
"type": "function"
|
511
|
+
},
|
512
|
+
{
|
513
|
+
"inputs": [
|
514
|
+
{
|
515
|
+
"internalType": "bytes",
|
516
|
+
"name": "data",
|
517
|
+
"type": "bytes"
|
518
|
+
}
|
519
|
+
],
|
520
|
+
"name": "upgradeVersionable",
|
521
|
+
"outputs": [],
|
522
|
+
"stateMutability": "nonpayable",
|
523
|
+
"type": "function"
|
323
524
|
}
|
324
525
|
],
|
325
|
-
"bytecode": "0x60e06040523480156200001157600080fd5b506040516200198a3803806200198a833981016040819052620000349162000852565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055818181816001600160a01b038216620000d05760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa15801562000120573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001469190620008a7565b620001945760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000c7565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002129190620008a7565b6200026c5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000c7565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff1916600117905550620002bc905060003362000302565b631b4612f160e31b60009081526020527ffc58a5a01198e68c5a5d0bcd463f9ab550fc4337b1df271aed6dbb33d25fef25805460ff191660011790555050505062000944565b60006200030e620005da565b90506200031b81620005f0565b156200037a5760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b6064820152608401620000c7565b600254156200043b5760028054600091906200039990600190620008e8565b81548110620003ac57620003ac620008fe565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050620003df828262000696565b620004395760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b6064820152608401620000c7565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101620004c54390565b63ffffffff1681526020014264ffffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c01b0264ffffffffff60c01b1963ffffffff909716600160a01b026001600160c01b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d441990620005cd9083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b6000620005eb6003600080620006a8565b905090565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160a01b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801562000669573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200068f919062000914565b1192915050565b62ffffff808216908316115b92915050565b604051632b10f60d60e21b815260ff84166004820152600090819073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801562000700573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000726919062000914565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af41580156200077f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007a5919062000914565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015620007fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000824919062000914565b9050806200083b600884901b601086901b6200092e565b6200084791906200092e565b979650505050505050565b600080604083850312156200086657600080fd5b82516001600160a01b03811681146200087e57600080fd5b60208401519092506001600160601b03811681146200089c57600080fd5b809150509250929050565b600060208284031215620008ba57600080fd5b81518015158114620008cb57600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115620006a257620006a2620008d2565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200092757600080fd5b5051919050565b80820180821115620006a257620006a2620008d2565b60805160a05160c051610ffa6200099060003960006106f6015260006101e801526000818161029201528181610480015281816106060152818161067701526107390152610ffa6000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80634d459c90116100a2578063946dfcfe11610071578063946dfcfe146102da5780639555c4db146102eb578063a3f4df7e14610300578063b88da7591461032a578063cde749f41461033d57600080fd5b80634d459c90146102205780635ab1bd5314610290578063644c45e0146102ca578063893d20e8146102d257600080fd5b806317d7de7c116100de57806317d7de7c146101965780631aa3a008146101c657806331b62a3b146101e65780633bc5de301461020c57600080fd5b806301ffc9a7146101105780630abd8434146101525780630d8e6e2c1461016557806315dae03e14610181575b600080fd5b61013d61011e366004610db1565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61013d610160366004610df6565b610345565b61016d6103e8565b60405162ffffff9091168152602001610149565b60285b60405160ff9091168152602001610149565b60408051808201909152600b81526a546573745365727669636560a81b60208201525b6040516101499190610e59565b6101ce6103fc565b6040516001600160601b039091168152602001610149565b7f00000000000000000000000000000000000000000000000000000000000000006101ce565b6040805160208101909152600081526101b9565b61023361022e366004610df6565b6104f5565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015163ffffffff169082015260809182015164ffffffffff169181019190915260a001610149565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b039091168152602001610149565b6101ce6105ee565b6102b2610655565b600254604051908152602001610149565b6102fe6102f9366004610e81565b6107b2565b005b6101b96040518060400160405280600b81526020016a546573745365727669636560a81b81525081565b61016d610338366004610eba565b6107c0565b610184610853565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160a01b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156103bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e19190610ed3565b1192915050565b60006103f76003600080610930565b905090565b6000610406610655565b6001600160a01b0316336001600160a01b03161461046b5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e455200000000000000000060448201526064015b60405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af11580156104d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f79190610eec565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915261052982610345565b6105755760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a56524e2d3032303a56455253494f4e5f554e4b4e4f574e0000006044820152606401610462565b5062ffffff908116600090815260016020818152604092839020835160a0810185528154958616815263010000009095046001600160a01b03908116928601929092529091015490811691830191909152600160a01b810463ffffffff166060830152600160c01b900464ffffffffff16608082015290565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa1580156106be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e29190610eec565b90506106ef816000610acd565b1561071b577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610788573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ac9190610f15565b91505090565b6107bc8282610ae3565b5050565b60025460009082106108145760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a56524e2d3031303a494e4445585f544f4f5f4c415247450000006044820152606401610462565b6002828154811061082757610827610f32565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000306001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610893573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b79190610f48565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561090c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f79190610f65565b604051632b10f60d60e21b815260ff84166004820152600090819073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ab9190610ed3565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610a03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a279190610ed3565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610a7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa39190610ed3565b905080610ab8600884901b601086901b610f9e565b610ac29190610f9e565b979650505050505050565b6001600160601b03828116908216145b92915050565b6000610aed6103e8565b9050610af881610345565b15610b555760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b6064820152608401610462565b60025415610c14576002805460009190610b7190600190610fb1565b81548110610b8157610b81610f32565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050610bba828262ffffff90811691161190565b610c125760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b6064820152608401610462565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101610c9d4390565b63ffffffff1681526020014264ffffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c01b0264ffffffffff60c01b1963ffffffff909716600160a01b026001600160c01b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d441990610da49083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b600060208284031215610dc357600080fd5b81356001600160e01b031981168114610ddb57600080fd5b9392505050565b62ffffff81168114610df357600080fd5b50565b600060208284031215610e0857600080fd5b8135610ddb81610de2565b6000815180845260005b81811015610e3957602081850181015186830182015201610e1d565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610ddb6020830184610e13565b6001600160a01b0381168114610df357600080fd5b60008060408385031215610e9457600080fd5b8235610e9f81610e6c565b91506020830135610eaf81610e6c565b809150509250929050565b600060208284031215610ecc57600080fd5b5035919050565b600060208284031215610ee557600080fd5b5051919050565b600060208284031215610efe57600080fd5b81516001600160601b0381168114610ddb57600080fd5b600060208284031215610f2757600080fd5b8151610ddb81610e6c565b634e487b7160e01b600052603260045260246000fd5b600060208284031215610f5a57600080fd5b8151610ddb81610de2565b600060208284031215610f7757600080fd5b815160ff81168114610ddb57600080fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610add57610add610f88565b81810381811115610add57610add610f8856fea2646970667358221220858101abb0d1ec329d0da3892531c0417610d06c65081d0e6521dc5710196bde64736f6c63430008140033",
|
326
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80634d459c90116100a2578063946dfcfe11610071578063946dfcfe146102da5780639555c4db146102eb578063a3f4df7e14610300578063b88da7591461032a578063cde749f41461033d57600080fd5b80634d459c90146102205780635ab1bd5314610290578063644c45e0146102ca578063893d20e8146102d257600080fd5b806317d7de7c116100de57806317d7de7c146101965780631aa3a008146101c657806331b62a3b146101e65780633bc5de301461020c57600080fd5b806301ffc9a7146101105780630abd8434146101525780630d8e6e2c1461016557806315dae03e14610181575b600080fd5b61013d61011e366004610db1565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61013d610160366004610df6565b610345565b61016d6103e8565b60405162ffffff9091168152602001610149565b60285b60405160ff9091168152602001610149565b60408051808201909152600b81526a546573745365727669636560a81b60208201525b6040516101499190610e59565b6101ce6103fc565b6040516001600160601b039091168152602001610149565b7f00000000000000000000000000000000000000000000000000000000000000006101ce565b6040805160208101909152600081526101b9565b61023361022e366004610df6565b6104f5565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015163ffffffff169082015260809182015164ffffffffff169181019190915260a001610149565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b039091168152602001610149565b6101ce6105ee565b6102b2610655565b600254604051908152602001610149565b6102fe6102f9366004610e81565b6107b2565b005b6101b96040518060400160405280600b81526020016a546573745365727669636560a81b81525081565b61016d610338366004610eba565b6107c0565b610184610853565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160a01b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156103bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e19190610ed3565b1192915050565b60006103f76003600080610930565b905090565b6000610406610655565b6001600160a01b0316336001600160a01b03161461046b5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e455200000000000000000060448201526064015b60405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af11580156104d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f79190610eec565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915261052982610345565b6105755760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a56524e2d3032303a56455253494f4e5f554e4b4e4f574e0000006044820152606401610462565b5062ffffff908116600090815260016020818152604092839020835160a0810185528154958616815263010000009095046001600160a01b03908116928601929092529091015490811691830191909152600160a01b810463ffffffff166060830152600160c01b900464ffffffffff16608082015290565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa1580156106be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e29190610eec565b90506106ef816000610acd565b1561071b577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610788573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ac9190610f15565b91505090565b6107bc8282610ae3565b5050565b60025460009082106108145760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a56524e2d3031303a494e4445585f544f4f5f4c415247450000006044820152606401610462565b6002828154811061082757610827610f32565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000306001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610893573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b79190610f48565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561090c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f79190610f65565b604051632b10f60d60e21b815260ff84166004820152600090819073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ab9190610ed3565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610a03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a279190610ed3565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610a7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa39190610ed3565b905080610ab8600884901b601086901b610f9e565b610ac29190610f9e565b979650505050505050565b6001600160601b03828116908216145b92915050565b6000610aed6103e8565b9050610af881610345565b15610b555760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b6064820152608401610462565b60025415610c14576002805460009190610b7190600190610fb1565b81548110610b8157610b81610f32565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050610bba828262ffffff90811691161190565b610c125760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b6064820152608401610462565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101610c9d4390565b63ffffffff1681526020014264ffffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c01b0264ffffffffff60c01b1963ffffffff909716600160a01b026001600160c01b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d441990610da49083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b600060208284031215610dc357600080fd5b81356001600160e01b031981168114610ddb57600080fd5b9392505050565b62ffffff81168114610df357600080fd5b50565b600060208284031215610e0857600080fd5b8135610ddb81610de2565b6000815180845260005b81811015610e3957602081850181015186830182015201610e1d565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610ddb6020830184610e13565b6001600160a01b0381168114610df357600080fd5b60008060408385031215610e9457600080fd5b8235610e9f81610e6c565b91506020830135610eaf81610e6c565b809150509250929050565b600060208284031215610ecc57600080fd5b5035919050565b600060208284031215610ee557600080fd5b5051919050565b600060208284031215610efe57600080fd5b81516001600160601b0381168114610ddb57600080fd5b600060208284031215610f2757600080fd5b8151610ddb81610e6c565b634e487b7160e01b600052603260045260246000fd5b600060208284031215610f5a57600080fd5b8151610ddb81610de2565b600060208284031215610f7757600080fd5b815160ff81168114610ddb57600080fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610add57610add610f88565b81810381811115610add57610add610f8856fea2646970667358221220858101abb0d1ec329d0da3892531c0417610d06c65081d0e6521dc5710196bde64736f6c63430008140033",
|
526
|
+
"bytecode": "0x60806040523480156200001157600080fd5b50604051620021c4380380620021c4833981016040819052620000349162000751565b6200003e62000055565b6200004c8360008362000109565b50505062000997565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000a65760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001065780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6200011362000363565b6200019e83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000157573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200017d91906200079b565b603c60008560405180602001604052806000815250620003b460201b60201c565b6001600160a01b03821615620001bf57620001b98262000453565b6200033a565b6000620001d46001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801562000235573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200025b9190620007c0565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015620002a1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c79190620007e5565b905062000338816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200030c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003329190620007e5565b62000453565b505b6200034c634a531f3360e01b62000468565b6200035e63b68d180960e01b62000468565b505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16620003b257604051631afcd79f60e31b815260040160405180910390fd5b565b620003be62000363565b620003ca828762000497565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d010000000000000000000000000086151502178155905060018101620004498382620008a7565b5050505050505050565b6200045d62000363565b620001068162000530565b6200047262000363565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620004a162000363565b620004ac8162000545565b620004b662000661565b6001600160a01b038216620004de5760405163f17ef42d60e01b815260040160405180910390fd5b507f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b6200053a62000363565b6200010681620006a9565b6200054f62000363565b806001600160a01b03163b6000036200058b5760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa92505050801562000608575060408051601f3d908101601f19168201909252620006059181019062000973565b60015b620006325760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000582565b806200065d5760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000582565b5050565b6200066b62000363565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b80516001600160a01b03811681146200073457600080fd5b919050565b80516001600160601b03811681146200073457600080fd5b6000806000606084860312156200076757600080fd5b62000772846200071c565b9250620007826020850162000739565b915062000792604085016200071c565b90509250925092565b600060208284031215620007ae57600080fd5b620007b98262000739565b9392505050565b600060208284031215620007d357600080fd5b815160ff81168114620007b957600080fd5b600060208284031215620007f857600080fd5b620007b9826200071c565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200082e57607f821691505b6020821081036200084f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200035e57600081815260208120601f850160051c810160208610156200087e5750805b601f850160051c820191505b818110156200089f578281556001016200088a565b505050505050565b81516001600160401b03811115620008c357620008c362000803565b620008db81620008d4845462000819565b8462000855565b602080601f831160018114620009135760008415620008fa5750858301515b600019600386901b1c1916600185901b1785556200089f565b600085815260208120601f198616915b82811015620009445788860151825594840194600190910190840162000923565b5085821015620009635787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200098657600080fd5b81518015158114620007b957600080fd5b61181d80620009a76000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063644c45e0116100c3578063a3f4df7e1161007c578063a3f4df7e14610307578063ada9652e1461033e578063b68d180914610353578063bf7e214f14610362578063f21de1e814610258578063f7c34ee01461038057600080fd5b8063644c45e01461027d578063675393bf146102a55780637a9e5e4b146102b8578063893d20e8146102cb5780638e32e979146102d35780638fb36037146102e657600080fd5b8063214cdb8011610115578063214cdb801461020457806327bb7a3314610217578063329d6e741461022a57806336fc697e1461023d57806349bb9e4b146102455780635ab1bd531461025857600080fd5b806301ffc9a7146101525780630d8e6e2c146101945780630fec111c146101b0578063138461e0146101c55780631eff4b22146101cf575b600080fd5b61017f6101603660046111de565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61019c610393565b60405162ffffff909116815260200161018b565b6101b861041d565b60405161018b9190611255565b6101cd6105cc565b005b6101f67f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161018b565b6101cd6102123660046111de565b6107d3565b6101cd6102253660046113ca565b610800565b6101cd610238366004611463565b61088c565b6101cd6109ee565b6101cd610253366004611498565b610a34565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161018b565b6000805160206117a8833981519152546040516001600160601b03909116815260200161018b565b6101cd6102b33660046114e8565b610b46565b6101cd6102c63660046114e8565b610c54565b610265610cee565b6101cd6102e1366004611505565b610e25565b6102ee61105e565b6040516001600160e01b0319909116815260200161018b565b6103316040518060400160405280600b81526020016a546573745365727669636560a81b81525081565b60405161018b9190611550565b6101f66000805160206117a883398151915281565b604051606e815260200161018b565b6000805160206117c8833981519152546001600160a01b0316610265565b6101cd61038e366004611563565b611096565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156103f4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610418919061159c565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906104c8906115c1565b80601f01602080910402602001604051908101604052809291908181526020018280546104f4906115c1565b80156105415780601f1061051657610100808354040283529160200191610541565b820191906000526020600020905b81548152906001019060200180831161052457829003601f168201915b50505050508152505090506040518060e0016040528061055f600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016105b0610cee565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206117a883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561063b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065f91906115fb565b156106905780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306106a36001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156106eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070f91906115fb565b6107375760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610687565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561078b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107af9190611618565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6107db61110d565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61080861110d565b6108128287611096565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016108828382611683565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6108ae610393565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156108ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109129190611743565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff16806109585750805467ffffffffffffffff808416911610155b156109765760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff191667ffffffffffffffff831617600160401b1781556109a183611158565b805460ff60401b1916815560405167ffffffffffffffff831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6109f661110d565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610a7a5750825b905060008267ffffffffffffffff166001148015610a975750303b155b905081158015610aa5575080155b15610ac35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610aed57845460ff60401b1916600160401b1785555b610af78787611158565b8315610b3d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b610b4e61110d565b806001600160a01b03163b600003610b845760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610687565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610bfe575060408051601f3d908101601f19168201909252610bfb918101906115fb565b60015b610c265760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610687565b80610c4f5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610687565b505b50565b33610c746000805160206117c8833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610caf5760405162d1953b60e31b81526001600160a01b0382166004820152602401610687565b816001600160a01b03163b600003610ce5576040516361798f2f60e11b81526001600160a01b0383166004820152602401610687565b610c4f82611160565b6000806000805160206117a883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8291906115fb565b15610e0f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610de5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e09919061176d565b91505090565b54600160601b90046001600160a01b0316919050565b610e2d61110d565b610ead83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e939190611618565b603c60008560405180602001604052806000815250610800565b6001600160a01b03821615610eca57610ec5826111c1565b611039565b6000610ede6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015610f3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f62919061178a565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610fa7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcb919061176d565b9050611037816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561100e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611032919061176d565b6111c1565b505b611049634a531f3360e01b6107d3565b61105963b68d180960e01b6107d3565b505050565b6000805160206117c8833981519152805460009190600160a01b900460ff16611088576000610e09565b638fb3603760e01b91505090565b61109e61110d565b6110a781610b46565b6110af6109ee565b6001600160a01b0382166110d65760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206117a883398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661115657604051631afcd79f60e31b815260040160405180910390fd5b565b61014d61110d565b6000805160206117c883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6111c961110d565b610c51816111d561110d565b610c5181611160565b6000602082840312156111f057600080fd5b81356001600160e01b03198116811461120857600080fd5b9392505050565b6000815180845260005b8181101561123557602081850181015186830182015201611219565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516112be60c08401826001600160a01b03169052565b5060c083015160e0808401526112d861010084018261120f565b949350505050565b6001600160a01b0381168114610c5157600080fd5b6001600160601b0381168114610c5157600080fd5b60ff81168114610c5157600080fd5b8015158114610c5157600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261134e57600080fd5b813567ffffffffffffffff8082111561136957611369611327565b604051601f8301601f19908116603f0116810190828211818310171561139157611391611327565b816040528381528660208588010111156113aa57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c087890312156113e357600080fd5b86356113ee816112e0565b955060208701356113fe816112f5565b9450604087013561140e8161130a565b9350606087013561141e81611319565b9250608087013561142e816112e0565b915060a087013567ffffffffffffffff81111561144a57600080fd5b61145689828a0161133d565b9150509295509295509295565b60006020828403121561147557600080fd5b813567ffffffffffffffff81111561148c57600080fd5b6112d88482850161133d565b600080604083850312156114ab57600080fd5b82356114b6816112e0565b9150602083013567ffffffffffffffff8111156114d257600080fd5b6114de8582860161133d565b9150509250929050565b6000602082840312156114fa57600080fd5b8135611208816112e0565b60008060006060848603121561151a57600080fd5b8335611525816112e0565b92506020840135611535816112e0565b91506040840135611545816112e0565b809150509250925092565b602081526000611208602083018461120f565b6000806040838503121561157657600080fd5b8235611581816112e0565b91506020830135611591816112e0565b809150509250929050565b6000602082840312156115ae57600080fd5b815162ffffff8116811461120857600080fd5b600181811c908216806115d557607f821691505b6020821081036115f557634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561160d57600080fd5b815161120881611319565b60006020828403121561162a57600080fd5b8151611208816112f5565b601f82111561105957600081815260208120601f850160051c8101602086101561165c5750805b601f850160051c820191505b8181101561167b57828155600101611668565b505050505050565b815167ffffffffffffffff81111561169d5761169d611327565b6116b1816116ab84546115c1565b84611635565b602080601f8311600181146116e657600084156116ce5750858301515b600019600386901b1c1916600185901b17855561167b565b600085815260208120601f198616915b82811015611715578886015182559484019460019091019084016116f6565b50858210156117335787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561175557600080fd5b815167ffffffffffffffff8116811461120857600080fd5b60006020828403121561177f57600080fd5b8151611208816112e0565b60006020828403121561179c57600080fd5b81516112088161130a56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220c0144e7af80e833263a8edb556a2586ddd62bc150b3534ffbc0d40e9aaa0201364736f6c63430008140033",
|
527
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061014d5760003560e01c8063644c45e0116100c3578063a3f4df7e1161007c578063a3f4df7e14610307578063ada9652e1461033e578063b68d180914610353578063bf7e214f14610362578063f21de1e814610258578063f7c34ee01461038057600080fd5b8063644c45e01461027d578063675393bf146102a55780637a9e5e4b146102b8578063893d20e8146102cb5780638e32e979146102d35780638fb36037146102e657600080fd5b8063214cdb8011610115578063214cdb801461020457806327bb7a3314610217578063329d6e741461022a57806336fc697e1461023d57806349bb9e4b146102455780635ab1bd531461025857600080fd5b806301ffc9a7146101525780630d8e6e2c146101945780630fec111c146101b0578063138461e0146101c55780631eff4b22146101cf575b600080fd5b61017f6101603660046111de565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61019c610393565b60405162ffffff909116815260200161018b565b6101b861041d565b60405161018b9190611255565b6101cd6105cc565b005b6101f67f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161018b565b6101cd6102123660046111de565b6107d3565b6101cd6102253660046113ca565b610800565b6101cd610238366004611463565b61088c565b6101cd6109ee565b6101cd610253366004611498565b610a34565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161018b565b6000805160206117a8833981519152546040516001600160601b03909116815260200161018b565b6101cd6102b33660046114e8565b610b46565b6101cd6102c63660046114e8565b610c54565b610265610cee565b6101cd6102e1366004611505565b610e25565b6102ee61105e565b6040516001600160e01b0319909116815260200161018b565b6103316040518060400160405280600b81526020016a546573745365727669636560a81b81525081565b60405161018b9190611550565b6101f66000805160206117a883398151915281565b604051606e815260200161018b565b6000805160206117c8833981519152546001600160a01b0316610265565b6101cd61038e366004611563565b611096565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156103f4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610418919061159c565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906104c8906115c1565b80601f01602080910402602001604051908101604052809291908181526020018280546104f4906115c1565b80156105415780601f1061051657610100808354040283529160200191610541565b820191906000526020600020905b81548152906001019060200180831161052457829003601f168201915b50505050508152505090506040518060e0016040528061055f600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016105b0610cee565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206117a883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561063b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065f91906115fb565b156106905780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306106a36001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156106eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070f91906115fb565b6107375760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610687565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561078b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107af9190611618565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6107db61110d565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61080861110d565b6108128287611096565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016108828382611683565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6108ae610393565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156108ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109129190611743565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff16806109585750805467ffffffffffffffff808416911610155b156109765760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff191667ffffffffffffffff831617600160401b1781556109a183611158565b805460ff60401b1916815560405167ffffffffffffffff831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6109f661110d565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610a7a5750825b905060008267ffffffffffffffff166001148015610a975750303b155b905081158015610aa5575080155b15610ac35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610aed57845460ff60401b1916600160401b1785555b610af78787611158565b8315610b3d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b610b4e61110d565b806001600160a01b03163b600003610b845760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610687565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610bfe575060408051601f3d908101601f19168201909252610bfb918101906115fb565b60015b610c265760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610687565b80610c4f5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610687565b505b50565b33610c746000805160206117c8833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610caf5760405162d1953b60e31b81526001600160a01b0382166004820152602401610687565b816001600160a01b03163b600003610ce5576040516361798f2f60e11b81526001600160a01b0383166004820152602401610687565b610c4f82611160565b6000806000805160206117a883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8291906115fb565b15610e0f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610de5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e09919061176d565b91505090565b54600160601b90046001600160a01b0316919050565b610e2d61110d565b610ead83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e939190611618565b603c60008560405180602001604052806000815250610800565b6001600160a01b03821615610eca57610ec5826111c1565b611039565b6000610ede6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015610f3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f62919061178a565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610fa7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcb919061176d565b9050611037816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561100e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611032919061176d565b6111c1565b505b611049634a531f3360e01b6107d3565b61105963b68d180960e01b6107d3565b505050565b6000805160206117c8833981519152805460009190600160a01b900460ff16611088576000610e09565b638fb3603760e01b91505090565b61109e61110d565b6110a781610b46565b6110af6109ee565b6001600160a01b0382166110d65760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206117a883398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661115657604051631afcd79f60e31b815260040160405180910390fd5b565b61014d61110d565b6000805160206117c883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6111c961110d565b610c51816111d561110d565b610c5181611160565b6000602082840312156111f057600080fd5b81356001600160e01b03198116811461120857600080fd5b9392505050565b6000815180845260005b8181101561123557602081850181015186830182015201611219565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516112be60c08401826001600160a01b03169052565b5060c083015160e0808401526112d861010084018261120f565b949350505050565b6001600160a01b0381168114610c5157600080fd5b6001600160601b0381168114610c5157600080fd5b60ff81168114610c5157600080fd5b8015158114610c5157600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261134e57600080fd5b813567ffffffffffffffff8082111561136957611369611327565b604051601f8301601f19908116603f0116810190828211818310171561139157611391611327565b816040528381528660208588010111156113aa57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c087890312156113e357600080fd5b86356113ee816112e0565b955060208701356113fe816112f5565b9450604087013561140e8161130a565b9350606087013561141e81611319565b9250608087013561142e816112e0565b915060a087013567ffffffffffffffff81111561144a57600080fd5b61145689828a0161133d565b9150509295509295509295565b60006020828403121561147557600080fd5b813567ffffffffffffffff81111561148c57600080fd5b6112d88482850161133d565b600080604083850312156114ab57600080fd5b82356114b6816112e0565b9150602083013567ffffffffffffffff8111156114d257600080fd5b6114de8582860161133d565b9150509250929050565b6000602082840312156114fa57600080fd5b8135611208816112e0565b60008060006060848603121561151a57600080fd5b8335611525816112e0565b92506020840135611535816112e0565b91506040840135611545816112e0565b809150509250925092565b602081526000611208602083018461120f565b6000806040838503121561157657600080fd5b8235611581816112e0565b91506020830135611591816112e0565b809150509250929050565b6000602082840312156115ae57600080fd5b815162ffffff8116811461120857600080fd5b600181811c908216806115d557607f821691505b6020821081036115f557634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561160d57600080fd5b815161120881611319565b60006020828403121561162a57600080fd5b8151611208816112f5565b601f82111561105957600081815260208120601f850160051c8101602086101561165c5750805b601f850160051c820191505b8181101561167b57828155600101611668565b505050505050565b815167ffffffffffffffff81111561169d5761169d611327565b6116b1816116ab84546115c1565b84611635565b602080601f8311600181146116e657600084156116ce5750858301515b600019600386901b1c1916600185901b17855561167b565b600085815260208120601f198616915b82811015611715578886015182559484019460019091019084016116f6565b50858210156117335787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561175557600080fd5b815167ffffffffffffffff8116811461120857600080fd5b60006020828403121561177f57600080fd5b8151611208816112e0565b60006020828403121561179c57600080fd5b81516112088161130a56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220c0144e7af80e833263a8edb556a2586ddd62bc150b3534ffbc0d40e9aaa0201364736f6c63430008140033",
|
327
528
|
"linkReferences": {
|
328
|
-
"contracts/types/
|
329
|
-
"
|
529
|
+
"contracts/types/NftId.sol": {
|
530
|
+
"NftIdLib": [
|
330
531
|
{
|
331
532
|
"length": 20,
|
332
|
-
"start":
|
533
|
+
"start": 4008
|
333
534
|
},
|
334
535
|
{
|
335
536
|
"length": 20,
|
336
|
-
"start":
|
537
|
+
"start": 5835
|
337
538
|
}
|
338
539
|
]
|
339
540
|
},
|
@@ -341,43 +542,35 @@
|
|
341
542
|
"VersionLib": [
|
342
543
|
{
|
343
544
|
"length": 20,
|
344
|
-
"start":
|
345
|
-
}
|
346
|
-
],
|
347
|
-
"VersionPartLib": [
|
348
|
-
{
|
349
|
-
"length": 20,
|
350
|
-
"start": 1733
|
351
|
-
},
|
352
|
-
{
|
353
|
-
"length": 20,
|
354
|
-
"start": 1860
|
355
|
-
},
|
356
|
-
{
|
357
|
-
"length": 20,
|
358
|
-
"start": 1987
|
545
|
+
"start": 3425
|
359
546
|
},
|
360
547
|
{
|
361
548
|
"length": 20,
|
362
|
-
"start":
|
363
|
-
}
|
549
|
+
"start": 4661
|
550
|
+
}
|
551
|
+
],
|
552
|
+
"VersionPartLib": [
|
364
553
|
{
|
365
554
|
"length": 20,
|
366
|
-
"start":
|
555
|
+
"start": 506
|
367
556
|
},
|
368
557
|
{
|
369
558
|
"length": 20,
|
370
|
-
"start":
|
559
|
+
"start": 6315
|
371
560
|
}
|
372
561
|
]
|
373
562
|
}
|
374
563
|
},
|
375
564
|
"deployedLinkReferences": {
|
376
|
-
"contracts/types/
|
377
|
-
"
|
565
|
+
"contracts/types/NftId.sol": {
|
566
|
+
"NftIdLib": [
|
378
567
|
{
|
379
568
|
"length": 20,
|
380
|
-
"start":
|
569
|
+
"start": 1537
|
570
|
+
},
|
571
|
+
{
|
572
|
+
"length": 20,
|
573
|
+
"start": 3364
|
381
574
|
}
|
382
575
|
]
|
383
576
|
},
|
@@ -385,21 +578,17 @@
|
|
385
578
|
"VersionLib": [
|
386
579
|
{
|
387
580
|
"length": 20,
|
388
|
-
"start":
|
389
|
-
}
|
390
|
-
],
|
391
|
-
"VersionPartLib": [
|
392
|
-
{
|
393
|
-
"length": 20,
|
394
|
-
"start": 2381
|
581
|
+
"start": 954
|
395
582
|
},
|
396
583
|
{
|
397
584
|
"length": 20,
|
398
|
-
"start":
|
399
|
-
}
|
585
|
+
"start": 2190
|
586
|
+
}
|
587
|
+
],
|
588
|
+
"VersionPartLib": [
|
400
589
|
{
|
401
590
|
"length": 20,
|
402
|
-
"start":
|
591
|
+
"start": 3844
|
403
592
|
}
|
404
593
|
]
|
405
594
|
}
|