@etherisc/gif-next 0.0.2-d679de9-140 → 0.0.2-d8b116d-201
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +235 -7
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +176 -23
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +618 -0
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +129 -23
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +152 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +74 -181
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +55 -177
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +463 -63
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +494 -70
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +2 -2
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +101 -0
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +1132 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +750 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +4 -0
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +1082 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +915 -1096
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +480 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +2518 -1092
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +917 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1422 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +931 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +508 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +272 -0
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +276 -36
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +51 -1
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +45 -127
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +55 -245
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +6 -6
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +211 -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/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IDistribution.sol/IDistribution.json} +2 -2
- 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/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
- package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/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/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +401 -65
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +716 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +444 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +177 -75
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/{base/ServiceBase.sol/ServiceBase.json → service/IDistributionService.sol/IDistributionService.json} +204 -58
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +342 -49
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +334 -51
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +551 -51
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +460 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +552 -78
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +488 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +377 -37
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +947 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +487 -123
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1293 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +517 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +410 -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 +2 -2
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +117 -37
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IService.sol/IService.json +175 -54
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +190 -37
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/RegisterableUpgradable.sol/RegisterableUpgradable.json} +199 -83
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/shared/Service.sol/Service.json +468 -0
- 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 +78 -14
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +10 -10
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +204 -36
- 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 +283 -62
- 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 +12 -12
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +103 -23
- 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/AddressSet.sol/LibAddressSet.json +2 -2
- 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/ChainId.sol/ChainIdLib.json +2 -2
- 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 +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +4 -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/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -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/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 +15 -2
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
- 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 +40 -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/BaseComponent.sol +26 -23
- package/contracts/components/Distribution.sol +163 -0
- package/contracts/components/IBaseComponent.sol +9 -3
- package/contracts/components/IDistributionComponent.sol +44 -0
- package/contracts/components/IPoolComponent.sol +15 -10
- package/contracts/components/IProductComponent.sol +25 -9
- package/contracts/components/Pool.sol +106 -33
- package/contracts/components/Product.sol +204 -32
- package/contracts/experiment/cloning/Cloner.sol +47 -0
- package/contracts/instance/AccessManagedSimple.sol +115 -0
- package/contracts/instance/AccessManagerSimple.sol +692 -0
- package/contracts/instance/BundleManager.sol +143 -0
- package/contracts/instance/Cloneable.sol +47 -0
- package/contracts/instance/IAccessManagerSimple.sol +391 -0
- package/contracts/instance/IInstance.sol +47 -45
- package/contracts/instance/IInstanceService.sol +30 -0
- package/contracts/instance/Instance.sol +426 -51
- package/contracts/instance/InstanceAccessManager.sol +288 -0
- package/contracts/instance/InstanceReader.sol +315 -0
- package/contracts/instance/InstanceService.sol +201 -0
- package/contracts/instance/InstanceServiceManager.sol +57 -0
- package/contracts/instance/ObjectManager.sol +95 -0
- package/contracts/instance/base/ComponentServiceBase.sol +102 -10
- package/contracts/instance/base/IInstanceBase.sol +11 -2
- package/contracts/instance/base/IKeyValueStore.sol +13 -13
- package/contracts/instance/base/ILifecycle.sol +3 -3
- package/contracts/instance/base/KeyValueStore.sol +53 -37
- package/contracts/instance/base/Lifecycle.sol +16 -11
- package/contracts/instance/module/IAccess.sol +38 -0
- package/contracts/instance/module/IBundle.sol +20 -0
- package/contracts/instance/module/IDistribution.sol +39 -0
- package/contracts/instance/module/IPolicy.sol +45 -0
- package/contracts/instance/module/IRisk.sol +11 -0
- package/contracts/instance/module/ISetup.sol +46 -0
- package/contracts/instance/module/ITreasury.sol +23 -0
- package/contracts/instance/service/ComponentOwnerService.sol +244 -97
- package/contracts/instance/service/DistributionService.sol +88 -0
- package/contracts/instance/service/DistributionServiceManager.sol +54 -0
- package/contracts/instance/service/IComponentOwnerService.sol +1 -3
- package/contracts/instance/service/IDistributionService.sol +12 -0
- package/contracts/instance/service/IPoolService.sol +14 -1
- package/contracts/instance/service/IProductService.sol +59 -7
- package/contracts/instance/service/PoolService.sol +123 -42
- package/contracts/instance/service/PoolServiceManager.sol +54 -0
- package/contracts/instance/service/ProductService.sol +340 -133
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +80 -37
- package/contracts/registry/IRegistry.sol +49 -25
- package/contracts/registry/IRegistryService.sol +50 -0
- package/contracts/registry/ITransferInterceptor.sol +6 -0
- package/contracts/registry/Registry.sol +337 -270
- package/contracts/registry/RegistryService.sol +358 -0
- package/contracts/registry/RegistryServiceManager.sol +80 -0
- package/contracts/registry/TokenRegistry.sol +111 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +6 -2
- package/contracts/shared/INftOwnable.sol +22 -0
- package/contracts/shared/IRegisterable.sol +8 -15
- package/contracts/{instance/base → shared}/IService.sol +3 -3
- package/contracts/shared/IVersionable.sol +55 -11
- package/contracts/shared/NftOwnable.sol +134 -0
- package/contracts/shared/ProxyManager.sol +94 -0
- package/contracts/shared/Registerable.sol +63 -59
- package/contracts/shared/RegisterableUpgradable.sol +16 -0
- package/contracts/shared/Service.sol +55 -0
- package/contracts/shared/TokenHandler.sol +27 -0
- package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
- package/contracts/shared/Versionable.sol +113 -55
- package/contracts/test/TestFee.sol +2 -2
- package/contracts/test/TestRegisterable.sol +5 -6
- package/contracts/test/TestRoleId.sol +2 -2
- package/contracts/test/TestService.sol +5 -13
- package/contracts/test/Usdc.sol +26 -0
- package/contracts/types/DistributorType.sol +55 -0
- package/contracts/types/Fee.sol +10 -5
- package/contracts/types/Key32.sol +8 -3
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/NumberId.sol +52 -0
- package/contracts/types/ObjectType.sol +51 -14
- package/contracts/types/Referral.sol +85 -0
- package/contracts/types/RiskId.sol +43 -0
- package/contracts/types/RoleId.sol +65 -11
- package/contracts/types/StateId.sol +5 -1
- package/contracts/types/Timestamp.sol +7 -3
- package/contracts/types/UFixed.sol +139 -24
- package/contracts/types/Version.sol +13 -1
- package/package.json +7 -3
- 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/base/IService.sol/IService.dbg.json +0 -4
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.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 -296
- 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 -296
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
- 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/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/IPool.json +0 -10
- 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/risk/IRisk.sol/IRisk.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.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 -533
- 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 -533
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
- 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 -479
- package/contracts/experiment/statemachine/README.md +0 -112
- package/contracts/instance/IInstanceLinked.sol +0 -8
- package/contracts/instance/base/InstanceBase.sol +0 -80
- package/contracts/instance/base/ModuleBase.sol +0 -52
- package/contracts/instance/base/ServiceBase.sol +0 -37
- 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 -136
- package/contracts/instance/module/bundle/IBundle.sol +0 -58
- package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
- package/contracts/instance/module/compensation/ICompensation.sol +0 -10
- package/contracts/instance/module/component/ComponentModule.sol +0 -95
- package/contracts/instance/module/component/IComponent.sol +0 -53
- package/contracts/instance/module/policy/IPolicy.sol +0 -60
- package/contracts/instance/module/policy/PolicyModule.sol +0 -76
- package/contracts/instance/module/pool/IPoolModule.sol +0 -41
- package/contracts/instance/module/pool/PoolModule.sol +0 -87
- package/contracts/instance/module/risk/IRisk.sol +0 -10
- package/contracts/instance/module/risk/RiskModule.sol +0 -8
- package/contracts/instance/module/treasury/ITreasury.sol +0 -103
- package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
- package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
- 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
@@ -0,0 +1,750 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "BundleManager",
|
4
|
+
"sourceName": "contracts/instance/BundleManager.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"stateMutability": "nonpayable",
|
9
|
+
"type": "constructor"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"inputs": [
|
13
|
+
{
|
14
|
+
"internalType": "address",
|
15
|
+
"name": "authority",
|
16
|
+
"type": "address"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"name": "AccessManagedInvalidAuthority",
|
20
|
+
"type": "error"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"inputs": [
|
24
|
+
{
|
25
|
+
"internalType": "address",
|
26
|
+
"name": "caller",
|
27
|
+
"type": "address"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"internalType": "uint32",
|
31
|
+
"name": "delay",
|
32
|
+
"type": "uint32"
|
33
|
+
}
|
34
|
+
],
|
35
|
+
"name": "AccessManagedRequiredDelay",
|
36
|
+
"type": "error"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"inputs": [
|
40
|
+
{
|
41
|
+
"internalType": "address",
|
42
|
+
"name": "caller",
|
43
|
+
"type": "address"
|
44
|
+
}
|
45
|
+
],
|
46
|
+
"name": "AccessManagedUnauthorized",
|
47
|
+
"type": "error"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"inputs": [
|
51
|
+
{
|
52
|
+
"internalType": "address",
|
53
|
+
"name": "registry",
|
54
|
+
"type": "address"
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"name": "CloneableRegistryInvalid",
|
58
|
+
"type": "error"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"inputs": [
|
62
|
+
{
|
63
|
+
"internalType": "NftId",
|
64
|
+
"name": "bundleNftId",
|
65
|
+
"type": "uint96"
|
66
|
+
}
|
67
|
+
],
|
68
|
+
"name": "ErrorBundleManagerBundleNotRegistered",
|
69
|
+
"type": "error"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"inputs": [
|
73
|
+
{
|
74
|
+
"internalType": "NftId",
|
75
|
+
"name": "bundleNftId",
|
76
|
+
"type": "uint96"
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"name": "ErrorBundleManagerBundleUnknown",
|
80
|
+
"type": "error"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"inputs": [
|
84
|
+
{
|
85
|
+
"internalType": "NftId",
|
86
|
+
"name": "bundleNftId",
|
87
|
+
"type": "uint96"
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"internalType": "NftId",
|
91
|
+
"name": "policyNftId",
|
92
|
+
"type": "uint96"
|
93
|
+
}
|
94
|
+
],
|
95
|
+
"name": "ErrorBundleManagerErrorBundleLocked",
|
96
|
+
"type": "error"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"inputs": [
|
100
|
+
{
|
101
|
+
"internalType": "NftId",
|
102
|
+
"name": "policyNftId",
|
103
|
+
"type": "uint96"
|
104
|
+
}
|
105
|
+
],
|
106
|
+
"name": "ErrorBundleManagerErrorPolicyAlreadyActivated",
|
107
|
+
"type": "error"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"inputs": [
|
111
|
+
{
|
112
|
+
"internalType": "NftId",
|
113
|
+
"name": "policyNftId",
|
114
|
+
"type": "uint96"
|
115
|
+
}
|
116
|
+
],
|
117
|
+
"name": "ErrorBundleManagerPolicyNotCloseable",
|
118
|
+
"type": "error"
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"inputs": [
|
122
|
+
{
|
123
|
+
"internalType": "NftId",
|
124
|
+
"name": "policyNftId",
|
125
|
+
"type": "uint96"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"internalType": "uint256",
|
129
|
+
"name": "openClaimsCount",
|
130
|
+
"type": "uint256"
|
131
|
+
}
|
132
|
+
],
|
133
|
+
"name": "ErrorBundleManagerPolicyWithOpenClaims",
|
134
|
+
"type": "error"
|
135
|
+
},
|
136
|
+
{
|
137
|
+
"inputs": [
|
138
|
+
{
|
139
|
+
"internalType": "NftId",
|
140
|
+
"name": "componentNftId",
|
141
|
+
"type": "uint96"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"internalType": "NftId",
|
145
|
+
"name": "objectNftId",
|
146
|
+
"type": "uint96"
|
147
|
+
}
|
148
|
+
],
|
149
|
+
"name": "ErrorObjectManagerAlreadyAdded",
|
150
|
+
"type": "error"
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"inputs": [
|
154
|
+
{
|
155
|
+
"internalType": "NftId",
|
156
|
+
"name": "instanceNftId",
|
157
|
+
"type": "uint96"
|
158
|
+
}
|
159
|
+
],
|
160
|
+
"name": "ErrorObjectManagerNftIdInvalid",
|
161
|
+
"type": "error"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"inputs": [],
|
165
|
+
"name": "InvalidInitialization",
|
166
|
+
"type": "error"
|
167
|
+
},
|
168
|
+
{
|
169
|
+
"inputs": [],
|
170
|
+
"name": "NotInitializing",
|
171
|
+
"type": "error"
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"anonymous": false,
|
175
|
+
"inputs": [
|
176
|
+
{
|
177
|
+
"indexed": false,
|
178
|
+
"internalType": "address",
|
179
|
+
"name": "authority",
|
180
|
+
"type": "address"
|
181
|
+
}
|
182
|
+
],
|
183
|
+
"name": "AuthorityUpdated",
|
184
|
+
"type": "event"
|
185
|
+
},
|
186
|
+
{
|
187
|
+
"anonymous": false,
|
188
|
+
"inputs": [
|
189
|
+
{
|
190
|
+
"indexed": false,
|
191
|
+
"internalType": "address",
|
192
|
+
"name": "authority",
|
193
|
+
"type": "address"
|
194
|
+
},
|
195
|
+
{
|
196
|
+
"indexed": false,
|
197
|
+
"internalType": "address",
|
198
|
+
"name": "registry",
|
199
|
+
"type": "address"
|
200
|
+
}
|
201
|
+
],
|
202
|
+
"name": "CloneableInitialized",
|
203
|
+
"type": "event"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"anonymous": false,
|
207
|
+
"inputs": [
|
208
|
+
{
|
209
|
+
"indexed": false,
|
210
|
+
"internalType": "uint64",
|
211
|
+
"name": "version",
|
212
|
+
"type": "uint64"
|
213
|
+
}
|
214
|
+
],
|
215
|
+
"name": "Initialized",
|
216
|
+
"type": "event"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"anonymous": false,
|
220
|
+
"inputs": [
|
221
|
+
{
|
222
|
+
"indexed": false,
|
223
|
+
"internalType": "NftId",
|
224
|
+
"name": "poolNftId",
|
225
|
+
"type": "uint96"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"indexed": false,
|
229
|
+
"internalType": "NftId",
|
230
|
+
"name": "bundleNftId",
|
231
|
+
"type": "uint96"
|
232
|
+
}
|
233
|
+
],
|
234
|
+
"name": "LogBundleManagerBundleAdded",
|
235
|
+
"type": "event"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"anonymous": false,
|
239
|
+
"inputs": [
|
240
|
+
{
|
241
|
+
"indexed": false,
|
242
|
+
"internalType": "NftId",
|
243
|
+
"name": "poolNftId",
|
244
|
+
"type": "uint96"
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"indexed": false,
|
248
|
+
"internalType": "NftId",
|
249
|
+
"name": "bundleNftId",
|
250
|
+
"type": "uint96"
|
251
|
+
}
|
252
|
+
],
|
253
|
+
"name": "LogBundleManagerBundleLocked",
|
254
|
+
"type": "event"
|
255
|
+
},
|
256
|
+
{
|
257
|
+
"anonymous": false,
|
258
|
+
"inputs": [
|
259
|
+
{
|
260
|
+
"indexed": false,
|
261
|
+
"internalType": "NftId",
|
262
|
+
"name": "poolNftId",
|
263
|
+
"type": "uint96"
|
264
|
+
},
|
265
|
+
{
|
266
|
+
"indexed": false,
|
267
|
+
"internalType": "NftId",
|
268
|
+
"name": "bundleNftId",
|
269
|
+
"type": "uint96"
|
270
|
+
}
|
271
|
+
],
|
272
|
+
"name": "LogBundleManagerBundleUnlocked",
|
273
|
+
"type": "event"
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"anonymous": false,
|
277
|
+
"inputs": [
|
278
|
+
{
|
279
|
+
"indexed": false,
|
280
|
+
"internalType": "NftId",
|
281
|
+
"name": "bundleNftId",
|
282
|
+
"type": "uint96"
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"indexed": false,
|
286
|
+
"internalType": "NftId",
|
287
|
+
"name": "policyNftId",
|
288
|
+
"type": "uint96"
|
289
|
+
}
|
290
|
+
],
|
291
|
+
"name": "LogBundleManagerPolicyLinked",
|
292
|
+
"type": "event"
|
293
|
+
},
|
294
|
+
{
|
295
|
+
"anonymous": false,
|
296
|
+
"inputs": [
|
297
|
+
{
|
298
|
+
"indexed": false,
|
299
|
+
"internalType": "NftId",
|
300
|
+
"name": "bundleNftId",
|
301
|
+
"type": "uint96"
|
302
|
+
},
|
303
|
+
{
|
304
|
+
"indexed": false,
|
305
|
+
"internalType": "NftId",
|
306
|
+
"name": "policyNftId",
|
307
|
+
"type": "uint96"
|
308
|
+
}
|
309
|
+
],
|
310
|
+
"name": "LogBundleManagerPolicyUnlinked",
|
311
|
+
"type": "event"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"anonymous": false,
|
315
|
+
"inputs": [
|
316
|
+
{
|
317
|
+
"indexed": false,
|
318
|
+
"internalType": "NftId",
|
319
|
+
"name": "instanceNftId",
|
320
|
+
"type": "uint96"
|
321
|
+
},
|
322
|
+
{
|
323
|
+
"indexed": false,
|
324
|
+
"internalType": "address",
|
325
|
+
"name": "instanceReader",
|
326
|
+
"type": "address"
|
327
|
+
}
|
328
|
+
],
|
329
|
+
"name": "LogObjectManagerInitialized",
|
330
|
+
"type": "event"
|
331
|
+
},
|
332
|
+
{
|
333
|
+
"inputs": [
|
334
|
+
{
|
335
|
+
"internalType": "NftId",
|
336
|
+
"name": "poolNftId",
|
337
|
+
"type": "uint96"
|
338
|
+
}
|
339
|
+
],
|
340
|
+
"name": "activeBundles",
|
341
|
+
"outputs": [
|
342
|
+
{
|
343
|
+
"internalType": "uint256",
|
344
|
+
"name": "",
|
345
|
+
"type": "uint256"
|
346
|
+
}
|
347
|
+
],
|
348
|
+
"stateMutability": "view",
|
349
|
+
"type": "function"
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"inputs": [
|
353
|
+
{
|
354
|
+
"internalType": "NftId",
|
355
|
+
"name": "bundleNftId",
|
356
|
+
"type": "uint96"
|
357
|
+
}
|
358
|
+
],
|
359
|
+
"name": "add",
|
360
|
+
"outputs": [],
|
361
|
+
"stateMutability": "nonpayable",
|
362
|
+
"type": "function"
|
363
|
+
},
|
364
|
+
{
|
365
|
+
"inputs": [],
|
366
|
+
"name": "authority",
|
367
|
+
"outputs": [
|
368
|
+
{
|
369
|
+
"internalType": "address",
|
370
|
+
"name": "",
|
371
|
+
"type": "address"
|
372
|
+
}
|
373
|
+
],
|
374
|
+
"stateMutability": "view",
|
375
|
+
"type": "function"
|
376
|
+
},
|
377
|
+
{
|
378
|
+
"inputs": [
|
379
|
+
{
|
380
|
+
"internalType": "NftId",
|
381
|
+
"name": "poolNftId",
|
382
|
+
"type": "uint96"
|
383
|
+
}
|
384
|
+
],
|
385
|
+
"name": "bundles",
|
386
|
+
"outputs": [
|
387
|
+
{
|
388
|
+
"internalType": "uint256",
|
389
|
+
"name": "",
|
390
|
+
"type": "uint256"
|
391
|
+
}
|
392
|
+
],
|
393
|
+
"stateMutability": "view",
|
394
|
+
"type": "function"
|
395
|
+
},
|
396
|
+
{
|
397
|
+
"inputs": [
|
398
|
+
{
|
399
|
+
"internalType": "NftId",
|
400
|
+
"name": "poolNftId",
|
401
|
+
"type": "uint96"
|
402
|
+
},
|
403
|
+
{
|
404
|
+
"internalType": "uint256",
|
405
|
+
"name": "idx",
|
406
|
+
"type": "uint256"
|
407
|
+
}
|
408
|
+
],
|
409
|
+
"name": "getActiveBundleNftId",
|
410
|
+
"outputs": [
|
411
|
+
{
|
412
|
+
"internalType": "NftId",
|
413
|
+
"name": "bundleNftId",
|
414
|
+
"type": "uint96"
|
415
|
+
}
|
416
|
+
],
|
417
|
+
"stateMutability": "view",
|
418
|
+
"type": "function"
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"inputs": [
|
422
|
+
{
|
423
|
+
"internalType": "NftId",
|
424
|
+
"name": "poolNftId",
|
425
|
+
"type": "uint96"
|
426
|
+
},
|
427
|
+
{
|
428
|
+
"internalType": "uint256",
|
429
|
+
"name": "idx",
|
430
|
+
"type": "uint256"
|
431
|
+
}
|
432
|
+
],
|
433
|
+
"name": "getBundleNftId",
|
434
|
+
"outputs": [
|
435
|
+
{
|
436
|
+
"internalType": "NftId",
|
437
|
+
"name": "bundleNftId",
|
438
|
+
"type": "uint96"
|
439
|
+
}
|
440
|
+
],
|
441
|
+
"stateMutability": "view",
|
442
|
+
"type": "function"
|
443
|
+
},
|
444
|
+
{
|
445
|
+
"inputs": [],
|
446
|
+
"name": "getInstanceReader",
|
447
|
+
"outputs": [
|
448
|
+
{
|
449
|
+
"internalType": "contract InstanceReader",
|
450
|
+
"name": "",
|
451
|
+
"type": "address"
|
452
|
+
}
|
453
|
+
],
|
454
|
+
"stateMutability": "view",
|
455
|
+
"type": "function"
|
456
|
+
},
|
457
|
+
{
|
458
|
+
"inputs": [],
|
459
|
+
"name": "getRegistry",
|
460
|
+
"outputs": [
|
461
|
+
{
|
462
|
+
"internalType": "contract IRegistry",
|
463
|
+
"name": "",
|
464
|
+
"type": "address"
|
465
|
+
}
|
466
|
+
],
|
467
|
+
"stateMutability": "view",
|
468
|
+
"type": "function"
|
469
|
+
},
|
470
|
+
{
|
471
|
+
"inputs": [
|
472
|
+
{
|
473
|
+
"internalType": "address",
|
474
|
+
"name": "authority",
|
475
|
+
"type": "address"
|
476
|
+
},
|
477
|
+
{
|
478
|
+
"internalType": "address",
|
479
|
+
"name": "registry",
|
480
|
+
"type": "address"
|
481
|
+
}
|
482
|
+
],
|
483
|
+
"name": "initialize",
|
484
|
+
"outputs": [],
|
485
|
+
"stateMutability": "nonpayable",
|
486
|
+
"type": "function"
|
487
|
+
},
|
488
|
+
{
|
489
|
+
"inputs": [
|
490
|
+
{
|
491
|
+
"internalType": "address",
|
492
|
+
"name": "authority",
|
493
|
+
"type": "address"
|
494
|
+
},
|
495
|
+
{
|
496
|
+
"internalType": "address",
|
497
|
+
"name": "registry",
|
498
|
+
"type": "address"
|
499
|
+
},
|
500
|
+
{
|
501
|
+
"internalType": "NftId",
|
502
|
+
"name": "instanceNftId",
|
503
|
+
"type": "uint96"
|
504
|
+
}
|
505
|
+
],
|
506
|
+
"name": "initialize",
|
507
|
+
"outputs": [],
|
508
|
+
"stateMutability": "nonpayable",
|
509
|
+
"type": "function"
|
510
|
+
},
|
511
|
+
{
|
512
|
+
"inputs": [],
|
513
|
+
"name": "isConsumingScheduledOp",
|
514
|
+
"outputs": [
|
515
|
+
{
|
516
|
+
"internalType": "bytes4",
|
517
|
+
"name": "",
|
518
|
+
"type": "bytes4"
|
519
|
+
}
|
520
|
+
],
|
521
|
+
"stateMutability": "view",
|
522
|
+
"type": "function"
|
523
|
+
},
|
524
|
+
{
|
525
|
+
"inputs": [
|
526
|
+
{
|
527
|
+
"internalType": "NftId",
|
528
|
+
"name": "policyNftId",
|
529
|
+
"type": "uint96"
|
530
|
+
}
|
531
|
+
],
|
532
|
+
"name": "linkPolicy",
|
533
|
+
"outputs": [],
|
534
|
+
"stateMutability": "nonpayable",
|
535
|
+
"type": "function"
|
536
|
+
},
|
537
|
+
{
|
538
|
+
"inputs": [
|
539
|
+
{
|
540
|
+
"internalType": "NftId",
|
541
|
+
"name": "poolNftId",
|
542
|
+
"type": "uint96"
|
543
|
+
},
|
544
|
+
{
|
545
|
+
"internalType": "NftId",
|
546
|
+
"name": "bundleNftId",
|
547
|
+
"type": "uint96"
|
548
|
+
}
|
549
|
+
],
|
550
|
+
"name": "lock",
|
551
|
+
"outputs": [],
|
552
|
+
"stateMutability": "nonpayable",
|
553
|
+
"type": "function"
|
554
|
+
},
|
555
|
+
{
|
556
|
+
"inputs": [
|
557
|
+
{
|
558
|
+
"internalType": "address",
|
559
|
+
"name": "newAuthority",
|
560
|
+
"type": "address"
|
561
|
+
}
|
562
|
+
],
|
563
|
+
"name": "setAuthority",
|
564
|
+
"outputs": [],
|
565
|
+
"stateMutability": "nonpayable",
|
566
|
+
"type": "function"
|
567
|
+
},
|
568
|
+
{
|
569
|
+
"inputs": [
|
570
|
+
{
|
571
|
+
"internalType": "NftId",
|
572
|
+
"name": "policyNftId",
|
573
|
+
"type": "uint96"
|
574
|
+
}
|
575
|
+
],
|
576
|
+
"name": "unlinkPolicy",
|
577
|
+
"outputs": [],
|
578
|
+
"stateMutability": "nonpayable",
|
579
|
+
"type": "function"
|
580
|
+
},
|
581
|
+
{
|
582
|
+
"inputs": [
|
583
|
+
{
|
584
|
+
"internalType": "NftId",
|
585
|
+
"name": "poolNftId",
|
586
|
+
"type": "uint96"
|
587
|
+
},
|
588
|
+
{
|
589
|
+
"internalType": "NftId",
|
590
|
+
"name": "bundleNftId",
|
591
|
+
"type": "uint96"
|
592
|
+
}
|
593
|
+
],
|
594
|
+
"name": "unlock",
|
595
|
+
"outputs": [],
|
596
|
+
"stateMutability": "nonpayable",
|
597
|
+
"type": "function"
|
598
|
+
}
|
599
|
+
],
|
600
|
+
"bytecode": "0x608060405234801561001057600080fd5b5061001961003a565b600080546001600160a01b03199081169091556003805490911690556100ec565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161561008a5760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100e95780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b611b88806100fb6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80638de1d14e11610097578063bf7e214f11610066578063bf7e214f14610234578063c860fe5d14610252578063c861c25014610265578063db70354c1461027857600080fd5b80638de1d14e146101da5780638fb36037146101ed57806394b9929b1461020e5780639a8fe6781461022157600080fd5b8063485cc955116100d3578063485cc955146101785780635ab1bd531461018b5780636ebed9081461019c5780637a9e5e4b146101c757600080fd5b806302cd3071146101055780630b93f83f1461012f5780630cc7e6141461014457806313ab148d14610157575b600080fd5b6003546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b61014261013d36600461145b565b61028b565b005b610142610152366004611494565b6102dd565b61016a610165366004611494565b6105a2565b604051908152602001610126565b6101426101863660046114c6565b6105b3565b6000546001600160a01b0316610112565b6101af6101aa3660046114f4565b610755565b6040516001600160601b039091168152602001610126565b6101426101d5366004611520565b610768565b6101426101e8366004611494565b610806565b6101f5610972565b6040516001600160e01b03199091168152602001610126565b61016a61021c366004611494565b6109ab565b61014261022f366004611494565b6109b6565b600080516020611b33833981519152546001600160a01b0316610112565b61014261026036600461145b565b610cc8565b61014261027336600461153d565b610d12565b6101af6102863660046114f4565b610eb1565b6102958282610ebd565b604080516001600160601b038085168252831660208201527fb153f926e58e76caa7d661713867b8f1bbfcbda82504931fab2dccc2610a98dd91015b60405180910390a15050565b60035460405163bd7d9d8560e01b81526001600160601b03831660048201526000916001600160a01b03169063bd7d9d8590602401600060405180830381865afa15801561032f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103579190810190611714565b6101a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156103b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103db9190611899565b1561040957604051639218a15160e01b81526001600160601b03831660048201526024015b60405180910390fd5b6020810151600354604051634793b4ab60e01b81526001600160601b03831660048201526000916001600160a01b031690634793b4ab90602401600060405180830381865afa158015610460573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104889190810190611903565b5190506104958183610f48565b6104c55760405163324bcb1160e11b81526001600160601b03808416600483015285166024820152604401610400565b6001600160601b0382166000908152600460208190526040918290209151631461054360e31b815273__$0dc988b1672de335b826773df9015af2da$__9263a3082a1892610527928991019182526001600160601b0316602082015260400190565b60006040518083038186803b15801561053f57600080fd5b505af4158015610553573d6000803e3d6000fd5b5050604080516001600160601b038087168252881660208201527f5cb68c560151617390da8ac6298cbe334b6a6e27a8bdea1f03a939de82a59b2a93500190505b60405180910390a150505050565b60006105ad82610feb565b92915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156105f95750825b905060008267ffffffffffffffff1660011480156106165750303b155b905081158015610624575080155b156106425760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561066c57845460ff60401b1916600160401b1785555b61067587611079565b856001600160a01b03163b6000036106ab5760405163071669cf60e21b81526001600160a01b0387166004820152602401610400565b600080546001600160a01b0319166001600160a01b0388811691821790925560408051928a16835260208301919091527fa6804c76412ae2d729353ed187a48b0b95177ee5c111049b80878fd127224412910160405180910390a1831561074c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000610761838361108d565b9392505050565b33610788600080516020611b33833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146107c35760405162d1953b60e31b81526001600160a01b0382166004820152602401610400565b816001600160a01b03163b6000036107f9576040516361798f2f60e11b81526001600160a01b0383166004820152602401610400565b61080282611122565b5050565b600354604051634793b4ab60e01b81526001600160601b03831660048201526000916001600160a01b031690634793b4ab90602401600060405180830381865afa158015610858573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108809190810190611903565b51604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156108dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109009190611899565b1561092857604051620852e560e41b81526001600160601b0383166004820152602401610400565b610932818361117c565b604080516001600160601b038084168252841660208201527f559277c2e6b13df1c45b0a6a50bea96df5fc3499ee767963594bdd7cb5cc103591016102d1565b600080516020611b33833981519152805460009190600160a01b900460ff1661099c5760006109a5565b638fb3603760e01b5b91505090565b60006105ad82611284565b60035460405163bd7d9d8560e01b81526001600160601b03831660048201526000916001600160a01b03169063bd7d9d8590602401600060405180830381865afa158015610a08573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a309190810190611714565b61016081015190915061ffff1615610a77576101608101516040516309fa740360e41b81526001600160601b038416600482015261ffff9091166024820152604401610400565b610afc816101c0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610ac9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aed91906119d5565b64ffffffffff90811691161090565b80610b0f57508060800151816101800151105b15610b38576040516389670e9b60e01b81526001600160601b0383166004820152602401610400565b6020810151600354604051634793b4ab60e01b81526001600160601b03831660048201526000916001600160a01b031690634793b4ab90602401600060405180830381865afa158015610b8f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bb79190810190611903565b519050610bc481836112d5565b610bec576040516352500dd960e01b81526001600160601b0383166004820152602401610400565b6001600160601b038216600090815260046020819052604091829020915163539eabab60e11b815273__$0dc988b1672de335b826773df9015af2da$__9263a73d575692610c4e928991019182526001600160601b0316602082015260400190565b60006040518083038186803b158015610c6657600080fd5b505af4158015610c7a573d6000803e3d6000fd5b505050507fb0b509518a18f79abc72ff294f3a785a37721a790e8f0f53d8b991dac386102d8360200151856040516105949291906001600160601b0392831681529116602082015260400190565b610cd28282611337565b604080516001600160601b038085168252831660208201527f8481dca68853151d9f39783b09bf4144fd4fadcbf056b07e508ca3f873f2b89891016102d1565b610d1c83836105b3565b600080546040516305247a1760e51b81526001600160601b03841660048201526001600160a01b039091169063a48f42e090602401600060405180830381865afa158015610d6e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d969190810190611a0c565b9050610db48160400151610da8604690565b60ff9081169116141590565b15610ddd57604051632295742160e21b81526001600160601b0383166004820152602401610400565b600081608001519050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e489190611adf565b600380546001600160a01b0319166001600160a01b03929092169182179055604080516001600160601b038616815260208101929092527fc23472ef19cd3719232c2fbc22eb87b48424eba43454acefd67a6578fda49d90910160405180910390a15050505050565b60006107618383611392565b6001600160601b0382811660009081526001602052604090819020905163539eabab60e11b81526004810191909152908216602482015273__$0dc988b1672de335b826773df9015af2da$__9063a73d5756906044015b60006040518083038186803b158015610f2c57600080fd5b505af4158015610f40573d6000803e3d6000fd5b505050505050565b6001600160601b0382166000908152600160205260408082209051632bfdd6b960e01b815273__$0dc988b1672de335b826773df9015af2da$__91632bfdd6b991610faa919086906004019182526001600160601b0316602082015260400190565b602060405180830381865af4158015610fc7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107619190611899565b6001600160601b0381166000908152600260205260408082209051638b6233dd60e01b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd906024015b602060405180830381865af4158015611055573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ad9190611afc565b6110816113ea565b61108a81611435565b50565b6001600160601b038216600090815260016020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d899906044015b602060405180830381865af41580156110fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107619190611b15565b600080516020611b3383398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016102d1565b6001600160601b0382811660009081526002602090815260408083206001909252918290209151631461054360e31b81526004810182905292841660248401529173__$0dc988b1672de335b826773df9015af2da$__9063a3082a189060440160006040518083038186803b1580156111f457600080fd5b505af4158015611208573d6000803e3d6000fd5b5050604051631461054360e31b8152600481018490526001600160601b038616602482015273__$0dc988b1672de335b826773df9015af2da$__925063a3082a18915060440160006040518083038186803b15801561126657600080fd5b505af415801561127a573d6000803e3d6000fd5b5050505050505050565b6001600160601b0381166000908152600160205260408082209051638b6233dd60e01b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd90602401611038565b6001600160601b0382166000908152600260205260408082209051632bfdd6b960e01b815273__$0dc988b1672de335b826773df9015af2da$__91632bfdd6b991610faa919086906004019182526001600160601b0316602082015260400190565b6001600160601b03828116600090815260016020526040908190209051631461054360e31b81526004810191909152908216602482015273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401610f14565b6001600160601b038216600090815260026020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d899906044016110e1565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661143357604051631afcd79f60e31b815260040160405180910390fd5b565b61143d6113ea565b61108a81611122565b6001600160601b038116811461108a57600080fd5b6000806040838503121561146e57600080fd5b823561147981611446565b9150602083013561148981611446565b809150509250929050565b6000602082840312156114a657600080fd5b813561076181611446565b6001600160a01b038116811461108a57600080fd5b600080604083850312156114d957600080fd5b82356114e4816114b1565b91506020830135611489816114b1565b6000806040838503121561150757600080fd5b823561151281611446565b946020939093013593505050565b60006020828403121561153257600080fd5b8135610761816114b1565b60008060006060848603121561155257600080fd5b833561155d816114b1565b9250602084013561156d816114b1565b9150604084013561157d81611446565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b604051610200810167ffffffffffffffff811182821017156115c2576115c2611588565b60405290565b604051610120810167ffffffffffffffff811182821017156115c2576115c2611588565b60405160e0810167ffffffffffffffff811182821017156115c2576115c2611588565b604051601f8201601f1916810167ffffffffffffffff8111828210171561163857611638611588565b604052919050565b805161164b81611446565b919050565b80516001600160c01b03198116811461164b57600080fd5b600082601f83011261167957600080fd5b815167ffffffffffffffff81111561169357611693611588565b60206116a7601f8301601f1916820161160f565b82815285828487010111156116bb57600080fd5b60005b838110156116d95785810183015182820184015282016116be565b506000928101909101919091529392505050565b805161ffff8116811461164b57600080fd5b805164ffffffffff8116811461164b57600080fd5b60006020828403121561172657600080fd5b815167ffffffffffffffff8082111561173e57600080fd5b90830190610200828603121561175357600080fd5b61175b61159e565b61176483611640565b815261177260208401611640565b602082015261178360408401611650565b604082015261179460608401611650565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156117d557600080fd5b6117e188828701611668565b82840152505061012080840151838111156117fb57600080fd5b61180788828701611668565b828401525050610140915061181d8284016116ed565b8282015261016091506118318284016116ed565b82820152610180915081830151828201526101a091506118528284016116ff565b828201526101c091506118668284016116ff565b828201526101e0915061187a8284016116ff565b91810191909152949350505050565b8051801515811461164b57600080fd5b6000602082840312156118ab57600080fd5b61076182611889565b6000604082840312156118c657600080fd5b6040516040810181811067ffffffffffffffff821117156118e9576118e9611588565b604052825181526020928301519281019290925250919050565b60006020828403121561191557600080fd5b815167ffffffffffffffff8082111561192d57600080fd5b90830190610140828603121561194257600080fd5b61194a6115c8565b61195383611640565b815261196286602085016118b4565b602082015260608301518281111561197957600080fd5b61198587828601611668565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506119c38284016116ff565b60e082015261187a61012084016116ff565b6000602082840312156119e757600080fd5b610761826116ff565b805160ff8116811461164b57600080fd5b805161164b816114b1565b600060208284031215611a1e57600080fd5b815167ffffffffffffffff80821115611a3657600080fd5b9083019060e08286031215611a4a57600080fd5b611a526115ec565b611a5b83611640565b8152611a6960208401611640565b6020820152611a7a604084016119f0565b6040820152611a8b60608401611889565b6060820152611a9c60808401611a01565b6080820152611aad60a08401611a01565b60a082015260c083015182811115611ac457600080fd5b611ad087828601611668565b60c08301525095945050505050565b600060208284031215611af157600080fd5b8151610761816114b1565b600060208284031215611b0e57600080fd5b5051919050565b600060208284031215611b2757600080fd5b81516107618161144656fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212201d3296c093ad45cb8b62a7cedf506397573d94b14d507d6facf0c02e9b09a29764736f6c63430008140033",
|
601
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101005760003560e01c80638de1d14e11610097578063bf7e214f11610066578063bf7e214f14610234578063c860fe5d14610252578063c861c25014610265578063db70354c1461027857600080fd5b80638de1d14e146101da5780638fb36037146101ed57806394b9929b1461020e5780639a8fe6781461022157600080fd5b8063485cc955116100d3578063485cc955146101785780635ab1bd531461018b5780636ebed9081461019c5780637a9e5e4b146101c757600080fd5b806302cd3071146101055780630b93f83f1461012f5780630cc7e6141461014457806313ab148d14610157575b600080fd5b6003546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b61014261013d36600461145b565b61028b565b005b610142610152366004611494565b6102dd565b61016a610165366004611494565b6105a2565b604051908152602001610126565b6101426101863660046114c6565b6105b3565b6000546001600160a01b0316610112565b6101af6101aa3660046114f4565b610755565b6040516001600160601b039091168152602001610126565b6101426101d5366004611520565b610768565b6101426101e8366004611494565b610806565b6101f5610972565b6040516001600160e01b03199091168152602001610126565b61016a61021c366004611494565b6109ab565b61014261022f366004611494565b6109b6565b600080516020611b33833981519152546001600160a01b0316610112565b61014261026036600461145b565b610cc8565b61014261027336600461153d565b610d12565b6101af6102863660046114f4565b610eb1565b6102958282610ebd565b604080516001600160601b038085168252831660208201527fb153f926e58e76caa7d661713867b8f1bbfcbda82504931fab2dccc2610a98dd91015b60405180910390a15050565b60035460405163bd7d9d8560e01b81526001600160601b03831660048201526000916001600160a01b03169063bd7d9d8590602401600060405180830381865afa15801561032f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103579190810190611714565b6101a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156103b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103db9190611899565b1561040957604051639218a15160e01b81526001600160601b03831660048201526024015b60405180910390fd5b6020810151600354604051634793b4ab60e01b81526001600160601b03831660048201526000916001600160a01b031690634793b4ab90602401600060405180830381865afa158015610460573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104889190810190611903565b5190506104958183610f48565b6104c55760405163324bcb1160e11b81526001600160601b03808416600483015285166024820152604401610400565b6001600160601b0382166000908152600460208190526040918290209151631461054360e31b815273__$0dc988b1672de335b826773df9015af2da$__9263a3082a1892610527928991019182526001600160601b0316602082015260400190565b60006040518083038186803b15801561053f57600080fd5b505af4158015610553573d6000803e3d6000fd5b5050604080516001600160601b038087168252881660208201527f5cb68c560151617390da8ac6298cbe334b6a6e27a8bdea1f03a939de82a59b2a93500190505b60405180910390a150505050565b60006105ad82610feb565b92915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156105f95750825b905060008267ffffffffffffffff1660011480156106165750303b155b905081158015610624575080155b156106425760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561066c57845460ff60401b1916600160401b1785555b61067587611079565b856001600160a01b03163b6000036106ab5760405163071669cf60e21b81526001600160a01b0387166004820152602401610400565b600080546001600160a01b0319166001600160a01b0388811691821790925560408051928a16835260208301919091527fa6804c76412ae2d729353ed187a48b0b95177ee5c111049b80878fd127224412910160405180910390a1831561074c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000610761838361108d565b9392505050565b33610788600080516020611b33833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146107c35760405162d1953b60e31b81526001600160a01b0382166004820152602401610400565b816001600160a01b03163b6000036107f9576040516361798f2f60e11b81526001600160a01b0383166004820152602401610400565b61080282611122565b5050565b600354604051634793b4ab60e01b81526001600160601b03831660048201526000916001600160a01b031690634793b4ab90602401600060405180830381865afa158015610858573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108809190810190611903565b51604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156108dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109009190611899565b1561092857604051620852e560e41b81526001600160601b0383166004820152602401610400565b610932818361117c565b604080516001600160601b038084168252841660208201527f559277c2e6b13df1c45b0a6a50bea96df5fc3499ee767963594bdd7cb5cc103591016102d1565b600080516020611b33833981519152805460009190600160a01b900460ff1661099c5760006109a5565b638fb3603760e01b5b91505090565b60006105ad82611284565b60035460405163bd7d9d8560e01b81526001600160601b03831660048201526000916001600160a01b03169063bd7d9d8590602401600060405180830381865afa158015610a08573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a309190810190611714565b61016081015190915061ffff1615610a77576101608101516040516309fa740360e41b81526001600160601b038416600482015261ffff9091166024820152604401610400565b610afc816101c0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610ac9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aed91906119d5565b64ffffffffff90811691161090565b80610b0f57508060800151816101800151105b15610b38576040516389670e9b60e01b81526001600160601b0383166004820152602401610400565b6020810151600354604051634793b4ab60e01b81526001600160601b03831660048201526000916001600160a01b031690634793b4ab90602401600060405180830381865afa158015610b8f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bb79190810190611903565b519050610bc481836112d5565b610bec576040516352500dd960e01b81526001600160601b0383166004820152602401610400565b6001600160601b038216600090815260046020819052604091829020915163539eabab60e11b815273__$0dc988b1672de335b826773df9015af2da$__9263a73d575692610c4e928991019182526001600160601b0316602082015260400190565b60006040518083038186803b158015610c6657600080fd5b505af4158015610c7a573d6000803e3d6000fd5b505050507fb0b509518a18f79abc72ff294f3a785a37721a790e8f0f53d8b991dac386102d8360200151856040516105949291906001600160601b0392831681529116602082015260400190565b610cd28282611337565b604080516001600160601b038085168252831660208201527f8481dca68853151d9f39783b09bf4144fd4fadcbf056b07e508ca3f873f2b89891016102d1565b610d1c83836105b3565b600080546040516305247a1760e51b81526001600160601b03841660048201526001600160a01b039091169063a48f42e090602401600060405180830381865afa158015610d6e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d969190810190611a0c565b9050610db48160400151610da8604690565b60ff9081169116141590565b15610ddd57604051632295742160e21b81526001600160601b0383166004820152602401610400565b600081608001519050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e489190611adf565b600380546001600160a01b0319166001600160a01b03929092169182179055604080516001600160601b038616815260208101929092527fc23472ef19cd3719232c2fbc22eb87b48424eba43454acefd67a6578fda49d90910160405180910390a15050505050565b60006107618383611392565b6001600160601b0382811660009081526001602052604090819020905163539eabab60e11b81526004810191909152908216602482015273__$0dc988b1672de335b826773df9015af2da$__9063a73d5756906044015b60006040518083038186803b158015610f2c57600080fd5b505af4158015610f40573d6000803e3d6000fd5b505050505050565b6001600160601b0382166000908152600160205260408082209051632bfdd6b960e01b815273__$0dc988b1672de335b826773df9015af2da$__91632bfdd6b991610faa919086906004019182526001600160601b0316602082015260400190565b602060405180830381865af4158015610fc7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107619190611899565b6001600160601b0381166000908152600260205260408082209051638b6233dd60e01b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd906024015b602060405180830381865af4158015611055573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ad9190611afc565b6110816113ea565b61108a81611435565b50565b6001600160601b038216600090815260016020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d899906044015b602060405180830381865af41580156110fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107619190611b15565b600080516020611b3383398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016102d1565b6001600160601b0382811660009081526002602090815260408083206001909252918290209151631461054360e31b81526004810182905292841660248401529173__$0dc988b1672de335b826773df9015af2da$__9063a3082a189060440160006040518083038186803b1580156111f457600080fd5b505af4158015611208573d6000803e3d6000fd5b5050604051631461054360e31b8152600481018490526001600160601b038616602482015273__$0dc988b1672de335b826773df9015af2da$__925063a3082a18915060440160006040518083038186803b15801561126657600080fd5b505af415801561127a573d6000803e3d6000fd5b5050505050505050565b6001600160601b0381166000908152600160205260408082209051638b6233dd60e01b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd90602401611038565b6001600160601b0382166000908152600260205260408082209051632bfdd6b960e01b815273__$0dc988b1672de335b826773df9015af2da$__91632bfdd6b991610faa919086906004019182526001600160601b0316602082015260400190565b6001600160601b03828116600090815260016020526040908190209051631461054360e31b81526004810191909152908216602482015273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401610f14565b6001600160601b038216600090815260026020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d899906044016110e1565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661143357604051631afcd79f60e31b815260040160405180910390fd5b565b61143d6113ea565b61108a81611122565b6001600160601b038116811461108a57600080fd5b6000806040838503121561146e57600080fd5b823561147981611446565b9150602083013561148981611446565b809150509250929050565b6000602082840312156114a657600080fd5b813561076181611446565b6001600160a01b038116811461108a57600080fd5b600080604083850312156114d957600080fd5b82356114e4816114b1565b91506020830135611489816114b1565b6000806040838503121561150757600080fd5b823561151281611446565b946020939093013593505050565b60006020828403121561153257600080fd5b8135610761816114b1565b60008060006060848603121561155257600080fd5b833561155d816114b1565b9250602084013561156d816114b1565b9150604084013561157d81611446565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b604051610200810167ffffffffffffffff811182821017156115c2576115c2611588565b60405290565b604051610120810167ffffffffffffffff811182821017156115c2576115c2611588565b60405160e0810167ffffffffffffffff811182821017156115c2576115c2611588565b604051601f8201601f1916810167ffffffffffffffff8111828210171561163857611638611588565b604052919050565b805161164b81611446565b919050565b80516001600160c01b03198116811461164b57600080fd5b600082601f83011261167957600080fd5b815167ffffffffffffffff81111561169357611693611588565b60206116a7601f8301601f1916820161160f565b82815285828487010111156116bb57600080fd5b60005b838110156116d95785810183015182820184015282016116be565b506000928101909101919091529392505050565b805161ffff8116811461164b57600080fd5b805164ffffffffff8116811461164b57600080fd5b60006020828403121561172657600080fd5b815167ffffffffffffffff8082111561173e57600080fd5b90830190610200828603121561175357600080fd5b61175b61159e565b61176483611640565b815261177260208401611640565b602082015261178360408401611650565b604082015261179460608401611650565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156117d557600080fd5b6117e188828701611668565b82840152505061012080840151838111156117fb57600080fd5b61180788828701611668565b828401525050610140915061181d8284016116ed565b8282015261016091506118318284016116ed565b82820152610180915081830151828201526101a091506118528284016116ff565b828201526101c091506118668284016116ff565b828201526101e0915061187a8284016116ff565b91810191909152949350505050565b8051801515811461164b57600080fd5b6000602082840312156118ab57600080fd5b61076182611889565b6000604082840312156118c657600080fd5b6040516040810181811067ffffffffffffffff821117156118e9576118e9611588565b604052825181526020928301519281019290925250919050565b60006020828403121561191557600080fd5b815167ffffffffffffffff8082111561192d57600080fd5b90830190610140828603121561194257600080fd5b61194a6115c8565b61195383611640565b815261196286602085016118b4565b602082015260608301518281111561197957600080fd5b61198587828601611668565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506119c38284016116ff565b60e082015261187a61012084016116ff565b6000602082840312156119e757600080fd5b610761826116ff565b805160ff8116811461164b57600080fd5b805161164b816114b1565b600060208284031215611a1e57600080fd5b815167ffffffffffffffff80821115611a3657600080fd5b9083019060e08286031215611a4a57600080fd5b611a526115ec565b611a5b83611640565b8152611a6960208401611640565b6020820152611a7a604084016119f0565b6040820152611a8b60608401611889565b6060820152611a9c60808401611a01565b6080820152611aad60a08401611a01565b60a082015260c083015182811115611ac457600080fd5b611ad087828601611668565b60c08301525095945050505050565b600060208284031215611af157600080fd5b8151610761816114b1565b600060208284031215611b0e57600080fd5b5051919050565b600060208284031215611b2757600080fd5b81516107618161144656fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212201d3296c093ad45cb8b62a7cedf506397573d94b14d507d6facf0c02e9b09a29764736f6c63430008140033",
|
602
|
+
"linkReferences": {
|
603
|
+
"contracts/types/NftId.sol": {
|
604
|
+
"NftIdLib": [
|
605
|
+
{
|
606
|
+
"length": 20,
|
607
|
+
"start": 2461
|
608
|
+
}
|
609
|
+
]
|
610
|
+
},
|
611
|
+
"contracts/types/NftIdSet.sol": {
|
612
|
+
"LibNftIdSet": [
|
613
|
+
{
|
614
|
+
"length": 20,
|
615
|
+
"start": 1514
|
616
|
+
},
|
617
|
+
{
|
618
|
+
"length": 20,
|
619
|
+
"start": 3345
|
620
|
+
},
|
621
|
+
{
|
622
|
+
"length": 20,
|
623
|
+
"start": 4081
|
624
|
+
},
|
625
|
+
{
|
626
|
+
"length": 20,
|
627
|
+
"start": 4202
|
628
|
+
},
|
629
|
+
{
|
630
|
+
"length": 20,
|
631
|
+
"start": 4373
|
632
|
+
},
|
633
|
+
{
|
634
|
+
"length": 20,
|
635
|
+
"start": 4542
|
636
|
+
},
|
637
|
+
{
|
638
|
+
"length": 20,
|
639
|
+
"start": 4794
|
640
|
+
},
|
641
|
+
{
|
642
|
+
"length": 20,
|
643
|
+
"start": 4906
|
644
|
+
},
|
645
|
+
{
|
646
|
+
"length": 20,
|
647
|
+
"start": 5038
|
648
|
+
},
|
649
|
+
{
|
650
|
+
"length": 20,
|
651
|
+
"start": 5111
|
652
|
+
},
|
653
|
+
{
|
654
|
+
"length": 20,
|
655
|
+
"start": 5227
|
656
|
+
},
|
657
|
+
{
|
658
|
+
"length": 20,
|
659
|
+
"start": 5315
|
660
|
+
}
|
661
|
+
]
|
662
|
+
},
|
663
|
+
"contracts/types/Timestamp.sol": {
|
664
|
+
"TimestampLib": [
|
665
|
+
{
|
666
|
+
"length": 20,
|
667
|
+
"start": 1144
|
668
|
+
},
|
669
|
+
{
|
670
|
+
"length": 20,
|
671
|
+
"start": 2941
|
672
|
+
}
|
673
|
+
]
|
674
|
+
}
|
675
|
+
},
|
676
|
+
"deployedLinkReferences": {
|
677
|
+
"contracts/types/NftId.sol": {
|
678
|
+
"NftIdLib": [
|
679
|
+
{
|
680
|
+
"length": 20,
|
681
|
+
"start": 2210
|
682
|
+
}
|
683
|
+
]
|
684
|
+
},
|
685
|
+
"contracts/types/NftIdSet.sol": {
|
686
|
+
"LibNftIdSet": [
|
687
|
+
{
|
688
|
+
"length": 20,
|
689
|
+
"start": 1263
|
690
|
+
},
|
691
|
+
{
|
692
|
+
"length": 20,
|
693
|
+
"start": 3094
|
694
|
+
},
|
695
|
+
{
|
696
|
+
"length": 20,
|
697
|
+
"start": 3830
|
698
|
+
},
|
699
|
+
{
|
700
|
+
"length": 20,
|
701
|
+
"start": 3951
|
702
|
+
},
|
703
|
+
{
|
704
|
+
"length": 20,
|
705
|
+
"start": 4122
|
706
|
+
},
|
707
|
+
{
|
708
|
+
"length": 20,
|
709
|
+
"start": 4291
|
710
|
+
},
|
711
|
+
{
|
712
|
+
"length": 20,
|
713
|
+
"start": 4543
|
714
|
+
},
|
715
|
+
{
|
716
|
+
"length": 20,
|
717
|
+
"start": 4655
|
718
|
+
},
|
719
|
+
{
|
720
|
+
"length": 20,
|
721
|
+
"start": 4787
|
722
|
+
},
|
723
|
+
{
|
724
|
+
"length": 20,
|
725
|
+
"start": 4860
|
726
|
+
},
|
727
|
+
{
|
728
|
+
"length": 20,
|
729
|
+
"start": 4976
|
730
|
+
},
|
731
|
+
{
|
732
|
+
"length": 20,
|
733
|
+
"start": 5064
|
734
|
+
}
|
735
|
+
]
|
736
|
+
},
|
737
|
+
"contracts/types/Timestamp.sol": {
|
738
|
+
"TimestampLib": [
|
739
|
+
{
|
740
|
+
"length": 20,
|
741
|
+
"start": 893
|
742
|
+
},
|
743
|
+
{
|
744
|
+
"length": 20,
|
745
|
+
"start": 2690
|
746
|
+
}
|
747
|
+
]
|
748
|
+
}
|
749
|
+
}
|
750
|
+
}
|