@etherisc/gif-next 0.0.2-ebbe63d → 0.0.2-f824182-503
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +120 -1
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +205 -0
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/InstanceLinked.json +35 -0
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +255 -0
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +74 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/components/Pool.sol/Pool.json +328 -0
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/components/Product.sol/Product.json +346 -0
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +4 -0
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +105 -0
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +4 -0
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +105 -0
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +128 -0
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +42 -0
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +76 -0
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +89 -0
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +128 -0
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +37 -0
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +50 -0
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +63 -0
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +59 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +124 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +74 -0
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +124 -0
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +207 -0
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +4 -0
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +10 -0
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +4 -0
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +10 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1479 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +4 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.json +1725 -0
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +4 -0
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +400 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.json +10 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +4 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +35 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +4 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +50 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +4 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +336 -0
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +4 -0
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +299 -0
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +202 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.json +10 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +205 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +217 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +141 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +24 -0
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +134 -0
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +4 -0
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.json +182 -0
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +4 -0
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +221 -0
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.json +10 -0
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +4 -0
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +254 -0
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +4 -0
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +254 -0
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +4 -0
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.json +10 -0
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +4 -0
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +129 -0
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +4 -0
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +155 -0
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +4 -0
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +75 -0
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +127 -0
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +4 -0
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +75 -0
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +196 -0
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.json +10 -0
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +4 -0
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +490 -0
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +45 -0
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +4 -0
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +490 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +4 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +534 -0
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +4 -0
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +452 -0
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +24 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +166 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +188 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +49 -0
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/registry/Registry.sol/Registerable.json +166 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +4 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.json +256 -0
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +60 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +10 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +92 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +174 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +453 -0
- package/contracts/components/Component.sol +77 -0
- package/contracts/components/IPool.sol +15 -0
- package/contracts/components/IProduct.sol +16 -0
- package/contracts/components/Pool.sol +52 -0
- package/contracts/components/Product.sol +89 -0
- package/contracts/experiment/errors/Require.sol +38 -0
- package/contracts/experiment/errors/Revert.sol +44 -0
- package/contracts/experiment/inheritance/A.sol +53 -0
- package/contracts/experiment/inheritance/B.sol +28 -0
- package/contracts/experiment/inheritance/C.sol +34 -0
- package/contracts/experiment/inheritance/IA.sol +13 -0
- package/contracts/experiment/inheritance/IB.sol +10 -0
- package/contracts/experiment/inheritance/IC.sol +12 -0
- package/contracts/experiment/statemachine/Dummy.sol +27 -0
- package/contracts/experiment/statemachine/ISM.sol +25 -0
- package/contracts/experiment/statemachine/README.md +112 -0
- package/contracts/experiment/statemachine/SM.sol +57 -0
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +31 -0
- package/contracts/experiment/types/TypeA.sol +47 -0
- package/contracts/experiment/types/TypeB.sol +29 -0
- package/contracts/instance/IInstance.sol +25 -0
- package/contracts/instance/Instance.sol +72 -0
- package/contracts/instance/access/Access.sol +165 -0
- package/contracts/instance/access/IAccess.sol +63 -0
- package/contracts/instance/component/ComponentModule.sol +274 -0
- package/contracts/instance/component/IComponent.sol +74 -0
- package/contracts/instance/lifecycle/ILifecycle.sol +47 -0
- package/contracts/instance/lifecycle/LifecycleModule.sol +88 -0
- package/contracts/instance/policy/IPolicy.sol +50 -0
- package/contracts/instance/policy/PolicyModule.sol +114 -0
- package/contracts/instance/pool/IPoolModule.sol +23 -0
- package/contracts/instance/pool/PoolModule.sol +81 -0
- package/contracts/instance/product/IProductService.sol +36 -0
- package/contracts/instance/product/ProductService.sol +136 -0
- package/contracts/instance/treasury/ITreasury.sol +91 -0
- package/contracts/instance/treasury/TokenHandler.sol +24 -0
- package/contracts/instance/treasury/TreasuryModule.sol +168 -0
- package/contracts/registry/ChainNft.sol +135 -0
- package/contracts/registry/IChainNft.sol +21 -0
- package/contracts/registry/IRegistry.sol +67 -0
- package/contracts/registry/Registry.sol +182 -0
- package/contracts/types/Blocknumber.sol +118 -0
- package/contracts/types/ChainId.sol +38 -0
- package/contracts/types/Fee.sol +32 -0
- package/contracts/types/NftId.sol +51 -0
- package/contracts/types/ObjectType.sol +107 -0
- package/contracts/types/StateId.sol +91 -0
- package/contracts/types/Timestamp.sol +102 -0
- package/contracts/types/UFixed.sol +206 -0
- package/package.json +15 -8
- package/artifacts/contracts/Dip.sol/DIP.dbg.json +0 -4
- package/artifacts/contracts/Dip.sol/DIP.json +0 -338
- package/artifacts/contracts/Lock.sol/Lock.dbg.json +0 -4
- package/artifacts/contracts/Lock.sol/Lock.json +0 -74
- package/contracts/Dip.sol +0 -26
- package/contracts/Lock.sol +0 -34
@@ -0,0 +1,188 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "IRegistry",
|
4
|
+
"sourceName": "contracts/registry/IRegistry.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "NftId",
|
10
|
+
"name": "nftId",
|
11
|
+
"type": "uint96"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "getInfo",
|
15
|
+
"outputs": [
|
16
|
+
{
|
17
|
+
"components": [
|
18
|
+
{
|
19
|
+
"internalType": "NftId",
|
20
|
+
"name": "nftId",
|
21
|
+
"type": "uint96"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"internalType": "NftId",
|
25
|
+
"name": "parentNftId",
|
26
|
+
"type": "uint96"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"internalType": "ObjectType",
|
30
|
+
"name": "objectType",
|
31
|
+
"type": "uint8"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"internalType": "address",
|
35
|
+
"name": "objectAddress",
|
36
|
+
"type": "address"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"internalType": "address",
|
40
|
+
"name": "initialOwner",
|
41
|
+
"type": "address"
|
42
|
+
}
|
43
|
+
],
|
44
|
+
"internalType": "struct IRegistry.RegistryInfo",
|
45
|
+
"name": "info",
|
46
|
+
"type": "tuple"
|
47
|
+
}
|
48
|
+
],
|
49
|
+
"stateMutability": "view",
|
50
|
+
"type": "function"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"inputs": [],
|
54
|
+
"name": "getNftAddress",
|
55
|
+
"outputs": [
|
56
|
+
{
|
57
|
+
"internalType": "address",
|
58
|
+
"name": "nft",
|
59
|
+
"type": "address"
|
60
|
+
}
|
61
|
+
],
|
62
|
+
"stateMutability": "view",
|
63
|
+
"type": "function"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"inputs": [
|
67
|
+
{
|
68
|
+
"internalType": "address",
|
69
|
+
"name": "objectAddress",
|
70
|
+
"type": "address"
|
71
|
+
}
|
72
|
+
],
|
73
|
+
"name": "getNftId",
|
74
|
+
"outputs": [
|
75
|
+
{
|
76
|
+
"internalType": "NftId",
|
77
|
+
"name": "nftId",
|
78
|
+
"type": "uint96"
|
79
|
+
}
|
80
|
+
],
|
81
|
+
"stateMutability": "view",
|
82
|
+
"type": "function"
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"inputs": [],
|
86
|
+
"name": "getObjectCount",
|
87
|
+
"outputs": [
|
88
|
+
{
|
89
|
+
"internalType": "uint256",
|
90
|
+
"name": "",
|
91
|
+
"type": "uint256"
|
92
|
+
}
|
93
|
+
],
|
94
|
+
"stateMutability": "view",
|
95
|
+
"type": "function"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"inputs": [
|
99
|
+
{
|
100
|
+
"internalType": "NftId",
|
101
|
+
"name": "nftId",
|
102
|
+
"type": "uint96"
|
103
|
+
}
|
104
|
+
],
|
105
|
+
"name": "getOwner",
|
106
|
+
"outputs": [
|
107
|
+
{
|
108
|
+
"internalType": "address",
|
109
|
+
"name": "ownerAddress",
|
110
|
+
"type": "address"
|
111
|
+
}
|
112
|
+
],
|
113
|
+
"stateMutability": "view",
|
114
|
+
"type": "function"
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"inputs": [
|
118
|
+
{
|
119
|
+
"internalType": "address",
|
120
|
+
"name": "objectAddress",
|
121
|
+
"type": "address"
|
122
|
+
}
|
123
|
+
],
|
124
|
+
"name": "isRegistered",
|
125
|
+
"outputs": [
|
126
|
+
{
|
127
|
+
"internalType": "bool",
|
128
|
+
"name": "",
|
129
|
+
"type": "bool"
|
130
|
+
}
|
131
|
+
],
|
132
|
+
"stateMutability": "view",
|
133
|
+
"type": "function"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"inputs": [
|
137
|
+
{
|
138
|
+
"internalType": "address",
|
139
|
+
"name": "objectAddress",
|
140
|
+
"type": "address"
|
141
|
+
}
|
142
|
+
],
|
143
|
+
"name": "register",
|
144
|
+
"outputs": [
|
145
|
+
{
|
146
|
+
"internalType": "NftId",
|
147
|
+
"name": "nftId",
|
148
|
+
"type": "uint96"
|
149
|
+
}
|
150
|
+
],
|
151
|
+
"stateMutability": "nonpayable",
|
152
|
+
"type": "function"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"inputs": [
|
156
|
+
{
|
157
|
+
"internalType": "NftId",
|
158
|
+
"name": "parentNftid",
|
159
|
+
"type": "uint96"
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"internalType": "ObjectType",
|
163
|
+
"name": "objectType",
|
164
|
+
"type": "uint8"
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"internalType": "address",
|
168
|
+
"name": "initialOwner",
|
169
|
+
"type": "address"
|
170
|
+
}
|
171
|
+
],
|
172
|
+
"name": "registerObjectForInstance",
|
173
|
+
"outputs": [
|
174
|
+
{
|
175
|
+
"internalType": "NftId",
|
176
|
+
"name": "nftId",
|
177
|
+
"type": "uint96"
|
178
|
+
}
|
179
|
+
],
|
180
|
+
"stateMutability": "nonpayable",
|
181
|
+
"type": "function"
|
182
|
+
}
|
183
|
+
],
|
184
|
+
"bytecode": "0x",
|
185
|
+
"deployedBytecode": "0x",
|
186
|
+
"linkReferences": {},
|
187
|
+
"deployedLinkReferences": {}
|
188
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "IRegistryLinked",
|
4
|
+
"sourceName": "contracts/registry/IRegistry.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"anonymous": false,
|
8
|
+
"inputs": [
|
9
|
+
{
|
10
|
+
"indexed": false,
|
11
|
+
"internalType": "uint256",
|
12
|
+
"name": "idx",
|
13
|
+
"type": "uint256"
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"indexed": false,
|
17
|
+
"internalType": "address",
|
18
|
+
"name": "module",
|
19
|
+
"type": "address"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"indexed": false,
|
23
|
+
"internalType": "string",
|
24
|
+
"name": "comment",
|
25
|
+
"type": "string"
|
26
|
+
}
|
27
|
+
],
|
28
|
+
"name": "LogDebug",
|
29
|
+
"type": "event"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"inputs": [],
|
33
|
+
"name": "getRegistry",
|
34
|
+
"outputs": [
|
35
|
+
{
|
36
|
+
"internalType": "contract IRegistry",
|
37
|
+
"name": "registry",
|
38
|
+
"type": "address"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"stateMutability": "view",
|
42
|
+
"type": "function"
|
43
|
+
}
|
44
|
+
],
|
45
|
+
"bytecode": "0x",
|
46
|
+
"deployedBytecode": "0x",
|
47
|
+
"linkReferences": {},
|
48
|
+
"deployedLinkReferences": {}
|
49
|
+
}
|
@@ -0,0 +1,166 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "Registerable",
|
4
|
+
"sourceName": "contracts/registry/Registry.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"anonymous": false,
|
8
|
+
"inputs": [
|
9
|
+
{
|
10
|
+
"indexed": false,
|
11
|
+
"internalType": "uint256",
|
12
|
+
"name": "idx",
|
13
|
+
"type": "uint256"
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"indexed": false,
|
17
|
+
"internalType": "address",
|
18
|
+
"name": "module",
|
19
|
+
"type": "address"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"indexed": false,
|
23
|
+
"internalType": "string",
|
24
|
+
"name": "comment",
|
25
|
+
"type": "string"
|
26
|
+
}
|
27
|
+
],
|
28
|
+
"name": "LogDebug",
|
29
|
+
"type": "event"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"inputs": [],
|
33
|
+
"name": "getData",
|
34
|
+
"outputs": [
|
35
|
+
{
|
36
|
+
"internalType": "bytes",
|
37
|
+
"name": "data",
|
38
|
+
"type": "bytes"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"stateMutability": "view",
|
42
|
+
"type": "function"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [],
|
46
|
+
"name": "getInitialOwner",
|
47
|
+
"outputs": [
|
48
|
+
{
|
49
|
+
"internalType": "address",
|
50
|
+
"name": "deployer",
|
51
|
+
"type": "address"
|
52
|
+
}
|
53
|
+
],
|
54
|
+
"stateMutability": "view",
|
55
|
+
"type": "function"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"inputs": [],
|
59
|
+
"name": "getNftId",
|
60
|
+
"outputs": [
|
61
|
+
{
|
62
|
+
"internalType": "NftId",
|
63
|
+
"name": "nftId",
|
64
|
+
"type": "uint96"
|
65
|
+
}
|
66
|
+
],
|
67
|
+
"stateMutability": "view",
|
68
|
+
"type": "function"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"inputs": [],
|
72
|
+
"name": "getOwner",
|
73
|
+
"outputs": [
|
74
|
+
{
|
75
|
+
"internalType": "address",
|
76
|
+
"name": "owner",
|
77
|
+
"type": "address"
|
78
|
+
}
|
79
|
+
],
|
80
|
+
"stateMutability": "view",
|
81
|
+
"type": "function"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"inputs": [],
|
85
|
+
"name": "getParentNftId",
|
86
|
+
"outputs": [
|
87
|
+
{
|
88
|
+
"internalType": "NftId",
|
89
|
+
"name": "parentNftId",
|
90
|
+
"type": "uint96"
|
91
|
+
}
|
92
|
+
],
|
93
|
+
"stateMutability": "view",
|
94
|
+
"type": "function"
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"inputs": [],
|
98
|
+
"name": "getRegistry",
|
99
|
+
"outputs": [
|
100
|
+
{
|
101
|
+
"internalType": "contract IRegistry",
|
102
|
+
"name": "registry",
|
103
|
+
"type": "address"
|
104
|
+
}
|
105
|
+
],
|
106
|
+
"stateMutability": "view",
|
107
|
+
"type": "function"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"inputs": [],
|
111
|
+
"name": "getType",
|
112
|
+
"outputs": [
|
113
|
+
{
|
114
|
+
"internalType": "ObjectType",
|
115
|
+
"name": "objectType",
|
116
|
+
"type": "uint8"
|
117
|
+
}
|
118
|
+
],
|
119
|
+
"stateMutability": "view",
|
120
|
+
"type": "function"
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"inputs": [],
|
124
|
+
"name": "isRegisterable",
|
125
|
+
"outputs": [
|
126
|
+
{
|
127
|
+
"internalType": "bool",
|
128
|
+
"name": "",
|
129
|
+
"type": "bool"
|
130
|
+
}
|
131
|
+
],
|
132
|
+
"stateMutability": "pure",
|
133
|
+
"type": "function"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"inputs": [],
|
137
|
+
"name": "isRegistered",
|
138
|
+
"outputs": [
|
139
|
+
{
|
140
|
+
"internalType": "bool",
|
141
|
+
"name": "",
|
142
|
+
"type": "bool"
|
143
|
+
}
|
144
|
+
],
|
145
|
+
"stateMutability": "view",
|
146
|
+
"type": "function"
|
147
|
+
},
|
148
|
+
{
|
149
|
+
"inputs": [],
|
150
|
+
"name": "register",
|
151
|
+
"outputs": [
|
152
|
+
{
|
153
|
+
"internalType": "NftId",
|
154
|
+
"name": "nftId",
|
155
|
+
"type": "uint96"
|
156
|
+
}
|
157
|
+
],
|
158
|
+
"stateMutability": "nonpayable",
|
159
|
+
"type": "function"
|
160
|
+
}
|
161
|
+
],
|
162
|
+
"bytecode": "0x",
|
163
|
+
"deployedBytecode": "0x",
|
164
|
+
"linkReferences": {},
|
165
|
+
"deployedLinkReferences": {}
|
166
|
+
}
|