@etherisc/gif-next 0.0.2-e769e2e-077 → 0.0.2-e802d97-477
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +19 -13
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +79 -73
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +114 -56
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +11 -5
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +7 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +2 -2
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +25 -6
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +12 -22
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +47 -20
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +708 -0
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +126 -30
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +195 -64
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +77 -63
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +104 -34
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +246 -104
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +2 -2
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +8 -116
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
- 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/mock/Dip.sol/Dip.dbg.json +4 -0
- package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +10 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +759 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +662 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1146 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +718 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +55 -41
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +102 -40
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +7 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +11 -5
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +22 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +18 -12
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +56 -35
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +95 -37
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +39 -25
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +96 -34
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +81 -67
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +115 -53
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +7 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +7 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +7 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +7 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +11 -5
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/product/IProductService.sol/IProductService.json +7 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +59 -45
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +104 -42
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +69 -55
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +109 -47
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +18 -12
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +25 -19
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +87 -29
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +150 -53
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +187 -67
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +328 -103
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +407 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +197 -72
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +87 -39
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +752 -148
- package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +1 -1
- package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +2 -2
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +185 -135
- package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
- package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1715 -0
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1806 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1824 -0
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +18 -12
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +92 -63
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +102 -46
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +7 -1
- 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/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
- package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
- package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
- package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +11 -5
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +14 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +11 -5
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +0 -10
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +7 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +21 -3
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +7 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +7 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +18 -12
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +10 -20
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +6 -6
- package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
- package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +13 -7
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +31 -13
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +64 -16
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +15 -9
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +7 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
- 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/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +424 -593
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +497 -49
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +444 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +598 -627
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +149 -48
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +593 -74
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +119 -29
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2189 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +68 -4
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +40 -2
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +2 -2
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +28 -4
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +15 -2
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +76 -2
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +17 -4
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +2 -2
- package/contracts/distribution/Distribution.sol +2 -4
- package/contracts/distribution/DistributionService.sol +3 -2
- package/contracts/distribution/DistributionServiceManager.sol +9 -18
- package/contracts/distribution/IDistributionComponent.sol +1 -1
- package/contracts/distribution/IDistributionService.sol +1 -1
- package/contracts/instance/IInstance.sol +11 -6
- package/contracts/instance/IInstanceService.sol +3 -5
- package/contracts/instance/Instance.sol +29 -21
- package/contracts/instance/InstanceAdmin.sol +331 -0
- package/contracts/instance/InstanceAuthorizationsLib.sol +192 -151
- package/contracts/instance/InstanceReader.sol +30 -6
- package/contracts/instance/InstanceService.sol +69 -55
- package/contracts/instance/InstanceServiceManager.sol +10 -20
- package/contracts/instance/InstanceStore.sol +64 -42
- package/contracts/instance/base/BalanceStore.sol +1 -1
- package/contracts/instance/base/ObjectCounter.sol +21 -0
- package/contracts/instance/module/IAccess.sol +2 -10
- package/contracts/mock/Dip.sol +26 -0
- package/contracts/oracle/IOracle.sol +20 -0
- package/contracts/oracle/IOracleComponent.sol +32 -0
- package/contracts/oracle/IOracleService.sol +65 -0
- package/contracts/oracle/Oracle.sol +145 -0
- package/contracts/oracle/OracleService.sol +277 -0
- package/contracts/oracle/OracleServiceManager.sol +42 -0
- package/contracts/pool/BundleService.sol +6 -23
- package/contracts/pool/BundleServiceManager.sol +9 -18
- package/contracts/pool/IBundleService.sol +1 -1
- package/contracts/pool/IPoolService.sol +4 -1
- package/contracts/pool/PoolService.sol +45 -13
- package/contracts/pool/PoolServiceManager.sol +9 -18
- package/contracts/product/ApplicationService.sol +6 -5
- package/contracts/product/ApplicationServiceManager.sol +9 -6
- package/contracts/product/ClaimService.sol +13 -7
- package/contracts/product/ClaimServiceManager.sol +9 -6
- package/contracts/product/IApplicationService.sol +1 -1
- package/contracts/product/IClaimService.sol +7 -1
- package/contracts/product/IPolicyService.sol +1 -1
- package/contracts/product/IPricingService.sol +1 -1
- package/contracts/product/IProductService.sol +1 -1
- package/contracts/product/PolicyService.sol +10 -6
- package/contracts/product/PolicyServiceManager.sol +9 -21
- package/contracts/product/PricingService.sol +10 -9
- package/contracts/product/PricingServiceManager.sol +9 -18
- package/contracts/product/Product.sol +1 -1
- package/contracts/product/ProductService.sol +7 -5
- package/contracts/product/ProductServiceManager.sol +9 -21
- package/contracts/registry/ChainNft.sol +1 -0
- package/contracts/registry/IRegistry.sol +37 -24
- package/contracts/registry/IRegistryService.sol +26 -36
- package/contracts/registry/Registry.sol +164 -117
- package/contracts/registry/RegistryAdmin.sol +237 -0
- package/contracts/registry/RegistryService.sol +22 -83
- package/contracts/registry/RegistryServiceManager.sol +21 -23
- package/contracts/registry/ReleaseManager.sol +448 -223
- package/contracts/registry/TokenRegistry.sol +187 -59
- package/contracts/shared/AccessManagerCustom.sol +736 -0
- package/contracts/shared/AccessManagerExtended.sol +470 -0
- package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
- package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
- package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
- package/contracts/shared/Component.sol +8 -13
- package/contracts/shared/ComponentService.sol +35 -13
- package/contracts/shared/ComponentVerifyingService.sol +13 -7
- package/contracts/shared/ERC165.sol +1 -1
- package/contracts/shared/IAccessManagerExtended.sol +74 -0
- package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
- package/contracts/shared/IComponent.sol +3 -7
- package/contracts/shared/IComponentService.sol +11 -0
- package/contracts/shared/IKeyValueStore.sol +1 -1
- package/contracts/shared/INftOwnable.sol +1 -1
- package/contracts/shared/IPolicyHolder.sol +6 -1
- package/contracts/shared/IService.sol +1 -1
- package/contracts/shared/InitializableCustom.sol +177 -0
- package/contracts/shared/InstanceLinkedComponent.sol +1 -2
- package/contracts/shared/KeyValueStore.sol +24 -66
- package/contracts/shared/Lifecycle.sol +11 -2
- package/contracts/shared/NftIdSetManager.sol +65 -0
- package/contracts/shared/NftOwnable.sol +2 -13
- package/contracts/shared/PolicyHolder.sol +21 -13
- package/contracts/shared/ProxyManager.sol +31 -1
- package/contracts/shared/Service.sol +1 -1
- package/contracts/staking/IStaking.sol +127 -36
- package/contracts/staking/IStakingService.sol +83 -39
- package/contracts/staking/StakeManagerLib.sol +179 -0
- package/contracts/staking/Staking.sol +432 -93
- package/contracts/staking/StakingManager.sol +22 -14
- package/contracts/staking/StakingReader.sol +187 -0
- package/contracts/staking/StakingService.sol +245 -39
- package/contracts/staking/StakingServiceManager.sol +8 -4
- package/contracts/staking/StakingStore.sol +572 -0
- package/contracts/staking/TargetManagerLib.sol +207 -0
- package/contracts/type/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +15 -1
- package/contracts/type/Blocknumber.sol +14 -2
- package/contracts/type/Fee.sol +1 -1
- package/contracts/type/NftId.sol +9 -4
- package/contracts/type/NftIdSet.sol +1 -1
- package/contracts/type/ObjectType.sol +12 -9
- package/contracts/type/Referral.sol +1 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/type/RiskId.sol +1 -1
- package/contracts/type/RoleId.sol +16 -8
- package/contracts/type/Seconds.sol +27 -0
- package/contracts/type/StateId.sol +27 -2
- package/contracts/type/Timestamp.sol +6 -2
- package/contracts/type/Version.sol +1 -1
- package/package.json +3 -3
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -308
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
- package/contracts/instance/InstanceAccessManager.sol +0 -543
- package/contracts/registry/RegistryAccessManager.sol +0 -213
- package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
@@ -0,0 +1,444 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "StakeManagerLib",
|
4
|
+
"sourceName": "contracts/staking/StakeManagerLib.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "owner",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "address",
|
15
|
+
"name": "tokenHandler",
|
16
|
+
"type": "address"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"internalType": "uint256",
|
20
|
+
"name": "amount",
|
21
|
+
"type": "uint256"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"internalType": "uint256",
|
25
|
+
"name": "dipAllowance",
|
26
|
+
"type": "uint256"
|
27
|
+
}
|
28
|
+
],
|
29
|
+
"name": "ErrorStakingDipAllowanceInsufficient",
|
30
|
+
"type": "error"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"inputs": [
|
34
|
+
{
|
35
|
+
"internalType": "address",
|
36
|
+
"name": "owner",
|
37
|
+
"type": "address"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"internalType": "uint256",
|
41
|
+
"name": "amount",
|
42
|
+
"type": "uint256"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"internalType": "uint256",
|
46
|
+
"name": "dipBalance",
|
47
|
+
"type": "uint256"
|
48
|
+
}
|
49
|
+
],
|
50
|
+
"name": "ErrorStakingDipBalanceInsufficient",
|
51
|
+
"type": "error"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"inputs": [
|
55
|
+
{
|
56
|
+
"internalType": "NftId",
|
57
|
+
"name": "targetNftId",
|
58
|
+
"type": "uint96"
|
59
|
+
}
|
60
|
+
],
|
61
|
+
"name": "ErrorStakingNotTarget",
|
62
|
+
"type": "error"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"inputs": [
|
66
|
+
{
|
67
|
+
"internalType": "NftId",
|
68
|
+
"name": "targetNftId",
|
69
|
+
"type": "uint96"
|
70
|
+
}
|
71
|
+
],
|
72
|
+
"name": "ErrorStakingStakeAmountZero",
|
73
|
+
"type": "error"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"inputs": [
|
77
|
+
{
|
78
|
+
"internalType": "NftId",
|
79
|
+
"name": "targetNftId",
|
80
|
+
"type": "uint96"
|
81
|
+
}
|
82
|
+
],
|
83
|
+
"name": "ErrorStakingTargetNotActive",
|
84
|
+
"type": "error"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"inputs": [
|
88
|
+
{
|
89
|
+
"internalType": "UFixed",
|
90
|
+
"name": "rewardRate",
|
91
|
+
"type": "uint256"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"internalType": "Seconds",
|
95
|
+
"name": "duration",
|
96
|
+
"type": "uint40"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"internalType": "Amount",
|
100
|
+
"name": "stakeAmount",
|
101
|
+
"type": "uint96"
|
102
|
+
}
|
103
|
+
],
|
104
|
+
"name": "calculateRewardAmount",
|
105
|
+
"outputs": [
|
106
|
+
{
|
107
|
+
"internalType": "Amount",
|
108
|
+
"name": "rewardAmount",
|
109
|
+
"type": "uint96"
|
110
|
+
}
|
111
|
+
],
|
112
|
+
"stateMutability": "pure",
|
113
|
+
"type": "function"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"inputs": [
|
117
|
+
{
|
118
|
+
"internalType": "contract StakingReader",
|
119
|
+
"name": "stakingReader",
|
120
|
+
"type": "StakingReader"
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"internalType": "NftId",
|
124
|
+
"name": "stakeNftId",
|
125
|
+
"type": "uint96"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"internalType": "UFixed",
|
129
|
+
"name": "rewardRate",
|
130
|
+
"type": "uint256"
|
131
|
+
}
|
132
|
+
],
|
133
|
+
"name": "calculateRewardIncrease",
|
134
|
+
"outputs": [
|
135
|
+
{
|
136
|
+
"internalType": "Amount",
|
137
|
+
"name": "rewardIncreaseAmount",
|
138
|
+
"type": "uint96"
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"internalType": "Amount",
|
142
|
+
"name": "totalDipAmount",
|
143
|
+
"type": "uint96"
|
144
|
+
}
|
145
|
+
],
|
146
|
+
"stateMutability": "view",
|
147
|
+
"type": "function"
|
148
|
+
},
|
149
|
+
{
|
150
|
+
"inputs": [
|
151
|
+
{
|
152
|
+
"internalType": "contract StakingReader",
|
153
|
+
"name": "stakingReader",
|
154
|
+
"type": "StakingReader"
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"internalType": "NftId",
|
158
|
+
"name": "targetNftId",
|
159
|
+
"type": "uint96"
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"internalType": "Amount",
|
163
|
+
"name": "dipAmount",
|
164
|
+
"type": "uint96"
|
165
|
+
}
|
166
|
+
],
|
167
|
+
"name": "checkCreateParameters",
|
168
|
+
"outputs": [
|
169
|
+
{
|
170
|
+
"internalType": "Timestamp",
|
171
|
+
"name": "lockedUntil",
|
172
|
+
"type": "uint40"
|
173
|
+
}
|
174
|
+
],
|
175
|
+
"stateMutability": "view",
|
176
|
+
"type": "function"
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"inputs": [
|
180
|
+
{
|
181
|
+
"internalType": "contract StakingReader",
|
182
|
+
"name": "stakingReader",
|
183
|
+
"type": "StakingReader"
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"internalType": "NftId",
|
187
|
+
"name": "targetNftId",
|
188
|
+
"type": "uint96"
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"internalType": "Amount",
|
192
|
+
"name": "dipAmount",
|
193
|
+
"type": "uint96"
|
194
|
+
}
|
195
|
+
],
|
196
|
+
"name": "checkDipAmount",
|
197
|
+
"outputs": [],
|
198
|
+
"stateMutability": "pure",
|
199
|
+
"type": "function"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"inputs": [
|
203
|
+
{
|
204
|
+
"internalType": "contract IERC20Metadata",
|
205
|
+
"name": "dip",
|
206
|
+
"type": "IERC20Metadata"
|
207
|
+
},
|
208
|
+
{
|
209
|
+
"internalType": "address",
|
210
|
+
"name": "owner",
|
211
|
+
"type": "address"
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"internalType": "address",
|
215
|
+
"name": "tokenHandlerAddress",
|
216
|
+
"type": "address"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"internalType": "Amount",
|
220
|
+
"name": "dipAmount",
|
221
|
+
"type": "uint96"
|
222
|
+
}
|
223
|
+
],
|
224
|
+
"name": "checkDipBalanceAndAllowance",
|
225
|
+
"outputs": [],
|
226
|
+
"stateMutability": "view",
|
227
|
+
"type": "function"
|
228
|
+
},
|
229
|
+
{
|
230
|
+
"inputs": [
|
231
|
+
{
|
232
|
+
"internalType": "contract StakingReader",
|
233
|
+
"name": "stakingReader",
|
234
|
+
"type": "StakingReader"
|
235
|
+
},
|
236
|
+
{
|
237
|
+
"internalType": "NftId",
|
238
|
+
"name": "stakeNftId",
|
239
|
+
"type": "uint96"
|
240
|
+
}
|
241
|
+
],
|
242
|
+
"name": "checkStakeParameters",
|
243
|
+
"outputs": [
|
244
|
+
{
|
245
|
+
"internalType": "UFixed",
|
246
|
+
"name": "rewardRate",
|
247
|
+
"type": "uint256"
|
248
|
+
},
|
249
|
+
{
|
250
|
+
"internalType": "Seconds",
|
251
|
+
"name": "lockingPeriod",
|
252
|
+
"type": "uint40"
|
253
|
+
}
|
254
|
+
],
|
255
|
+
"stateMutability": "view",
|
256
|
+
"type": "function"
|
257
|
+
},
|
258
|
+
{
|
259
|
+
"inputs": [
|
260
|
+
{
|
261
|
+
"internalType": "contract StakingReader",
|
262
|
+
"name": "stakingReader",
|
263
|
+
"type": "StakingReader"
|
264
|
+
},
|
265
|
+
{
|
266
|
+
"internalType": "NftId",
|
267
|
+
"name": "targetNftId",
|
268
|
+
"type": "uint96"
|
269
|
+
}
|
270
|
+
],
|
271
|
+
"name": "checkTarget",
|
272
|
+
"outputs": [
|
273
|
+
{
|
274
|
+
"internalType": "Seconds",
|
275
|
+
"name": "lockingPeriod",
|
276
|
+
"type": "uint40"
|
277
|
+
}
|
278
|
+
],
|
279
|
+
"stateMutability": "view",
|
280
|
+
"type": "function"
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"inputs": [
|
284
|
+
{
|
285
|
+
"internalType": "Seconds",
|
286
|
+
"name": "duration",
|
287
|
+
"type": "uint40"
|
288
|
+
}
|
289
|
+
],
|
290
|
+
"name": "getYearFraction",
|
291
|
+
"outputs": [
|
292
|
+
{
|
293
|
+
"internalType": "UFixed",
|
294
|
+
"name": "yearFraction",
|
295
|
+
"type": "uint256"
|
296
|
+
}
|
297
|
+
],
|
298
|
+
"stateMutability": "pure",
|
299
|
+
"type": "function"
|
300
|
+
}
|
301
|
+
],
|
302
|
+
"bytecode": "0x6112c461003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100925760003560e01c806382aaf2e71161006557806382aaf2e714610118578063d6b40e611461012b578063e048754d14610159578063e2a70ae31461018c57600080fd5b8063377e04ae146100975780636d7b7389146100c55780636feca3ff146100f0578063746c22b814610105575b600080fd5b6100aa6100a5366004610f90565b6101ad565b60405164ffffffffff90911681526020015b60405180910390f35b6100d86100d3366004610fdc565b610363565b6040516001600160601b0390911681526020016100bc565b6101036100fe36600461101e565b610407565b005b6100aa61011336600461101e565b6104b0565b61010361012636600461104e565b6105c8565b61013e610139366004610f90565b6107b6565b6040805192835264ffffffffff9091166020830152016100bc565b61016c6101673660046110aa565b610956565b604080516001600160601b039384168152929091166020830152016100bc565b61019f61019a3660046110eb565b610b0f565b6040519081526020016100bc565b60405163134fc55b60e11b81526001600160601b03821660048201526000906001600160a01b0384169063269f8ab690602401602060405180830381865afa1580156101fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102219190611108565b61024e576040516396cff01560e01b81526001600160601b03831660048201526024015b60405180910390fd5b60405163777d185760e01b81526001600160601b03831660048201526001600160a01b0384169063777d185790602401602060405180830381865afa15801561029b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102bf9190611108565b6102e75760405163d0c1638160e01b81526001600160601b0383166004820152602401610245565b60405163153d412560e31b81526001600160601b03831660048201526001600160a01b0384169063a9ea092890602401608060405180830381865afa158015610334573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610358919061113a565b604001519392505050565b60008061037861037285610b0f565b86610d77565b604051632c34efe560e11b81526001600160601b03851660048201526024810182905290915073__$3bac17678db7ae928afa209f2f44deec9c$__90635869dfca90604401602060405180830381865af41580156103da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103fe91906111c2565b95945050505050565b604051630a4d29dd60e31b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906352694ee890602401602060405180830381865af415801561045f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104839190611108565b156104ab57604051625e4daf60e71b81526001600160601b0383166004820152602401610245565b505050565b6000806104bd85856101ad565b90506104ca858585610407565b600073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610515573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053991906111df565b6040516352bcc5a760e11b815264ffffffffff80831660048301528416602482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063a5798b4e90604401602060405180830381865af415801561059a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105be91906111df565b9695505050505050565b60405163046e44af60e11b81526001600160601b038216600482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610623573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064791906111fc565b6040516370a0823160e01b81526001600160a01b0386811660048301529192506000918716906370a0823190602401602060405180830381865afa158015610693573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b791906111fc565b9050818110156106f357604051635e9e06d560e01b81526001600160a01b03861660048201526024810183905260448101829052606401610245565b604051636eb1769f60e11b81526001600160a01b03868116600483015285811660248301526000919088169063dd62ed3e90604401602060405180830381865afa158015610745573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076991906111fc565b9050828110156107ad5760405163dc5f8a2960e01b81526001600160a01b038088166004830152861660248201526044810184905260648101829052608401610245565b50505050505050565b604051632a4e656b60e01b81526001600160601b0382166004820152600090819081906001600160a01b03861690632a4e656b90602401602060405180830381865afa15801561080a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082e91906111c2565b60405163777d185760e01b81526001600160601b03821660048201529091506001600160a01b0386169063777d185790602401602060405180830381865afa15801561087e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a29190611108565b6108ca5760405163d0c1638160e01b81526001600160601b0382166004820152602401610245565b60405163153d412560e31b81526001600160601b03821660048201526000906001600160a01b0387169063a9ea092890602401608060405180830381865afa15801561091a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093e919061113a565b60608101516040909101519097909650945050505050565b60405160016279fab360e01b031981526001600160601b038316600482015260009081908190819081906001600160a01b0389169063ff86054d90602401606060405180830381865afa1580156109b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d59190611215565b604051633682752160e21b815264ffffffffff82166004820152929550909350915060009073__$71e292c09eace9601b3e21e68a1278917a$__90630c67422c9073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af4158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7691906111fc565b610a809042611257565b6040518263ffffffff1660e01b8152600401610a9e91815260200190565b602060405180830381865af4158015610abb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610adf91906111df565b9050610aec878286610363565b9550610b01610afb8585610d93565b87610d93565b945050505050935093915050565b604051633682752160e21b815264ffffffffff82166004820152600090610d719073__$bf7bc340cbb9229ef1de2c568356e67902$__906345ebb61e9073__$71e292c09eace9601b3e21e68a1278917a$__9063da09d48490602401602060405180830381865af4158015610b88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bac91906111fc565b6040518263ffffffff1660e01b8152600401610bca91815260200190565b602060405180830381865af4158015610be7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0b91906111fc565b73__$bf7bc340cbb9229ef1de2c568356e67902$__6345ebb61e73__$71e292c09eace9601b3e21e68a1278917a$__63f27c3bf66040518163ffffffff1660e01b8152600401602060405180830381865af4158015610c6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9291906111df565b604051633682752160e21b815264ffffffffff909116600482015273__$71e292c09eace9601b3e21e68a1278917a$__9063da09d48490602401602060405180830381865af4158015610ce9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0d91906111fc565b6040518263ffffffff1660e01b8152600401610d2b91815260200190565b602060405180830381865af4158015610d48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6c91906111fc565b610e1a565b92915050565b6000610d8c8383670de0b6b3a7640000610e7a565b9392505050565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015610df6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8c91906111c2565b6000808211610e6b5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a55464d2d3032303a44495649534f525f5a45524f0000000000006044820152606401610245565b610d8c83670de0b6b3a7640000845b6000808060001985870985870292508281108382030391505080600003610eb457838281610eaa57610eaa611278565b0492505050610d8c565b808411610efb5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610245565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b6001600160a01b0381168114610f7857600080fd5b50565b6001600160601b0381168114610f7857600080fd5b60008060408385031215610fa357600080fd5b8235610fae81610f63565b91506020830135610fbe81610f7b565b809150509250929050565b64ffffffffff81168114610f7857600080fd5b600080600060608486031215610ff157600080fd5b83359250602084013561100381610fc9565b9150604084013561101381610f7b565b809150509250925092565b60008060006060848603121561103357600080fd5b833561103e81610f63565b9250602084013561100381610f7b565b6000806000806080858703121561106457600080fd5b843561106f81610f63565b9350602085013561107f81610f63565b9250604085013561108f81610f63565b9150606085013561109f81610f7b565b939692955090935050565b6000806000606084860312156110bf57600080fd5b83356110ca81610f63565b925060208401356110da81610f7b565b929592945050506040919091013590565b6000602082840312156110fd57600080fd5b8135610d8c81610fc9565b60006020828403121561111a57600080fd5b81518015158114610d8c57600080fd5b805161113581610fc9565b919050565b60006080828403121561114c57600080fd5b6040516080810181811067ffffffffffffffff8211171561117d57634e487b7160e01b600052604160045260246000fd5b604052825160ff8116811461119157600080fd5b8152602083810151908201526111a96040840161112a565b6040820152606083015160608201528091505092915050565b6000602082840312156111d457600080fd5b8151610d8c81610f7b565b6000602082840312156111f157600080fd5b8151610d8c81610fc9565b60006020828403121561120e57600080fd5b5051919050565b60008060006060848603121561122a57600080fd5b835161123581610f7b565b602085015190935061124681610f7b565b604085015190925061101381610fc9565b81810381811115610d7157634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fdfea26469706673582212208ea06e3236ade62a27d79b3059fd137314633093e0a53a248686162a3eaf187a64736f6c63430008140033",
|
303
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100925760003560e01c806382aaf2e71161006557806382aaf2e714610118578063d6b40e611461012b578063e048754d14610159578063e2a70ae31461018c57600080fd5b8063377e04ae146100975780636d7b7389146100c55780636feca3ff146100f0578063746c22b814610105575b600080fd5b6100aa6100a5366004610f90565b6101ad565b60405164ffffffffff90911681526020015b60405180910390f35b6100d86100d3366004610fdc565b610363565b6040516001600160601b0390911681526020016100bc565b6101036100fe36600461101e565b610407565b005b6100aa61011336600461101e565b6104b0565b61010361012636600461104e565b6105c8565b61013e610139366004610f90565b6107b6565b6040805192835264ffffffffff9091166020830152016100bc565b61016c6101673660046110aa565b610956565b604080516001600160601b039384168152929091166020830152016100bc565b61019f61019a3660046110eb565b610b0f565b6040519081526020016100bc565b60405163134fc55b60e11b81526001600160601b03821660048201526000906001600160a01b0384169063269f8ab690602401602060405180830381865afa1580156101fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102219190611108565b61024e576040516396cff01560e01b81526001600160601b03831660048201526024015b60405180910390fd5b60405163777d185760e01b81526001600160601b03831660048201526001600160a01b0384169063777d185790602401602060405180830381865afa15801561029b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102bf9190611108565b6102e75760405163d0c1638160e01b81526001600160601b0383166004820152602401610245565b60405163153d412560e31b81526001600160601b03831660048201526001600160a01b0384169063a9ea092890602401608060405180830381865afa158015610334573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610358919061113a565b604001519392505050565b60008061037861037285610b0f565b86610d77565b604051632c34efe560e11b81526001600160601b03851660048201526024810182905290915073__$3bac17678db7ae928afa209f2f44deec9c$__90635869dfca90604401602060405180830381865af41580156103da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103fe91906111c2565b95945050505050565b604051630a4d29dd60e31b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906352694ee890602401602060405180830381865af415801561045f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104839190611108565b156104ab57604051625e4daf60e71b81526001600160601b0383166004820152602401610245565b505050565b6000806104bd85856101ad565b90506104ca858585610407565b600073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610515573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053991906111df565b6040516352bcc5a760e11b815264ffffffffff80831660048301528416602482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063a5798b4e90604401602060405180830381865af415801561059a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105be91906111df565b9695505050505050565b60405163046e44af60e11b81526001600160601b038216600482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610623573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064791906111fc565b6040516370a0823160e01b81526001600160a01b0386811660048301529192506000918716906370a0823190602401602060405180830381865afa158015610693573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b791906111fc565b9050818110156106f357604051635e9e06d560e01b81526001600160a01b03861660048201526024810183905260448101829052606401610245565b604051636eb1769f60e11b81526001600160a01b03868116600483015285811660248301526000919088169063dd62ed3e90604401602060405180830381865afa158015610745573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076991906111fc565b9050828110156107ad5760405163dc5f8a2960e01b81526001600160a01b038088166004830152861660248201526044810184905260648101829052608401610245565b50505050505050565b604051632a4e656b60e01b81526001600160601b0382166004820152600090819081906001600160a01b03861690632a4e656b90602401602060405180830381865afa15801561080a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082e91906111c2565b60405163777d185760e01b81526001600160601b03821660048201529091506001600160a01b0386169063777d185790602401602060405180830381865afa15801561087e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a29190611108565b6108ca5760405163d0c1638160e01b81526001600160601b0382166004820152602401610245565b60405163153d412560e31b81526001600160601b03821660048201526000906001600160a01b0387169063a9ea092890602401608060405180830381865afa15801561091a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093e919061113a565b60608101516040909101519097909650945050505050565b60405160016279fab360e01b031981526001600160601b038316600482015260009081908190819081906001600160a01b0389169063ff86054d90602401606060405180830381865afa1580156109b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d59190611215565b604051633682752160e21b815264ffffffffff82166004820152929550909350915060009073__$71e292c09eace9601b3e21e68a1278917a$__90630c67422c9073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af4158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7691906111fc565b610a809042611257565b6040518263ffffffff1660e01b8152600401610a9e91815260200190565b602060405180830381865af4158015610abb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610adf91906111df565b9050610aec878286610363565b9550610b01610afb8585610d93565b87610d93565b945050505050935093915050565b604051633682752160e21b815264ffffffffff82166004820152600090610d719073__$bf7bc340cbb9229ef1de2c568356e67902$__906345ebb61e9073__$71e292c09eace9601b3e21e68a1278917a$__9063da09d48490602401602060405180830381865af4158015610b88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bac91906111fc565b6040518263ffffffff1660e01b8152600401610bca91815260200190565b602060405180830381865af4158015610be7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0b91906111fc565b73__$bf7bc340cbb9229ef1de2c568356e67902$__6345ebb61e73__$71e292c09eace9601b3e21e68a1278917a$__63f27c3bf66040518163ffffffff1660e01b8152600401602060405180830381865af4158015610c6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9291906111df565b604051633682752160e21b815264ffffffffff909116600482015273__$71e292c09eace9601b3e21e68a1278917a$__9063da09d48490602401602060405180830381865af4158015610ce9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0d91906111fc565b6040518263ffffffff1660e01b8152600401610d2b91815260200190565b602060405180830381865af4158015610d48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6c91906111fc565b610e1a565b92915050565b6000610d8c8383670de0b6b3a7640000610e7a565b9392505050565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015610df6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8c91906111c2565b6000808211610e6b5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a55464d2d3032303a44495649534f525f5a45524f0000000000006044820152606401610245565b610d8c83670de0b6b3a7640000845b6000808060001985870985870292508281108382030391505080600003610eb457838281610eaa57610eaa611278565b0492505050610d8c565b808411610efb5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610245565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b6001600160a01b0381168114610f7857600080fd5b50565b6001600160601b0381168114610f7857600080fd5b60008060408385031215610fa357600080fd5b8235610fae81610f63565b91506020830135610fbe81610f7b565b809150509250929050565b64ffffffffff81168114610f7857600080fd5b600080600060608486031215610ff157600080fd5b83359250602084013561100381610fc9565b9150604084013561101381610f7b565b809150509250925092565b60008060006060848603121561103357600080fd5b833561103e81610f63565b9250602084013561100381610f7b565b6000806000806080858703121561106457600080fd5b843561106f81610f63565b9350602085013561107f81610f63565b9250604085013561108f81610f63565b9150606085013561109f81610f7b565b939692955090935050565b6000806000606084860312156110bf57600080fd5b83356110ca81610f63565b925060208401356110da81610f7b565b929592945050506040919091013590565b6000602082840312156110fd57600080fd5b8135610d8c81610fc9565b60006020828403121561111a57600080fd5b81518015158114610d8c57600080fd5b805161113581610fc9565b919050565b60006080828403121561114c57600080fd5b6040516080810181811067ffffffffffffffff8211171561117d57634e487b7160e01b600052604160045260246000fd5b604052825160ff8116811461119157600080fd5b8152602083810151908201526111a96040840161112a565b6040820152606083015160608201528091505092915050565b6000602082840312156111d457600080fd5b8151610d8c81610f7b565b6000602082840312156111f157600080fd5b8151610d8c81610fc9565b60006020828403121561120e57600080fd5b5051919050565b60008060006060848603121561122a57600080fd5b835161123581610f7b565b602085015190935061124681610f7b565b604085015190925061101381610fc9565b81810381811115610d7157634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fdfea26469706673582212208ea06e3236ade62a27d79b3059fd137314633093e0a53a248686162a3eaf187a64736f6c63430008140033",
|
304
|
+
"linkReferences": {
|
305
|
+
"contracts/type/Amount.sol": {
|
306
|
+
"AmountLib": [
|
307
|
+
{
|
308
|
+
"length": 20,
|
309
|
+
"start": 986
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"length": 20,
|
313
|
+
"start": 1119
|
314
|
+
},
|
315
|
+
{
|
316
|
+
"length": 20,
|
317
|
+
"start": 1571
|
318
|
+
},
|
319
|
+
{
|
320
|
+
"length": 20,
|
321
|
+
"start": 3574
|
322
|
+
}
|
323
|
+
]
|
324
|
+
},
|
325
|
+
"contracts/type/Seconds.sol": {
|
326
|
+
"SecondsLib": [
|
327
|
+
{
|
328
|
+
"length": 20,
|
329
|
+
"start": 2614
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"length": 20,
|
333
|
+
"start": 2952
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"length": 20,
|
337
|
+
"start": 3169
|
338
|
+
},
|
339
|
+
{
|
340
|
+
"length": 20,
|
341
|
+
"start": 3305
|
342
|
+
}
|
343
|
+
]
|
344
|
+
},
|
345
|
+
"contracts/type/Timestamp.sol": {
|
346
|
+
"TimestampLib": [
|
347
|
+
{
|
348
|
+
"length": 20,
|
349
|
+
"start": 1288
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"length": 20,
|
353
|
+
"start": 1434
|
354
|
+
},
|
355
|
+
{
|
356
|
+
"length": 20,
|
357
|
+
"start": 2642
|
358
|
+
}
|
359
|
+
]
|
360
|
+
},
|
361
|
+
"contracts/type/UFixed.sol": {
|
362
|
+
"UFixedLib": [
|
363
|
+
{
|
364
|
+
"length": 20,
|
365
|
+
"start": 2924
|
366
|
+
},
|
367
|
+
{
|
368
|
+
"length": 20,
|
369
|
+
"start": 3143
|
370
|
+
}
|
371
|
+
]
|
372
|
+
}
|
373
|
+
},
|
374
|
+
"deployedLinkReferences": {
|
375
|
+
"contracts/type/Amount.sol": {
|
376
|
+
"AmountLib": [
|
377
|
+
{
|
378
|
+
"length": 20,
|
379
|
+
"start": 928
|
380
|
+
},
|
381
|
+
{
|
382
|
+
"length": 20,
|
383
|
+
"start": 1061
|
384
|
+
},
|
385
|
+
{
|
386
|
+
"length": 20,
|
387
|
+
"start": 1513
|
388
|
+
},
|
389
|
+
{
|
390
|
+
"length": 20,
|
391
|
+
"start": 3516
|
392
|
+
}
|
393
|
+
]
|
394
|
+
},
|
395
|
+
"contracts/type/Seconds.sol": {
|
396
|
+
"SecondsLib": [
|
397
|
+
{
|
398
|
+
"length": 20,
|
399
|
+
"start": 2556
|
400
|
+
},
|
401
|
+
{
|
402
|
+
"length": 20,
|
403
|
+
"start": 2894
|
404
|
+
},
|
405
|
+
{
|
406
|
+
"length": 20,
|
407
|
+
"start": 3111
|
408
|
+
},
|
409
|
+
{
|
410
|
+
"length": 20,
|
411
|
+
"start": 3247
|
412
|
+
}
|
413
|
+
]
|
414
|
+
},
|
415
|
+
"contracts/type/Timestamp.sol": {
|
416
|
+
"TimestampLib": [
|
417
|
+
{
|
418
|
+
"length": 20,
|
419
|
+
"start": 1230
|
420
|
+
},
|
421
|
+
{
|
422
|
+
"length": 20,
|
423
|
+
"start": 1376
|
424
|
+
},
|
425
|
+
{
|
426
|
+
"length": 20,
|
427
|
+
"start": 2584
|
428
|
+
}
|
429
|
+
]
|
430
|
+
},
|
431
|
+
"contracts/type/UFixed.sol": {
|
432
|
+
"UFixedLib": [
|
433
|
+
{
|
434
|
+
"length": 20,
|
435
|
+
"start": 2866
|
436
|
+
},
|
437
|
+
{
|
438
|
+
"length": 20,
|
439
|
+
"start": 3085
|
440
|
+
}
|
441
|
+
]
|
442
|
+
}
|
443
|
+
}
|
444
|
+
}
|