@etherisc/gif-next 0.0.2-bcecc4c-647 → 0.0.2-bd8fe7c-423
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +16 -2
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +2 -2
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +2 -2
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +2 -2
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +2 -2
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +30 -60
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +2 -2
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +0 -38
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +2 -2
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +2 -2
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +2 -2
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2 -2
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +2 -2
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +78 -115
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +2 -2
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +2 -2
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +16 -128
- 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 +1 -1
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- 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 +1 -1
- package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +18 -48
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +2 -2
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +0 -38
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +2 -2
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +2 -2
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +11 -99
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +16 -16
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +131 -93
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +57 -49
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +25 -3
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1 -57
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +74 -66
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +1 -95
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +198 -118
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +63 -27
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +2 -2
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +2 -2
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +0 -38
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +2 -2
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +82 -58
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +34 -30
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +16 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +184 -88
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +291 -139
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +54 -26
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +2 -2
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +2 -2
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +0 -38
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +2 -2
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +2 -2
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- 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 +2 -2
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2 -2
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +2 -2
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +2 -2
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +2 -2
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +2 -2
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +0 -38
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +74 -58
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +38 -30
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- 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/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -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/InitializableCustom.sol/InitializableCustom.dbg.json +1 -1
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +0 -38
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +2 -2
- 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/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +53 -6
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +2 -2
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +56 -70
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +29 -17
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +2 -2
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +22 -22
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +12 -12
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2 -2
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +2 -2
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -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/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +2 -2
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
- package/contracts/distribution/DistributionService.sol +1 -2
- package/contracts/instance/InstanceReader.sol +10 -7
- package/contracts/instance/base/ObjectLifecycle.sol +1 -3
- package/contracts/instance/module/IComponents.sol +1 -6
- package/contracts/instance/module/IPolicy.sol +1 -1
- package/contracts/mock/Dip.sol +1 -1
- package/contracts/pool/BasicPool.sol +7 -5
- package/contracts/pool/BasicPoolAuthorization.sol +5 -2
- package/contracts/pool/BundleService.sol +51 -25
- package/contracts/pool/IBundleService.sol +12 -5
- package/contracts/pool/IPoolService.sol +8 -14
- package/contracts/pool/Pool.sol +7 -11
- package/contracts/pool/PoolService.sol +103 -86
- package/contracts/product/BasicProduct.sol +3 -33
- package/contracts/product/ClaimService.sol +16 -9
- package/contracts/product/IClaimService.sol +1 -0
- package/contracts/product/IPolicyService.sol +19 -12
- package/contracts/product/PolicyService.sol +188 -108
- package/contracts/product/Product.sol +19 -0
- package/contracts/shared/Component.sol +8 -7
- package/contracts/shared/ComponentService.sol +1 -2
- package/contracts/shared/IComponent.sol +4 -3
- package/contracts/shared/IInstanceLinkedComponent.sol +8 -8
- package/contracts/shared/TokenHandler.sol +4 -0
- package/contracts/staking/StakingService.sol +8 -12
- package/contracts/type/Blocknumber.sol +7 -1
- package/contracts/type/Timestamp.sol +11 -1
- package/package.json +1 -1
@@ -254,6 +254,25 @@
|
|
254
254
|
"stateMutability": "pure",
|
255
255
|
"type": "function"
|
256
256
|
},
|
257
|
+
{
|
258
|
+
"inputs": [
|
259
|
+
{
|
260
|
+
"internalType": "uint256",
|
261
|
+
"name": "timestamp",
|
262
|
+
"type": "uint256"
|
263
|
+
}
|
264
|
+
],
|
265
|
+
"name": "toTimestamp",
|
266
|
+
"outputs": [
|
267
|
+
{
|
268
|
+
"internalType": "Timestamp",
|
269
|
+
"name": "",
|
270
|
+
"type": "uint40"
|
271
|
+
}
|
272
|
+
],
|
273
|
+
"stateMutability": "pure",
|
274
|
+
"type": "function"
|
275
|
+
},
|
257
276
|
{
|
258
277
|
"inputs": [],
|
259
278
|
"name": "zero",
|
@@ -268,14 +287,14 @@
|
|
268
287
|
"type": "function"
|
269
288
|
}
|
270
289
|
],
|
271
|
-
"bytecode": "
|
272
|
-
"deployedBytecode": "
|
290
|
+
"bytecode": "0x61041b610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100f0575f3560e01c8063a5798b4e11610093578063bc1b392d1161006e578063bc1b392d146101cf578063c24922ce146101d5578063da09d484146101e8578063ddf3d6311461020e575f80fd5b8063a5798b4e146101a3578063adb61832146101b6578063add9ce99146101bc575f80fd5b806385523ac7116100ce57806385523ac7146101525780638d38cd4b1461016357806394335b1a1461017d5780639df8763914610190575f80fd5b80636ac5db19146100f4578063790a38ad1461011657806383ffcdef1461013f575b5f80fd5b64ffffffffff5b60405164ffffffffff90911681526020015b60405180910390f35b61012f61012436600461033f565b64ffffffffff161590565b604051901515815260200161010d565b61012f61014d366004610361565b610221565b6100fb610160366004610398565b90565b61012f61017136600461033f565b64ffffffffff16151590565b61012f61018b366004610361565b610239565b61012f61019e366004610361565b61024d565b6100fb6101b1366004610361565b610260565b426100fb565b61012f6101ca366004610361565b6102ef565b5f6100fb565b61012f6101e3366004610361565b610302565b6102006101f636600461033f565b64ffffffffff1690565b60405190815260200161010d565b61012f61021c366004610361565b610316565b5f64ffffffffff808316908416115b90505b92915050565b5f64ffffffffff8083169084161115610230565b5f64ffffffffff80841690831614610230565b604051633682752160e21b815264ffffffffff821660048201525f906102309073__$71e292c09eace9601b3e21e68a1278917a$__9063da09d48490602401602060405180830381865af41580156102ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102de91906103af565b6101609064ffffffffff86166103c6565b5f64ffffffffff80831690841610610230565b5f64ffffffffff8083169084161015610230565b5f64ffffffffff8084169083161415610230565b64ffffffffff8116811461033c575f80fd5b50565b5f6020828403121561034f575f80fd5b813561035a8161032a565b9392505050565b5f8060408385031215610372575f80fd5b823561037d8161032a565b9150602083013561038d8161032a565b809150509250929050565b5f602082840312156103a8575f80fd5b5035919050565b5f602082840312156103bf575f80fd5b5051919050565b8082018082111561023357634e487b7160e01b5f52601160045260245ffdfea264697066735822122043c4252a154815c45da6dde44b09f1d9fa65cbe3a55015d3b49b60c4961d7b6864736f6c634300081a0033",
|
291
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100f0575f3560e01c8063a5798b4e11610093578063bc1b392d1161006e578063bc1b392d146101cf578063c24922ce146101d5578063da09d484146101e8578063ddf3d6311461020e575f80fd5b8063a5798b4e146101a3578063adb61832146101b6578063add9ce99146101bc575f80fd5b806385523ac7116100ce57806385523ac7146101525780638d38cd4b1461016357806394335b1a1461017d5780639df8763914610190575f80fd5b80636ac5db19146100f4578063790a38ad1461011657806383ffcdef1461013f575b5f80fd5b64ffffffffff5b60405164ffffffffff90911681526020015b60405180910390f35b61012f61012436600461033f565b64ffffffffff161590565b604051901515815260200161010d565b61012f61014d366004610361565b610221565b6100fb610160366004610398565b90565b61012f61017136600461033f565b64ffffffffff16151590565b61012f61018b366004610361565b610239565b61012f61019e366004610361565b61024d565b6100fb6101b1366004610361565b610260565b426100fb565b61012f6101ca366004610361565b6102ef565b5f6100fb565b61012f6101e3366004610361565b610302565b6102006101f636600461033f565b64ffffffffff1690565b60405190815260200161010d565b61012f61021c366004610361565b610316565b5f64ffffffffff808316908416115b90505b92915050565b5f64ffffffffff8083169084161115610230565b5f64ffffffffff80841690831614610230565b604051633682752160e21b815264ffffffffff821660048201525f906102309073__$71e292c09eace9601b3e21e68a1278917a$__9063da09d48490602401602060405180830381865af41580156102ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102de91906103af565b6101609064ffffffffff86166103c6565b5f64ffffffffff80831690841610610230565b5f64ffffffffff8083169084161015610230565b5f64ffffffffff8084169083161415610230565b64ffffffffff8116811461033c575f80fd5b50565b5f6020828403121561034f575f80fd5b813561035a8161032a565b9392505050565b5f8060408385031215610372575f80fd5b823561037d8161032a565b9150602083013561038d8161032a565b809150509250929050565b5f602082840312156103a8575f80fd5b5035919050565b5f602082840312156103bf575f80fd5b5051919050565b8082018082111561023357634e487b7160e01b5f52601160045260245ffdfea264697066735822122043c4252a154815c45da6dde44b09f1d9fa65cbe3a55015d3b49b60c4961d7b6864736f6c634300081a0033",
|
273
292
|
"linkReferences": {
|
274
293
|
"contracts/type/Seconds.sol": {
|
275
294
|
"SecondsLib": [
|
276
295
|
{
|
277
296
|
"length": 20,
|
278
|
-
"start":
|
297
|
+
"start": 694
|
279
298
|
}
|
280
299
|
]
|
281
300
|
}
|
@@ -285,7 +304,7 @@
|
|
285
304
|
"SecondsLib": [
|
286
305
|
{
|
287
306
|
"length": 20,
|
288
|
-
"start":
|
307
|
+
"start": 642
|
289
308
|
}
|
290
309
|
]
|
291
310
|
}
|
@@ -536,8 +536,8 @@
|
|
536
536
|
"type": "function"
|
537
537
|
}
|
538
538
|
],
|
539
|
-
"bytecode": "0x608060405234801561000f575f80fd5b50604051612b39380380612b3983398101604081905261002e9161038b565b6100378161003d565b506103d7565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156100865750825b90505f826001600160401b031660011480156100a15750303b155b9050811580156100af575080155b156100cd5760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b031916600117855583156100fb57845460ff60401b1916680100000000000000001785555b6101053387610153565b831561014b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b61015b6101e5565b61016481610235565b61016c610346565b6001600160a01b0382166101935760405163f17ef42d60e01b815260040160405180910390fd5b507f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661023357604051631afcd79f60e31b815260040160405180910390fd5b565b61023d6101e5565b806001600160a01b03163b5f036102775760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156102f1575060408051601f3d908101601f191682019092526102ee918101906103b8565b60015b6103195760405163fdeac91f60e01b81526001600160a01b038216600482015260240161026e565b806103425760405163fdeac91f60e01b81526001600160a01b038316600482015260240161026e565b5050565b61034e6101e5565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f6020828403121561039b575f80fd5b81516001600160a01b03811681146103b1575f80fd5b9392505050565b5f602082840312156103c8575f80fd5b815180151581146103b1575f80fd5b612755806103e45f395ff3fe608060405234801561000f575f80fd5b506004361061013d575f3560e01c8063675393bf116100b4578063ada9652e11610079578063ada9652e146103c5578063b88da759146103d9578063c987336c146103ec578063e97fac05146103ff578063f7c34ee014610412578063fd0c63d914610425575f80fd5b8063675393bf14610374578063893d20e8146103875780638e9afce61461038f578063933a9ce8146103a2578063946dfcfe146103b3575f80fd5b80631775564d116101055780631775564d146101fe578063214cdb801461021e57806336fc697e146102315780634d459c90146102395780635ab1bd5314610346578063644c45e014610357575f80fd5b806301ffc9a714610141578063058f7a971461018257806307484e80146101975780630d8e6e2c146101c2578063138461e0146101de575b5f80fd5b61016d61014f3660046114e2565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610195610190366004611524565b61042d565b005b6101aa6101a53660046115de565b61053c565b6040516001600160a01b039091168152602001610179565b6101ca6106c5565b60405162ffffff9091168152602001610179565b6101e6610735565b6040516001600160601b039091168152602001610179565b61021161020c366004611633565b61073f565b60405161017991906116ae565b61019561022c3660046114e2565b610797565b6101956107c3565b6102e96102473660046116d0565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091525062ffffff9081165f90815260036020908152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610179565b6001546001600160a01b03166101aa565b5f80516020612700833981519152546001600160601b03166101e6565b610195610382366004611524565b610808565b6101aa610915565b61021161039d3660046116eb565b610a46565b6002546001600160a01b03166101aa565b6004545b604051908152602001610179565b6103b75f8051602061270083398151915281565b6101ca6103e7366004611725565b610a99565b6101aa6103fa366004611633565b610ad7565b6101aa61040d366004611633565b610cf0565b61019561042036600461173c565b610e6e565b6101e6610ee4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f811580156104725750825b90505f8267ffffffffffffffff16600114801561048e5750303b155b90508115801561049c575080155b156104ba5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156104e457845460ff60401b1916600160401b1785555b6104ee3387610e6e565b831561053457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b5f610545610915565b6001600160a01b0316336001600160a01b03161461057d5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6004541561059e5760405163402b135f60e11b815260040160405180910390fd5b5f6105a7610915565b9050308386826105b7858961073f565b6040516105c3906114d5565b6105cf93929190611773565b8190604051809103905ff59050801580156105ec573d5f803e3d5ffd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b81529051919450610678918591630d8e6e2c9160048083019260209291908290030181865afa15801561064d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067191906117a7565b8784610efb565b6002546040516001600160a01b038881168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a250509392505050565b600254604080516303639b8b60e21b815290515f926001600160a01b031691630d8e6e2c9160048083019260209291908290030181865afa15801561070c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073091906117a7565b905090565b5f61073030611291565b60606349bb9e4b60e01b838360405160240161075c9291906117c2565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b61079f61148a565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6107cb61148a565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61081061148a565b806001600160a01b03163b5f036108455760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610574565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156108bf575060408051601f3d908101601f191682019092526108bc918101906117e5565b60015b6108e75760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610574565b806109105760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610574565b505b50565b5f805f8051602061270083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610981573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109a591906117e5565b15610a30576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610a06573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a2a9190611804565b91505090565b54600160601b90046001600160a01b0316919050565b606063329d6e7460e01b82604051602401610a6191906116ae565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915292915050565b5f60048281548110610aad57610aad61181f565b905f5260205f2090600a91828204019190066003029054906101000a900462ffffff169050919050565b5f610ae0610915565b6001600160a01b0316336001600160a01b031614610b135760405163086391f760e31b8152336004820152602401610574565b6004545f03610b355760405163366dfd2160e21b815260040160405180910390fd5b5f610b3e610915565b90505f610b536002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303815f875af1158015610b8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb39190611804565b6002549091506001600160a01b03908116908216639623609d8288610bd789610a46565b6040518463ffffffff1660e01b8152600401610bf593929190611773565b5f604051808303815f87803b158015610c0c575f80fd5b505af1158015610c1e573d5f803e3d5ffd5b5050505060025f9054906101000a90046001600160a01b03169350610ca3846001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c9c91906117a7565b8785610efb565b6002546040516001600160a01b038881168252909116907f1356a2c922be684528fa1759d1808395e5c5010181dd333cdb6f03e2d8545b659060200160405180910390a250505092915050565b5f610cf9610915565b6001600160a01b0316336001600160a01b031614610d2c5760405163086391f760e31b8152336004820152602401610574565b60045415610d4d5760405163402b135f60e11b815260040160405180910390fd5b5f610d56610915565b9050308481610d65848761073f565b604051610d71906114d5565b610d7d93929190611773565b604051809103905ff080158015610d96573d5f803e3d5ffd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b81529051919450610e22918591630d8e6e2c9160048083019260209291908290030181865afa158015610df7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e1b91906117a7565b8684610efb565b6002546040516001600160a01b038781168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a2505092915050565b610e7661148a565b610e7f81610808565b610e876107c3565b6001600160a01b038216610eae5760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061270083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6002545f90610730906001600160a01b0316611291565b610f778373__$8eede297b65ed5a56eb3f84d8232ae93f5$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f6a91906117a7565b62ffffff90811691161490565b15610f95576040516348c618db60e01b815260040160405180910390fd5b600454156110ed5760048054610fad90600190611833565b81548110610fbd57610fbd61181f565b5f9182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af415801561102e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110529190611852565b604051635560100760e01b815262ffffff8516600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af41580156110a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110c89190611852565b116110ed57604051633e614b6d60e11b815262ffffff84166004820152602401610574565b600480546001810182555f829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808916600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038086166020848101919091529085168383015281516356db0c1960e11b815291519293606085019373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb6183293818401939092918290030181865af41580156111bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111e19190611869565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff9687165f90815260038452604090819020855181549587015199166001600160b81b03199095169490941763010000006001600160a01b03998a1602178455840151600190930180546060860151608090960151949098166001600160c81b031990981697909717600160a01b94909216939093021763ffffffff60c81b1916600160c81b9190921602179092555050565b5f805f8051602061270083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156112fd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061132191906117e5565b1561134d5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610574565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561139f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113c391906117e5565b6113eb5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610574565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa15801561143d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611461919061188d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166114d357604051631afcd79f60e31b815260040160405180910390fd5b565b610e4c806118b483390190565b5f602082840312156114f2575f80fd5b81356001600160e01b031981168114611509575f80fd5b9392505050565b6001600160a01b0381168114610912575f80fd5b5f60208284031215611534575f80fd5b813561150981611510565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611562575f80fd5b813567ffffffffffffffff81111561157c5761157c61153f565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156115ab576115ab61153f565b6040528181528382016020018510156115c2575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f606084860312156115f0575f80fd5b83356115fb81611510565b9250602084013567ffffffffffffffff811115611616575f80fd5b61162286828701611553565b925050604084013590509250925092565b5f8060408385031215611644575f80fd5b823561164f81611510565b9150602083013567ffffffffffffffff81111561166a575f80fd5b61167685828601611553565b9150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6115096020830184611680565b62ffffff81168114610912575f80fd5b5f602082840312156116e0575f80fd5b8135611509816116c0565b5f602082840312156116fb575f80fd5b813567ffffffffffffffff811115611711575f80fd5b61171d84828501611553565b949350505050565b5f60208284031215611735575f80fd5b5035919050565b5f806040838503121561174d575f80fd5b823561175881611510565b9150602083013561176881611510565b809150509250929050565b6001600160a01b038481168252831660208201526060604082018190525f9061179e90830184611680565b95945050505050565b5f602082840312156117b7575f80fd5b8151611509816116c0565b6001600160a01b03831681526040602082018190525f9061171d90830184611680565b5f602082840312156117f5575f80fd5b81518015158114611509575f80fd5b5f60208284031215611814575f80fd5b815161150981611510565b634e487b7160e01b5f52603260045260245ffd5b8181038181111561079157634e487b7160e01b5f52601160045260245ffd5b5f60208284031215611862575f80fd5b5051919050565b5f60208284031215611879575f80fd5b815164ffffffffff81168114611509575f80fd5b5f6020828403121561189d575f80fd5b81516001600160601b0381168114611509575f80fdfe60a060405234801561000f575f80fd5b50604051610e4c380380610e4c83398101604081905261002e9161037c565b828282828161003d828261009e565b50508160405161004c90610340565b6001600160a01b039091168152602001604051809103905ff080158015610075573d5f803e3d5ffd5b506001600160a01b031660805261009361008e60805190565b6100fc565b505050505050610463565b6100a782610169565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156100f0576100eb82826101e7565b505050565b6100f861025a565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61013b5f80516020610e2c833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16101668161027b565b50565b806001600160a01b03163b5f036101a357604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b60605f80846001600160a01b031684604051610203919061044d565b5f60405180830381855af49150503d805f811461023b576040519150601f19603f3d011682016040523d82523d5f602084013e610240565b606091505b5090925090506102518583836102b8565b95945050505050565b34156102795760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b0381166102a457604051633173bdd160e11b81525f600482015260240161019a565b805f80516020610e2c8339815191526101c6565b6060826102cd576102c882610317565b610310565b81511580156102e457506001600160a01b0384163b155b1561030d57604051639996b31560e01b81526001600160a01b038516600482015260240161019a565b50805b9392505050565b8051156103275780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6104ef8061093d83390190565b80516001600160a01b0381168114610363575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b5f805f6060848603121561038e575f80fd5b6103978461034d565b92506103a56020850161034d565b60408501519092506001600160401b038111156103c0575f80fd5b8401601f810186136103d0575f80fd5b80516001600160401b038111156103e9576103e9610368565b604051601f8201601f19908116603f011681016001600160401b038111828210171561041757610417610368565b60405281815282820160200188101561042e575f80fd5b8160208401602083015e5f602083830101528093505050509250925092565b5f82518060208501845e5f920191825250919050565b6080516104bd6104805f395f818160350152607201526104bd5ff3fe60806040526004361061001d575f3560e01c80638b3240a014610027575b610025610070565b005b348015610032575f80fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100dc575f356001600160e01b03191663278f794360e11b146100d2576040516334ad5dbb60e21b815260040160405180910390fd5b6100da6100e9565b565b6100da610117565b905090565b5f806100f83660048184610365565b81019061010591906103a0565b915091506101138282610127565b5050565b6100da610122610181565b6101b3565b610130826101d1565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a280511561017957610174828261024c565b505050565b6101136102be565b5f6100e47f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b365f80375f80365f845af43d5f803e8080156101cd573d5ff35b3d5ffd5b806001600160a01b03163b5f0361020b57604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b0316846040516102689190610471565b5f60405180830381855af49150503d805f81146102a0576040519150601f19603f3d011682016040523d82523d5f602084013e6102a5565b606091505b50915091506102b58583836102dd565b95945050505050565b34156100da5760405163b398979f60e01b815260040160405180910390fd5b6060826102f2576102ed8261033c565b610335565b815115801561030957506001600160a01b0384163b155b1561033257604051639996b31560e01b81526001600160a01b0385166004820152602401610202565b50805b9392505050565b80511561034c5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b5f8085851115610373575f80fd5b8386111561037f575f80fd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f80604083850312156103b1575f80fd5b82356001600160a01b03811681146103c7575f80fd5b9150602083013567ffffffffffffffff8111156103e2575f80fd5b8301601f810185136103f2575f80fd5b803567ffffffffffffffff81111561040c5761040c61038c565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561043b5761043b61038c565b604052818152828201602001871015610452575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f82518060208501845e5f92019182525091905056fea26469706673582212205f12e4d638be8d591db7c67d942f3e9eeb14e9e44f78ba8cddaca37631bdc49764736f6c634300081a0033608060405234801561000f575f80fd5b506040516104ef3803806104ef83398101604081905261002e916100bb565b806001600160a01b03811661005c57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6100658161006c565b50506100e8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f602082840312156100cb575f80fd5b81516001600160a01b03811681146100e1575f80fd5b9392505050565b6103fa806100f55f395ff3fe608060405260043610610049575f3560e01c8063715018a61461004d5780638da5cb5b146100635780639623609d1461008e578063ad3cb1cc146100a1578063f2fde38b146100de575b5f80fd5b348015610058575f80fd5b506100616100fd565b005b34801561006e575f80fd5b505f546040516001600160a01b0390911681526020015b60405180910390f35b61006161009c366004610260565b610110565b3480156100ac575f80fd5b506100d1604051806040016040528060058152602001640352e302e360dc1b81525081565b6040516100859190610365565b3480156100e9575f80fd5b506100616100f836600461037e565b61017b565b6101056101bd565b61010e5f6101e9565b565b6101186101bd565b60405163278f794360e11b81526001600160a01b03841690634f1ef2869034906101489086908690600401610399565b5f604051808303818588803b15801561015f575f80fd5b505af1158015610171573d5f803e3d5ffd5b5050505050505050565b6101836101bd565b6001600160a01b0381166101b157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6101ba816101e9565b50565b5f546001600160a01b0316331461010e5760405163118cdaa760e01b81523360048201526024016101a8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101ba575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f805f60608486031215610272575f80fd5b833561027d81610238565b9250602084013561028d81610238565b9150604084013567ffffffffffffffff8111156102a8575f80fd5b8401601f810186136102b8575f80fd5b803567ffffffffffffffff8111156102d2576102d261024c565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156103015761030161024c565b604052818152828201602001881015610318575f80fd5b816020840160208301375f602083830101528093505050509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6103776020830184610337565b9392505050565b5f6020828403121561038e575f80fd5b813561037781610238565b6001600160a01b03831681526040602082018190525f906103bc90830184610337565b94935050505056fea264697066735822122063012ab3c3421087c307802be7295f03bec95db9eea702a4c2db9595befa162464736f6c634300081a0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a26469706673582212208d4ee92b7c30eb74ca143ebc77a7d5757526c625311408251778415e0ca303ef64736f6c634300081a0033",
|
540
|
-
"deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061013d575f3560e01c8063675393bf116100b4578063ada9652e11610079578063ada9652e146103c5578063b88da759146103d9578063c987336c146103ec578063e97fac05146103ff578063f7c34ee014610412578063fd0c63d914610425575f80fd5b8063675393bf14610374578063893d20e8146103875780638e9afce61461038f578063933a9ce8146103a2578063946dfcfe146103b3575f80fd5b80631775564d116101055780631775564d146101fe578063214cdb801461021e57806336fc697e146102315780634d459c90146102395780635ab1bd5314610346578063644c45e014610357575f80fd5b806301ffc9a714610141578063058f7a971461018257806307484e80146101975780630d8e6e2c146101c2578063138461e0146101de575b5f80fd5b61016d61014f3660046114e2565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610195610190366004611524565b61042d565b005b6101aa6101a53660046115de565b61053c565b6040516001600160a01b039091168152602001610179565b6101ca6106c5565b60405162ffffff9091168152602001610179565b6101e6610735565b6040516001600160601b039091168152602001610179565b61021161020c366004611633565b61073f565b60405161017991906116ae565b61019561022c3660046114e2565b610797565b6101956107c3565b6102e96102473660046116d0565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091525062ffffff9081165f90815260036020908152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610179565b6001546001600160a01b03166101aa565b5f80516020612700833981519152546001600160601b03166101e6565b610195610382366004611524565b610808565b6101aa610915565b61021161039d3660046116eb565b610a46565b6002546001600160a01b03166101aa565b6004545b604051908152602001610179565b6103b75f8051602061270083398151915281565b6101ca6103e7366004611725565b610a99565b6101aa6103fa366004611633565b610ad7565b6101aa61040d366004611633565b610cf0565b61019561042036600461173c565b610e6e565b6101e6610ee4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f811580156104725750825b90505f8267ffffffffffffffff16600114801561048e5750303b155b90508115801561049c575080155b156104ba5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156104e457845460ff60401b1916600160401b1785555b6104ee3387610e6e565b831561053457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b5f610545610915565b6001600160a01b0316336001600160a01b03161461057d5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6004541561059e5760405163402b135f60e11b815260040160405180910390fd5b5f6105a7610915565b9050308386826105b7858961073f565b6040516105c3906114d5565b6105cf93929190611773565b8190604051809103905ff59050801580156105ec573d5f803e3d5ffd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b81529051919450610678918591630d8e6e2c9160048083019260209291908290030181865afa15801561064d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067191906117a7565b8784610efb565b6002546040516001600160a01b038881168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a250509392505050565b600254604080516303639b8b60e21b815290515f926001600160a01b031691630d8e6e2c9160048083019260209291908290030181865afa15801561070c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073091906117a7565b905090565b5f61073030611291565b60606349bb9e4b60e01b838360405160240161075c9291906117c2565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b61079f61148a565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6107cb61148a565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61081061148a565b806001600160a01b03163b5f036108455760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610574565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156108bf575060408051601f3d908101601f191682019092526108bc918101906117e5565b60015b6108e75760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610574565b806109105760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610574565b505b50565b5f805f8051602061270083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610981573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109a591906117e5565b15610a30576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610a06573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a2a9190611804565b91505090565b54600160601b90046001600160a01b0316919050565b606063329d6e7460e01b82604051602401610a6191906116ae565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915292915050565b5f60048281548110610aad57610aad61181f565b905f5260205f2090600a91828204019190066003029054906101000a900462ffffff169050919050565b5f610ae0610915565b6001600160a01b0316336001600160a01b031614610b135760405163086391f760e31b8152336004820152602401610574565b6004545f03610b355760405163366dfd2160e21b815260040160405180910390fd5b5f610b3e610915565b90505f610b536002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303815f875af1158015610b8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb39190611804565b6002549091506001600160a01b03908116908216639623609d8288610bd789610a46565b6040518463ffffffff1660e01b8152600401610bf593929190611773565b5f604051808303815f87803b158015610c0c575f80fd5b505af1158015610c1e573d5f803e3d5ffd5b5050505060025f9054906101000a90046001600160a01b03169350610ca3846001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c9c91906117a7565b8785610efb565b6002546040516001600160a01b038881168252909116907f1356a2c922be684528fa1759d1808395e5c5010181dd333cdb6f03e2d8545b659060200160405180910390a250505092915050565b5f610cf9610915565b6001600160a01b0316336001600160a01b031614610d2c5760405163086391f760e31b8152336004820152602401610574565b60045415610d4d5760405163402b135f60e11b815260040160405180910390fd5b5f610d56610915565b9050308481610d65848761073f565b604051610d71906114d5565b610d7d93929190611773565b604051809103905ff080158015610d96573d5f803e3d5ffd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b81529051919450610e22918591630d8e6e2c9160048083019260209291908290030181865afa158015610df7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e1b91906117a7565b8684610efb565b6002546040516001600160a01b038781168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a2505092915050565b610e7661148a565b610e7f81610808565b610e876107c3565b6001600160a01b038216610eae5760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061270083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6002545f90610730906001600160a01b0316611291565b610f778373__$8eede297b65ed5a56eb3f84d8232ae93f5$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f6a91906117a7565b62ffffff90811691161490565b15610f95576040516348c618db60e01b815260040160405180910390fd5b600454156110ed5760048054610fad90600190611833565b81548110610fbd57610fbd61181f565b5f9182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af415801561102e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110529190611852565b604051635560100760e01b815262ffffff8516600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af41580156110a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110c89190611852565b116110ed57604051633e614b6d60e11b815262ffffff84166004820152602401610574565b600480546001810182555f829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808916600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038086166020848101919091529085168383015281516356db0c1960e11b815291519293606085019373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb6183293818401939092918290030181865af41580156111bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111e19190611869565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff9687165f90815260038452604090819020855181549587015199166001600160b81b03199095169490941763010000006001600160a01b03998a1602178455840151600190930180546060860151608090960151949098166001600160c81b031990981697909717600160a01b94909216939093021763ffffffff60c81b1916600160c81b9190921602179092555050565b5f805f8051602061270083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156112fd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061132191906117e5565b1561134d5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610574565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561139f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113c391906117e5565b6113eb5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610574565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa15801561143d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611461919061188d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166114d357604051631afcd79f60e31b815260040160405180910390fd5b565b610e4c806118b483390190565b5f602082840312156114f2575f80fd5b81356001600160e01b031981168114611509575f80fd5b9392505050565b6001600160a01b0381168114610912575f80fd5b5f60208284031215611534575f80fd5b813561150981611510565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611562575f80fd5b813567ffffffffffffffff81111561157c5761157c61153f565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156115ab576115ab61153f565b6040528181528382016020018510156115c2575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f606084860312156115f0575f80fd5b83356115fb81611510565b9250602084013567ffffffffffffffff811115611616575f80fd5b61162286828701611553565b925050604084013590509250925092565b5f8060408385031215611644575f80fd5b823561164f81611510565b9150602083013567ffffffffffffffff81111561166a575f80fd5b61167685828601611553565b9150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6115096020830184611680565b62ffffff81168114610912575f80fd5b5f602082840312156116e0575f80fd5b8135611509816116c0565b5f602082840312156116fb575f80fd5b813567ffffffffffffffff811115611711575f80fd5b61171d84828501611553565b949350505050565b5f60208284031215611735575f80fd5b5035919050565b5f806040838503121561174d575f80fd5b823561175881611510565b9150602083013561176881611510565b809150509250929050565b6001600160a01b038481168252831660208201526060604082018190525f9061179e90830184611680565b95945050505050565b5f602082840312156117b7575f80fd5b8151611509816116c0565b6001600160a01b03831681526040602082018190525f9061171d90830184611680565b5f602082840312156117f5575f80fd5b81518015158114611509575f80fd5b5f60208284031215611814575f80fd5b815161150981611510565b634e487b7160e01b5f52603260045260245ffd5b8181038181111561079157634e487b7160e01b5f52601160045260245ffd5b5f60208284031215611862575f80fd5b5051919050565b5f60208284031215611879575f80fd5b815164ffffffffff81168114611509575f80fd5b5f6020828403121561189d575f80fd5b81516001600160601b0381168114611509575f80fdfe60a060405234801561000f575f80fd5b50604051610e4c380380610e4c83398101604081905261002e9161037c565b828282828161003d828261009e565b50508160405161004c90610340565b6001600160a01b039091168152602001604051809103905ff080158015610075573d5f803e3d5ffd5b506001600160a01b031660805261009361008e60805190565b6100fc565b505050505050610463565b6100a782610169565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156100f0576100eb82826101e7565b505050565b6100f861025a565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61013b5f80516020610e2c833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16101668161027b565b50565b806001600160a01b03163b5f036101a357604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b60605f80846001600160a01b031684604051610203919061044d565b5f60405180830381855af49150503d805f811461023b576040519150601f19603f3d011682016040523d82523d5f602084013e610240565b606091505b5090925090506102518583836102b8565b95945050505050565b34156102795760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b0381166102a457604051633173bdd160e11b81525f600482015260240161019a565b805f80516020610e2c8339815191526101c6565b6060826102cd576102c882610317565b610310565b81511580156102e457506001600160a01b0384163b155b1561030d57604051639996b31560e01b81526001600160a01b038516600482015260240161019a565b50805b9392505050565b8051156103275780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6104ef8061093d83390190565b80516001600160a01b0381168114610363575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b5f805f6060848603121561038e575f80fd5b6103978461034d565b92506103a56020850161034d565b60408501519092506001600160401b038111156103c0575f80fd5b8401601f810186136103d0575f80fd5b80516001600160401b038111156103e9576103e9610368565b604051601f8201601f19908116603f011681016001600160401b038111828210171561041757610417610368565b60405281815282820160200188101561042e575f80fd5b8160208401602083015e5f602083830101528093505050509250925092565b5f82518060208501845e5f920191825250919050565b6080516104bd6104805f395f818160350152607201526104bd5ff3fe60806040526004361061001d575f3560e01c80638b3240a014610027575b610025610070565b005b348015610032575f80fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100dc575f356001600160e01b03191663278f794360e11b146100d2576040516334ad5dbb60e21b815260040160405180910390fd5b6100da6100e9565b565b6100da610117565b905090565b5f806100f83660048184610365565b81019061010591906103a0565b915091506101138282610127565b5050565b6100da610122610181565b6101b3565b610130826101d1565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a280511561017957610174828261024c565b505050565b6101136102be565b5f6100e47f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b365f80375f80365f845af43d5f803e8080156101cd573d5ff35b3d5ffd5b806001600160a01b03163b5f0361020b57604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b0316846040516102689190610471565b5f60405180830381855af49150503d805f81146102a0576040519150601f19603f3d011682016040523d82523d5f602084013e6102a5565b606091505b50915091506102b58583836102dd565b95945050505050565b34156100da5760405163b398979f60e01b815260040160405180910390fd5b6060826102f2576102ed8261033c565b610335565b815115801561030957506001600160a01b0384163b155b1561033257604051639996b31560e01b81526001600160a01b0385166004820152602401610202565b50805b9392505050565b80511561034c5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b5f8085851115610373575f80fd5b8386111561037f575f80fd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f80604083850312156103b1575f80fd5b82356001600160a01b03811681146103c7575f80fd5b9150602083013567ffffffffffffffff8111156103e2575f80fd5b8301601f810185136103f2575f80fd5b803567ffffffffffffffff81111561040c5761040c61038c565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561043b5761043b61038c565b604052818152828201602001871015610452575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f82518060208501845e5f92019182525091905056fea26469706673582212205f12e4d638be8d591db7c67d942f3e9eeb14e9e44f78ba8cddaca37631bdc49764736f6c634300081a0033608060405234801561000f575f80fd5b506040516104ef3803806104ef83398101604081905261002e916100bb565b806001600160a01b03811661005c57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6100658161006c565b50506100e8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f602082840312156100cb575f80fd5b81516001600160a01b03811681146100e1575f80fd5b9392505050565b6103fa806100f55f395ff3fe608060405260043610610049575f3560e01c8063715018a61461004d5780638da5cb5b146100635780639623609d1461008e578063ad3cb1cc146100a1578063f2fde38b146100de575b5f80fd5b348015610058575f80fd5b506100616100fd565b005b34801561006e575f80fd5b505f546040516001600160a01b0390911681526020015b60405180910390f35b61006161009c366004610260565b610110565b3480156100ac575f80fd5b506100d1604051806040016040528060058152602001640352e302e360dc1b81525081565b6040516100859190610365565b3480156100e9575f80fd5b506100616100f836600461037e565b61017b565b6101056101bd565b61010e5f6101e9565b565b6101186101bd565b60405163278f794360e11b81526001600160a01b03841690634f1ef2869034906101489086908690600401610399565b5f604051808303818588803b15801561015f575f80fd5b505af1158015610171573d5f803e3d5ffd5b5050505050505050565b6101836101bd565b6001600160a01b0381166101b157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6101ba816101e9565b50565b5f546001600160a01b0316331461010e5760405163118cdaa760e01b81523360048201526024016101a8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101ba575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f805f60608486031215610272575f80fd5b833561027d81610238565b9250602084013561028d81610238565b9150604084013567ffffffffffffffff8111156102a8575f80fd5b8401601f810186136102b8575f80fd5b803567ffffffffffffffff8111156102d2576102d261024c565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156103015761030161024c565b604052818152828201602001881015610318575f80fd5b816020840160208301375f602083830101528093505050509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6103776020830184610337565b9392505050565b5f6020828403121561038e575f80fd5b813561037781610238565b6001600160a01b03831681526040602082018190525f906103bc90830184610337565b94935050505056fea264697066735822122063012ab3c3421087c307802be7295f03bec95db9eea702a4c2db9595befa162464736f6c634300081a0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a26469706673582212208d4ee92b7c30eb74ca143ebc77a7d5757526c625311408251778415e0ca303ef64736f6c634300081a0033",
|
539
|
+
"bytecode": "0x608060405234801561000f575f80fd5b50604051612b39380380612b3983398101604081905261002e9161038b565b6100378161003d565b506103d7565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156100865750825b90505f826001600160401b031660011480156100a15750303b155b9050811580156100af575080155b156100cd5760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b031916600117855583156100fb57845460ff60401b1916680100000000000000001785555b6101053387610153565b831561014b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b61015b6101e5565b61016481610235565b61016c610346565b6001600160a01b0382166101935760405163f17ef42d60e01b815260040160405180910390fd5b507f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661023357604051631afcd79f60e31b815260040160405180910390fd5b565b61023d6101e5565b806001600160a01b03163b5f036102775760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156102f1575060408051601f3d908101601f191682019092526102ee918101906103b8565b60015b6103195760405163fdeac91f60e01b81526001600160a01b038216600482015260240161026e565b806103425760405163fdeac91f60e01b81526001600160a01b038316600482015260240161026e565b5050565b61034e6101e5565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f6020828403121561039b575f80fd5b81516001600160a01b03811681146103b1575f80fd5b9392505050565b5f602082840312156103c8575f80fd5b815180151581146103b1575f80fd5b612755806103e45f395ff3fe608060405234801561000f575f80fd5b506004361061013d575f3560e01c8063675393bf116100b4578063ada9652e11610079578063ada9652e146103c5578063b88da759146103d9578063c987336c146103ec578063e97fac05146103ff578063f7c34ee014610412578063fd0c63d914610425575f80fd5b8063675393bf14610374578063893d20e8146103875780638e9afce61461038f578063933a9ce8146103a2578063946dfcfe146103b3575f80fd5b80631775564d116101055780631775564d146101fe578063214cdb801461021e57806336fc697e146102315780634d459c90146102395780635ab1bd5314610346578063644c45e014610357575f80fd5b806301ffc9a714610141578063058f7a971461018257806307484e80146101975780630d8e6e2c146101c2578063138461e0146101de575b5f80fd5b61016d61014f3660046114e2565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610195610190366004611524565b61042d565b005b6101aa6101a53660046115de565b61053c565b6040516001600160a01b039091168152602001610179565b6101ca6106c5565b60405162ffffff9091168152602001610179565b6101e6610735565b6040516001600160601b039091168152602001610179565b61021161020c366004611633565b61073f565b60405161017991906116ae565b61019561022c3660046114e2565b610797565b6101956107c3565b6102e96102473660046116d0565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091525062ffffff9081165f90815260036020908152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610179565b6001546001600160a01b03166101aa565b5f80516020612700833981519152546001600160601b03166101e6565b610195610382366004611524565b610808565b6101aa610915565b61021161039d3660046116eb565b610a46565b6002546001600160a01b03166101aa565b6004545b604051908152602001610179565b6103b75f8051602061270083398151915281565b6101ca6103e7366004611725565b610a99565b6101aa6103fa366004611633565b610ad7565b6101aa61040d366004611633565b610cf0565b61019561042036600461173c565b610e6e565b6101e6610ee4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f811580156104725750825b90505f8267ffffffffffffffff16600114801561048e5750303b155b90508115801561049c575080155b156104ba5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156104e457845460ff60401b1916600160401b1785555b6104ee3387610e6e565b831561053457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b5f610545610915565b6001600160a01b0316336001600160a01b03161461057d5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6004541561059e5760405163402b135f60e11b815260040160405180910390fd5b5f6105a7610915565b9050308386826105b7858961073f565b6040516105c3906114d5565b6105cf93929190611773565b8190604051809103905ff59050801580156105ec573d5f803e3d5ffd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b81529051919450610678918591630d8e6e2c9160048083019260209291908290030181865afa15801561064d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067191906117a7565b8784610efb565b6002546040516001600160a01b038881168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a250509392505050565b600254604080516303639b8b60e21b815290515f926001600160a01b031691630d8e6e2c9160048083019260209291908290030181865afa15801561070c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073091906117a7565b905090565b5f61073030611291565b60606349bb9e4b60e01b838360405160240161075c9291906117c2565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b61079f61148a565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6107cb61148a565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61081061148a565b806001600160a01b03163b5f036108455760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610574565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156108bf575060408051601f3d908101601f191682019092526108bc918101906117e5565b60015b6108e75760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610574565b806109105760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610574565b505b50565b5f805f8051602061270083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610981573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109a591906117e5565b15610a30576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610a06573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a2a9190611804565b91505090565b54600160601b90046001600160a01b0316919050565b606063329d6e7460e01b82604051602401610a6191906116ae565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915292915050565b5f60048281548110610aad57610aad61181f565b905f5260205f2090600a91828204019190066003029054906101000a900462ffffff169050919050565b5f610ae0610915565b6001600160a01b0316336001600160a01b031614610b135760405163086391f760e31b8152336004820152602401610574565b6004545f03610b355760405163366dfd2160e21b815260040160405180910390fd5b5f610b3e610915565b90505f610b536002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303815f875af1158015610b8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb39190611804565b6002549091506001600160a01b03908116908216639623609d8288610bd789610a46565b6040518463ffffffff1660e01b8152600401610bf593929190611773565b5f604051808303815f87803b158015610c0c575f80fd5b505af1158015610c1e573d5f803e3d5ffd5b5050505060025f9054906101000a90046001600160a01b03169350610ca3846001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c9c91906117a7565b8785610efb565b6002546040516001600160a01b038881168252909116907f1356a2c922be684528fa1759d1808395e5c5010181dd333cdb6f03e2d8545b659060200160405180910390a250505092915050565b5f610cf9610915565b6001600160a01b0316336001600160a01b031614610d2c5760405163086391f760e31b8152336004820152602401610574565b60045415610d4d5760405163402b135f60e11b815260040160405180910390fd5b5f610d56610915565b9050308481610d65848761073f565b604051610d71906114d5565b610d7d93929190611773565b604051809103905ff080158015610d96573d5f803e3d5ffd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b81529051919450610e22918591630d8e6e2c9160048083019260209291908290030181865afa158015610df7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e1b91906117a7565b8684610efb565b6002546040516001600160a01b038781168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a2505092915050565b610e7661148a565b610e7f81610808565b610e876107c3565b6001600160a01b038216610eae5760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061270083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6002545f90610730906001600160a01b0316611291565b610f778373__$8eede297b65ed5a56eb3f84d8232ae93f5$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f6a91906117a7565b62ffffff90811691161490565b15610f95576040516348c618db60e01b815260040160405180910390fd5b600454156110ed5760048054610fad90600190611833565b81548110610fbd57610fbd61181f565b5f9182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af415801561102e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110529190611852565b604051635560100760e01b815262ffffff8516600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af41580156110a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110c89190611852565b116110ed57604051633e614b6d60e11b815262ffffff84166004820152602401610574565b600480546001810182555f829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808916600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038086166020848101919091529085168383015281516356db0c1960e11b815291519293606085019373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb6183293818401939092918290030181865af41580156111bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111e19190611869565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff9687165f90815260038452604090819020855181549587015199166001600160b81b03199095169490941763010000006001600160a01b03998a1602178455840151600190930180546060860151608090960151949098166001600160c81b031990981697909717600160a01b94909216939093021763ffffffff60c81b1916600160c81b9190921602179092555050565b5f805f8051602061270083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156112fd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061132191906117e5565b1561134d5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610574565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561139f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113c391906117e5565b6113eb5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610574565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa15801561143d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611461919061188d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166114d357604051631afcd79f60e31b815260040160405180910390fd5b565b610e4c806118b483390190565b5f602082840312156114f2575f80fd5b81356001600160e01b031981168114611509575f80fd5b9392505050565b6001600160a01b0381168114610912575f80fd5b5f60208284031215611534575f80fd5b813561150981611510565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611562575f80fd5b813567ffffffffffffffff81111561157c5761157c61153f565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156115ab576115ab61153f565b6040528181528382016020018510156115c2575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f606084860312156115f0575f80fd5b83356115fb81611510565b9250602084013567ffffffffffffffff811115611616575f80fd5b61162286828701611553565b925050604084013590509250925092565b5f8060408385031215611644575f80fd5b823561164f81611510565b9150602083013567ffffffffffffffff81111561166a575f80fd5b61167685828601611553565b9150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6115096020830184611680565b62ffffff81168114610912575f80fd5b5f602082840312156116e0575f80fd5b8135611509816116c0565b5f602082840312156116fb575f80fd5b813567ffffffffffffffff811115611711575f80fd5b61171d84828501611553565b949350505050565b5f60208284031215611735575f80fd5b5035919050565b5f806040838503121561174d575f80fd5b823561175881611510565b9150602083013561176881611510565b809150509250929050565b6001600160a01b038481168252831660208201526060604082018190525f9061179e90830184611680565b95945050505050565b5f602082840312156117b7575f80fd5b8151611509816116c0565b6001600160a01b03831681526040602082018190525f9061171d90830184611680565b5f602082840312156117f5575f80fd5b81518015158114611509575f80fd5b5f60208284031215611814575f80fd5b815161150981611510565b634e487b7160e01b5f52603260045260245ffd5b8181038181111561079157634e487b7160e01b5f52601160045260245ffd5b5f60208284031215611862575f80fd5b5051919050565b5f60208284031215611879575f80fd5b815164ffffffffff81168114611509575f80fd5b5f6020828403121561189d575f80fd5b81516001600160601b0381168114611509575f80fdfe60a060405234801561000f575f80fd5b50604051610e4c380380610e4c83398101604081905261002e9161037c565b828282828161003d828261009e565b50508160405161004c90610340565b6001600160a01b039091168152602001604051809103905ff080158015610075573d5f803e3d5ffd5b506001600160a01b031660805261009361008e60805190565b6100fc565b505050505050610463565b6100a782610169565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156100f0576100eb82826101e7565b505050565b6100f861025a565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61013b5f80516020610e2c833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16101668161027b565b50565b806001600160a01b03163b5f036101a357604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b60605f80846001600160a01b031684604051610203919061044d565b5f60405180830381855af49150503d805f811461023b576040519150601f19603f3d011682016040523d82523d5f602084013e610240565b606091505b5090925090506102518583836102b8565b95945050505050565b34156102795760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b0381166102a457604051633173bdd160e11b81525f600482015260240161019a565b805f80516020610e2c8339815191526101c6565b6060826102cd576102c882610317565b610310565b81511580156102e457506001600160a01b0384163b155b1561030d57604051639996b31560e01b81526001600160a01b038516600482015260240161019a565b50805b9392505050565b8051156103275780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6104ef8061093d83390190565b80516001600160a01b0381168114610363575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b5f805f6060848603121561038e575f80fd5b6103978461034d565b92506103a56020850161034d565b60408501519092506001600160401b038111156103c0575f80fd5b8401601f810186136103d0575f80fd5b80516001600160401b038111156103e9576103e9610368565b604051601f8201601f19908116603f011681016001600160401b038111828210171561041757610417610368565b60405281815282820160200188101561042e575f80fd5b8160208401602083015e5f602083830101528093505050509250925092565b5f82518060208501845e5f920191825250919050565b6080516104bd6104805f395f818160350152607201526104bd5ff3fe60806040526004361061001d575f3560e01c80638b3240a014610027575b610025610070565b005b348015610032575f80fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100dc575f356001600160e01b03191663278f794360e11b146100d2576040516334ad5dbb60e21b815260040160405180910390fd5b6100da6100e9565b565b6100da610117565b905090565b5f806100f83660048184610365565b81019061010591906103a0565b915091506101138282610127565b5050565b6100da610122610181565b6101b3565b610130826101d1565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a280511561017957610174828261024c565b505050565b6101136102be565b5f6100e47f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b365f80375f80365f845af43d5f803e8080156101cd573d5ff35b3d5ffd5b806001600160a01b03163b5f0361020b57604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b0316846040516102689190610471565b5f60405180830381855af49150503d805f81146102a0576040519150601f19603f3d011682016040523d82523d5f602084013e6102a5565b606091505b50915091506102b58583836102dd565b95945050505050565b34156100da5760405163b398979f60e01b815260040160405180910390fd5b6060826102f2576102ed8261033c565b610335565b815115801561030957506001600160a01b0384163b155b1561033257604051639996b31560e01b81526001600160a01b0385166004820152602401610202565b50805b9392505050565b80511561034c5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b5f8085851115610373575f80fd5b8386111561037f575f80fd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f80604083850312156103b1575f80fd5b82356001600160a01b03811681146103c7575f80fd5b9150602083013567ffffffffffffffff8111156103e2575f80fd5b8301601f810185136103f2575f80fd5b803567ffffffffffffffff81111561040c5761040c61038c565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561043b5761043b61038c565b604052818152828201602001871015610452575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f82518060208501845e5f92019182525091905056fea26469706673582212205f12e4d638be8d591db7c67d942f3e9eeb14e9e44f78ba8cddaca37631bdc49764736f6c634300081a0033608060405234801561000f575f80fd5b506040516104ef3803806104ef83398101604081905261002e916100bb565b806001600160a01b03811661005c57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6100658161006c565b50506100e8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f602082840312156100cb575f80fd5b81516001600160a01b03811681146100e1575f80fd5b9392505050565b6103fa806100f55f395ff3fe608060405260043610610049575f3560e01c8063715018a61461004d5780638da5cb5b146100635780639623609d1461008e578063ad3cb1cc146100a1578063f2fde38b146100de575b5f80fd5b348015610058575f80fd5b506100616100fd565b005b34801561006e575f80fd5b505f546040516001600160a01b0390911681526020015b60405180910390f35b61006161009c366004610260565b610110565b3480156100ac575f80fd5b506100d1604051806040016040528060058152602001640352e302e360dc1b81525081565b6040516100859190610365565b3480156100e9575f80fd5b506100616100f836600461037e565b61017b565b6101056101bd565b61010e5f6101e9565b565b6101186101bd565b60405163278f794360e11b81526001600160a01b03841690634f1ef2869034906101489086908690600401610399565b5f604051808303818588803b15801561015f575f80fd5b505af1158015610171573d5f803e3d5ffd5b5050505050505050565b6101836101bd565b6001600160a01b0381166101b157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6101ba816101e9565b50565b5f546001600160a01b0316331461010e5760405163118cdaa760e01b81523360048201526024016101a8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101ba575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f805f60608486031215610272575f80fd5b833561027d81610238565b9250602084013561028d81610238565b9150604084013567ffffffffffffffff8111156102a8575f80fd5b8401601f810186136102b8575f80fd5b803567ffffffffffffffff8111156102d2576102d261024c565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156103015761030161024c565b604052818152828201602001881015610318575f80fd5b816020840160208301375f602083830101528093505050509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6103776020830184610337565b9392505050565b5f6020828403121561038e575f80fd5b813561037781610238565b6001600160a01b03831681526040602082018190525f906103bc90830184610337565b94935050505056fea264697066735822122063012ab3c3421087c307802be7295f03bec95db9eea702a4c2db9595befa162464736f6c634300081a0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a26469706673582212203f9dc67f38624cef1e7e8bbad549578c8333e622ed173a1fa58008a23bff8d9764736f6c634300081a0033",
|
540
|
+
"deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061013d575f3560e01c8063675393bf116100b4578063ada9652e11610079578063ada9652e146103c5578063b88da759146103d9578063c987336c146103ec578063e97fac05146103ff578063f7c34ee014610412578063fd0c63d914610425575f80fd5b8063675393bf14610374578063893d20e8146103875780638e9afce61461038f578063933a9ce8146103a2578063946dfcfe146103b3575f80fd5b80631775564d116101055780631775564d146101fe578063214cdb801461021e57806336fc697e146102315780634d459c90146102395780635ab1bd5314610346578063644c45e014610357575f80fd5b806301ffc9a714610141578063058f7a971461018257806307484e80146101975780630d8e6e2c146101c2578063138461e0146101de575b5f80fd5b61016d61014f3660046114e2565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610195610190366004611524565b61042d565b005b6101aa6101a53660046115de565b61053c565b6040516001600160a01b039091168152602001610179565b6101ca6106c5565b60405162ffffff9091168152602001610179565b6101e6610735565b6040516001600160601b039091168152602001610179565b61021161020c366004611633565b61073f565b60405161017991906116ae565b61019561022c3660046114e2565b610797565b6101956107c3565b6102e96102473660046116d0565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091525062ffffff9081165f90815260036020908152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610179565b6001546001600160a01b03166101aa565b5f80516020612700833981519152546001600160601b03166101e6565b610195610382366004611524565b610808565b6101aa610915565b61021161039d3660046116eb565b610a46565b6002546001600160a01b03166101aa565b6004545b604051908152602001610179565b6103b75f8051602061270083398151915281565b6101ca6103e7366004611725565b610a99565b6101aa6103fa366004611633565b610ad7565b6101aa61040d366004611633565b610cf0565b61019561042036600461173c565b610e6e565b6101e6610ee4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f811580156104725750825b90505f8267ffffffffffffffff16600114801561048e5750303b155b90508115801561049c575080155b156104ba5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156104e457845460ff60401b1916600160401b1785555b6104ee3387610e6e565b831561053457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b5f610545610915565b6001600160a01b0316336001600160a01b03161461057d5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6004541561059e5760405163402b135f60e11b815260040160405180910390fd5b5f6105a7610915565b9050308386826105b7858961073f565b6040516105c3906114d5565b6105cf93929190611773565b8190604051809103905ff59050801580156105ec573d5f803e3d5ffd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b81529051919450610678918591630d8e6e2c9160048083019260209291908290030181865afa15801561064d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067191906117a7565b8784610efb565b6002546040516001600160a01b038881168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a250509392505050565b600254604080516303639b8b60e21b815290515f926001600160a01b031691630d8e6e2c9160048083019260209291908290030181865afa15801561070c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073091906117a7565b905090565b5f61073030611291565b60606349bb9e4b60e01b838360405160240161075c9291906117c2565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b61079f61148a565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6107cb61148a565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61081061148a565b806001600160a01b03163b5f036108455760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610574565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156108bf575060408051601f3d908101601f191682019092526108bc918101906117e5565b60015b6108e75760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610574565b806109105760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610574565b505b50565b5f805f8051602061270083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610981573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109a591906117e5565b15610a30576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610a06573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a2a9190611804565b91505090565b54600160601b90046001600160a01b0316919050565b606063329d6e7460e01b82604051602401610a6191906116ae565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915292915050565b5f60048281548110610aad57610aad61181f565b905f5260205f2090600a91828204019190066003029054906101000a900462ffffff169050919050565b5f610ae0610915565b6001600160a01b0316336001600160a01b031614610b135760405163086391f760e31b8152336004820152602401610574565b6004545f03610b355760405163366dfd2160e21b815260040160405180910390fd5b5f610b3e610915565b90505f610b536002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303815f875af1158015610b8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb39190611804565b6002549091506001600160a01b03908116908216639623609d8288610bd789610a46565b6040518463ffffffff1660e01b8152600401610bf593929190611773565b5f604051808303815f87803b158015610c0c575f80fd5b505af1158015610c1e573d5f803e3d5ffd5b5050505060025f9054906101000a90046001600160a01b03169350610ca3846001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c9c91906117a7565b8785610efb565b6002546040516001600160a01b038881168252909116907f1356a2c922be684528fa1759d1808395e5c5010181dd333cdb6f03e2d8545b659060200160405180910390a250505092915050565b5f610cf9610915565b6001600160a01b0316336001600160a01b031614610d2c5760405163086391f760e31b8152336004820152602401610574565b60045415610d4d5760405163402b135f60e11b815260040160405180910390fd5b5f610d56610915565b9050308481610d65848761073f565b604051610d71906114d5565b610d7d93929190611773565b604051809103905ff080158015610d96573d5f803e3d5ffd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b81529051919450610e22918591630d8e6e2c9160048083019260209291908290030181865afa158015610df7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e1b91906117a7565b8684610efb565b6002546040516001600160a01b038781168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a2505092915050565b610e7661148a565b610e7f81610808565b610e876107c3565b6001600160a01b038216610eae5760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061270083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6002545f90610730906001600160a01b0316611291565b610f778373__$8eede297b65ed5a56eb3f84d8232ae93f5$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f6a91906117a7565b62ffffff90811691161490565b15610f95576040516348c618db60e01b815260040160405180910390fd5b600454156110ed5760048054610fad90600190611833565b81548110610fbd57610fbd61181f565b5f9182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af415801561102e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110529190611852565b604051635560100760e01b815262ffffff8516600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af41580156110a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110c89190611852565b116110ed57604051633e614b6d60e11b815262ffffff84166004820152602401610574565b600480546001810182555f829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808916600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038086166020848101919091529085168383015281516356db0c1960e11b815291519293606085019373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb6183293818401939092918290030181865af41580156111bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111e19190611869565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff9687165f90815260038452604090819020855181549587015199166001600160b81b03199095169490941763010000006001600160a01b03998a1602178455840151600190930180546060860151608090960151949098166001600160c81b031990981697909717600160a01b94909216939093021763ffffffff60c81b1916600160c81b9190921602179092555050565b5f805f8051602061270083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156112fd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061132191906117e5565b1561134d5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610574565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561139f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113c391906117e5565b6113eb5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610574565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa15801561143d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611461919061188d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166114d357604051631afcd79f60e31b815260040160405180910390fd5b565b610e4c806118b483390190565b5f602082840312156114f2575f80fd5b81356001600160e01b031981168114611509575f80fd5b9392505050565b6001600160a01b0381168114610912575f80fd5b5f60208284031215611534575f80fd5b813561150981611510565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611562575f80fd5b813567ffffffffffffffff81111561157c5761157c61153f565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156115ab576115ab61153f565b6040528181528382016020018510156115c2575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f606084860312156115f0575f80fd5b83356115fb81611510565b9250602084013567ffffffffffffffff811115611616575f80fd5b61162286828701611553565b925050604084013590509250925092565b5f8060408385031215611644575f80fd5b823561164f81611510565b9150602083013567ffffffffffffffff81111561166a575f80fd5b61167685828601611553565b9150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6115096020830184611680565b62ffffff81168114610912575f80fd5b5f602082840312156116e0575f80fd5b8135611509816116c0565b5f602082840312156116fb575f80fd5b813567ffffffffffffffff811115611711575f80fd5b61171d84828501611553565b949350505050565b5f60208284031215611735575f80fd5b5035919050565b5f806040838503121561174d575f80fd5b823561175881611510565b9150602083013561176881611510565b809150509250929050565b6001600160a01b038481168252831660208201526060604082018190525f9061179e90830184611680565b95945050505050565b5f602082840312156117b7575f80fd5b8151611509816116c0565b6001600160a01b03831681526040602082018190525f9061171d90830184611680565b5f602082840312156117f5575f80fd5b81518015158114611509575f80fd5b5f60208284031215611814575f80fd5b815161150981611510565b634e487b7160e01b5f52603260045260245ffd5b8181038181111561079157634e487b7160e01b5f52601160045260245ffd5b5f60208284031215611862575f80fd5b5051919050565b5f60208284031215611879575f80fd5b815164ffffffffff81168114611509575f80fd5b5f6020828403121561189d575f80fd5b81516001600160601b0381168114611509575f80fdfe60a060405234801561000f575f80fd5b50604051610e4c380380610e4c83398101604081905261002e9161037c565b828282828161003d828261009e565b50508160405161004c90610340565b6001600160a01b039091168152602001604051809103905ff080158015610075573d5f803e3d5ffd5b506001600160a01b031660805261009361008e60805190565b6100fc565b505050505050610463565b6100a782610169565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156100f0576100eb82826101e7565b505050565b6100f861025a565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61013b5f80516020610e2c833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16101668161027b565b50565b806001600160a01b03163b5f036101a357604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b60605f80846001600160a01b031684604051610203919061044d565b5f60405180830381855af49150503d805f811461023b576040519150601f19603f3d011682016040523d82523d5f602084013e610240565b606091505b5090925090506102518583836102b8565b95945050505050565b34156102795760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b0381166102a457604051633173bdd160e11b81525f600482015260240161019a565b805f80516020610e2c8339815191526101c6565b6060826102cd576102c882610317565b610310565b81511580156102e457506001600160a01b0384163b155b1561030d57604051639996b31560e01b81526001600160a01b038516600482015260240161019a565b50805b9392505050565b8051156103275780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6104ef8061093d83390190565b80516001600160a01b0381168114610363575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b5f805f6060848603121561038e575f80fd5b6103978461034d565b92506103a56020850161034d565b60408501519092506001600160401b038111156103c0575f80fd5b8401601f810186136103d0575f80fd5b80516001600160401b038111156103e9576103e9610368565b604051601f8201601f19908116603f011681016001600160401b038111828210171561041757610417610368565b60405281815282820160200188101561042e575f80fd5b8160208401602083015e5f602083830101528093505050509250925092565b5f82518060208501845e5f920191825250919050565b6080516104bd6104805f395f818160350152607201526104bd5ff3fe60806040526004361061001d575f3560e01c80638b3240a014610027575b610025610070565b005b348015610032575f80fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100dc575f356001600160e01b03191663278f794360e11b146100d2576040516334ad5dbb60e21b815260040160405180910390fd5b6100da6100e9565b565b6100da610117565b905090565b5f806100f83660048184610365565b81019061010591906103a0565b915091506101138282610127565b5050565b6100da610122610181565b6101b3565b610130826101d1565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a280511561017957610174828261024c565b505050565b6101136102be565b5f6100e47f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b365f80375f80365f845af43d5f803e8080156101cd573d5ff35b3d5ffd5b806001600160a01b03163b5f0361020b57604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b0316846040516102689190610471565b5f60405180830381855af49150503d805f81146102a0576040519150601f19603f3d011682016040523d82523d5f602084013e6102a5565b606091505b50915091506102b58583836102dd565b95945050505050565b34156100da5760405163b398979f60e01b815260040160405180910390fd5b6060826102f2576102ed8261033c565b610335565b815115801561030957506001600160a01b0384163b155b1561033257604051639996b31560e01b81526001600160a01b0385166004820152602401610202565b50805b9392505050565b80511561034c5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b5f8085851115610373575f80fd5b8386111561037f575f80fd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f80604083850312156103b1575f80fd5b82356001600160a01b03811681146103c7575f80fd5b9150602083013567ffffffffffffffff8111156103e2575f80fd5b8301601f810185136103f2575f80fd5b803567ffffffffffffffff81111561040c5761040c61038c565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561043b5761043b61038c565b604052818152828201602001871015610452575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f82518060208501845e5f92019182525091905056fea26469706673582212205f12e4d638be8d591db7c67d942f3e9eeb14e9e44f78ba8cddaca37631bdc49764736f6c634300081a0033608060405234801561000f575f80fd5b506040516104ef3803806104ef83398101604081905261002e916100bb565b806001600160a01b03811661005c57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6100658161006c565b50506100e8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f602082840312156100cb575f80fd5b81516001600160a01b03811681146100e1575f80fd5b9392505050565b6103fa806100f55f395ff3fe608060405260043610610049575f3560e01c8063715018a61461004d5780638da5cb5b146100635780639623609d1461008e578063ad3cb1cc146100a1578063f2fde38b146100de575b5f80fd5b348015610058575f80fd5b506100616100fd565b005b34801561006e575f80fd5b505f546040516001600160a01b0390911681526020015b60405180910390f35b61006161009c366004610260565b610110565b3480156100ac575f80fd5b506100d1604051806040016040528060058152602001640352e302e360dc1b81525081565b6040516100859190610365565b3480156100e9575f80fd5b506100616100f836600461037e565b61017b565b6101056101bd565b61010e5f6101e9565b565b6101186101bd565b60405163278f794360e11b81526001600160a01b03841690634f1ef2869034906101489086908690600401610399565b5f604051808303818588803b15801561015f575f80fd5b505af1158015610171573d5f803e3d5ffd5b5050505050505050565b6101836101bd565b6001600160a01b0381166101b157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6101ba816101e9565b50565b5f546001600160a01b0316331461010e5760405163118cdaa760e01b81523360048201526024016101a8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101ba575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f805f60608486031215610272575f80fd5b833561027d81610238565b9250602084013561028d81610238565b9150604084013567ffffffffffffffff8111156102a8575f80fd5b8401601f810186136102b8575f80fd5b803567ffffffffffffffff8111156102d2576102d261024c565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156103015761030161024c565b604052818152828201602001881015610318575f80fd5b816020840160208301375f602083830101528093505050509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6103776020830184610337565b9392505050565b5f6020828403121561038e575f80fd5b813561037781610238565b6001600160a01b03831681526040602082018190525f906103bc90830184610337565b94935050505056fea264697066735822122063012ab3c3421087c307802be7295f03bec95db9eea702a4c2db9595befa162464736f6c634300081a0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a26469706673582212203f9dc67f38624cef1e7e8bbad549578c8333e622ed173a1fa58008a23bff8d9764736f6c634300081a0033",
|
541
541
|
"linkReferences": {
|
542
542
|
"contracts/type/NftId.sol": {
|
543
543
|
"NftIdLib": [
|
@@ -298,10 +298,9 @@ contract DistributionService is
|
|
298
298
|
// transfer amount to distributor
|
299
299
|
{
|
300
300
|
address distributor = getRegistry().ownerOf(distributorNftId);
|
301
|
+
emit LogDistributionServiceCommissionWithdrawn(distributorNftId, distributor, address(token), withdrawnAmount);
|
301
302
|
// TODO: centralize token handling (issue #471)
|
302
303
|
distributionInfo.tokenHandler.transfer(distributionWallet, distributor, withdrawnAmount);
|
303
|
-
|
304
|
-
emit LogDistributionServiceCommissionWithdrawn(distributorNftId, distributor, address(token), withdrawnAmount);
|
305
304
|
}
|
306
305
|
}
|
307
306
|
|
@@ -1,25 +1,20 @@
|
|
1
1
|
// SPDX-License-Identifier: Apache-2.0
|
2
2
|
pragma solidity ^0.8.20;
|
3
3
|
|
4
|
-
import {IERC20Metadata} from "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
|
5
|
-
|
6
4
|
import {Amount} from "../type/Amount.sol";
|
7
5
|
import {ClaimId} from "../type/ClaimId.sol";
|
8
6
|
import {DistributorType} from "../type/DistributorType.sol";
|
9
|
-
import {Fee, FeeLib} from "../type/Fee.sol";
|
10
7
|
import {Key32} from "../type/Key32.sol";
|
11
8
|
import {NftId} from "../type/NftId.sol";
|
12
|
-
import {
|
9
|
+
import {COMPONENT, DISTRIBUTOR, DISTRIBUTION, PRODUCT, POLICY, POOL, BUNDLE} from "../type/ObjectType.sol";
|
13
10
|
import {PayoutId} from "../type/PayoutId.sol";
|
14
11
|
import {ReferralId, ReferralStatus, ReferralLib, REFERRAL_OK, REFERRAL_ERROR_UNKNOWN, REFERRAL_ERROR_EXPIRED, REFERRAL_ERROR_EXHAUSTED} from "../type/Referral.sol";
|
15
12
|
import {RequestId} from "../type/RequestId.sol";
|
16
13
|
import {RiskId} from "../type/RiskId.sol";
|
17
14
|
import {RoleId} from "../type/RoleId.sol";
|
18
15
|
import {StateId} from "../type/StateId.sol";
|
19
|
-
import {UFixed,
|
20
|
-
import {Version} from "../type/Version.sol";
|
16
|
+
import {UFixed, UFixedLib} from "../type/UFixed.sol";
|
21
17
|
|
22
|
-
import {IRegistry} from "../registry/IRegistry.sol";
|
23
18
|
import {IBundle} from "../instance/module/IBundle.sol";
|
24
19
|
import {IComponents} from "../instance/module/IComponents.sol";
|
25
20
|
import {IDistribution} from "../instance/module/IDistribution.sol";
|
@@ -85,6 +80,14 @@ contract InstanceReader {
|
|
85
80
|
return _store.getState(toPolicyKey(policyNftId));
|
86
81
|
}
|
87
82
|
|
83
|
+
function getBundleState(NftId bundleNftId)
|
84
|
+
public
|
85
|
+
view
|
86
|
+
returns (StateId state)
|
87
|
+
{
|
88
|
+
return _store.getState(toBundleKey(bundleNftId));
|
89
|
+
}
|
90
|
+
|
88
91
|
/// @dev returns true iff policy may be closed
|
89
92
|
/// a policy can be closed all conditions below are met
|
90
93
|
/// - policy exists
|
@@ -54,9 +54,7 @@ contract ObjectLifecycle is
|
|
54
54
|
setStateTransition(POLICY(), APPLIED(), REVOKED());
|
55
55
|
setStateTransition(POLICY(), APPLIED(), DECLINED());
|
56
56
|
setStateTransition(POLICY(), APPLIED(), COLLATERALIZED());
|
57
|
-
setStateTransition(POLICY(),
|
58
|
-
setStateTransition(POLICY(), COLLATERALIZED(), ACTIVE());
|
59
|
-
setStateTransition(POLICY(), ACTIVE(), CLOSED());
|
57
|
+
setStateTransition(POLICY(), COLLATERALIZED(), CLOSED());
|
60
58
|
}
|
61
59
|
|
62
60
|
function _setupClaimLifecycle() private {
|
@@ -35,17 +35,12 @@ interface IComponents {
|
|
35
35
|
|
36
36
|
|
37
37
|
struct PoolInfo {
|
38
|
-
NftId productNftId; // the nft of the product this pool is linked to
|
39
38
|
RoleId bundleOwnerRole; // the required role for bundle owners
|
40
|
-
//
|
41
|
-
Amount maxCapitalAmount; // max capital amount allowed for pool
|
39
|
+
Amount maxBalanceAmount; // max balance amount allowed for pool
|
42
40
|
bool isInterceptingBundleTransfers; // intercepts nft transfers for bundles
|
43
41
|
bool isExternallyManaged; // funding bundles is restricted to book keeping, actual funds may be provided as needed to support payouts
|
44
42
|
bool isVerifyingApplications; // underwriting requires the pool component checks/confirms the applications
|
45
43
|
UFixed collateralizationLevel; // factor to calculate collateral for sum insurance (default 100%)
|
46
44
|
UFixed retentionLevel; // amount of collateral held in pool (default 100%)
|
47
|
-
Fee poolFee; // pool fee on net premium
|
48
|
-
Fee stakingFee; // pool fee on staked capital from investor
|
49
|
-
Fee performanceFee; // pool fee on profits from capital investors
|
50
45
|
}
|
51
46
|
}
|
@@ -22,7 +22,7 @@ interface IPolicy {
|
|
22
22
|
uint256 netPremiumAmount;
|
23
23
|
// fullPremium = netPremium + all fixed amounts + all variable amounts (excl commission and minDistribtuionOwnerFee variable part)
|
24
24
|
uint256 fullPremiumAmount;
|
25
|
-
// premium = fullPremium - discount
|
25
|
+
// effective premium = fullPremium - discount
|
26
26
|
uint256 premiumAmount;
|
27
27
|
uint256 productFeeFixAmount;
|
28
28
|
uint256 poolFeeFixAmount;
|
package/contracts/mock/Dip.sol
CHANGED
@@ -14,6 +14,7 @@ import {NftId, NftIdLib} from "../type/NftId.sol";
|
|
14
14
|
import {BUNDLE, COMPONENT, POOL} from "../type/ObjectType.sol";
|
15
15
|
import {RoleId, PUBLIC_ROLE} from "../type/RoleId.sol";
|
16
16
|
import {Seconds} from "../type/Seconds.sol";
|
17
|
+
import {Timestamp} from "../type/Timestamp.sol";
|
17
18
|
import {TokenHandler} from "../shared/TokenHandler.sol";
|
18
19
|
import {UFixed, UFixedLib} from "../type/UFixed.sol";
|
19
20
|
|
@@ -81,8 +82,9 @@ abstract contract BasicPool is
|
|
81
82
|
virtual
|
82
83
|
restricted()
|
83
84
|
onlyBundleOwner(bundleNftId)
|
85
|
+
returns(Timestamp newExpiredAt)
|
84
86
|
{
|
85
|
-
_extend(bundleNftId, lifetimeExtension);
|
87
|
+
return _extend(bundleNftId, lifetimeExtension);
|
86
88
|
}
|
87
89
|
|
88
90
|
|
@@ -106,13 +108,13 @@ abstract contract BasicPool is
|
|
106
108
|
}
|
107
109
|
|
108
110
|
|
109
|
-
function
|
111
|
+
function closeBundle(NftId bundleNftId)
|
110
112
|
public
|
111
113
|
virtual
|
112
114
|
restricted()
|
113
115
|
onlyBundleOwner(bundleNftId)
|
114
116
|
{
|
115
|
-
|
117
|
+
_closeBundle(bundleNftId);
|
116
118
|
}
|
117
119
|
|
118
120
|
|
@@ -129,13 +131,13 @@ abstract contract BasicPool is
|
|
129
131
|
}
|
130
132
|
|
131
133
|
|
132
|
-
function
|
134
|
+
function setMaxBalanceAmount(Amount maxBalanceAmount)
|
133
135
|
public
|
134
136
|
virtual
|
135
137
|
restricted()
|
136
138
|
onlyOwner()
|
137
139
|
{
|
138
|
-
|
140
|
+
_setMaxBalanceAmount(maxBalanceAmount);
|
139
141
|
}
|
140
142
|
|
141
143
|
|
@@ -40,12 +40,15 @@ contract BasicPoolAuthorization
|
|
40
40
|
_authorize(functions, BasicPool.extend.selector, "extend");
|
41
41
|
_authorize(functions, BasicPool.lockBundle.selector, "lockBundle");
|
42
42
|
_authorize(functions, BasicPool.unlockBundle.selector, "unlockBundle");
|
43
|
-
_authorize(functions, BasicPool.
|
43
|
+
_authorize(functions, BasicPool.closeBundle.selector, "closeBundle");
|
44
44
|
_authorize(functions, BasicPool.setBundleFee.selector, "setBundleFee");
|
45
45
|
|
46
|
-
_authorize(functions, BasicPool.
|
46
|
+
_authorize(functions, BasicPool.setMaxBalanceAmount.selector, "setMaxBalanceAmount");
|
47
47
|
_authorize(functions, BasicPool.setBundleOwnerRole.selector, "setBundleOwnerRole");
|
48
48
|
_authorize(functions, BasicPool.setFees.selector, "setFees");
|
49
|
+
_authorize(functions, BasicPool.stake.selector, "stake");
|
50
|
+
_authorize(functions, BasicPool.unstake.selector, "unstake");
|
51
|
+
_authorize(functions, BasicPool.extend.selector, "extend");
|
49
52
|
|
50
53
|
_authorize(functions, IInstanceLinkedComponent.withdrawFees.selector, "withdrawFees");
|
51
54
|
|