@etherisc/gif-next 0.0.2-f99f1d2-109 → 0.0.2-fb8d07b-779
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +268 -7
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
- package/artifacts/contracts/{instance/component/ComponentModule.sol/ComponentModule.json → components/BaseComponent.sol/BaseComponent.json} +171 -143
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +618 -0
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{IPool.sol/IPoolComponent.json → IBaseComponent.sol/IBaseComponent.json} +136 -111
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +152 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/{instance/policy/IPolicy.sol/IPolicyModule.json → components/IPoolComponent.sol/IPoolComponent.json} +124 -129
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +157 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +531 -77
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +526 -97
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +2 -2
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +101 -0
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +1132 -0
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +4 -0
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +1082 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +386 -1112
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +480 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +2794 -980
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +917 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1388 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +891 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +492 -0
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +540 -0
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +113 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/{lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +502 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +211 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
- package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IDistribution.sol/IDistribution.json} +2 -2
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
- package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/{treasury → module}/ITreasury.sol/ITreasury.json +1 -1
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +827 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +716 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +448 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +466 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +446 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +561 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +751 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +855 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +460 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +239 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +589 -24
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +853 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +741 -50
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1237 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +525 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +410 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +35 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
- package/artifacts/contracts/{components/Component.sol/Component.json → shared/IRegisterable.sol/IRegisterable.json} +98 -102
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/shared/IService.sol/IService.json +421 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +205 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +274 -0
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +442 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/shared/Service.sol/Service.json +468 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +228 -0
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +305 -0
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
- package/artifacts/contracts/test/TestService.sol/TestService.json +600 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +286 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +10 -0
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +77 -2
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
- package/contracts/components/BaseComponent.sol +91 -0
- package/contracts/components/Distribution.sol +160 -0
- package/contracts/components/IBaseComponent.sol +25 -0
- package/contracts/components/IDistributionComponent.sol +44 -0
- package/contracts/components/IPoolComponent.sol +62 -0
- package/contracts/components/IProductComponent.sol +35 -0
- package/contracts/components/Pool.sol +216 -25
- package/contracts/components/Product.sol +254 -46
- package/contracts/experiment/cloning/Cloner.sol +47 -0
- package/contracts/instance/AccessManagedSimple.sol +115 -0
- package/contracts/instance/AccessManagerSimple.sol +692 -0
- package/contracts/instance/IAccessManagerSimple.sol +391 -0
- package/contracts/instance/IInstance.sol +38 -24
- package/contracts/instance/IInstanceService.sol +30 -0
- package/contracts/instance/Instance.sol +423 -52
- package/contracts/instance/InstanceAccessManager.sol +288 -0
- package/contracts/instance/InstanceReader.sol +306 -0
- package/contracts/instance/InstanceService.sol +182 -0
- package/contracts/instance/InstanceServiceManager.sol +56 -0
- package/contracts/instance/base/ComponentServiceBase.sol +125 -0
- package/contracts/instance/base/IInstanceBase.sol +23 -0
- package/contracts/instance/base/IKeyValueStore.sol +49 -0
- package/contracts/instance/base/ILifecycle.sol +30 -0
- package/contracts/instance/base/KeyValueStore.sol +172 -0
- package/contracts/instance/base/Lifecycle.sol +100 -0
- package/contracts/instance/module/IAccess.sol +38 -0
- package/contracts/instance/module/IBundle.sol +20 -0
- package/contracts/instance/module/IDistribution.sol +39 -0
- package/contracts/instance/module/IPolicy.sol +45 -0
- package/contracts/instance/module/IRisk.sol +11 -0
- package/contracts/instance/module/ISetup.sol +44 -0
- package/contracts/instance/module/ITreasury.sol +23 -0
- package/contracts/instance/service/ComponentOwnerService.sol +317 -0
- package/contracts/instance/service/DistributionService.sol +87 -0
- package/contracts/instance/service/DistributionServiceManager.sol +53 -0
- package/contracts/instance/service/IComponentOwnerService.sol +20 -0
- package/contracts/instance/service/IDistributionService.sol +12 -0
- package/contracts/instance/service/IPoolService.sol +37 -0
- package/contracts/instance/service/IProductService.sol +107 -0
- package/contracts/instance/service/PoolService.sol +193 -0
- package/contracts/instance/service/PoolServiceManager.sol +53 -0
- package/contracts/registry/ChainNft.sol +129 -62
- package/contracts/registry/IRegistry.sol +70 -43
- package/contracts/registry/IRegistryService.sol +33 -0
- package/contracts/registry/ITransferInterceptor.sol +6 -0
- package/contracts/registry/Registry.sol +432 -125
- package/contracts/registry/RegistryService.sol +399 -0
- package/contracts/registry/RegistryServiceManager.sol +80 -0
- package/contracts/registry/TokenRegistry.sol +111 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +25 -0
- package/contracts/shared/INftOwnable.sol +22 -0
- package/contracts/shared/IRegisterable.sol +17 -0
- package/contracts/shared/IService.sol +15 -0
- package/contracts/shared/IVersionable.sol +96 -0
- package/contracts/shared/NftOwnable.sol +136 -0
- package/contracts/shared/ProxyManager.sol +94 -0
- package/contracts/shared/Registerable.sol +90 -0
- package/contracts/shared/RegisterableUpgradable.sol +16 -0
- package/contracts/shared/Service.sol +55 -0
- package/contracts/shared/TokenHandler.sol +27 -0
- package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
- package/contracts/shared/Versionable.sol +147 -0
- package/contracts/test/TestFee.sol +25 -0
- package/contracts/test/TestRegisterable.sol +18 -0
- package/contracts/test/TestRoleId.sol +14 -0
- package/contracts/test/TestService.sol +24 -0
- package/contracts/test/TestToken.sol +26 -0
- package/contracts/test/TestVersion.sol +44 -0
- package/contracts/test/TestVersionable.sol +17 -0
- package/contracts/test/Usdc.sol +26 -0
- package/contracts/types/AddressSet.sol +58 -0
- package/contracts/types/DistributorType.sol +55 -0
- package/contracts/types/Fee.sol +44 -20
- package/contracts/types/Key32.sol +50 -0
- package/contracts/types/NftId.sol +22 -1
- package/contracts/types/NftIdSet.sol +60 -0
- package/contracts/types/NumberId.sol +52 -0
- package/contracts/types/ObjectType.sol +60 -15
- package/contracts/types/Referral.sol +85 -0
- package/contracts/types/RiskId.sol +43 -0
- package/contracts/types/RoleId.sol +89 -0
- package/contracts/types/StateId.sol +18 -4
- package/contracts/types/Timestamp.sol +29 -4
- package/contracts/types/UFixed.sol +150 -31
- package/contracts/types/Version.sol +107 -0
- package/package.json +12 -5
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -205
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -217
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -254
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -129
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -155
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -127
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +0 -490
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +0 -490
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
- package/contracts/components/Component.sol +0 -77
- package/contracts/components/IPool.sol +0 -15
- package/contracts/components/IProduct.sol +0 -16
- package/contracts/experiment/statemachine/README.md +0 -112
- package/contracts/instance/access/Access.sol +0 -165
- package/contracts/instance/access/IAccess.sol +0 -63
- package/contracts/instance/component/ComponentModule.sol +0 -274
- package/contracts/instance/component/IComponent.sol +0 -74
- package/contracts/instance/lifecycle/ILifecycle.sol +0 -47
- package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
- package/contracts/instance/policy/IPolicy.sol +0 -50
- package/contracts/instance/policy/PolicyModule.sol +0 -114
- package/contracts/instance/pool/IPoolModule.sol +0 -23
- package/contracts/instance/pool/PoolModule.sol +0 -81
- package/contracts/instance/product/IProductService.sol +0 -36
- package/contracts/instance/product/ProductService.sol +0 -136
- package/contracts/instance/treasury/ITreasury.sol +0 -91
- package/contracts/instance/treasury/TokenHandler.sol +0 -24
- package/contracts/instance/treasury/TreasuryModule.sol +0 -168
- package/contracts/registry/IChainNft.sol +0 -21
@@ -0,0 +1,1388 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "InstanceReader",
|
4
|
+
"sourceName": "contracts/instance/InstanceReader.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "registry",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "NftId",
|
15
|
+
"name": "instanceNftId",
|
16
|
+
"type": "uint96"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"stateMutability": "nonpayable",
|
20
|
+
"type": "constructor"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"inputs": [
|
24
|
+
{
|
25
|
+
"internalType": "NftId",
|
26
|
+
"name": "bundleNftId",
|
27
|
+
"type": "uint96"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "getBundleInfo",
|
31
|
+
"outputs": [
|
32
|
+
{
|
33
|
+
"components": [
|
34
|
+
{
|
35
|
+
"internalType": "NftId",
|
36
|
+
"name": "poolNftId",
|
37
|
+
"type": "uint96"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"components": [
|
41
|
+
{
|
42
|
+
"internalType": "UFixed",
|
43
|
+
"name": "fractionalFee",
|
44
|
+
"type": "uint256"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"internalType": "uint256",
|
48
|
+
"name": "fixedFee",
|
49
|
+
"type": "uint256"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"internalType": "struct Fee",
|
53
|
+
"name": "fee",
|
54
|
+
"type": "tuple"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"internalType": "bytes",
|
58
|
+
"name": "filter",
|
59
|
+
"type": "bytes"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"internalType": "uint256",
|
63
|
+
"name": "capitalAmount",
|
64
|
+
"type": "uint256"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"internalType": "uint256",
|
68
|
+
"name": "lockedAmount",
|
69
|
+
"type": "uint256"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"internalType": "uint256",
|
73
|
+
"name": "balanceAmount",
|
74
|
+
"type": "uint256"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"internalType": "uint256",
|
78
|
+
"name": "lifetime",
|
79
|
+
"type": "uint256"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"internalType": "Timestamp",
|
83
|
+
"name": "expiredAt",
|
84
|
+
"type": "uint40"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"internalType": "Timestamp",
|
88
|
+
"name": "closedAt",
|
89
|
+
"type": "uint40"
|
90
|
+
}
|
91
|
+
],
|
92
|
+
"internalType": "struct IBundle.BundleInfo",
|
93
|
+
"name": "info",
|
94
|
+
"type": "tuple"
|
95
|
+
}
|
96
|
+
],
|
97
|
+
"stateMutability": "view",
|
98
|
+
"type": "function"
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"inputs": [
|
102
|
+
{
|
103
|
+
"internalType": "ReferralId",
|
104
|
+
"name": "referralId",
|
105
|
+
"type": "bytes8"
|
106
|
+
}
|
107
|
+
],
|
108
|
+
"name": "getDiscountPercentage",
|
109
|
+
"outputs": [
|
110
|
+
{
|
111
|
+
"internalType": "UFixed",
|
112
|
+
"name": "discountPercentage",
|
113
|
+
"type": "uint256"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"internalType": "ReferralStatus",
|
117
|
+
"name": "status",
|
118
|
+
"type": "uint8"
|
119
|
+
}
|
120
|
+
],
|
121
|
+
"stateMutability": "view",
|
122
|
+
"type": "function"
|
123
|
+
},
|
124
|
+
{
|
125
|
+
"inputs": [
|
126
|
+
{
|
127
|
+
"internalType": "NftId",
|
128
|
+
"name": "distributionNftId",
|
129
|
+
"type": "uint96"
|
130
|
+
}
|
131
|
+
],
|
132
|
+
"name": "getDistributionSetupInfo",
|
133
|
+
"outputs": [
|
134
|
+
{
|
135
|
+
"components": [
|
136
|
+
{
|
137
|
+
"internalType": "NftId",
|
138
|
+
"name": "productNftId",
|
139
|
+
"type": "uint96"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"internalType": "contract TokenHandler",
|
143
|
+
"name": "tokenHandler",
|
144
|
+
"type": "address"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"components": [
|
148
|
+
{
|
149
|
+
"internalType": "UFixed",
|
150
|
+
"name": "fractionalFee",
|
151
|
+
"type": "uint256"
|
152
|
+
},
|
153
|
+
{
|
154
|
+
"internalType": "uint256",
|
155
|
+
"name": "fixedFee",
|
156
|
+
"type": "uint256"
|
157
|
+
}
|
158
|
+
],
|
159
|
+
"internalType": "struct Fee",
|
160
|
+
"name": "distributionFee",
|
161
|
+
"type": "tuple"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"internalType": "bool",
|
165
|
+
"name": "isIntercepting",
|
166
|
+
"type": "bool"
|
167
|
+
},
|
168
|
+
{
|
169
|
+
"internalType": "address",
|
170
|
+
"name": "wallet",
|
171
|
+
"type": "address"
|
172
|
+
}
|
173
|
+
],
|
174
|
+
"internalType": "struct ISetup.DistributionSetupInfo",
|
175
|
+
"name": "info",
|
176
|
+
"type": "tuple"
|
177
|
+
}
|
178
|
+
],
|
179
|
+
"stateMutability": "view",
|
180
|
+
"type": "function"
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"inputs": [
|
184
|
+
{
|
185
|
+
"internalType": "NftId",
|
186
|
+
"name": "distributorNftId",
|
187
|
+
"type": "uint96"
|
188
|
+
}
|
189
|
+
],
|
190
|
+
"name": "getDistributorInfo",
|
191
|
+
"outputs": [
|
192
|
+
{
|
193
|
+
"components": [
|
194
|
+
{
|
195
|
+
"internalType": "DistributorType",
|
196
|
+
"name": "distributorType",
|
197
|
+
"type": "bytes8"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"internalType": "bool",
|
201
|
+
"name": "active",
|
202
|
+
"type": "bool"
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"internalType": "bytes",
|
206
|
+
"name": "data",
|
207
|
+
"type": "bytes"
|
208
|
+
}
|
209
|
+
],
|
210
|
+
"internalType": "struct IDistribution.DistributorInfo",
|
211
|
+
"name": "info",
|
212
|
+
"type": "tuple"
|
213
|
+
}
|
214
|
+
],
|
215
|
+
"stateMutability": "view",
|
216
|
+
"type": "function"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"inputs": [
|
220
|
+
{
|
221
|
+
"internalType": "DistributorType",
|
222
|
+
"name": "distributorType",
|
223
|
+
"type": "bytes8"
|
224
|
+
}
|
225
|
+
],
|
226
|
+
"name": "getDistributorTypeInfo",
|
227
|
+
"outputs": [
|
228
|
+
{
|
229
|
+
"components": [
|
230
|
+
{
|
231
|
+
"internalType": "string",
|
232
|
+
"name": "name",
|
233
|
+
"type": "string"
|
234
|
+
},
|
235
|
+
{
|
236
|
+
"internalType": "UFixed",
|
237
|
+
"name": "minDiscountPercentage",
|
238
|
+
"type": "uint256"
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"internalType": "UFixed",
|
242
|
+
"name": "maxDiscountPercentage",
|
243
|
+
"type": "uint256"
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"internalType": "UFixed",
|
247
|
+
"name": "commissionPercentage",
|
248
|
+
"type": "uint256"
|
249
|
+
},
|
250
|
+
{
|
251
|
+
"internalType": "uint32",
|
252
|
+
"name": "maxReferralCount",
|
253
|
+
"type": "uint32"
|
254
|
+
},
|
255
|
+
{
|
256
|
+
"internalType": "uint32",
|
257
|
+
"name": "maxReferralLifetime",
|
258
|
+
"type": "uint32"
|
259
|
+
},
|
260
|
+
{
|
261
|
+
"internalType": "bool",
|
262
|
+
"name": "allowSelfReferrals",
|
263
|
+
"type": "bool"
|
264
|
+
},
|
265
|
+
{
|
266
|
+
"internalType": "bool",
|
267
|
+
"name": "allowRenewals",
|
268
|
+
"type": "bool"
|
269
|
+
},
|
270
|
+
{
|
271
|
+
"internalType": "bytes",
|
272
|
+
"name": "data",
|
273
|
+
"type": "bytes"
|
274
|
+
}
|
275
|
+
],
|
276
|
+
"internalType": "struct IDistribution.DistributorTypeInfo",
|
277
|
+
"name": "info",
|
278
|
+
"type": "tuple"
|
279
|
+
}
|
280
|
+
],
|
281
|
+
"stateMutability": "view",
|
282
|
+
"type": "function"
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"inputs": [],
|
286
|
+
"name": "getInstance",
|
287
|
+
"outputs": [
|
288
|
+
{
|
289
|
+
"internalType": "contract IInstance",
|
290
|
+
"name": "instance",
|
291
|
+
"type": "address"
|
292
|
+
}
|
293
|
+
],
|
294
|
+
"stateMutability": "view",
|
295
|
+
"type": "function"
|
296
|
+
},
|
297
|
+
{
|
298
|
+
"inputs": [],
|
299
|
+
"name": "getInstanceNftId",
|
300
|
+
"outputs": [
|
301
|
+
{
|
302
|
+
"internalType": "NftId",
|
303
|
+
"name": "nftId",
|
304
|
+
"type": "uint96"
|
305
|
+
}
|
306
|
+
],
|
307
|
+
"stateMutability": "view",
|
308
|
+
"type": "function"
|
309
|
+
},
|
310
|
+
{
|
311
|
+
"inputs": [],
|
312
|
+
"name": "getInstanceStore",
|
313
|
+
"outputs": [
|
314
|
+
{
|
315
|
+
"internalType": "contract IKeyValueStore",
|
316
|
+
"name": "store",
|
317
|
+
"type": "address"
|
318
|
+
}
|
319
|
+
],
|
320
|
+
"stateMutability": "view",
|
321
|
+
"type": "function"
|
322
|
+
},
|
323
|
+
{
|
324
|
+
"inputs": [
|
325
|
+
{
|
326
|
+
"internalType": "Key32",
|
327
|
+
"name": "key",
|
328
|
+
"type": "bytes32"
|
329
|
+
}
|
330
|
+
],
|
331
|
+
"name": "getMetadata",
|
332
|
+
"outputs": [
|
333
|
+
{
|
334
|
+
"components": [
|
335
|
+
{
|
336
|
+
"internalType": "ObjectType",
|
337
|
+
"name": "objectType",
|
338
|
+
"type": "uint8"
|
339
|
+
},
|
340
|
+
{
|
341
|
+
"internalType": "StateId",
|
342
|
+
"name": "state",
|
343
|
+
"type": "uint8"
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"internalType": "address",
|
347
|
+
"name": "updatedBy",
|
348
|
+
"type": "address"
|
349
|
+
},
|
350
|
+
{
|
351
|
+
"internalType": "Blocknumber",
|
352
|
+
"name": "updatedIn",
|
353
|
+
"type": "uint32"
|
354
|
+
},
|
355
|
+
{
|
356
|
+
"internalType": "Blocknumber",
|
357
|
+
"name": "createdIn",
|
358
|
+
"type": "uint32"
|
359
|
+
}
|
360
|
+
],
|
361
|
+
"internalType": "struct IKeyValueStore.Metadata",
|
362
|
+
"name": "metadata",
|
363
|
+
"type": "tuple"
|
364
|
+
}
|
365
|
+
],
|
366
|
+
"stateMutability": "view",
|
367
|
+
"type": "function"
|
368
|
+
},
|
369
|
+
{
|
370
|
+
"inputs": [
|
371
|
+
{
|
372
|
+
"internalType": "NftId",
|
373
|
+
"name": "policyNftId",
|
374
|
+
"type": "uint96"
|
375
|
+
}
|
376
|
+
],
|
377
|
+
"name": "getPolicyInfo",
|
378
|
+
"outputs": [
|
379
|
+
{
|
380
|
+
"components": [
|
381
|
+
{
|
382
|
+
"internalType": "NftId",
|
383
|
+
"name": "productNftId",
|
384
|
+
"type": "uint96"
|
385
|
+
},
|
386
|
+
{
|
387
|
+
"internalType": "NftId",
|
388
|
+
"name": "bundleNftId",
|
389
|
+
"type": "uint96"
|
390
|
+
},
|
391
|
+
{
|
392
|
+
"internalType": "ReferralId",
|
393
|
+
"name": "referralId",
|
394
|
+
"type": "bytes8"
|
395
|
+
},
|
396
|
+
{
|
397
|
+
"internalType": "RiskId",
|
398
|
+
"name": "riskId",
|
399
|
+
"type": "bytes8"
|
400
|
+
},
|
401
|
+
{
|
402
|
+
"internalType": "uint256",
|
403
|
+
"name": "sumInsuredAmount",
|
404
|
+
"type": "uint256"
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"internalType": "uint256",
|
408
|
+
"name": "premiumAmount",
|
409
|
+
"type": "uint256"
|
410
|
+
},
|
411
|
+
{
|
412
|
+
"internalType": "uint256",
|
413
|
+
"name": "premiumPaidAmount",
|
414
|
+
"type": "uint256"
|
415
|
+
},
|
416
|
+
{
|
417
|
+
"internalType": "uint256",
|
418
|
+
"name": "lifetime",
|
419
|
+
"type": "uint256"
|
420
|
+
},
|
421
|
+
{
|
422
|
+
"internalType": "bytes",
|
423
|
+
"name": "applicationData",
|
424
|
+
"type": "bytes"
|
425
|
+
},
|
426
|
+
{
|
427
|
+
"internalType": "bytes",
|
428
|
+
"name": "policyData",
|
429
|
+
"type": "bytes"
|
430
|
+
},
|
431
|
+
{
|
432
|
+
"internalType": "uint16",
|
433
|
+
"name": "claimsCount",
|
434
|
+
"type": "uint16"
|
435
|
+
},
|
436
|
+
{
|
437
|
+
"internalType": "uint16",
|
438
|
+
"name": "openClaimsCount",
|
439
|
+
"type": "uint16"
|
440
|
+
},
|
441
|
+
{
|
442
|
+
"internalType": "uint256",
|
443
|
+
"name": "payoutAmount",
|
444
|
+
"type": "uint256"
|
445
|
+
},
|
446
|
+
{
|
447
|
+
"internalType": "Timestamp",
|
448
|
+
"name": "activatedAt",
|
449
|
+
"type": "uint40"
|
450
|
+
},
|
451
|
+
{
|
452
|
+
"internalType": "Timestamp",
|
453
|
+
"name": "expiredAt",
|
454
|
+
"type": "uint40"
|
455
|
+
},
|
456
|
+
{
|
457
|
+
"internalType": "Timestamp",
|
458
|
+
"name": "closedAt",
|
459
|
+
"type": "uint40"
|
460
|
+
}
|
461
|
+
],
|
462
|
+
"internalType": "struct IPolicy.PolicyInfo",
|
463
|
+
"name": "info",
|
464
|
+
"type": "tuple"
|
465
|
+
}
|
466
|
+
],
|
467
|
+
"stateMutability": "view",
|
468
|
+
"type": "function"
|
469
|
+
},
|
470
|
+
{
|
471
|
+
"inputs": [
|
472
|
+
{
|
473
|
+
"internalType": "NftId",
|
474
|
+
"name": "poolNftId",
|
475
|
+
"type": "uint96"
|
476
|
+
}
|
477
|
+
],
|
478
|
+
"name": "getPoolSetupInfo",
|
479
|
+
"outputs": [
|
480
|
+
{
|
481
|
+
"components": [
|
482
|
+
{
|
483
|
+
"internalType": "NftId",
|
484
|
+
"name": "productNftId",
|
485
|
+
"type": "uint96"
|
486
|
+
},
|
487
|
+
{
|
488
|
+
"internalType": "contract TokenHandler",
|
489
|
+
"name": "tokenHandler",
|
490
|
+
"type": "address"
|
491
|
+
},
|
492
|
+
{
|
493
|
+
"internalType": "UFixed",
|
494
|
+
"name": "collateralizationLevel",
|
495
|
+
"type": "uint256"
|
496
|
+
},
|
497
|
+
{
|
498
|
+
"components": [
|
499
|
+
{
|
500
|
+
"internalType": "UFixed",
|
501
|
+
"name": "fractionalFee",
|
502
|
+
"type": "uint256"
|
503
|
+
},
|
504
|
+
{
|
505
|
+
"internalType": "uint256",
|
506
|
+
"name": "fixedFee",
|
507
|
+
"type": "uint256"
|
508
|
+
}
|
509
|
+
],
|
510
|
+
"internalType": "struct Fee",
|
511
|
+
"name": "poolFee",
|
512
|
+
"type": "tuple"
|
513
|
+
},
|
514
|
+
{
|
515
|
+
"components": [
|
516
|
+
{
|
517
|
+
"internalType": "UFixed",
|
518
|
+
"name": "fractionalFee",
|
519
|
+
"type": "uint256"
|
520
|
+
},
|
521
|
+
{
|
522
|
+
"internalType": "uint256",
|
523
|
+
"name": "fixedFee",
|
524
|
+
"type": "uint256"
|
525
|
+
}
|
526
|
+
],
|
527
|
+
"internalType": "struct Fee",
|
528
|
+
"name": "stakingFee",
|
529
|
+
"type": "tuple"
|
530
|
+
},
|
531
|
+
{
|
532
|
+
"components": [
|
533
|
+
{
|
534
|
+
"internalType": "UFixed",
|
535
|
+
"name": "fractionalFee",
|
536
|
+
"type": "uint256"
|
537
|
+
},
|
538
|
+
{
|
539
|
+
"internalType": "uint256",
|
540
|
+
"name": "fixedFee",
|
541
|
+
"type": "uint256"
|
542
|
+
}
|
543
|
+
],
|
544
|
+
"internalType": "struct Fee",
|
545
|
+
"name": "performanceFee",
|
546
|
+
"type": "tuple"
|
547
|
+
},
|
548
|
+
{
|
549
|
+
"internalType": "bool",
|
550
|
+
"name": "isIntercepting",
|
551
|
+
"type": "bool"
|
552
|
+
},
|
553
|
+
{
|
554
|
+
"internalType": "address",
|
555
|
+
"name": "wallet",
|
556
|
+
"type": "address"
|
557
|
+
}
|
558
|
+
],
|
559
|
+
"internalType": "struct ISetup.PoolSetupInfo",
|
560
|
+
"name": "info",
|
561
|
+
"type": "tuple"
|
562
|
+
}
|
563
|
+
],
|
564
|
+
"stateMutability": "view",
|
565
|
+
"type": "function"
|
566
|
+
},
|
567
|
+
{
|
568
|
+
"inputs": [
|
569
|
+
{
|
570
|
+
"internalType": "NftId",
|
571
|
+
"name": "productNftId",
|
572
|
+
"type": "uint96"
|
573
|
+
}
|
574
|
+
],
|
575
|
+
"name": "getProductSetupInfo",
|
576
|
+
"outputs": [
|
577
|
+
{
|
578
|
+
"components": [
|
579
|
+
{
|
580
|
+
"internalType": "contract IERC20Metadata",
|
581
|
+
"name": "token",
|
582
|
+
"type": "address"
|
583
|
+
},
|
584
|
+
{
|
585
|
+
"internalType": "contract TokenHandler",
|
586
|
+
"name": "tokenHandler",
|
587
|
+
"type": "address"
|
588
|
+
},
|
589
|
+
{
|
590
|
+
"internalType": "NftId",
|
591
|
+
"name": "distributionNftId",
|
592
|
+
"type": "uint96"
|
593
|
+
},
|
594
|
+
{
|
595
|
+
"internalType": "NftId",
|
596
|
+
"name": "poolNftId",
|
597
|
+
"type": "uint96"
|
598
|
+
},
|
599
|
+
{
|
600
|
+
"components": [
|
601
|
+
{
|
602
|
+
"internalType": "UFixed",
|
603
|
+
"name": "fractionalFee",
|
604
|
+
"type": "uint256"
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"internalType": "uint256",
|
608
|
+
"name": "fixedFee",
|
609
|
+
"type": "uint256"
|
610
|
+
}
|
611
|
+
],
|
612
|
+
"internalType": "struct Fee",
|
613
|
+
"name": "distributionFee",
|
614
|
+
"type": "tuple"
|
615
|
+
},
|
616
|
+
{
|
617
|
+
"components": [
|
618
|
+
{
|
619
|
+
"internalType": "UFixed",
|
620
|
+
"name": "fractionalFee",
|
621
|
+
"type": "uint256"
|
622
|
+
},
|
623
|
+
{
|
624
|
+
"internalType": "uint256",
|
625
|
+
"name": "fixedFee",
|
626
|
+
"type": "uint256"
|
627
|
+
}
|
628
|
+
],
|
629
|
+
"internalType": "struct Fee",
|
630
|
+
"name": "productFee",
|
631
|
+
"type": "tuple"
|
632
|
+
},
|
633
|
+
{
|
634
|
+
"components": [
|
635
|
+
{
|
636
|
+
"internalType": "UFixed",
|
637
|
+
"name": "fractionalFee",
|
638
|
+
"type": "uint256"
|
639
|
+
},
|
640
|
+
{
|
641
|
+
"internalType": "uint256",
|
642
|
+
"name": "fixedFee",
|
643
|
+
"type": "uint256"
|
644
|
+
}
|
645
|
+
],
|
646
|
+
"internalType": "struct Fee",
|
647
|
+
"name": "processingFee",
|
648
|
+
"type": "tuple"
|
649
|
+
},
|
650
|
+
{
|
651
|
+
"components": [
|
652
|
+
{
|
653
|
+
"internalType": "UFixed",
|
654
|
+
"name": "fractionalFee",
|
655
|
+
"type": "uint256"
|
656
|
+
},
|
657
|
+
{
|
658
|
+
"internalType": "uint256",
|
659
|
+
"name": "fixedFee",
|
660
|
+
"type": "uint256"
|
661
|
+
}
|
662
|
+
],
|
663
|
+
"internalType": "struct Fee",
|
664
|
+
"name": "poolFee",
|
665
|
+
"type": "tuple"
|
666
|
+
},
|
667
|
+
{
|
668
|
+
"components": [
|
669
|
+
{
|
670
|
+
"internalType": "UFixed",
|
671
|
+
"name": "fractionalFee",
|
672
|
+
"type": "uint256"
|
673
|
+
},
|
674
|
+
{
|
675
|
+
"internalType": "uint256",
|
676
|
+
"name": "fixedFee",
|
677
|
+
"type": "uint256"
|
678
|
+
}
|
679
|
+
],
|
680
|
+
"internalType": "struct Fee",
|
681
|
+
"name": "stakingFee",
|
682
|
+
"type": "tuple"
|
683
|
+
},
|
684
|
+
{
|
685
|
+
"components": [
|
686
|
+
{
|
687
|
+
"internalType": "UFixed",
|
688
|
+
"name": "fractionalFee",
|
689
|
+
"type": "uint256"
|
690
|
+
},
|
691
|
+
{
|
692
|
+
"internalType": "uint256",
|
693
|
+
"name": "fixedFee",
|
694
|
+
"type": "uint256"
|
695
|
+
}
|
696
|
+
],
|
697
|
+
"internalType": "struct Fee",
|
698
|
+
"name": "performanceFee",
|
699
|
+
"type": "tuple"
|
700
|
+
}
|
701
|
+
],
|
702
|
+
"internalType": "struct ISetup.ProductSetupInfo",
|
703
|
+
"name": "info",
|
704
|
+
"type": "tuple"
|
705
|
+
}
|
706
|
+
],
|
707
|
+
"stateMutability": "view",
|
708
|
+
"type": "function"
|
709
|
+
},
|
710
|
+
{
|
711
|
+
"inputs": [
|
712
|
+
{
|
713
|
+
"internalType": "ReferralId",
|
714
|
+
"name": "referralId",
|
715
|
+
"type": "bytes8"
|
716
|
+
}
|
717
|
+
],
|
718
|
+
"name": "getReferralInfo",
|
719
|
+
"outputs": [
|
720
|
+
{
|
721
|
+
"components": [
|
722
|
+
{
|
723
|
+
"internalType": "NftId",
|
724
|
+
"name": "distributorNftId",
|
725
|
+
"type": "uint96"
|
726
|
+
},
|
727
|
+
{
|
728
|
+
"internalType": "string",
|
729
|
+
"name": "referralCode",
|
730
|
+
"type": "string"
|
731
|
+
},
|
732
|
+
{
|
733
|
+
"internalType": "UFixed",
|
734
|
+
"name": "discountPercentage",
|
735
|
+
"type": "uint256"
|
736
|
+
},
|
737
|
+
{
|
738
|
+
"internalType": "uint32",
|
739
|
+
"name": "maxReferrals",
|
740
|
+
"type": "uint32"
|
741
|
+
},
|
742
|
+
{
|
743
|
+
"internalType": "uint32",
|
744
|
+
"name": "usedReferrals",
|
745
|
+
"type": "uint32"
|
746
|
+
},
|
747
|
+
{
|
748
|
+
"internalType": "Timestamp",
|
749
|
+
"name": "expiryAt",
|
750
|
+
"type": "uint40"
|
751
|
+
},
|
752
|
+
{
|
753
|
+
"internalType": "bytes",
|
754
|
+
"name": "data",
|
755
|
+
"type": "bytes"
|
756
|
+
}
|
757
|
+
],
|
758
|
+
"internalType": "struct IDistribution.ReferralInfo",
|
759
|
+
"name": "info",
|
760
|
+
"type": "tuple"
|
761
|
+
}
|
762
|
+
],
|
763
|
+
"stateMutability": "view",
|
764
|
+
"type": "function"
|
765
|
+
},
|
766
|
+
{
|
767
|
+
"inputs": [
|
768
|
+
{
|
769
|
+
"internalType": "RiskId",
|
770
|
+
"name": "riskId",
|
771
|
+
"type": "bytes8"
|
772
|
+
}
|
773
|
+
],
|
774
|
+
"name": "getRiskInfo",
|
775
|
+
"outputs": [
|
776
|
+
{
|
777
|
+
"components": [
|
778
|
+
{
|
779
|
+
"internalType": "NftId",
|
780
|
+
"name": "productNftId",
|
781
|
+
"type": "uint96"
|
782
|
+
},
|
783
|
+
{
|
784
|
+
"internalType": "bytes",
|
785
|
+
"name": "data",
|
786
|
+
"type": "bytes"
|
787
|
+
}
|
788
|
+
],
|
789
|
+
"internalType": "struct IRisk.RiskInfo",
|
790
|
+
"name": "info",
|
791
|
+
"type": "tuple"
|
792
|
+
}
|
793
|
+
],
|
794
|
+
"stateMutability": "view",
|
795
|
+
"type": "function"
|
796
|
+
},
|
797
|
+
{
|
798
|
+
"inputs": [
|
799
|
+
{
|
800
|
+
"internalType": "NftId",
|
801
|
+
"name": "productNftId",
|
802
|
+
"type": "uint96"
|
803
|
+
}
|
804
|
+
],
|
805
|
+
"name": "getTokenHandler",
|
806
|
+
"outputs": [
|
807
|
+
{
|
808
|
+
"internalType": "address",
|
809
|
+
"name": "tokenHandler",
|
810
|
+
"type": "address"
|
811
|
+
}
|
812
|
+
],
|
813
|
+
"stateMutability": "view",
|
814
|
+
"type": "function"
|
815
|
+
},
|
816
|
+
{
|
817
|
+
"inputs": [
|
818
|
+
{
|
819
|
+
"internalType": "NftId",
|
820
|
+
"name": "productNftId",
|
821
|
+
"type": "uint96"
|
822
|
+
}
|
823
|
+
],
|
824
|
+
"name": "getTreasuryInfo",
|
825
|
+
"outputs": [
|
826
|
+
{
|
827
|
+
"components": [
|
828
|
+
{
|
829
|
+
"internalType": "contract IERC20Metadata",
|
830
|
+
"name": "token",
|
831
|
+
"type": "address"
|
832
|
+
},
|
833
|
+
{
|
834
|
+
"internalType": "contract TokenHandler",
|
835
|
+
"name": "tokenHandler",
|
836
|
+
"type": "address"
|
837
|
+
},
|
838
|
+
{
|
839
|
+
"internalType": "NftId",
|
840
|
+
"name": "distributionNftId",
|
841
|
+
"type": "uint96"
|
842
|
+
},
|
843
|
+
{
|
844
|
+
"internalType": "NftId",
|
845
|
+
"name": "poolNftId",
|
846
|
+
"type": "uint96"
|
847
|
+
},
|
848
|
+
{
|
849
|
+
"components": [
|
850
|
+
{
|
851
|
+
"internalType": "UFixed",
|
852
|
+
"name": "fractionalFee",
|
853
|
+
"type": "uint256"
|
854
|
+
},
|
855
|
+
{
|
856
|
+
"internalType": "uint256",
|
857
|
+
"name": "fixedFee",
|
858
|
+
"type": "uint256"
|
859
|
+
}
|
860
|
+
],
|
861
|
+
"internalType": "struct Fee",
|
862
|
+
"name": "distributionFee",
|
863
|
+
"type": "tuple"
|
864
|
+
},
|
865
|
+
{
|
866
|
+
"components": [
|
867
|
+
{
|
868
|
+
"internalType": "UFixed",
|
869
|
+
"name": "fractionalFee",
|
870
|
+
"type": "uint256"
|
871
|
+
},
|
872
|
+
{
|
873
|
+
"internalType": "uint256",
|
874
|
+
"name": "fixedFee",
|
875
|
+
"type": "uint256"
|
876
|
+
}
|
877
|
+
],
|
878
|
+
"internalType": "struct Fee",
|
879
|
+
"name": "productFee",
|
880
|
+
"type": "tuple"
|
881
|
+
},
|
882
|
+
{
|
883
|
+
"components": [
|
884
|
+
{
|
885
|
+
"internalType": "UFixed",
|
886
|
+
"name": "fractionalFee",
|
887
|
+
"type": "uint256"
|
888
|
+
},
|
889
|
+
{
|
890
|
+
"internalType": "uint256",
|
891
|
+
"name": "fixedFee",
|
892
|
+
"type": "uint256"
|
893
|
+
}
|
894
|
+
],
|
895
|
+
"internalType": "struct Fee",
|
896
|
+
"name": "processingFee",
|
897
|
+
"type": "tuple"
|
898
|
+
},
|
899
|
+
{
|
900
|
+
"components": [
|
901
|
+
{
|
902
|
+
"internalType": "UFixed",
|
903
|
+
"name": "fractionalFee",
|
904
|
+
"type": "uint256"
|
905
|
+
},
|
906
|
+
{
|
907
|
+
"internalType": "uint256",
|
908
|
+
"name": "fixedFee",
|
909
|
+
"type": "uint256"
|
910
|
+
}
|
911
|
+
],
|
912
|
+
"internalType": "struct Fee",
|
913
|
+
"name": "poolFee",
|
914
|
+
"type": "tuple"
|
915
|
+
},
|
916
|
+
{
|
917
|
+
"components": [
|
918
|
+
{
|
919
|
+
"internalType": "UFixed",
|
920
|
+
"name": "fractionalFee",
|
921
|
+
"type": "uint256"
|
922
|
+
},
|
923
|
+
{
|
924
|
+
"internalType": "uint256",
|
925
|
+
"name": "fixedFee",
|
926
|
+
"type": "uint256"
|
927
|
+
}
|
928
|
+
],
|
929
|
+
"internalType": "struct Fee",
|
930
|
+
"name": "stakingFee",
|
931
|
+
"type": "tuple"
|
932
|
+
},
|
933
|
+
{
|
934
|
+
"components": [
|
935
|
+
{
|
936
|
+
"internalType": "UFixed",
|
937
|
+
"name": "fractionalFee",
|
938
|
+
"type": "uint256"
|
939
|
+
},
|
940
|
+
{
|
941
|
+
"internalType": "uint256",
|
942
|
+
"name": "fixedFee",
|
943
|
+
"type": "uint256"
|
944
|
+
}
|
945
|
+
],
|
946
|
+
"internalType": "struct Fee",
|
947
|
+
"name": "performanceFee",
|
948
|
+
"type": "tuple"
|
949
|
+
}
|
950
|
+
],
|
951
|
+
"internalType": "struct ITreasury.TreasuryInfo",
|
952
|
+
"name": "info",
|
953
|
+
"type": "tuple"
|
954
|
+
}
|
955
|
+
],
|
956
|
+
"stateMutability": "view",
|
957
|
+
"type": "function"
|
958
|
+
},
|
959
|
+
{
|
960
|
+
"inputs": [
|
961
|
+
{
|
962
|
+
"internalType": "address",
|
963
|
+
"name": "registry",
|
964
|
+
"type": "address"
|
965
|
+
},
|
966
|
+
{
|
967
|
+
"internalType": "NftId",
|
968
|
+
"name": "instanceNftId",
|
969
|
+
"type": "uint96"
|
970
|
+
}
|
971
|
+
],
|
972
|
+
"name": "initialize",
|
973
|
+
"outputs": [],
|
974
|
+
"stateMutability": "nonpayable",
|
975
|
+
"type": "function"
|
976
|
+
},
|
977
|
+
{
|
978
|
+
"inputs": [
|
979
|
+
{
|
980
|
+
"internalType": "NftId",
|
981
|
+
"name": "poolNftId",
|
982
|
+
"type": "uint96"
|
983
|
+
}
|
984
|
+
],
|
985
|
+
"name": "toBundleKey",
|
986
|
+
"outputs": [
|
987
|
+
{
|
988
|
+
"internalType": "Key32",
|
989
|
+
"name": "",
|
990
|
+
"type": "bytes32"
|
991
|
+
}
|
992
|
+
],
|
993
|
+
"stateMutability": "pure",
|
994
|
+
"type": "function"
|
995
|
+
},
|
996
|
+
{
|
997
|
+
"inputs": [
|
998
|
+
{
|
999
|
+
"internalType": "NftId",
|
1000
|
+
"name": "distributionNftId",
|
1001
|
+
"type": "uint96"
|
1002
|
+
}
|
1003
|
+
],
|
1004
|
+
"name": "toDistributionKey",
|
1005
|
+
"outputs": [
|
1006
|
+
{
|
1007
|
+
"internalType": "Key32",
|
1008
|
+
"name": "",
|
1009
|
+
"type": "bytes32"
|
1010
|
+
}
|
1011
|
+
],
|
1012
|
+
"stateMutability": "pure",
|
1013
|
+
"type": "function"
|
1014
|
+
},
|
1015
|
+
{
|
1016
|
+
"inputs": [
|
1017
|
+
{
|
1018
|
+
"internalType": "NftId",
|
1019
|
+
"name": "distributorNftId",
|
1020
|
+
"type": "uint96"
|
1021
|
+
}
|
1022
|
+
],
|
1023
|
+
"name": "toDistributorKey",
|
1024
|
+
"outputs": [
|
1025
|
+
{
|
1026
|
+
"internalType": "Key32",
|
1027
|
+
"name": "",
|
1028
|
+
"type": "bytes32"
|
1029
|
+
}
|
1030
|
+
],
|
1031
|
+
"stateMutability": "pure",
|
1032
|
+
"type": "function"
|
1033
|
+
},
|
1034
|
+
{
|
1035
|
+
"inputs": [
|
1036
|
+
{
|
1037
|
+
"internalType": "UFixed",
|
1038
|
+
"name": "value",
|
1039
|
+
"type": "uint256"
|
1040
|
+
}
|
1041
|
+
],
|
1042
|
+
"name": "toInt",
|
1043
|
+
"outputs": [
|
1044
|
+
{
|
1045
|
+
"internalType": "uint256",
|
1046
|
+
"name": "",
|
1047
|
+
"type": "uint256"
|
1048
|
+
}
|
1049
|
+
],
|
1050
|
+
"stateMutability": "pure",
|
1051
|
+
"type": "function"
|
1052
|
+
},
|
1053
|
+
{
|
1054
|
+
"inputs": [
|
1055
|
+
{
|
1056
|
+
"internalType": "NftId",
|
1057
|
+
"name": "policyNftId",
|
1058
|
+
"type": "uint96"
|
1059
|
+
}
|
1060
|
+
],
|
1061
|
+
"name": "toPolicyKey",
|
1062
|
+
"outputs": [
|
1063
|
+
{
|
1064
|
+
"internalType": "Key32",
|
1065
|
+
"name": "",
|
1066
|
+
"type": "bytes32"
|
1067
|
+
}
|
1068
|
+
],
|
1069
|
+
"stateMutability": "pure",
|
1070
|
+
"type": "function"
|
1071
|
+
},
|
1072
|
+
{
|
1073
|
+
"inputs": [
|
1074
|
+
{
|
1075
|
+
"internalType": "NftId",
|
1076
|
+
"name": "poolNftId",
|
1077
|
+
"type": "uint96"
|
1078
|
+
}
|
1079
|
+
],
|
1080
|
+
"name": "toPoolKey",
|
1081
|
+
"outputs": [
|
1082
|
+
{
|
1083
|
+
"internalType": "Key32",
|
1084
|
+
"name": "",
|
1085
|
+
"type": "bytes32"
|
1086
|
+
}
|
1087
|
+
],
|
1088
|
+
"stateMutability": "pure",
|
1089
|
+
"type": "function"
|
1090
|
+
},
|
1091
|
+
{
|
1092
|
+
"inputs": [
|
1093
|
+
{
|
1094
|
+
"internalType": "NftId",
|
1095
|
+
"name": "productNftId",
|
1096
|
+
"type": "uint96"
|
1097
|
+
}
|
1098
|
+
],
|
1099
|
+
"name": "toProductKey",
|
1100
|
+
"outputs": [
|
1101
|
+
{
|
1102
|
+
"internalType": "Key32",
|
1103
|
+
"name": "",
|
1104
|
+
"type": "bytes32"
|
1105
|
+
}
|
1106
|
+
],
|
1107
|
+
"stateMutability": "pure",
|
1108
|
+
"type": "function"
|
1109
|
+
},
|
1110
|
+
{
|
1111
|
+
"inputs": [
|
1112
|
+
{
|
1113
|
+
"internalType": "NftId",
|
1114
|
+
"name": "distributionNftId",
|
1115
|
+
"type": "uint96"
|
1116
|
+
},
|
1117
|
+
{
|
1118
|
+
"internalType": "string",
|
1119
|
+
"name": "referralCode",
|
1120
|
+
"type": "string"
|
1121
|
+
}
|
1122
|
+
],
|
1123
|
+
"name": "toReferralId",
|
1124
|
+
"outputs": [
|
1125
|
+
{
|
1126
|
+
"internalType": "ReferralId",
|
1127
|
+
"name": "referralId",
|
1128
|
+
"type": "bytes8"
|
1129
|
+
}
|
1130
|
+
],
|
1131
|
+
"stateMutability": "pure",
|
1132
|
+
"type": "function"
|
1133
|
+
},
|
1134
|
+
{
|
1135
|
+
"inputs": [
|
1136
|
+
{
|
1137
|
+
"internalType": "NftId",
|
1138
|
+
"name": "productNftId",
|
1139
|
+
"type": "uint96"
|
1140
|
+
}
|
1141
|
+
],
|
1142
|
+
"name": "toTreasuryKey",
|
1143
|
+
"outputs": [
|
1144
|
+
{
|
1145
|
+
"internalType": "Key32",
|
1146
|
+
"name": "",
|
1147
|
+
"type": "bytes32"
|
1148
|
+
}
|
1149
|
+
],
|
1150
|
+
"stateMutability": "pure",
|
1151
|
+
"type": "function"
|
1152
|
+
},
|
1153
|
+
{
|
1154
|
+
"inputs": [
|
1155
|
+
{
|
1156
|
+
"internalType": "uint256",
|
1157
|
+
"name": "value",
|
1158
|
+
"type": "uint256"
|
1159
|
+
},
|
1160
|
+
{
|
1161
|
+
"internalType": "int8",
|
1162
|
+
"name": "exp",
|
1163
|
+
"type": "int8"
|
1164
|
+
}
|
1165
|
+
],
|
1166
|
+
"name": "toUFixed",
|
1167
|
+
"outputs": [
|
1168
|
+
{
|
1169
|
+
"internalType": "UFixed",
|
1170
|
+
"name": "",
|
1171
|
+
"type": "uint256"
|
1172
|
+
}
|
1173
|
+
],
|
1174
|
+
"stateMutability": "pure",
|
1175
|
+
"type": "function"
|
1176
|
+
}
|
1177
|
+
],
|
1178
|
+
"bytecode": "0x60806040523480156200001157600080fd5b50604051620032643803806200326483398101604081905262000034916200038e565b62000040828262000048565b5050620005f5565b60005460ff1615620000ab5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216620001035760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401620000a2565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200015c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001829190620003d7565b620001d05760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f000000000000006044820152606401620000a2565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546001600160601b0319166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801562000257573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200028191908101906200050f565b9050620002a781604001516200029c6200035460201b60201c565b60ff90811691161490565b620002ff5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b6064820152608401620000a2565b60800151600180546001600160601b03166c010000000000000000000000006001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b604690565b80516001600160a01b03811681146200037157600080fd5b919050565b80516001600160601b03811681146200037157600080fd5b60008060408385031215620003a257600080fd5b620003ad8362000359565b9150620003bd6020840162000376565b90509250929050565b805180151581146200037157600080fd5b600060208284031215620003ea57600080fd5b620003f582620003c6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620004375762000437620003fc565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620004685762000468620003fc565b604052919050565b805160ff811681146200037157600080fd5b600082601f8301126200049457600080fd5b81516001600160401b03811115620004b057620004b0620003fc565b6020620004c6601f8301601f191682016200043d565b8281528582848701011115620004db57600080fd5b60005b83811015620004fb578581018301518282018401528201620004de565b506000928101909101919091529392505050565b6000602082840312156200052257600080fd5b81516001600160401b03808211156200053a57600080fd5b9083019060e082860312156200054f57600080fd5b6200055962000412565b620005648362000376565b8152620005746020840162000376565b6020820152620005876040840162000470565b60408201526200059a60608401620003c6565b6060820152620005ad6080840162000359565b6080820152620005c060a0840162000359565b60a082015260c083015182811115620005d857600080fd5b620005e68782860162000482565b60c08301525095945050505050565b612c5f80620006056000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063887b1fa9116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d14146104e5578063f2a41374146104fd578063f2b246c314610512578063f7f318d31461052557600080fd5b8063d06458c6146104a1578063d4cda0d8146104c1578063dd26287a146104d257600080fd5b8063a310e2a3116100d3578063a310e2a3146103bf578063a5961b4c146103ea578063b82d7ef514610457578063bd7d9d851461048157600080fd5b8063887b1fa91461030d57806390af70641461032d5780639ad69c671461034d57600080fd5b806344aa68361161016657806364eb3a9b1161014057806364eb3a9b146102b95780637bfd3217146102cc5780637e54602a146102df5780637e798669146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806355e343a91461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc366004611964565b610538565b6040519081526020015b60405180910390f35b6101e76101e23660046119b3565b6105c0565b6040516101cb9190611a20565b6101c1610202366004611ad0565b610719565b61021a610215366004611ad0565b6107b3565b6040516101cb9190611aed565b6101c1610235366004611ad0565b61086d565b61024d610248366004611c97565b61089a565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d29565b610917565b61028c610287366004611ad0565b610952565b6040516101cb9190611d42565b6102ac6102a7366004611ad0565b6109f8565b6040516101cb9190611df6565b6101c16102c7366004611ad0565b610a9e565b6101c16102da366004611ad0565b610acb565b6101c16102ed366004611ad0565b610af8565b6001546040516001600160601b0390911681526020016101cb565b61032061031b3660046119b3565b610b25565b6040516101cb9190611e9b565b61034061033b366004611ad0565b610c4e565b6040516101cb9190611fc6565b61036061035b366004611ad0565b610cf4565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101cb565b6103d26103cd366004611ad0565b610d9a565b6040516001600160a01b0390911681526020016101cb565b6103fd6103f8366004611d29565b610e48565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61046a6104653660046119b3565b610edc565b6040805192835260ff9091166020830152016101cb565b61049461048f366004611ad0565b611184565b6040516101cb9190611fd5565b6104b46104af3660046119b3565b6112a2565b6040516101cb9190612116565b6002546001600160a01b03166103d2565b6101c16104e0366004611ad0565b611415565b600154600160601b90046001600160a01b03166103d2565b61051061050b3660046121db565b611442565b005b610340610520366004611ad0565b611734565b6101c1610533366004611ad0565b611759565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610593573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b79190612209565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068b9190612209565b6040518263ffffffff1660e01b81526004016106a991815260200190565b600060405180830381865afa1580156106c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106ee9190810190612267565b805190915015610713578080602001905181019061070c91906122dd565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af415801561078f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612209565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6107ec85610af8565b6040518263ffffffff1660e01b815260040161080a91815260200190565b600060405180830381865afa158015610827573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261084f9190810190612267565b805190915015610713578080602001905181019061070c91906123d6565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610742565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108d6908690869060040161247c565b602060405180830381865af41580156108f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b7919061249e565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610772565b61095a611786565b6002546000906001600160a01b03166354f6127f61097785611759565b6040518263ffffffff1660e01b815260040161099591815260200190565b600060405180830381865afa1580156109b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109da9190810190612267565b805190915015610713578080602001905181019061070c91906124eb565b610a00611804565b6002546000906001600160a01b03166354f6127f610a1d85611415565b6040518263ffffffff1660e01b8152600401610a3b91815260200190565b600060405180830381865afa158015610a58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a809190810190612267565b805190915015610713578080602001905181019061070c91906125d6565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610742565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610742565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610742565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610ba9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bcd9190612209565b6040518263ffffffff1660e01b8152600401610beb91815260200190565b600060405180830381865afa158015610c08573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c309190810190612267565b805190915015610713578080602001905181019061070c9190612678565b610c56611875565b6002546000906001600160a01b03166354f6127f610c7385610acb565b6040518263ffffffff1660e01b8152600401610c9191815260200190565b600060405180830381865afa158015610cae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cd69190810190612267565b805190915015610713578080602001905181019061070c91906127c9565b610cfc61191c565b6002546000906001600160a01b03166354f6127f610d198561086d565b6040518263ffffffff1660e01b8152600401610d3791815260200190565b600060405180830381865afa158015610d54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d7c9190810190612267565b805190915015610713578080602001905181019061070c91906127e6565b60025460009081906001600160a01b03166354f6127f610db985610719565b6040518263ffffffff1660e01b8152600401610dd791815260200190565b600060405180830381865afa158015610df4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e1c9190810190612267565b80519091501561071357600081806020019051810190610e3c91906127c9565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610eb8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612877565b6000806000610eea846105c0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6d91906128e5565b15610fec5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fdf9190612209565b60645b9250925050915091565b6110708160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561103d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110619190612900565b64ffffffffff90811691161090565b156110e95773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e29190612209565b606e610fe2565b806060015163ffffffff16816080015163ffffffff16106111785773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561114d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111719190612209565b6078610fe2565b6040810151600a610fe2565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61122185610a9e565b6040518263ffffffff1660e01b815260040161123f91815260200190565b600060405180830381865afa15801561125c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112849190810190612267565b805190915015610713578080602001905181019061070c919061292d565b61130160405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611370573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113949190612209565b6040518263ffffffff1660e01b81526004016113b291815260200190565b600060405180830381865afa1580156113cf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113f79190810190612267565b805190915015610713578080602001905181019061070c9190612a92565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610742565b60005460ff16156114a45760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166114fa5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161149b565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611552573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157691906128e5565b6115c25760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161149b565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561164d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116759190810190612b89565b90506116928160400151611687604690565b60ff90811691161490565b6116e85760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161149b565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61173c611875565b6002546000906001600160a01b03166354f6127f610c7385610719565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610742565b60405180610120016040528060006001600160601b031681526020016117bf604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611861604051806040016040528060008152602001600081525090565b6000806040838503121561197757600080fd5b8235915060208301358060000b811461198f57600080fd5b809150509250929050565b6001600160c01b0319811681146119b057600080fd5b50565b6000602082840312156119c557600080fd5b813561070c8161199a565b60005b838110156119eb5781810151838201526020016119d3565b50506000910152565b60008151808452611a0c8160208601602086016119d0565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a506101008401826119f4565b90506040840151606084015263ffffffff60608501511660808401526080840151611a8360a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611ab282826119f4565b95945050505050565b6001600160601b03811681146119b057600080fd5b600060208284031215611ae257600080fd5b813561070c81611abb565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611b2a60808401826119f4565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b6a57611b6a611b32565b60405290565b604080519081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161012081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161010081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161014081016001600160401b0381118282101715611b6a57611b6a611b32565b60405160a081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161020081016001600160401b0381118282101715611b6a57611b6a611b32565b604051601f8201601f191681016001600160401b0381118282101715611c6857611c68611b32565b604052919050565b60006001600160401b03821115611c8957611c89611b32565b50601f01601f191660200190565b60008060408385031215611caa57600080fd5b8235611cb581611abb565b915060208301356001600160401b03811115611cd057600080fd5b8301601f81018513611ce157600080fd5b8035611cf4611cef82611c70565b611c40565b818152866020838501011115611d0957600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d3b57600080fd5b5035919050565b60208152611d5c6020820183516001600160601b03169052565b60006020830151611d7a604084018280518252602090810151910152565b506040830151610140806080850152611d976101608501836119f4565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611ddf61012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611e429084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611b2a60608401826119f4565b80516001600160a01b031682526020810151611ef060208401826001600160a01b03169052565b506040810151611f0b60408401826001600160601b03169052565b506060810151611f2660608401826001600160601b03169052565b506080810151611f43608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611f798185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105ba8284611ec9565b60208152611fef6020820183516001600160601b03169052565b6000602083015161200b60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526120836102208601846119f4565b9250808601519050610140601f1986850301818701526120a384836119f4565b9350808701519150506101606120be8187018361ffff169052565b86015190506101806120d58682018361ffff169052565b8601516101a08681019190915286015190506101c06120fc8187018364ffffffffff169052565b86015190506101e0611ddf8682018364ffffffffff169052565b60208152600082516101208060208501526121356101408501836119f4565b9150602085015160408501526040850151606085015260608501516080850152608085015161216c60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006121a28187018315159052565b860151858403601f19018387015290506121bc83826119f4565b9695505050505050565b6001600160a01b03811681146119b057600080fd5b600080604083850312156121ee57600080fd5b82356121f9816121c6565b9150602083013561198f81611abb565b60006020828403121561221b57600080fd5b5051919050565b600082601f83011261223357600080fd5b8151612241611cef82611c70565b81815284602083860101111561225657600080fd5b611b2a8260208301602087016119d0565b60006020828403121561227957600080fd5b81516001600160401b0381111561228f57600080fd5b611b2a84828501612222565b80516122a681611abb565b919050565b63ffffffff811681146119b057600080fd5b80516122a6816122ab565b805164ffffffffff811681146122a657600080fd5b6000602082840312156122ef57600080fd5b81516001600160401b038082111561230657600080fd5b9083019060e0828603121561231a57600080fd5b612322611b48565b61232b8361229b565b815260208301518281111561233f57600080fd5b61234b87828601612222565b60208301525060408301516040820152612367606084016122bd565b6060820152612378608084016122bd565b608082015261238960a084016122c8565b60a082015260c0830151828111156123a057600080fd5b6123ac87828601612222565b60c08301525095945050505050565b80516122a68161199a565b805180151581146122a657600080fd5b6000602082840312156123e857600080fd5b81516001600160401b03808211156123ff57600080fd5b908301906060828603121561241357600080fd5b60405160608101818110838211171561242e5761242e611b32565b604052825161243c8161199a565b815261244a602084016123c6565b602082015260408301518281111561246157600080fd5b61246d87828601612222565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611b2a60408301846119f4565b6000602082840312156124b057600080fd5b815161070c8161199a565b6000604082840312156124cd57600080fd5b6124d5611b70565b9050815181526020820151602082015292915050565b6000602082840312156124fd57600080fd5b81516001600160401b038082111561251457600080fd5b90830190610140828603121561252957600080fd5b612531611b92565b61253a8361229b565b815261254986602085016124bb565b602082015260608301518281111561256057600080fd5b61256c87828601612222565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506125aa8284016122c8565b60e08201526125bc61012084016122c8565b91810191909152949350505050565b80516122a6816121c6565b600061016082840312156125e957600080fd5b6125f1611bb5565b6125fa8361229b565b8152612608602084016125cb565b60208201526040830151604082015261262484606085016124bb565b60608201526126368460a085016124bb565b60808201526126488460e085016124bb565b60a082015261265a61012084016123c6565b60c082015261266c61014084016125cb565b60e08201529392505050565b60006020828403121561268a57600080fd5b81516001600160401b03808211156126a157600080fd5b90830190604082860312156126b557600080fd5b6126bd611b70565b82516126c881611abb565b81526020830151828111156126dc57600080fd5b6126e887828601612222565b60208301525095945050505050565b6000610200828403121561270a57600080fd5b612712611bd8565b905061271d826125cb565b815261272b602083016125cb565b602082015261273c6040830161229b565b604082015261274d6060830161229b565b606082015261275f83608084016124bb565b60808201526127718360c084016124bb565b60a0820152610100612785848285016124bb565b60c08301526127988461014085016124bb565b60e08301526127ab8461018085016124bb565b908201526127bd836101c084016124bb565b61012082015292915050565b600061020082840312156127dc57600080fd5b6105b783836126f7565b600060c082840312156127f857600080fd5b612800611bfb565b825161280b81611abb565b8152602083015161281b816121c6565b602082015261282d84604085016124bb565b604082015261283e608084016123c6565b606082015260a0830151612851816121c6565b60808201529392505050565b60ff811681146119b057600080fd5b80516122a68161285d565b600060a0828403121561288957600080fd5b612891611bfb565b825161289c8161285d565b815260208301516128ac8161285d565b602082015260408301516128bf816121c6565b604082015260608301516128d2816122ab565b60608201526080830151612851816122ab565b6000602082840312156128f757600080fd5b6105b7826123c6565b60006020828403121561291257600080fd5b6105b7826122c8565b805161ffff811681146122a657600080fd5b60006020828403121561293f57600080fd5b81516001600160401b038082111561295657600080fd5b90830190610200828603121561296b57600080fd5b612973611c1d565b61297c8361229b565b815261298a6020840161229b565b602082015261299b604084016123bb565b60408201526129ac606084016123bb565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156129ed57600080fd5b6129f988828701612222565b8284015250506101208084015183811115612a1357600080fd5b612a1f88828701612222565b8284015250506101409150612a3582840161291b565b828201526101609150612a4982840161291b565b82820152610180915081830151828201526101a09150612a6a8284016122c8565b828201526101c09150612a7e8284016122c8565b828201526101e091506125bc8284016122c8565b600060208284031215612aa457600080fd5b81516001600160401b0380821115612abb57600080fd5b908301906101208286031215612ad057600080fd5b612ad8611b92565b825182811115612ae757600080fd5b612af387828601612222565b825250602083015160208201526040830151604082015260608301516060820152612b20608084016122bd565b6080820152612b3160a084016122bd565b60a0820152612b4260c084016123c6565b60c0820152612b5360e084016123c6565b60e08201526101008084015183811115612b6c57600080fd5b612b7888828701612222565b918301919091525095945050505050565b600060208284031215612b9b57600080fd5b81516001600160401b0380821115612bb257600080fd5b9083019060e08286031215612bc657600080fd5b612bce611b48565b612bd78361229b565b8152612be56020840161229b565b6020820152612bf66040840161286c565b6040820152612c07606084016123c6565b6060820152612c18608084016125cb565b608082015261238960a084016125cb56fea264697066735822122023eb925b574efc1062371b8a4c567556b6c71f049264413c1e3bc32a9f47595f64736f6c63430008140033",
|
1179
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063887b1fa9116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d14146104e5578063f2a41374146104fd578063f2b246c314610512578063f7f318d31461052557600080fd5b8063d06458c6146104a1578063d4cda0d8146104c1578063dd26287a146104d257600080fd5b8063a310e2a3116100d3578063a310e2a3146103bf578063a5961b4c146103ea578063b82d7ef514610457578063bd7d9d851461048157600080fd5b8063887b1fa91461030d57806390af70641461032d5780639ad69c671461034d57600080fd5b806344aa68361161016657806364eb3a9b1161014057806364eb3a9b146102b95780637bfd3217146102cc5780637e54602a146102df5780637e798669146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806355e343a91461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc366004611964565b610538565b6040519081526020015b60405180910390f35b6101e76101e23660046119b3565b6105c0565b6040516101cb9190611a20565b6101c1610202366004611ad0565b610719565b61021a610215366004611ad0565b6107b3565b6040516101cb9190611aed565b6101c1610235366004611ad0565b61086d565b61024d610248366004611c97565b61089a565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d29565b610917565b61028c610287366004611ad0565b610952565b6040516101cb9190611d42565b6102ac6102a7366004611ad0565b6109f8565b6040516101cb9190611df6565b6101c16102c7366004611ad0565b610a9e565b6101c16102da366004611ad0565b610acb565b6101c16102ed366004611ad0565b610af8565b6001546040516001600160601b0390911681526020016101cb565b61032061031b3660046119b3565b610b25565b6040516101cb9190611e9b565b61034061033b366004611ad0565b610c4e565b6040516101cb9190611fc6565b61036061035b366004611ad0565b610cf4565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101cb565b6103d26103cd366004611ad0565b610d9a565b6040516001600160a01b0390911681526020016101cb565b6103fd6103f8366004611d29565b610e48565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61046a6104653660046119b3565b610edc565b6040805192835260ff9091166020830152016101cb565b61049461048f366004611ad0565b611184565b6040516101cb9190611fd5565b6104b46104af3660046119b3565b6112a2565b6040516101cb9190612116565b6002546001600160a01b03166103d2565b6101c16104e0366004611ad0565b611415565b600154600160601b90046001600160a01b03166103d2565b61051061050b3660046121db565b611442565b005b610340610520366004611ad0565b611734565b6101c1610533366004611ad0565b611759565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610593573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b79190612209565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068b9190612209565b6040518263ffffffff1660e01b81526004016106a991815260200190565b600060405180830381865afa1580156106c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106ee9190810190612267565b805190915015610713578080602001905181019061070c91906122dd565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af415801561078f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612209565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6107ec85610af8565b6040518263ffffffff1660e01b815260040161080a91815260200190565b600060405180830381865afa158015610827573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261084f9190810190612267565b805190915015610713578080602001905181019061070c91906123d6565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610742565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108d6908690869060040161247c565b602060405180830381865af41580156108f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b7919061249e565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610772565b61095a611786565b6002546000906001600160a01b03166354f6127f61097785611759565b6040518263ffffffff1660e01b815260040161099591815260200190565b600060405180830381865afa1580156109b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109da9190810190612267565b805190915015610713578080602001905181019061070c91906124eb565b610a00611804565b6002546000906001600160a01b03166354f6127f610a1d85611415565b6040518263ffffffff1660e01b8152600401610a3b91815260200190565b600060405180830381865afa158015610a58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a809190810190612267565b805190915015610713578080602001905181019061070c91906125d6565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610742565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610742565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610742565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610ba9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bcd9190612209565b6040518263ffffffff1660e01b8152600401610beb91815260200190565b600060405180830381865afa158015610c08573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c309190810190612267565b805190915015610713578080602001905181019061070c9190612678565b610c56611875565b6002546000906001600160a01b03166354f6127f610c7385610acb565b6040518263ffffffff1660e01b8152600401610c9191815260200190565b600060405180830381865afa158015610cae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cd69190810190612267565b805190915015610713578080602001905181019061070c91906127c9565b610cfc61191c565b6002546000906001600160a01b03166354f6127f610d198561086d565b6040518263ffffffff1660e01b8152600401610d3791815260200190565b600060405180830381865afa158015610d54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d7c9190810190612267565b805190915015610713578080602001905181019061070c91906127e6565b60025460009081906001600160a01b03166354f6127f610db985610719565b6040518263ffffffff1660e01b8152600401610dd791815260200190565b600060405180830381865afa158015610df4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e1c9190810190612267565b80519091501561071357600081806020019051810190610e3c91906127c9565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610eb8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612877565b6000806000610eea846105c0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6d91906128e5565b15610fec5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fdf9190612209565b60645b9250925050915091565b6110708160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561103d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110619190612900565b64ffffffffff90811691161090565b156110e95773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e29190612209565b606e610fe2565b806060015163ffffffff16816080015163ffffffff16106111785773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561114d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111719190612209565b6078610fe2565b6040810151600a610fe2565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61122185610a9e565b6040518263ffffffff1660e01b815260040161123f91815260200190565b600060405180830381865afa15801561125c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112849190810190612267565b805190915015610713578080602001905181019061070c919061292d565b61130160405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611370573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113949190612209565b6040518263ffffffff1660e01b81526004016113b291815260200190565b600060405180830381865afa1580156113cf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113f79190810190612267565b805190915015610713578080602001905181019061070c9190612a92565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610742565b60005460ff16156114a45760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166114fa5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161149b565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611552573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157691906128e5565b6115c25760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161149b565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561164d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116759190810190612b89565b90506116928160400151611687604690565b60ff90811691161490565b6116e85760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161149b565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61173c611875565b6002546000906001600160a01b03166354f6127f610c7385610719565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610742565b60405180610120016040528060006001600160601b031681526020016117bf604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611861604051806040016040528060008152602001600081525090565b6000806040838503121561197757600080fd5b8235915060208301358060000b811461198f57600080fd5b809150509250929050565b6001600160c01b0319811681146119b057600080fd5b50565b6000602082840312156119c557600080fd5b813561070c8161199a565b60005b838110156119eb5781810151838201526020016119d3565b50506000910152565b60008151808452611a0c8160208601602086016119d0565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a506101008401826119f4565b90506040840151606084015263ffffffff60608501511660808401526080840151611a8360a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611ab282826119f4565b95945050505050565b6001600160601b03811681146119b057600080fd5b600060208284031215611ae257600080fd5b813561070c81611abb565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611b2a60808401826119f4565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b6a57611b6a611b32565b60405290565b604080519081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161012081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161010081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161014081016001600160401b0381118282101715611b6a57611b6a611b32565b60405160a081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161020081016001600160401b0381118282101715611b6a57611b6a611b32565b604051601f8201601f191681016001600160401b0381118282101715611c6857611c68611b32565b604052919050565b60006001600160401b03821115611c8957611c89611b32565b50601f01601f191660200190565b60008060408385031215611caa57600080fd5b8235611cb581611abb565b915060208301356001600160401b03811115611cd057600080fd5b8301601f81018513611ce157600080fd5b8035611cf4611cef82611c70565b611c40565b818152866020838501011115611d0957600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d3b57600080fd5b5035919050565b60208152611d5c6020820183516001600160601b03169052565b60006020830151611d7a604084018280518252602090810151910152565b506040830151610140806080850152611d976101608501836119f4565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611ddf61012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611e429084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611b2a60608401826119f4565b80516001600160a01b031682526020810151611ef060208401826001600160a01b03169052565b506040810151611f0b60408401826001600160601b03169052565b506060810151611f2660608401826001600160601b03169052565b506080810151611f43608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611f798185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105ba8284611ec9565b60208152611fef6020820183516001600160601b03169052565b6000602083015161200b60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526120836102208601846119f4565b9250808601519050610140601f1986850301818701526120a384836119f4565b9350808701519150506101606120be8187018361ffff169052565b86015190506101806120d58682018361ffff169052565b8601516101a08681019190915286015190506101c06120fc8187018364ffffffffff169052565b86015190506101e0611ddf8682018364ffffffffff169052565b60208152600082516101208060208501526121356101408501836119f4565b9150602085015160408501526040850151606085015260608501516080850152608085015161216c60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006121a28187018315159052565b860151858403601f19018387015290506121bc83826119f4565b9695505050505050565b6001600160a01b03811681146119b057600080fd5b600080604083850312156121ee57600080fd5b82356121f9816121c6565b9150602083013561198f81611abb565b60006020828403121561221b57600080fd5b5051919050565b600082601f83011261223357600080fd5b8151612241611cef82611c70565b81815284602083860101111561225657600080fd5b611b2a8260208301602087016119d0565b60006020828403121561227957600080fd5b81516001600160401b0381111561228f57600080fd5b611b2a84828501612222565b80516122a681611abb565b919050565b63ffffffff811681146119b057600080fd5b80516122a6816122ab565b805164ffffffffff811681146122a657600080fd5b6000602082840312156122ef57600080fd5b81516001600160401b038082111561230657600080fd5b9083019060e0828603121561231a57600080fd5b612322611b48565b61232b8361229b565b815260208301518281111561233f57600080fd5b61234b87828601612222565b60208301525060408301516040820152612367606084016122bd565b6060820152612378608084016122bd565b608082015261238960a084016122c8565b60a082015260c0830151828111156123a057600080fd5b6123ac87828601612222565b60c08301525095945050505050565b80516122a68161199a565b805180151581146122a657600080fd5b6000602082840312156123e857600080fd5b81516001600160401b03808211156123ff57600080fd5b908301906060828603121561241357600080fd5b60405160608101818110838211171561242e5761242e611b32565b604052825161243c8161199a565b815261244a602084016123c6565b602082015260408301518281111561246157600080fd5b61246d87828601612222565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611b2a60408301846119f4565b6000602082840312156124b057600080fd5b815161070c8161199a565b6000604082840312156124cd57600080fd5b6124d5611b70565b9050815181526020820151602082015292915050565b6000602082840312156124fd57600080fd5b81516001600160401b038082111561251457600080fd5b90830190610140828603121561252957600080fd5b612531611b92565b61253a8361229b565b815261254986602085016124bb565b602082015260608301518281111561256057600080fd5b61256c87828601612222565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506125aa8284016122c8565b60e08201526125bc61012084016122c8565b91810191909152949350505050565b80516122a6816121c6565b600061016082840312156125e957600080fd5b6125f1611bb5565b6125fa8361229b565b8152612608602084016125cb565b60208201526040830151604082015261262484606085016124bb565b60608201526126368460a085016124bb565b60808201526126488460e085016124bb565b60a082015261265a61012084016123c6565b60c082015261266c61014084016125cb565b60e08201529392505050565b60006020828403121561268a57600080fd5b81516001600160401b03808211156126a157600080fd5b90830190604082860312156126b557600080fd5b6126bd611b70565b82516126c881611abb565b81526020830151828111156126dc57600080fd5b6126e887828601612222565b60208301525095945050505050565b6000610200828403121561270a57600080fd5b612712611bd8565b905061271d826125cb565b815261272b602083016125cb565b602082015261273c6040830161229b565b604082015261274d6060830161229b565b606082015261275f83608084016124bb565b60808201526127718360c084016124bb565b60a0820152610100612785848285016124bb565b60c08301526127988461014085016124bb565b60e08301526127ab8461018085016124bb565b908201526127bd836101c084016124bb565b61012082015292915050565b600061020082840312156127dc57600080fd5b6105b783836126f7565b600060c082840312156127f857600080fd5b612800611bfb565b825161280b81611abb565b8152602083015161281b816121c6565b602082015261282d84604085016124bb565b604082015261283e608084016123c6565b606082015260a0830151612851816121c6565b60808201529392505050565b60ff811681146119b057600080fd5b80516122a68161285d565b600060a0828403121561288957600080fd5b612891611bfb565b825161289c8161285d565b815260208301516128ac8161285d565b602082015260408301516128bf816121c6565b604082015260608301516128d2816122ab565b60608201526080830151612851816122ab565b6000602082840312156128f757600080fd5b6105b7826123c6565b60006020828403121561291257600080fd5b6105b7826122c8565b805161ffff811681146122a657600080fd5b60006020828403121561293f57600080fd5b81516001600160401b038082111561295657600080fd5b90830190610200828603121561296b57600080fd5b612973611c1d565b61297c8361229b565b815261298a6020840161229b565b602082015261299b604084016123bb565b60408201526129ac606084016123bb565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156129ed57600080fd5b6129f988828701612222565b8284015250506101208084015183811115612a1357600080fd5b612a1f88828701612222565b8284015250506101409150612a3582840161291b565b828201526101609150612a4982840161291b565b82820152610180915081830151828201526101a09150612a6a8284016122c8565b828201526101c09150612a7e8284016122c8565b828201526101e091506125bc8284016122c8565b600060208284031215612aa457600080fd5b81516001600160401b0380821115612abb57600080fd5b908301906101208286031215612ad057600080fd5b612ad8611b92565b825182811115612ae757600080fd5b612af387828601612222565b825250602083015160208201526040830151604082015260608301516060820152612b20608084016122bd565b6080820152612b3160a084016122bd565b60a0820152612b4260c084016123c6565b60c0820152612b5360e084016123c6565b60e08201526101008084015183811115612b6c57600080fd5b612b7888828701612222565b918301919091525095945050505050565b600060208284031215612b9b57600080fd5b81516001600160401b0380821115612bb257600080fd5b9083019060e08286031215612bc657600080fd5b612bce611b48565b612bd78361229b565b8152612be56020840161229b565b6020820152612bf66040840161286c565b6040820152612c07606084016123c6565b6060820152612c18608084016125cb565b608082015261238960a084016125cb56fea264697066735822122023eb925b574efc1062371b8a4c567556b6c71f049264413c1e3bc32a9f47595f64736f6c63430008140033",
|
1180
|
+
"linkReferences": {
|
1181
|
+
"contracts/types/DistributorType.sol": {
|
1182
|
+
"DistributorTypeLib": [
|
1183
|
+
{
|
1184
|
+
"length": 20,
|
1185
|
+
"start": 6459
|
1186
|
+
}
|
1187
|
+
]
|
1188
|
+
},
|
1189
|
+
"contracts/types/NftId.sol": {
|
1190
|
+
"NftIdLib": [
|
1191
|
+
{
|
1192
|
+
"length": 20,
|
1193
|
+
"start": 289
|
1194
|
+
},
|
1195
|
+
{
|
1196
|
+
"length": 20,
|
1197
|
+
"start": 3362
|
1198
|
+
},
|
1199
|
+
{
|
1200
|
+
"length": 20,
|
1201
|
+
"start": 3702
|
1202
|
+
},
|
1203
|
+
{
|
1204
|
+
"length": 20,
|
1205
|
+
"start": 4263
|
1206
|
+
},
|
1207
|
+
{
|
1208
|
+
"length": 20,
|
1209
|
+
"start": 4308
|
1210
|
+
},
|
1211
|
+
{
|
1212
|
+
"length": 20,
|
1213
|
+
"start": 4353
|
1214
|
+
},
|
1215
|
+
{
|
1216
|
+
"length": 20,
|
1217
|
+
"start": 6686
|
1218
|
+
},
|
1219
|
+
{
|
1220
|
+
"length": 20,
|
1221
|
+
"start": 6941
|
1222
|
+
},
|
1223
|
+
{
|
1224
|
+
"length": 20,
|
1225
|
+
"start": 7522
|
1226
|
+
}
|
1227
|
+
]
|
1228
|
+
},
|
1229
|
+
"contracts/types/Referral.sol": {
|
1230
|
+
"ReferralLib": [
|
1231
|
+
{
|
1232
|
+
"length": 20,
|
1233
|
+
"start": 3122
|
1234
|
+
},
|
1235
|
+
{
|
1236
|
+
"length": 20,
|
1237
|
+
"start": 3761
|
1238
|
+
}
|
1239
|
+
]
|
1240
|
+
},
|
1241
|
+
"contracts/types/RiskId.sol": {
|
1242
|
+
"RiskIdLib": [
|
1243
|
+
{
|
1244
|
+
"length": 20,
|
1245
|
+
"start": 4468
|
1246
|
+
}
|
1247
|
+
]
|
1248
|
+
},
|
1249
|
+
"contracts/types/Timestamp.sol": {
|
1250
|
+
"TimestampLib": [
|
1251
|
+
{
|
1252
|
+
"length": 20,
|
1253
|
+
"start": 5396
|
1254
|
+
},
|
1255
|
+
{
|
1256
|
+
"length": 20,
|
1257
|
+
"start": 5627
|
1258
|
+
}
|
1259
|
+
]
|
1260
|
+
},
|
1261
|
+
"contracts/types/UFixed.sol": {
|
1262
|
+
"UFixedLib": [
|
1263
|
+
{
|
1264
|
+
"length": 20,
|
1265
|
+
"start": 2910
|
1266
|
+
},
|
1267
|
+
{
|
1268
|
+
"length": 20,
|
1269
|
+
"start": 3893
|
1270
|
+
},
|
1271
|
+
{
|
1272
|
+
"length": 20,
|
1273
|
+
"start": 5497
|
1274
|
+
},
|
1275
|
+
{
|
1276
|
+
"length": 20,
|
1277
|
+
"start": 5756
|
1278
|
+
},
|
1279
|
+
{
|
1280
|
+
"length": 20,
|
1281
|
+
"start": 5899
|
1282
|
+
}
|
1283
|
+
]
|
1284
|
+
}
|
1285
|
+
},
|
1286
|
+
"deployedLinkReferences": {
|
1287
|
+
"contracts/types/DistributorType.sol": {
|
1288
|
+
"DistributorTypeLib": [
|
1289
|
+
{
|
1290
|
+
"length": 20,
|
1291
|
+
"start": 4918
|
1292
|
+
}
|
1293
|
+
]
|
1294
|
+
},
|
1295
|
+
"contracts/types/NftId.sol": {
|
1296
|
+
"NftIdLib": [
|
1297
|
+
{
|
1298
|
+
"length": 20,
|
1299
|
+
"start": 1821
|
1300
|
+
},
|
1301
|
+
{
|
1302
|
+
"length": 20,
|
1303
|
+
"start": 2161
|
1304
|
+
},
|
1305
|
+
{
|
1306
|
+
"length": 20,
|
1307
|
+
"start": 2722
|
1308
|
+
},
|
1309
|
+
{
|
1310
|
+
"length": 20,
|
1311
|
+
"start": 2767
|
1312
|
+
},
|
1313
|
+
{
|
1314
|
+
"length": 20,
|
1315
|
+
"start": 2812
|
1316
|
+
},
|
1317
|
+
{
|
1318
|
+
"length": 20,
|
1319
|
+
"start": 5145
|
1320
|
+
},
|
1321
|
+
{
|
1322
|
+
"length": 20,
|
1323
|
+
"start": 5400
|
1324
|
+
},
|
1325
|
+
{
|
1326
|
+
"length": 20,
|
1327
|
+
"start": 5981
|
1328
|
+
}
|
1329
|
+
]
|
1330
|
+
},
|
1331
|
+
"contracts/types/Referral.sol": {
|
1332
|
+
"ReferralLib": [
|
1333
|
+
{
|
1334
|
+
"length": 20,
|
1335
|
+
"start": 1581
|
1336
|
+
},
|
1337
|
+
{
|
1338
|
+
"length": 20,
|
1339
|
+
"start": 2220
|
1340
|
+
}
|
1341
|
+
]
|
1342
|
+
},
|
1343
|
+
"contracts/types/RiskId.sol": {
|
1344
|
+
"RiskIdLib": [
|
1345
|
+
{
|
1346
|
+
"length": 20,
|
1347
|
+
"start": 2927
|
1348
|
+
}
|
1349
|
+
]
|
1350
|
+
},
|
1351
|
+
"contracts/types/Timestamp.sol": {
|
1352
|
+
"TimestampLib": [
|
1353
|
+
{
|
1354
|
+
"length": 20,
|
1355
|
+
"start": 3855
|
1356
|
+
},
|
1357
|
+
{
|
1358
|
+
"length": 20,
|
1359
|
+
"start": 4086
|
1360
|
+
}
|
1361
|
+
]
|
1362
|
+
},
|
1363
|
+
"contracts/types/UFixed.sol": {
|
1364
|
+
"UFixedLib": [
|
1365
|
+
{
|
1366
|
+
"length": 20,
|
1367
|
+
"start": 1369
|
1368
|
+
},
|
1369
|
+
{
|
1370
|
+
"length": 20,
|
1371
|
+
"start": 2352
|
1372
|
+
},
|
1373
|
+
{
|
1374
|
+
"length": 20,
|
1375
|
+
"start": 3956
|
1376
|
+
},
|
1377
|
+
{
|
1378
|
+
"length": 20,
|
1379
|
+
"start": 4215
|
1380
|
+
},
|
1381
|
+
{
|
1382
|
+
"length": 20,
|
1383
|
+
"start": 4358
|
1384
|
+
}
|
1385
|
+
]
|
1386
|
+
}
|
1387
|
+
}
|
1388
|
+
}
|