@etherisc/gif-next 0.0.2-d3ee0cc-268 → 0.0.2-d408403-475
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +38 -11
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +405 -0
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +340 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +131 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +109 -18
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +194 -3
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +160 -21
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- 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/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +592 -451
- package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +735 -506
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +50 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +49 -0
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +50 -0
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +41 -23
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +4 -4
- package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +55 -54
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +56 -55
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +22 -93
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +22 -93
- package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +10 -0
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{compensation/ICompensation.sol/ICompensation.json → distribution/IDistribution.sol/IDistribution.json} +2 -2
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{compensation/ICompensation.sol/ICompensationModule.json → distribution/IDistribution.sol/IDistributionModule.json} +2 -2
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +61 -38
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +61 -38
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +1 -1
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -5
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -5
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +104 -1
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +126 -5
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +209 -231
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +2 -2
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +209 -231
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +55 -15
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +420 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +325 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +64 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +160 -7
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +84 -12
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +216 -31
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +2 -2
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +4 -0
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +405 -0
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
- package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +194 -3
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +209 -27
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +2 -2
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +38 -4
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +2 -2
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +50 -11
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +99 -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 +30 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/contracts/components/BaseComponent.sol +7 -1
- package/contracts/components/Distribution.sol +132 -0
- package/contracts/components/IDistributionComponent.sol +48 -0
- package/contracts/components/IPoolComponent.sol +14 -0
- package/contracts/components/IProductComponent.sol +24 -5
- package/contracts/components/Pool.sol +64 -3
- package/contracts/components/Product.sol +123 -13
- package/contracts/instance/IInstance.sol +7 -6
- package/contracts/instance/Instance.sol +12 -6
- package/contracts/instance/base/IInstanceBase.sol +8 -0
- package/contracts/instance/base/IKeyValueStore.sol +4 -3
- package/contracts/instance/base/InstanceBase.sol +13 -2
- package/contracts/instance/base/KeyValueStore.sol +12 -7
- package/contracts/instance/base/Lifecycle.sol +15 -10
- package/contracts/instance/base/ModuleBase.sol +22 -17
- package/contracts/instance/module/access/Access.sol +6 -6
- package/contracts/instance/module/bundle/BundleModule.sol +10 -12
- package/contracts/instance/module/bundle/IBundle.sol +6 -11
- package/contracts/instance/module/component/ComponentModule.sol +29 -54
- package/contracts/instance/module/component/IComponent.sol +5 -30
- package/contracts/instance/module/distribution/DistributionModule.sol +17 -0
- package/contracts/instance/module/distribution/IDistribution.sol +10 -0
- package/contracts/instance/module/policy/IPolicy.sol +12 -9
- package/contracts/instance/module/policy/PolicyModule.sol +35 -20
- package/contracts/instance/module/pool/IPoolModule.sol +0 -1
- package/contracts/instance/module/pool/PoolModule.sol +12 -9
- package/contracts/instance/module/risk/IRisk.sol +18 -2
- package/contracts/instance/module/risk/RiskModule.sol +56 -2
- package/contracts/instance/module/treasury/ITreasury.sol +29 -50
- package/contracts/instance/module/treasury/TreasuryModule.sol +71 -85
- package/contracts/instance/service/ComponentOwnerService.sol +29 -42
- package/contracts/instance/service/DistributionService.sol +59 -0
- package/contracts/instance/service/IDistributionService.sol +12 -0
- package/contracts/instance/service/IPoolService.sol +7 -0
- package/contracts/instance/service/IProductService.sol +56 -7
- package/contracts/instance/service/PoolService.sol +30 -4
- package/contracts/instance/service/ProductService.sol +230 -75
- package/contracts/registry/Registry.sol +3 -2
- package/contracts/test/TestDistribution.sol +21 -0
- package/contracts/test/TestPool.sol +5 -2
- package/contracts/test/TestProduct.sol +35 -7
- package/contracts/test/TestRoleId.sol +2 -2
- package/contracts/types/Fee.sol +8 -3
- package/contracts/types/ObjectType.sol +24 -8
- package/contracts/types/ReferralId.sol +48 -0
- package/contracts/types/RiskId.sol +43 -0
- package/contracts/types/RoleId.sol +12 -10
- package/package.json +1 -1
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
- package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
- package/contracts/instance/module/compensation/ICompensation.sol +0 -10
@@ -0,0 +1,420 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "DistributionService",
|
4
|
+
"sourceName": "contracts/instance/service/DistributionService.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "registry",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "NftId",
|
15
|
+
"name": "registryNftId",
|
16
|
+
"type": "uint96"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"stateMutability": "nonpayable",
|
20
|
+
"type": "constructor"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"anonymous": false,
|
24
|
+
"inputs": [
|
25
|
+
{
|
26
|
+
"indexed": false,
|
27
|
+
"internalType": "Version",
|
28
|
+
"name": "version",
|
29
|
+
"type": "uint24"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"indexed": false,
|
33
|
+
"internalType": "address",
|
34
|
+
"name": "implementation",
|
35
|
+
"type": "address"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"indexed": false,
|
39
|
+
"internalType": "address",
|
40
|
+
"name": "activatedBy",
|
41
|
+
"type": "address"
|
42
|
+
}
|
43
|
+
],
|
44
|
+
"name": "LogVersionableActivated",
|
45
|
+
"type": "event"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"inputs": [],
|
49
|
+
"name": "NAME",
|
50
|
+
"outputs": [
|
51
|
+
{
|
52
|
+
"internalType": "string",
|
53
|
+
"name": "",
|
54
|
+
"type": "string"
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"stateMutability": "view",
|
58
|
+
"type": "function"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"inputs": [
|
62
|
+
{
|
63
|
+
"internalType": "address",
|
64
|
+
"name": "implementation",
|
65
|
+
"type": "address"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"internalType": "address",
|
69
|
+
"name": "activatedBy",
|
70
|
+
"type": "address"
|
71
|
+
}
|
72
|
+
],
|
73
|
+
"name": "activate",
|
74
|
+
"outputs": [],
|
75
|
+
"stateMutability": "nonpayable",
|
76
|
+
"type": "function"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"inputs": [],
|
80
|
+
"name": "getData",
|
81
|
+
"outputs": [
|
82
|
+
{
|
83
|
+
"internalType": "bytes",
|
84
|
+
"name": "data",
|
85
|
+
"type": "bytes"
|
86
|
+
}
|
87
|
+
],
|
88
|
+
"stateMutability": "view",
|
89
|
+
"type": "function"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"inputs": [],
|
93
|
+
"name": "getMajorVersion",
|
94
|
+
"outputs": [
|
95
|
+
{
|
96
|
+
"internalType": "VersionPart",
|
97
|
+
"name": "majorVersion",
|
98
|
+
"type": "uint8"
|
99
|
+
}
|
100
|
+
],
|
101
|
+
"stateMutability": "view",
|
102
|
+
"type": "function"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"inputs": [],
|
106
|
+
"name": "getName",
|
107
|
+
"outputs": [
|
108
|
+
{
|
109
|
+
"internalType": "string",
|
110
|
+
"name": "name",
|
111
|
+
"type": "string"
|
112
|
+
}
|
113
|
+
],
|
114
|
+
"stateMutability": "pure",
|
115
|
+
"type": "function"
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"inputs": [],
|
119
|
+
"name": "getNftId",
|
120
|
+
"outputs": [
|
121
|
+
{
|
122
|
+
"internalType": "NftId",
|
123
|
+
"name": "nftId",
|
124
|
+
"type": "uint96"
|
125
|
+
}
|
126
|
+
],
|
127
|
+
"stateMutability": "view",
|
128
|
+
"type": "function"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"inputs": [],
|
132
|
+
"name": "getOwner",
|
133
|
+
"outputs": [
|
134
|
+
{
|
135
|
+
"internalType": "address",
|
136
|
+
"name": "owner",
|
137
|
+
"type": "address"
|
138
|
+
}
|
139
|
+
],
|
140
|
+
"stateMutability": "view",
|
141
|
+
"type": "function"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"inputs": [],
|
145
|
+
"name": "getParentNftId",
|
146
|
+
"outputs": [
|
147
|
+
{
|
148
|
+
"internalType": "NftId",
|
149
|
+
"name": "nftId",
|
150
|
+
"type": "uint96"
|
151
|
+
}
|
152
|
+
],
|
153
|
+
"stateMutability": "view",
|
154
|
+
"type": "function"
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"inputs": [],
|
158
|
+
"name": "getRegistry",
|
159
|
+
"outputs": [
|
160
|
+
{
|
161
|
+
"internalType": "contract IRegistry",
|
162
|
+
"name": "registry",
|
163
|
+
"type": "address"
|
164
|
+
}
|
165
|
+
],
|
166
|
+
"stateMutability": "view",
|
167
|
+
"type": "function"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"inputs": [],
|
171
|
+
"name": "getType",
|
172
|
+
"outputs": [
|
173
|
+
{
|
174
|
+
"internalType": "ObjectType",
|
175
|
+
"name": "",
|
176
|
+
"type": "uint8"
|
177
|
+
}
|
178
|
+
],
|
179
|
+
"stateMutability": "pure",
|
180
|
+
"type": "function"
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"inputs": [],
|
184
|
+
"name": "getVersion",
|
185
|
+
"outputs": [
|
186
|
+
{
|
187
|
+
"internalType": "Version",
|
188
|
+
"name": "",
|
189
|
+
"type": "uint24"
|
190
|
+
}
|
191
|
+
],
|
192
|
+
"stateMutability": "pure",
|
193
|
+
"type": "function"
|
194
|
+
},
|
195
|
+
{
|
196
|
+
"inputs": [
|
197
|
+
{
|
198
|
+
"internalType": "uint256",
|
199
|
+
"name": "idx",
|
200
|
+
"type": "uint256"
|
201
|
+
}
|
202
|
+
],
|
203
|
+
"name": "getVersion",
|
204
|
+
"outputs": [
|
205
|
+
{
|
206
|
+
"internalType": "Version",
|
207
|
+
"name": "",
|
208
|
+
"type": "uint24"
|
209
|
+
}
|
210
|
+
],
|
211
|
+
"stateMutability": "view",
|
212
|
+
"type": "function"
|
213
|
+
},
|
214
|
+
{
|
215
|
+
"inputs": [],
|
216
|
+
"name": "getVersionCount",
|
217
|
+
"outputs": [
|
218
|
+
{
|
219
|
+
"internalType": "uint256",
|
220
|
+
"name": "",
|
221
|
+
"type": "uint256"
|
222
|
+
}
|
223
|
+
],
|
224
|
+
"stateMutability": "view",
|
225
|
+
"type": "function"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"inputs": [
|
229
|
+
{
|
230
|
+
"internalType": "Version",
|
231
|
+
"name": "_version",
|
232
|
+
"type": "uint24"
|
233
|
+
}
|
234
|
+
],
|
235
|
+
"name": "getVersionInfo",
|
236
|
+
"outputs": [
|
237
|
+
{
|
238
|
+
"components": [
|
239
|
+
{
|
240
|
+
"internalType": "Version",
|
241
|
+
"name": "version",
|
242
|
+
"type": "uint24"
|
243
|
+
},
|
244
|
+
{
|
245
|
+
"internalType": "address",
|
246
|
+
"name": "implementation",
|
247
|
+
"type": "address"
|
248
|
+
},
|
249
|
+
{
|
250
|
+
"internalType": "address",
|
251
|
+
"name": "activatedBy",
|
252
|
+
"type": "address"
|
253
|
+
},
|
254
|
+
{
|
255
|
+
"internalType": "Timestamp",
|
256
|
+
"name": "activatedAt",
|
257
|
+
"type": "uint40"
|
258
|
+
},
|
259
|
+
{
|
260
|
+
"internalType": "Blocknumber",
|
261
|
+
"name": "activatedIn",
|
262
|
+
"type": "uint32"
|
263
|
+
}
|
264
|
+
],
|
265
|
+
"internalType": "struct IVersionable.VersionInfo",
|
266
|
+
"name": "",
|
267
|
+
"type": "tuple"
|
268
|
+
}
|
269
|
+
],
|
270
|
+
"stateMutability": "view",
|
271
|
+
"type": "function"
|
272
|
+
},
|
273
|
+
{
|
274
|
+
"inputs": [
|
275
|
+
{
|
276
|
+
"internalType": "Version",
|
277
|
+
"name": "_version",
|
278
|
+
"type": "uint24"
|
279
|
+
}
|
280
|
+
],
|
281
|
+
"name": "isActivated",
|
282
|
+
"outputs": [
|
283
|
+
{
|
284
|
+
"internalType": "bool",
|
285
|
+
"name": "",
|
286
|
+
"type": "bool"
|
287
|
+
}
|
288
|
+
],
|
289
|
+
"stateMutability": "view",
|
290
|
+
"type": "function"
|
291
|
+
},
|
292
|
+
{
|
293
|
+
"inputs": [],
|
294
|
+
"name": "register",
|
295
|
+
"outputs": [
|
296
|
+
{
|
297
|
+
"internalType": "NftId",
|
298
|
+
"name": "nftId",
|
299
|
+
"type": "uint96"
|
300
|
+
}
|
301
|
+
],
|
302
|
+
"stateMutability": "nonpayable",
|
303
|
+
"type": "function"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"inputs": [
|
307
|
+
{
|
308
|
+
"components": [
|
309
|
+
{
|
310
|
+
"internalType": "UFixed",
|
311
|
+
"name": "fractionalFee",
|
312
|
+
"type": "uint256"
|
313
|
+
},
|
314
|
+
{
|
315
|
+
"internalType": "uint256",
|
316
|
+
"name": "fixedFee",
|
317
|
+
"type": "uint256"
|
318
|
+
}
|
319
|
+
],
|
320
|
+
"internalType": "struct Fee",
|
321
|
+
"name": "distributionFee",
|
322
|
+
"type": "tuple"
|
323
|
+
}
|
324
|
+
],
|
325
|
+
"name": "setFees",
|
326
|
+
"outputs": [],
|
327
|
+
"stateMutability": "nonpayable",
|
328
|
+
"type": "function"
|
329
|
+
},
|
330
|
+
{
|
331
|
+
"inputs": [
|
332
|
+
{
|
333
|
+
"internalType": "bytes4",
|
334
|
+
"name": "interfaceId",
|
335
|
+
"type": "bytes4"
|
336
|
+
}
|
337
|
+
],
|
338
|
+
"name": "supportsInterface",
|
339
|
+
"outputs": [
|
340
|
+
{
|
341
|
+
"internalType": "bool",
|
342
|
+
"name": "",
|
343
|
+
"type": "bool"
|
344
|
+
}
|
345
|
+
],
|
346
|
+
"stateMutability": "view",
|
347
|
+
"type": "function"
|
348
|
+
}
|
349
|
+
],
|
350
|
+
"bytecode": "0x60e06040523480156200001157600080fd5b5060405162001fb338038062001fb3833981016040819052620000349162000760565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558181818181816001600160a01b038216620000d25760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa15801562000122573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001489190620007b5565b620001965760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000c9565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002149190620007b5565b6200026e5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000c9565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff1916600117905550620002be905060003362000343565b631b4612f160e31b60009081526020527ffc58a5a01198e68c5a5d0bcd463f9ab550fc4337b1df271aed6dbb33d25fef25805460ff191660011790555050505062000316631fa9607b60e11b6200031e60201b60201c565b505062000859565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b60006200034f6200061b565b90506200035c81620006a8565b15620003bb5760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b6064820152608401620000c9565b600254156200047c576002805460009190620003da90600190620007e0565b81548110620003ed57620003ed62000802565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff1690506200042082826200074e565b6200047a5760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b6064820152608401620000c9565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101620005064290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d4419906200060e9083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156200067d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006a3919062000818565b905090565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801562000721573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200074791906200083f565b1192915050565b62ffffff808216908316115b92915050565b600080604083850312156200077457600080fd5b82516001600160a01b03811681146200078c57600080fd5b60208401519092506001600160601b0381168114620007aa57600080fd5b809150509250929050565b600060208284031215620007c857600080fd5b81518015158114620007d957600080fd5b9392505050565b818103818111156200075a57634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200082b57600080fd5b815162ffffff81168114620007d957600080fd5b6000602082840312156200085257600080fd5b5051919050565b60805160a05160c0516116f9620008ba60003960006108b3015260006101fb015260008181610359015281816105c3015281816107c301528181610834015281816108f601528181610ae401528181610c400152610d3601526116f96000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80634d459c90116100a2578063946dfcfe11610071578063946dfcfe146103a15780639555c4db146103b2578063a3f4df7e146103c5578063b88da759146103f7578063cde749f41461040a57600080fd5b80634d459c90146102485780635ab1bd5314610357578063644c45e014610391578063893d20e81461039957600080fd5b806317d7de7c116100e957806317d7de7c146101a15780631aa3a008146101d957806331b62a3b146101f95780633bc5de301461021f5780633f52c0f61461023357600080fd5b806301ffc9a71461011b5780630abd84341461015d5780630d8e6e2c1461017057806315dae03e1461018c575b600080fd5b61014861012936600461109f565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61014861016b3660046110e4565b610412565b6101786104b5565b60405162ffffff9091168152602001610154565b60285b60405160ff9091168152602001610154565b604080518082019091526013815272446973747269627574696f6e5365727669636560681b60208201525b6040516101549190611151565b6101e161053f565b6040516001600160601b039091168152602001610154565b7f00000000000000000000000000000000000000000000000000000000000000006101e1565b6040805160208101909152600081526101cc565b6102466102413660046111ea565b610638565b005b6102fa6102563660046110e4565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff908116600090815260016020818152604092839020835160a0810185528154958616815263010000009095046001600160a01b03908116928601929092529091015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610154565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b039091168152602001610154565b6101e16107ab565b610379610812565b600254604051908152602001610154565b6102466103c0366004611231565b61096f565b6101cc60405180604001604052806013815260200172446973747269627574696f6e5365727669636560681b81525081565b61017861040536600461126a565b61097d565b61018f6109be565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801561048a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ae9190611283565b1192915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610516573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053a919061129c565b905090565b6000610549610812565b6001600160a01b0316336001600160a01b0316146105ae5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e455200000000000000000060448201526064015b60405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af1158015610614573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053a91906112d5565b6000806106456078610a9b565b8151604051639ae31ff560e01b81526001600160601b03909116600482015291935091506000906001600160a01b03831690639ae31ff590602401602060405180830381865afa15801561069d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c191906112d5565b60405163f2b246c360e01b81526001600160601b03821660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015610715573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610739919061132b565b61010081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b9061077290859085906004016113ea565b600060405180830381600087803b15801561078c57600080fd5b505af11580156107a0573d6000803e3d6000fd5b505050505050505050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610614573d6000803e3d6000fd5b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa15801561087b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089f91906112d5565b90506108ac816000610dbb565b156108d8577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610945573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096991906114d1565b91505090565b6109798282610dd1565b5050565b600060028281548110610992576109926114ee565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000306001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a22919061129c565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610a77573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053a9190611513565b6040805160c08101825260008082526020820181905281830181905260608083018290526080830182905260a08301529151636939560f60e11b815233600482015290919081907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610b33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5791906112d5565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610bb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd69190611530565b610c225760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e00000000000000000060448201526064016105a5565b6040516305247a1760e51b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa158015610c8f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cb791908101906115da565b9250610ccd83604001518560ff90811691161490565b610d0f5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016105a5565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa158015610d85573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dad91908101906115da565b606001519395939450505050565b6001600160601b03828116908216145b92915050565b6000610ddb6104b5565b9050610de681610412565b15610e435760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b60648201526084016105a5565b60025415610f02576002805460009190610e5f906001906116a2565b81548110610e6f57610e6f6114ee565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050610ea8828262ffffff90811691161190565b610f005760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b60648201526084016105a5565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101610f8b4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d4419906110929083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b6000602082840312156110b157600080fd5b81356001600160e01b0319811681146110c957600080fd5b9392505050565b62ffffff811681146110e157600080fd5b50565b6000602082840312156110f657600080fd5b81356110c9816110d0565b60005b8381101561111c578181015183820152602001611104565b50506000910152565b6000815180845261113d816020860160208601611101565b601f01601f19169290920160200192915050565b6020815260006110c96020830184611125565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561119d5761119d611164565b60405290565b604051610120810167ffffffffffffffff8111828210171561119d5761119d611164565b60405160c0810167ffffffffffffffff8111828210171561119d5761119d611164565b6000604082840312156111fc57600080fd5b61120461117a565b82358152602083013560208201528091505092915050565b6001600160a01b03811681146110e157600080fd5b6000806040838503121561124457600080fd5b823561124f8161121c565b9150602083013561125f8161121c565b809150509250929050565b60006020828403121561127c57600080fd5b5035919050565b60006020828403121561129557600080fd5b5051919050565b6000602082840312156112ae57600080fd5b81516110c9816110d0565b80516001600160601b03811681146112d057600080fd5b919050565b6000602082840312156112e757600080fd5b6110c9826112b9565b80516112d08161121c565b60006040828403121561130d57600080fd5b61131561117a565b9050815181526020820151602082015292915050565b60006101e0828403121561133e57600080fd5b6113466111a3565b61134f836112b9565b815261135d602084016112b9565b602082015261136e604084016112f0565b604082015261138084606085016112fb565b60608201526113928460a085016112fb565b60808201526113a48460e085016112fb565b60a08201526113b78461012085016112fb565b60c08201526113ca8461016085016112fb565b60e08201526113dd846101a085016112fb565b6101008201529392505050565b6001600160601b03838116825282511660208083019190915282015161020082019061142160408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006114838185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b6000602082840312156114e357600080fd5b81516110c98161121c565b634e487b7160e01b600052603260045260246000fd5b60ff811681146110e157600080fd5b60006020828403121561152557600080fd5b81516110c981611504565b60006020828403121561154257600080fd5b815180151581146110c957600080fd5b600082601f83011261156357600080fd5b815167ffffffffffffffff8082111561157e5761157e611164565b604051601f8301601f19908116603f011681019082821181831017156115a6576115a6611164565b816040528381528660208588010111156115bf57600080fd5b6115d0846020830160208901611101565b9695505050505050565b6000602082840312156115ec57600080fd5b815167ffffffffffffffff8082111561160457600080fd5b9083019060c0828603121561161857600080fd5b6116206111c7565b611629836112b9565b8152611637602084016112b9565b6020820152604083015161164a81611504565b6040820152606083015161165d8161121c565b606082015260808301516116708161121c565b608082015260a08301518281111561168757600080fd5b61169387828601611552565b60a08301525095945050505050565b81810381811115610dcb57634e487b7160e01b600052601160045260246000fdfea264697066735822122034d2b83da54bbf6d5f5f37379fa527ec290252bf07e90e959818887195e5305964736f6c63430008140033",
|
351
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101165760003560e01c80634d459c90116100a2578063946dfcfe11610071578063946dfcfe146103a15780639555c4db146103b2578063a3f4df7e146103c5578063b88da759146103f7578063cde749f41461040a57600080fd5b80634d459c90146102485780635ab1bd5314610357578063644c45e014610391578063893d20e81461039957600080fd5b806317d7de7c116100e957806317d7de7c146101a15780631aa3a008146101d957806331b62a3b146101f95780633bc5de301461021f5780633f52c0f61461023357600080fd5b806301ffc9a71461011b5780630abd84341461015d5780630d8e6e2c1461017057806315dae03e1461018c575b600080fd5b61014861012936600461109f565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61014861016b3660046110e4565b610412565b6101786104b5565b60405162ffffff9091168152602001610154565b60285b60405160ff9091168152602001610154565b604080518082019091526013815272446973747269627574696f6e5365727669636560681b60208201525b6040516101549190611151565b6101e161053f565b6040516001600160601b039091168152602001610154565b7f00000000000000000000000000000000000000000000000000000000000000006101e1565b6040805160208101909152600081526101cc565b6102466102413660046111ea565b610638565b005b6102fa6102563660046110e4565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff908116600090815260016020818152604092839020835160a0810185528154958616815263010000009095046001600160a01b03908116928601929092529091015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610154565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b039091168152602001610154565b6101e16107ab565b610379610812565b600254604051908152602001610154565b6102466103c0366004611231565b61096f565b6101cc60405180604001604052806013815260200172446973747269627574696f6e5365727669636560681b81525081565b61017861040536600461126a565b61097d565b61018f6109be565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801561048a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ae9190611283565b1192915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610516573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053a919061129c565b905090565b6000610549610812565b6001600160a01b0316336001600160a01b0316146105ae5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e455200000000000000000060448201526064015b60405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af1158015610614573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053a91906112d5565b6000806106456078610a9b565b8151604051639ae31ff560e01b81526001600160601b03909116600482015291935091506000906001600160a01b03831690639ae31ff590602401602060405180830381865afa15801561069d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c191906112d5565b60405163f2b246c360e01b81526001600160601b03821660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015610715573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610739919061132b565b61010081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b9061077290859085906004016113ea565b600060405180830381600087803b15801561078c57600080fd5b505af11580156107a0573d6000803e3d6000fd5b505050505050505050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610614573d6000803e3d6000fd5b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa15801561087b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089f91906112d5565b90506108ac816000610dbb565b156108d8577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610945573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096991906114d1565b91505090565b6109798282610dd1565b5050565b600060028281548110610992576109926114ee565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000306001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a22919061129c565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610a77573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053a9190611513565b6040805160c08101825260008082526020820181905281830181905260608083018290526080830182905260a08301529151636939560f60e11b815233600482015290919081907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610b33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5791906112d5565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610bb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd69190611530565b610c225760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e00000000000000000060448201526064016105a5565b6040516305247a1760e51b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa158015610c8f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cb791908101906115da565b9250610ccd83604001518560ff90811691161490565b610d0f5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016105a5565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa158015610d85573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dad91908101906115da565b606001519395939450505050565b6001600160601b03828116908216145b92915050565b6000610ddb6104b5565b9050610de681610412565b15610e435760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b60648201526084016105a5565b60025415610f02576002805460009190610e5f906001906116a2565b81548110610e6f57610e6f6114ee565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050610ea8828262ffffff90811691161190565b610f005760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b60648201526084016105a5565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101610f8b4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d4419906110929083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b6000602082840312156110b157600080fd5b81356001600160e01b0319811681146110c957600080fd5b9392505050565b62ffffff811681146110e157600080fd5b50565b6000602082840312156110f657600080fd5b81356110c9816110d0565b60005b8381101561111c578181015183820152602001611104565b50506000910152565b6000815180845261113d816020860160208601611101565b601f01601f19169290920160200192915050565b6020815260006110c96020830184611125565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561119d5761119d611164565b60405290565b604051610120810167ffffffffffffffff8111828210171561119d5761119d611164565b60405160c0810167ffffffffffffffff8111828210171561119d5761119d611164565b6000604082840312156111fc57600080fd5b61120461117a565b82358152602083013560208201528091505092915050565b6001600160a01b03811681146110e157600080fd5b6000806040838503121561124457600080fd5b823561124f8161121c565b9150602083013561125f8161121c565b809150509250929050565b60006020828403121561127c57600080fd5b5035919050565b60006020828403121561129557600080fd5b5051919050565b6000602082840312156112ae57600080fd5b81516110c9816110d0565b80516001600160601b03811681146112d057600080fd5b919050565b6000602082840312156112e757600080fd5b6110c9826112b9565b80516112d08161121c565b60006040828403121561130d57600080fd5b61131561117a565b9050815181526020820151602082015292915050565b60006101e0828403121561133e57600080fd5b6113466111a3565b61134f836112b9565b815261135d602084016112b9565b602082015261136e604084016112f0565b604082015261138084606085016112fb565b60608201526113928460a085016112fb565b60808201526113a48460e085016112fb565b60a08201526113b78461012085016112fb565b60c08201526113ca8461016085016112fb565b60e08201526113dd846101a085016112fb565b6101008201529392505050565b6001600160601b03838116825282511660208083019190915282015161020082019061142160408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006114838185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b6000602082840312156114e357600080fd5b81516110c98161121c565b634e487b7160e01b600052603260045260246000fd5b60ff811681146110e157600080fd5b60006020828403121561152557600080fd5b81516110c981611504565b60006020828403121561154257600080fd5b815180151581146110c957600080fd5b600082601f83011261156357600080fd5b815167ffffffffffffffff8082111561157e5761157e611164565b604051601f8301601f19908116603f011681019082821181831017156115a6576115a6611164565b816040528381528660208588010111156115bf57600080fd5b6115d0846020830160208901611101565b9695505050505050565b6000602082840312156115ec57600080fd5b815167ffffffffffffffff8082111561160457600080fd5b9083019060c0828603121561161857600080fd5b6116206111c7565b611629836112b9565b8152611637602084016112b9565b6020820152604083015161164a81611504565b6040820152606083015161165d8161121c565b606082015260808301516116708161121c565b608082015260a08301518281111561168757600080fd5b61169387828601611552565b60a08301525095945050505050565b81810381811115610dcb57634e487b7160e01b600052601160045260246000fdfea264697066735822122034d2b83da54bbf6d5f5f37379fa527ec290252bf07e90e959818887195e5305964736f6c63430008140033",
|
352
|
+
"linkReferences": {
|
353
|
+
"contracts/types/Blocknumber.sol": {
|
354
|
+
"BlocknumberLib": [
|
355
|
+
{
|
356
|
+
"length": 20,
|
357
|
+
"start": 1766
|
358
|
+
},
|
359
|
+
{
|
360
|
+
"length": 20,
|
361
|
+
"start": 3338
|
362
|
+
}
|
363
|
+
]
|
364
|
+
},
|
365
|
+
"contracts/types/NftId.sol": {
|
366
|
+
"NftIdLib": [
|
367
|
+
{
|
368
|
+
"length": 20,
|
369
|
+
"start": 5170
|
370
|
+
}
|
371
|
+
]
|
372
|
+
},
|
373
|
+
"contracts/types/Version.sol": {
|
374
|
+
"VersionLib": [
|
375
|
+
{
|
376
|
+
"length": 20,
|
377
|
+
"start": 1602
|
378
|
+
},
|
379
|
+
{
|
380
|
+
"length": 20,
|
381
|
+
"start": 3478
|
382
|
+
},
|
383
|
+
{
|
384
|
+
"length": 20,
|
385
|
+
"start": 4855
|
386
|
+
}
|
387
|
+
]
|
388
|
+
}
|
389
|
+
},
|
390
|
+
"deployedLinkReferences": {
|
391
|
+
"contracts/types/Blocknumber.sol": {
|
392
|
+
"BlocknumberLib": [
|
393
|
+
{
|
394
|
+
"length": 20,
|
395
|
+
"start": 1104
|
396
|
+
}
|
397
|
+
]
|
398
|
+
},
|
399
|
+
"contracts/types/NftId.sol": {
|
400
|
+
"NftIdLib": [
|
401
|
+
{
|
402
|
+
"length": 20,
|
403
|
+
"start": 2936
|
404
|
+
}
|
405
|
+
]
|
406
|
+
},
|
407
|
+
"contracts/types/Version.sol": {
|
408
|
+
"VersionLib": [
|
409
|
+
{
|
410
|
+
"length": 20,
|
411
|
+
"start": 1244
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"length": 20,
|
415
|
+
"start": 2621
|
416
|
+
}
|
417
|
+
]
|
418
|
+
}
|
419
|
+
}
|
420
|
+
}
|