@etherisc/gif-next 0.0.2-fe88ad7-208 → 0.0.2-ff8087d-237
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +8 -13
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +873 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +903 -202
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → IComponent.sol/IComponent.json} +237 -83
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +879 -31
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +879 -59
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +720 -16
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +760 -195
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +564 -141
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +1 -1
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +15 -15
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +69 -79
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1474 -483
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +248 -218
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +1152 -794
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +462 -179
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +414 -267
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +482 -346
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +355 -91
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +11 -40
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +263 -164
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +58 -75
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1124 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +688 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +641 -303
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +343 -79
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1384 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +752 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1434 -280
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +469 -73
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +342 -189
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +310 -249
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +743 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +757 -144
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +262 -275
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +703 -125
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +71 -165
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +632 -344
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +367 -91
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1119 -224
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +361 -73
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +297 -210
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +298 -78
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +117 -5
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +99 -217
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +131 -27
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +18 -18
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +205 -250
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +287 -81
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +81 -68
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +138 -50
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +71 -165
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +107 -27
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -63
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +116 -51
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +173 -153
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +116 -51
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +191 -203
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +281 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +74 -19
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
- package/contracts/components/Component.sol +272 -0
- package/contracts/components/Distribution.sol +204 -82
- package/contracts/components/IComponent.sol +90 -0
- package/contracts/components/IDistributionComponent.sol +44 -17
- package/contracts/components/IPoolComponent.sol +90 -42
- package/contracts/components/IProductComponent.sol +15 -9
- package/contracts/components/Pool.sol +217 -186
- package/contracts/components/Product.sol +246 -166
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +2 -12
- package/contracts/instance/BundleManager.sol +17 -20
- package/contracts/instance/Cloneable.sol +7 -2
- package/contracts/instance/IInstance.sol +67 -25
- package/contracts/instance/IInstanceService.sol +34 -11
- package/contracts/instance/Instance.sol +158 -116
- package/contracts/instance/InstanceAccessManager.sol +389 -165
- package/contracts/instance/InstanceReader.sol +87 -36
- package/contracts/instance/InstanceService.sol +295 -161
- package/contracts/instance/InstanceServiceManager.sol +1 -1
- package/contracts/instance/ObjectManager.sol +10 -29
- package/contracts/instance/base/ComponentService.sol +130 -0
- package/contracts/instance/base/KeyValueStore.sol +13 -36
- package/contracts/instance/base/Lifecycle.sol +26 -6
- package/contracts/instance/module/IAccess.sol +22 -16
- package/contracts/instance/module/IBundle.sol +8 -5
- package/contracts/instance/module/IComponents.sol +41 -0
- package/contracts/instance/module/IDistribution.sol +3 -0
- package/contracts/instance/module/IPolicy.sol +43 -11
- package/contracts/instance/module/ISetup.sol +7 -20
- package/contracts/instance/service/ApplicationService.sol +356 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +244 -119
- package/contracts/instance/service/BundleServiceManager.sol +1 -1
- package/contracts/instance/service/ClaimService.sol +443 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +360 -41
- package/contracts/instance/service/DistributionServiceManager.sol +1 -1
- package/contracts/instance/service/IApplicationService.sol +79 -0
- package/contracts/instance/service/IBundleService.sol +93 -20
- package/contracts/instance/service/IClaimService.sol +90 -0
- package/contracts/instance/service/IDistributionService.sol +89 -0
- package/contracts/instance/service/IPolicyService.sol +44 -51
- package/contracts/instance/service/IPoolService.sol +97 -3
- package/contracts/instance/service/PolicyService.sol +233 -364
- package/contracts/instance/service/PolicyServiceManager.sol +2 -2
- package/contracts/instance/service/PoolService.sol +319 -40
- package/contracts/instance/service/PoolServiceManager.sol +1 -1
- package/contracts/instance/service/ProductService.sol +90 -50
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/ChainNft.sol +8 -0
- package/contracts/registry/IRegistry.sol +18 -8
- package/contracts/registry/IRegistryService.sol +21 -13
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +142 -71
- package/contracts/registry/RegistryAccessManager.sol +31 -25
- package/contracts/registry/RegistryService.sol +93 -134
- package/contracts/registry/RegistryServiceManager.sol +13 -13
- package/contracts/registry/ReleaseManager.sol +103 -127
- package/contracts/registry/TokenRegistry.sol +19 -13
- package/contracts/shared/ERC165.sol +14 -12
- package/contracts/shared/INftOwnable.sol +11 -10
- package/contracts/shared/IPolicyHolder.sol +40 -0
- package/contracts/shared/IRegisterable.sol +4 -6
- package/contracts/shared/IRegistryLinked.sol +11 -0
- package/contracts/shared/IService.sol +6 -4
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +64 -80
- package/contracts/shared/PolicyHolder.sol +94 -0
- package/contracts/shared/ProxyManager.sol +100 -25
- package/contracts/shared/Registerable.sol +24 -39
- package/contracts/shared/RegistryLinked.sol +43 -0
- package/contracts/shared/Service.sol +36 -22
- package/contracts/shared/TokenHandler.sol +14 -6
- package/contracts/shared/Versionable.sol +4 -92
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestService.sol +1 -1
- package/contracts/types/Amount.sol +109 -0
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +75 -0
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/Fee.sol +17 -8
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/ObjectType.sol +11 -6
- package/contracts/types/PayoutId.sol +82 -0
- package/contracts/types/Referral.sol +4 -0
- package/contracts/types/RoleId.sol +18 -11
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +7 -2
- package/contracts/types/Timestamp.sol +18 -13
- package/contracts/types/UFixed.sol +1 -0
- package/contracts/types/Version.sol +1 -0
- package/package.json +3 -3
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -397
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -814
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
- package/contracts/components/BaseComponent.sol +0 -159
- package/contracts/components/IBaseComponent.sol +0 -34
- package/contracts/experiment/cloning/Cloner.sol +0 -47
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/IInstanceBase.sol +0 -26
- package/contracts/instance/InstanceBase.sol +0 -41
- package/contracts/instance/base/ComponentServiceBase.sol +0 -82
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/service/ComponentOwnerService.sol +0 -315
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -40,6 +40,29 @@
|
|
40
40
|
"name": "ErrorNoLifecycle",
|
41
41
|
"type": "error"
|
42
42
|
},
|
43
|
+
{
|
44
|
+
"inputs": [],
|
45
|
+
"name": "InvalidInitialization",
|
46
|
+
"type": "error"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"inputs": [],
|
50
|
+
"name": "NotInitializing",
|
51
|
+
"type": "error"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"anonymous": false,
|
55
|
+
"inputs": [
|
56
|
+
{
|
57
|
+
"indexed": false,
|
58
|
+
"internalType": "uint64",
|
59
|
+
"name": "version",
|
60
|
+
"type": "uint64"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"name": "Initialized",
|
64
|
+
"type": "event"
|
65
|
+
},
|
43
66
|
{
|
44
67
|
"anonymous": false,
|
45
68
|
"inputs": [
|
@@ -391,6 +414,13 @@
|
|
391
414
|
"stateMutability": "view",
|
392
415
|
"type": "function"
|
393
416
|
},
|
417
|
+
{
|
418
|
+
"inputs": [],
|
419
|
+
"name": "initializeLifecycle",
|
420
|
+
"outputs": [],
|
421
|
+
"stateMutability": "nonpayable",
|
422
|
+
"type": "function"
|
423
|
+
},
|
394
424
|
{
|
395
425
|
"inputs": [
|
396
426
|
{
|
@@ -445,14 +475,14 @@
|
|
445
475
|
"type": "function"
|
446
476
|
}
|
447
477
|
],
|
448
|
-
"bytecode": "
|
449
|
-
"deployedBytecode": "
|
478
|
+
"bytecode": "0x608060405234801561001057600080fd5b50610eeb806100206000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80638eaa6ac0116100715780638eaa6ac014610160578063a5961b4c14610180578063a898967514610231578063bf1db3f914610244578063e9e96c7014610257578063f48016ce1461029557600080fd5b806309648a9d146100ae5780630d358181146100ed57806338a699a414610113578063468bce061461013657806354f6127f14610140575b600080fd5b6100d66100bc366004610c88565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020015b60405180910390f35b6100d66100fb366004610cb3565b60ff9081166000908152602081905260409020541690565b610126610121366004610c88565b6102b6565b60405190151581526020016100e4565b61013e610347565b005b61015361014e366004610c88565b610379565b6040516100e49190610d16565b61017361016e366004610c88565b61041e565b6040516100e49190610d73565b61022461018e366004610c88565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516100e49190610da7565b61013e61023f366004610db5565b61055f565b610126610252366004610cb3565b610659565b610126610265366004610db5565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b6102a86102a3366004610e00565b6106a6565b6040519081526020016100e4565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af415801561031d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103419190610e40565b92915050565b61034f610730565b61035761077e565b61035f6108a1565b610367610993565b61036f610aa1565b610377610bcd565b565b600081815260026020526040902060010180546060919061039990610e62565b80601f01602080910402602001604051908101604052809291908181526020018280546103c590610e62565b80156104125780601f106103e757610100808354040283529160200191610412565b820191906000526020600020905b8154815290600101906020018083116103f557829003601f168201915b50505050509050919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c082015292835260018101805491928401916104d690610e62565b80601f016020809104026020016040519081016040528092919081815260200182805461050290610e62565b801561054f5780601f106105245761010080835404028352916020019161054f565b820191906000526020600020905b81548152906001019060200180831161053257829003601f168201915b5050505050815250509050919050565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156105c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e89190610e40565b156105f257505050565b60ff80841660009081526001602090815260408083208685168452825280832085851684529091529020541661065457604051636bb20ea760e01b815260ff808516600483015280841660248301528216604482015260640160405180910390fd5b505050565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401610300565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce90604401602060405180830381865af4158015610705573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107299190610e9c565b9392505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661037757604051631afcd79f60e31b815260040160405180910390fd5b7f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d8054606460ff19918216179091557f1578fb1f3721b6c33cae7dfcd025f5660361b090d8a17dcf8a744763f22d32ff8054821660019081179091557f47ebb928e225b2cdc8d8e0079f8da9b87d2bc15cc37a8c27842a5c925baa8b1e80548316821790557ffe60dc71e2c842ec11550e74a003d6f707c74c3b19b04c1b0700bc0fd9efd9508054909216811790915560dc600090815260208290527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec90606e5b60ff1660ff168152602001908152602001600020600061087d60c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc50980548216600190811790915560008381527fc884cae9155e1829c27543e26ecbb72f79fe3a85ba4df2c4a97ad5806356754d6020527f2916767ac794614810c43d6c0837244e8b2c8d3f3c02376a214f465d6841db5680549093168217909255918291905b60ff1660ff1681526020019081526020016000206000610975606e90565b60ff1660ff168152602001908152602001600020600061087d60d290565b7fa57aae0b1e878b4cf2d1f237d2c6d245fa2af12f527cffc45e0a81d7b3c46abe8054600a60ff19918216179091557f10d8f68d28031156bb5a2007a6e7fc1ff769776115bd307e1d3f2901ec220eef8054821660019081179091557f71e0ce7e96b0b9ecf53c20706f5891c8e9bb320060393406400136d7ab1db61e80548316821790557f3aa5c1a82b8afaca3213d4302f465dcc339ab680e61c71830f7d9c441c63328380548316821790557f59d2febd485ffaba948645e520694e9996f0c229c4a10430d07956b599b172538054909216811790915560d3600090815260208290527f7415b658af57d740454b01d91722f71a360db8fdd5ec2a068a92c37e2bc3b1d690606461085f565b7f41d63e1348ead7043feb8677b52ff813a7a3d573fdf99c917846a69e8e7b7e60805460ff199081166032179091557f378c5573ee3453f5c9f5c7aa83b807835ecb097b5151d641746b59340336b67d8054821660019081179091557f7f4fc20c9070f9c8378783c3022311e08af436d0fea4b913fe0bbde88023d12680548316821790557ff6e14778b29b20f68b5cc5186c105c44b748bec78fd85e0b2ec52bc8586d6a6b80548316821790557fb9ec96904d3ea9e7b01f30f8b9a841d70b77145e37a183ebdbba2b0733adc0ec8054603c93168317905560009182527f77835ececcc7e965708390fdc28b7c7141b063a8a849f3954f1d294d07730184602052907f5e9b6496c2ea16de03007cb0b49643b7231addd52c0cee66d8556b1dd66622a19060dc61087d565b7fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf714038054606460ff1991821681179092557f66482ac56acdda5113badf732cc46c284136d9d6378a671ac129cd298ff5f96780548216600190811790915560009283527f47d871bf8fdbdfc3d809d1454103f6ff238aad0f5cefde0353363b9e415ef6a76020527ff2de5750d5c9f412b7907640f68a5258fe3f903dfd0cd25c2ea235b23cc926958054909216811790915590819060c8610957565b600060208284031215610c9a57600080fd5b5035919050565b60ff81168114610cb057600080fd5b50565b600060208284031215610cc557600080fd5b813561072981610ca1565b6000815180845260005b81811015610cf657602081850181015186830182015201610cda565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006107296020830184610cd0565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152610d85602082018351610d29565b6000602083015160c080840152610d9f60e0840182610cd0565b949350505050565b60a081016103418284610d29565b600080600060608486031215610dca57600080fd5b8335610dd581610ca1565b92506020840135610de581610ca1565b91506040840135610df581610ca1565b809150509250925092565b60008060408385031215610e1357600080fd5b8235610e1e81610ca1565b9150602083013560ff1981168114610e3557600080fd5b809150509250929050565b600060208284031215610e5257600080fd5b8151801515811461072957600080fd5b600181811c90821680610e7657607f821691505b602082108103610e9657634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610eae57600080fd5b505191905056fea2646970667358221220423ce63ad158125238c4a67c88f7c94d277b89848496337e515f12eace5f0a2764736f6c63430008140033",
|
479
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80638eaa6ac0116100715780638eaa6ac014610160578063a5961b4c14610180578063a898967514610231578063bf1db3f914610244578063e9e96c7014610257578063f48016ce1461029557600080fd5b806309648a9d146100ae5780630d358181146100ed57806338a699a414610113578063468bce061461013657806354f6127f14610140575b600080fd5b6100d66100bc366004610c88565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020015b60405180910390f35b6100d66100fb366004610cb3565b60ff9081166000908152602081905260409020541690565b610126610121366004610c88565b6102b6565b60405190151581526020016100e4565b61013e610347565b005b61015361014e366004610c88565b610379565b6040516100e49190610d16565b61017361016e366004610c88565b61041e565b6040516100e49190610d73565b61022461018e366004610c88565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516100e49190610da7565b61013e61023f366004610db5565b61055f565b610126610252366004610cb3565b610659565b610126610265366004610db5565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b6102a86102a3366004610e00565b6106a6565b6040519081526020016100e4565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af415801561031d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103419190610e40565b92915050565b61034f610730565b61035761077e565b61035f6108a1565b610367610993565b61036f610aa1565b610377610bcd565b565b600081815260026020526040902060010180546060919061039990610e62565b80601f01602080910402602001604051908101604052809291908181526020018280546103c590610e62565b80156104125780601f106103e757610100808354040283529160200191610412565b820191906000526020600020905b8154815290600101906020018083116103f557829003601f168201915b50505050509050919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c082015292835260018101805491928401916104d690610e62565b80601f016020809104026020016040519081016040528092919081815260200182805461050290610e62565b801561054f5780601f106105245761010080835404028352916020019161054f565b820191906000526020600020905b81548152906001019060200180831161053257829003601f168201915b5050505050815250509050919050565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156105c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e89190610e40565b156105f257505050565b60ff80841660009081526001602090815260408083208685168452825280832085851684529091529020541661065457604051636bb20ea760e01b815260ff808516600483015280841660248301528216604482015260640160405180910390fd5b505050565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401610300565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce90604401602060405180830381865af4158015610705573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107299190610e9c565b9392505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661037757604051631afcd79f60e31b815260040160405180910390fd5b7f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d8054606460ff19918216179091557f1578fb1f3721b6c33cae7dfcd025f5660361b090d8a17dcf8a744763f22d32ff8054821660019081179091557f47ebb928e225b2cdc8d8e0079f8da9b87d2bc15cc37a8c27842a5c925baa8b1e80548316821790557ffe60dc71e2c842ec11550e74a003d6f707c74c3b19b04c1b0700bc0fd9efd9508054909216811790915560dc600090815260208290527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec90606e5b60ff1660ff168152602001908152602001600020600061087d60c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc50980548216600190811790915560008381527fc884cae9155e1829c27543e26ecbb72f79fe3a85ba4df2c4a97ad5806356754d6020527f2916767ac794614810c43d6c0837244e8b2c8d3f3c02376a214f465d6841db5680549093168217909255918291905b60ff1660ff1681526020019081526020016000206000610975606e90565b60ff1660ff168152602001908152602001600020600061087d60d290565b7fa57aae0b1e878b4cf2d1f237d2c6d245fa2af12f527cffc45e0a81d7b3c46abe8054600a60ff19918216179091557f10d8f68d28031156bb5a2007a6e7fc1ff769776115bd307e1d3f2901ec220eef8054821660019081179091557f71e0ce7e96b0b9ecf53c20706f5891c8e9bb320060393406400136d7ab1db61e80548316821790557f3aa5c1a82b8afaca3213d4302f465dcc339ab680e61c71830f7d9c441c63328380548316821790557f59d2febd485ffaba948645e520694e9996f0c229c4a10430d07956b599b172538054909216811790915560d3600090815260208290527f7415b658af57d740454b01d91722f71a360db8fdd5ec2a068a92c37e2bc3b1d690606461085f565b7f41d63e1348ead7043feb8677b52ff813a7a3d573fdf99c917846a69e8e7b7e60805460ff199081166032179091557f378c5573ee3453f5c9f5c7aa83b807835ecb097b5151d641746b59340336b67d8054821660019081179091557f7f4fc20c9070f9c8378783c3022311e08af436d0fea4b913fe0bbde88023d12680548316821790557ff6e14778b29b20f68b5cc5186c105c44b748bec78fd85e0b2ec52bc8586d6a6b80548316821790557fb9ec96904d3ea9e7b01f30f8b9a841d70b77145e37a183ebdbba2b0733adc0ec8054603c93168317905560009182527f77835ececcc7e965708390fdc28b7c7141b063a8a849f3954f1d294d07730184602052907f5e9b6496c2ea16de03007cb0b49643b7231addd52c0cee66d8556b1dd66622a19060dc61087d565b7fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf714038054606460ff1991821681179092557f66482ac56acdda5113badf732cc46c284136d9d6378a671ac129cd298ff5f96780548216600190811790915560009283527f47d871bf8fdbdfc3d809d1454103f6ff238aad0f5cefde0353363b9e415ef6a76020527ff2de5750d5c9f412b7907640f68a5258fe3f903dfd0cd25c2ea235b23cc926958054909216811790915590819060c8610957565b600060208284031215610c9a57600080fd5b5035919050565b60ff81168114610cb057600080fd5b50565b600060208284031215610cc557600080fd5b813561072981610ca1565b6000815180845260005b81811015610cf657602081850181015186830182015201610cda565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006107296020830184610cd0565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152610d85602082018351610d29565b6000602083015160c080840152610d9f60e0840182610cd0565b949350505050565b60a081016103418284610d29565b600080600060608486031215610dca57600080fd5b8335610dd581610ca1565b92506020840135610de581610ca1565b91506040840135610df581610ca1565b809150509250925092565b60008060408385031215610e1357600080fd5b8235610e1e81610ca1565b9150602083013560ff1981168114610e3557600080fd5b809150509250929050565b600060208284031215610e5257600080fd5b8151801515811461072957600080fd5b600181811c90821680610e7657607f821691505b602082108103610e9657634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610eae57600080fd5b505191905056fea2646970667358221220423ce63ad158125238c4a67c88f7c94d277b89848496337e515f12eace5f0a2764736f6c63430008140033",
|
450
480
|
"linkReferences": {
|
451
481
|
"contracts/types/Key32.sol": {
|
452
482
|
"Key32Lib": [
|
453
483
|
{
|
454
484
|
"length": 20,
|
455
|
-
"start":
|
485
|
+
"start": 1771
|
456
486
|
}
|
457
487
|
]
|
458
488
|
},
|
@@ -460,15 +490,15 @@
|
|
460
490
|
"StateIdLib": [
|
461
491
|
{
|
462
492
|
"length": 20,
|
463
|
-
"start":
|
493
|
+
"start": 770
|
464
494
|
},
|
465
495
|
{
|
466
496
|
"length": 20,
|
467
|
-
"start":
|
497
|
+
"start": 1450
|
468
498
|
},
|
469
499
|
{
|
470
500
|
"length": 20,
|
471
|
-
"start":
|
501
|
+
"start": 1700
|
472
502
|
}
|
473
503
|
]
|
474
504
|
}
|
@@ -478,7 +508,7 @@
|
|
478
508
|
"Key32Lib": [
|
479
509
|
{
|
480
510
|
"length": 20,
|
481
|
-
"start":
|
511
|
+
"start": 1739
|
482
512
|
}
|
483
513
|
]
|
484
514
|
},
|
@@ -486,15 +516,15 @@
|
|
486
516
|
"StateIdLib": [
|
487
517
|
{
|
488
518
|
"length": 20,
|
489
|
-
"start":
|
519
|
+
"start": 738
|
490
520
|
},
|
491
521
|
{
|
492
522
|
"length": 20,
|
493
|
-
"start":
|
523
|
+
"start": 1418
|
494
524
|
},
|
495
525
|
{
|
496
526
|
"length": 20,
|
497
|
-
"start":
|
527
|
+
"start": 1668
|
498
528
|
}
|
499
529
|
]
|
500
530
|
}
|
@@ -3,11 +3,6 @@
|
|
3
3
|
"contractName": "Lifecycle",
|
4
4
|
"sourceName": "contracts/instance/base/Lifecycle.sol",
|
5
5
|
"abi": [
|
6
|
-
{
|
7
|
-
"inputs": [],
|
8
|
-
"stateMutability": "nonpayable",
|
9
|
-
"type": "constructor"
|
10
|
-
},
|
11
6
|
{
|
12
7
|
"inputs": [
|
13
8
|
{
|
@@ -45,6 +40,29 @@
|
|
45
40
|
"name": "ErrorNoLifecycle",
|
46
41
|
"type": "error"
|
47
42
|
},
|
43
|
+
{
|
44
|
+
"inputs": [],
|
45
|
+
"name": "InvalidInitialization",
|
46
|
+
"type": "error"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"inputs": [],
|
50
|
+
"name": "NotInitializing",
|
51
|
+
"type": "error"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"anonymous": false,
|
55
|
+
"inputs": [
|
56
|
+
{
|
57
|
+
"indexed": false,
|
58
|
+
"internalType": "uint64",
|
59
|
+
"name": "version",
|
60
|
+
"type": "uint64"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"name": "Initialized",
|
64
|
+
"type": "event"
|
65
|
+
},
|
48
66
|
{
|
49
67
|
"inputs": [
|
50
68
|
{
|
@@ -106,6 +124,13 @@
|
|
106
124
|
"stateMutability": "view",
|
107
125
|
"type": "function"
|
108
126
|
},
|
127
|
+
{
|
128
|
+
"inputs": [],
|
129
|
+
"name": "initializeLifecycle",
|
130
|
+
"outputs": [],
|
131
|
+
"stateMutability": "nonpayable",
|
132
|
+
"type": "function"
|
133
|
+
},
|
109
134
|
{
|
110
135
|
"inputs": [
|
111
136
|
{
|
@@ -136,18 +161,18 @@
|
|
136
161
|
"type": "function"
|
137
162
|
}
|
138
163
|
],
|
139
|
-
"bytecode": "
|
140
|
-
"deployedBytecode": "
|
164
|
+
"bytecode": "0x608060405234801561001057600080fd5b50610903806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80630d3581811461005c578063468bce0614610099578063a8989675146100a3578063bf1db3f9146100b6578063e9e96c70146100d9575b600080fd5b61008261006a36600461083c565b60ff9081166000908152602081905260409020541690565b60405160ff90911681526020015b60405180910390f35b6100a1610117565b005b6100a16100b1366004610860565b610149565b6100c96100c436600461083c565b610243565b6040519015158152602001610090565b6100c96100e7366004610860565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b61011f6102d2565b610127610320565b61012f610443565b610137610535565b61013f610643565b61014761076f565b565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156101ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d291906108ab565b156101dc57505050565b60ff80841660009081526001602090815260408083208685168452825280832085851684529091529020541661023e57604051636bb20ea760e01b815260ff808516600483015280841660248301528216604482015260640160405180910390fd5b505050565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156102a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102cc91906108ab565b92915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661014757604051631afcd79f60e31b815260040160405180910390fd5b7f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d8054606460ff19918216179091557f1578fb1f3721b6c33cae7dfcd025f5660361b090d8a17dcf8a744763f22d32ff8054821660019081179091557f47ebb928e225b2cdc8d8e0079f8da9b87d2bc15cc37a8c27842a5c925baa8b1e80548316821790557ffe60dc71e2c842ec11550e74a003d6f707c74c3b19b04c1b0700bc0fd9efd9508054909216811790915560dc600090815260208290527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec90606e5b60ff1660ff168152602001908152602001600020600061041f60c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc50980548216600190811790915560008381527fc884cae9155e1829c27543e26ecbb72f79fe3a85ba4df2c4a97ad5806356754d6020527f2916767ac794614810c43d6c0837244e8b2c8d3f3c02376a214f465d6841db5680549093168217909255918291905b60ff1660ff1681526020019081526020016000206000610517606e90565b60ff1660ff168152602001908152602001600020600061041f60d290565b7fa57aae0b1e878b4cf2d1f237d2c6d245fa2af12f527cffc45e0a81d7b3c46abe8054600a60ff19918216179091557f10d8f68d28031156bb5a2007a6e7fc1ff769776115bd307e1d3f2901ec220eef8054821660019081179091557f71e0ce7e96b0b9ecf53c20706f5891c8e9bb320060393406400136d7ab1db61e80548316821790557f3aa5c1a82b8afaca3213d4302f465dcc339ab680e61c71830f7d9c441c63328380548316821790557f59d2febd485ffaba948645e520694e9996f0c229c4a10430d07956b599b172538054909216811790915560d3600090815260208290527f7415b658af57d740454b01d91722f71a360db8fdd5ec2a068a92c37e2bc3b1d6906064610401565b7f41d63e1348ead7043feb8677b52ff813a7a3d573fdf99c917846a69e8e7b7e60805460ff199081166032179091557f378c5573ee3453f5c9f5c7aa83b807835ecb097b5151d641746b59340336b67d8054821660019081179091557f7f4fc20c9070f9c8378783c3022311e08af436d0fea4b913fe0bbde88023d12680548316821790557ff6e14778b29b20f68b5cc5186c105c44b748bec78fd85e0b2ec52bc8586d6a6b80548316821790557fb9ec96904d3ea9e7b01f30f8b9a841d70b77145e37a183ebdbba2b0733adc0ec8054603c93168317905560009182527f77835ececcc7e965708390fdc28b7c7141b063a8a849f3954f1d294d07730184602052907f5e9b6496c2ea16de03007cb0b49643b7231addd52c0cee66d8556b1dd66622a19060dc61041f565b7fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf714038054606460ff1991821681179092557f66482ac56acdda5113badf732cc46c284136d9d6378a671ac129cd298ff5f96780548216600190811790915560009283527f47d871bf8fdbdfc3d809d1454103f6ff238aad0f5cefde0353363b9e415ef6a76020527ff2de5750d5c9f412b7907640f68a5258fe3f903dfd0cd25c2ea235b23cc926958054909216811790915590819060c86104f9565b60ff8116811461083957600080fd5b50565b60006020828403121561084e57600080fd5b81356108598161082a565b9392505050565b60008060006060848603121561087557600080fd5b83356108808161082a565b925060208401356108908161082a565b915060408401356108a08161082a565b809150509250925092565b6000602082840312156108bd57600080fd5b8151801515811461085957600080fdfea26469706673582212208edfdfecb1c6180d5ba398259ea47b595ef61fd1e191a853e1f49f81728ca1cd64736f6c63430008140033",
|
165
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c80630d3581811461005c578063468bce0614610099578063a8989675146100a3578063bf1db3f9146100b6578063e9e96c70146100d9575b600080fd5b61008261006a36600461083c565b60ff9081166000908152602081905260409020541690565b60405160ff90911681526020015b60405180910390f35b6100a1610117565b005b6100a16100b1366004610860565b610149565b6100c96100c436600461083c565b610243565b6040519015158152602001610090565b6100c96100e7366004610860565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b61011f6102d2565b610127610320565b61012f610443565b610137610535565b61013f610643565b61014761076f565b565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156101ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d291906108ab565b156101dc57505050565b60ff80841660009081526001602090815260408083208685168452825280832085851684529091529020541661023e57604051636bb20ea760e01b815260ff808516600483015280841660248301528216604482015260640160405180910390fd5b505050565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156102a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102cc91906108ab565b92915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661014757604051631afcd79f60e31b815260040160405180910390fd5b7f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d8054606460ff19918216179091557f1578fb1f3721b6c33cae7dfcd025f5660361b090d8a17dcf8a744763f22d32ff8054821660019081179091557f47ebb928e225b2cdc8d8e0079f8da9b87d2bc15cc37a8c27842a5c925baa8b1e80548316821790557ffe60dc71e2c842ec11550e74a003d6f707c74c3b19b04c1b0700bc0fd9efd9508054909216811790915560dc600090815260208290527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec90606e5b60ff1660ff168152602001908152602001600020600061041f60c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc50980548216600190811790915560008381527fc884cae9155e1829c27543e26ecbb72f79fe3a85ba4df2c4a97ad5806356754d6020527f2916767ac794614810c43d6c0837244e8b2c8d3f3c02376a214f465d6841db5680549093168217909255918291905b60ff1660ff1681526020019081526020016000206000610517606e90565b60ff1660ff168152602001908152602001600020600061041f60d290565b7fa57aae0b1e878b4cf2d1f237d2c6d245fa2af12f527cffc45e0a81d7b3c46abe8054600a60ff19918216179091557f10d8f68d28031156bb5a2007a6e7fc1ff769776115bd307e1d3f2901ec220eef8054821660019081179091557f71e0ce7e96b0b9ecf53c20706f5891c8e9bb320060393406400136d7ab1db61e80548316821790557f3aa5c1a82b8afaca3213d4302f465dcc339ab680e61c71830f7d9c441c63328380548316821790557f59d2febd485ffaba948645e520694e9996f0c229c4a10430d07956b599b172538054909216811790915560d3600090815260208290527f7415b658af57d740454b01d91722f71a360db8fdd5ec2a068a92c37e2bc3b1d6906064610401565b7f41d63e1348ead7043feb8677b52ff813a7a3d573fdf99c917846a69e8e7b7e60805460ff199081166032179091557f378c5573ee3453f5c9f5c7aa83b807835ecb097b5151d641746b59340336b67d8054821660019081179091557f7f4fc20c9070f9c8378783c3022311e08af436d0fea4b913fe0bbde88023d12680548316821790557ff6e14778b29b20f68b5cc5186c105c44b748bec78fd85e0b2ec52bc8586d6a6b80548316821790557fb9ec96904d3ea9e7b01f30f8b9a841d70b77145e37a183ebdbba2b0733adc0ec8054603c93168317905560009182527f77835ececcc7e965708390fdc28b7c7141b063a8a849f3954f1d294d07730184602052907f5e9b6496c2ea16de03007cb0b49643b7231addd52c0cee66d8556b1dd66622a19060dc61041f565b7fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf714038054606460ff1991821681179092557f66482ac56acdda5113badf732cc46c284136d9d6378a671ac129cd298ff5f96780548216600190811790915560009283527f47d871bf8fdbdfc3d809d1454103f6ff238aad0f5cefde0353363b9e415ef6a76020527ff2de5750d5c9f412b7907640f68a5258fe3f903dfd0cd25c2ea235b23cc926958054909216811790915590819060c86104f9565b60ff8116811461083957600080fd5b50565b60006020828403121561084e57600080fd5b81356108598161082a565b9392505050565b60008060006060848603121561087557600080fd5b83356108808161082a565b925060208401356108908161082a565b915060408401356108a08161082a565b809150509250925092565b6000602082840312156108bd57600080fd5b8151801515811461085957600080fdfea26469706673582212208edfdfecb1c6180d5ba398259ea47b595ef61fd1e191a853e1f49f81728ca1cd64736f6c63430008140033",
|
141
166
|
"linkReferences": {
|
142
167
|
"contracts/types/StateId.sol": {
|
143
168
|
"StateIdLib": [
|
144
169
|
{
|
145
170
|
"length": 20,
|
146
|
-
"start":
|
171
|
+
"start": 404
|
147
172
|
},
|
148
173
|
{
|
149
174
|
"length": 20,
|
150
|
-
"start":
|
175
|
+
"start": 654
|
151
176
|
}
|
152
177
|
]
|
153
178
|
}
|
@@ -157,11 +182,11 @@
|
|
157
182
|
"StateIdLib": [
|
158
183
|
{
|
159
184
|
"length": 20,
|
160
|
-
"start":
|
185
|
+
"start": 372
|
161
186
|
},
|
162
187
|
{
|
163
188
|
"length": 20,
|
164
|
-
"start":
|
189
|
+
"start": 622
|
165
190
|
}
|
166
191
|
]
|
167
192
|
}
|
@@ -6,23 +6,17 @@
|
|
6
6
|
{
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
|
-
"internalType": "
|
10
|
-
"name": "
|
11
|
-
"type": "
|
12
|
-
}
|
13
|
-
],
|
14
|
-
"name": "ErrorIAccessGrantNonexstentRole",
|
15
|
-
"type": "error"
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"inputs": [
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "caller",
|
11
|
+
"type": "address"
|
12
|
+
},
|
19
13
|
{
|
20
14
|
"internalType": "RoleId",
|
21
15
|
"name": "roleId",
|
22
16
|
"type": "uint64"
|
23
17
|
}
|
24
18
|
],
|
25
|
-
"name": "
|
19
|
+
"name": "ErrorIAccessCallerIsNotRoleAdmin",
|
26
20
|
"type": "error"
|
27
21
|
},
|
28
22
|
{
|
@@ -33,7 +27,7 @@
|
|
33
27
|
"type": "uint64"
|
34
28
|
}
|
35
29
|
],
|
36
|
-
"name": "
|
30
|
+
"name": "ErrorIAccessRoleIdDoesNotExist",
|
37
31
|
"type": "error"
|
38
32
|
},
|
39
33
|
{
|
@@ -42,14 +36,9 @@
|
|
42
36
|
"internalType": "RoleId",
|
43
37
|
"name": "roleId",
|
44
38
|
"type": "uint64"
|
45
|
-
},
|
46
|
-
{
|
47
|
-
"internalType": "ShortString",
|
48
|
-
"name": "name",
|
49
|
-
"type": "bytes32"
|
50
39
|
}
|
51
40
|
],
|
52
|
-
"name": "
|
41
|
+
"name": "ErrorIAccessRoleIdExists",
|
53
42
|
"type": "error"
|
54
43
|
},
|
55
44
|
{
|
@@ -60,7 +49,7 @@
|
|
60
49
|
"type": "uint64"
|
61
50
|
}
|
62
51
|
],
|
63
|
-
"name": "
|
52
|
+
"name": "ErrorIAccessRoleIdTooBig",
|
64
53
|
"type": "error"
|
65
54
|
},
|
66
55
|
{
|
@@ -71,7 +60,7 @@
|
|
71
60
|
"type": "uint64"
|
72
61
|
}
|
73
62
|
],
|
74
|
-
"name": "
|
63
|
+
"name": "ErrorIAccessRoleIdTooSmall",
|
75
64
|
"type": "error"
|
76
65
|
},
|
77
66
|
{
|
@@ -82,7 +71,7 @@
|
|
82
71
|
"type": "uint64"
|
83
72
|
}
|
84
73
|
],
|
85
|
-
"name": "
|
74
|
+
"name": "ErrorIAccessRoleNameEmpty",
|
86
75
|
"type": "error"
|
87
76
|
},
|
88
77
|
{
|
@@ -91,25 +80,19 @@
|
|
91
80
|
"internalType": "RoleId",
|
92
81
|
"name": "roleId",
|
93
82
|
"type": "uint64"
|
94
|
-
}
|
95
|
-
],
|
96
|
-
"name": "ErrorIAccessRoleIdTooSmall",
|
97
|
-
"type": "error"
|
98
|
-
},
|
99
|
-
{
|
100
|
-
"inputs": [
|
83
|
+
},
|
101
84
|
{
|
102
85
|
"internalType": "RoleId",
|
103
|
-
"name": "
|
86
|
+
"name": "existingRoleId",
|
104
87
|
"type": "uint64"
|
105
88
|
},
|
106
89
|
{
|
107
|
-
"internalType": "
|
108
|
-
"name": "
|
109
|
-
"type": "
|
90
|
+
"internalType": "ShortString",
|
91
|
+
"name": "name",
|
92
|
+
"type": "bytes32"
|
110
93
|
}
|
111
94
|
],
|
112
|
-
"name": "
|
95
|
+
"name": "ErrorIAccessRoleNameExists",
|
113
96
|
"type": "error"
|
114
97
|
},
|
115
98
|
{
|
@@ -120,55 +103,33 @@
|
|
120
103
|
"type": "uint64"
|
121
104
|
},
|
122
105
|
{
|
123
|
-
"internalType": "
|
124
|
-
"name": "
|
125
|
-
"type": "
|
126
|
-
},
|
127
|
-
{
|
128
|
-
"internalType": "bool",
|
129
|
-
"name": "isCustomExisting",
|
130
|
-
"type": "bool"
|
106
|
+
"internalType": "enum IAccess.Type",
|
107
|
+
"name": "rtype",
|
108
|
+
"type": "uint8"
|
131
109
|
}
|
132
110
|
],
|
133
|
-
"name": "
|
111
|
+
"name": "ErrorIAccessRoleTypeInvalid",
|
134
112
|
"type": "error"
|
135
113
|
},
|
136
114
|
{
|
137
|
-
"inputs": [
|
138
|
-
|
139
|
-
"internalType": "RoleId",
|
140
|
-
"name": "roleId",
|
141
|
-
"type": "uint64"
|
142
|
-
}
|
143
|
-
],
|
144
|
-
"name": "ErrorIAccessRoleNameEmpty",
|
115
|
+
"inputs": [],
|
116
|
+
"name": "ErrorIAccessTargetAddressZero",
|
145
117
|
"type": "error"
|
146
118
|
},
|
147
119
|
{
|
148
120
|
"inputs": [
|
149
121
|
{
|
150
|
-
"internalType": "
|
151
|
-
"name": "
|
152
|
-
"type": "
|
122
|
+
"internalType": "address",
|
123
|
+
"name": "target",
|
124
|
+
"type": "address"
|
153
125
|
},
|
154
126
|
{
|
155
|
-
"internalType": "
|
156
|
-
"name": "
|
157
|
-
"type": "
|
158
|
-
}
|
159
|
-
],
|
160
|
-
"name": "ErrorIAccessRoleNameNotUnique",
|
161
|
-
"type": "error"
|
162
|
-
},
|
163
|
-
{
|
164
|
-
"inputs": [
|
165
|
-
{
|
166
|
-
"internalType": "RoleId",
|
167
|
-
"name": "roleId",
|
168
|
-
"type": "uint64"
|
127
|
+
"internalType": "address",
|
128
|
+
"name": "targetAuthority",
|
129
|
+
"type": "address"
|
169
130
|
}
|
170
131
|
],
|
171
|
-
"name": "
|
132
|
+
"name": "ErrorIAccessTargetAuthorityInvalid",
|
172
133
|
"type": "error"
|
173
134
|
},
|
174
135
|
{
|
@@ -179,12 +140,7 @@
|
|
179
140
|
"type": "address"
|
180
141
|
}
|
181
142
|
],
|
182
|
-
"name": "
|
183
|
-
"type": "error"
|
184
|
-
},
|
185
|
-
{
|
186
|
-
"inputs": [],
|
187
|
-
"name": "ErrorIAccessTargetAddressZero",
|
143
|
+
"name": "ErrorIAccessTargetDoesNotExist",
|
188
144
|
"type": "error"
|
189
145
|
},
|
190
146
|
{
|
@@ -200,7 +156,7 @@
|
|
200
156
|
"type": "bytes32"
|
201
157
|
}
|
202
158
|
],
|
203
|
-
"name": "
|
159
|
+
"name": "ErrorIAccessTargetExists",
|
204
160
|
"type": "error"
|
205
161
|
},
|
206
162
|
{
|
@@ -245,6 +201,33 @@
|
|
245
201
|
],
|
246
202
|
"name": "ErrorIAccessTargetNameExists",
|
247
203
|
"type": "error"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"inputs": [
|
207
|
+
{
|
208
|
+
"internalType": "address",
|
209
|
+
"name": "target",
|
210
|
+
"type": "address"
|
211
|
+
}
|
212
|
+
],
|
213
|
+
"name": "ErrorIAccessTargetNotRegistered",
|
214
|
+
"type": "error"
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"inputs": [
|
218
|
+
{
|
219
|
+
"internalType": "address",
|
220
|
+
"name": "target",
|
221
|
+
"type": "address"
|
222
|
+
},
|
223
|
+
{
|
224
|
+
"internalType": "enum IAccess.Type",
|
225
|
+
"name": "ttype",
|
226
|
+
"type": "uint8"
|
227
|
+
}
|
228
|
+
],
|
229
|
+
"name": "ErrorIAccessTargetTypeInvalid",
|
230
|
+
"type": "error"
|
248
231
|
}
|
249
232
|
],
|
250
233
|
"bytecode": "0x",
|