@etherisc/gif-next 0.0.2-d250c72 → 0.0.2-eb7397c
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +1 -1
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- 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/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/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +1 -1
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +1 -1
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +1 -1
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +1 -1
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +1 -1
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +1 -1
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +1 -1
- 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/IOwnable.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +1 -1
- 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 +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- 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 +440 -0
- package/contracts/types/Blocknumber.sol +60 -0
- package/contracts/types/ChainId.sol +7 -1
- package/contracts/types/Timestamp.sol +55 -0
- package/contracts/types/UFixed.sol +207 -0
- package/package.json +1 -1
@@ -0,0 +1,174 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "BlocknumberLib",
|
4
|
+
"sourceName": "contracts/types/Blocknumber.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "Blocknumber",
|
10
|
+
"name": "a",
|
11
|
+
"type": "uint32"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "Blocknumber",
|
15
|
+
"name": "b",
|
16
|
+
"type": "uint32"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"name": "eq",
|
20
|
+
"outputs": [
|
21
|
+
{
|
22
|
+
"internalType": "bool",
|
23
|
+
"name": "isSame",
|
24
|
+
"type": "bool"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"stateMutability": "pure",
|
28
|
+
"type": "function"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"inputs": [
|
32
|
+
{
|
33
|
+
"internalType": "Blocknumber",
|
34
|
+
"name": "a",
|
35
|
+
"type": "uint32"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"internalType": "Blocknumber",
|
39
|
+
"name": "b",
|
40
|
+
"type": "uint32"
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"name": "gt",
|
44
|
+
"outputs": [
|
45
|
+
{
|
46
|
+
"internalType": "bool",
|
47
|
+
"name": "isAfter",
|
48
|
+
"type": "bool"
|
49
|
+
}
|
50
|
+
],
|
51
|
+
"stateMutability": "pure",
|
52
|
+
"type": "function"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"inputs": [
|
56
|
+
{
|
57
|
+
"internalType": "Blocknumber",
|
58
|
+
"name": "a",
|
59
|
+
"type": "uint32"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"internalType": "Blocknumber",
|
63
|
+
"name": "b",
|
64
|
+
"type": "uint32"
|
65
|
+
}
|
66
|
+
],
|
67
|
+
"name": "gte",
|
68
|
+
"outputs": [
|
69
|
+
{
|
70
|
+
"internalType": "bool",
|
71
|
+
"name": "isAfterOrSame",
|
72
|
+
"type": "bool"
|
73
|
+
}
|
74
|
+
],
|
75
|
+
"stateMutability": "pure",
|
76
|
+
"type": "function"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"inputs": [
|
80
|
+
{
|
81
|
+
"internalType": "Blocknumber",
|
82
|
+
"name": "a",
|
83
|
+
"type": "uint32"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"internalType": "Blocknumber",
|
87
|
+
"name": "b",
|
88
|
+
"type": "uint32"
|
89
|
+
}
|
90
|
+
],
|
91
|
+
"name": "lt",
|
92
|
+
"outputs": [
|
93
|
+
{
|
94
|
+
"internalType": "bool",
|
95
|
+
"name": "isBefore",
|
96
|
+
"type": "bool"
|
97
|
+
}
|
98
|
+
],
|
99
|
+
"stateMutability": "pure",
|
100
|
+
"type": "function"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"inputs": [
|
104
|
+
{
|
105
|
+
"internalType": "Blocknumber",
|
106
|
+
"name": "a",
|
107
|
+
"type": "uint32"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"internalType": "Blocknumber",
|
111
|
+
"name": "b",
|
112
|
+
"type": "uint32"
|
113
|
+
}
|
114
|
+
],
|
115
|
+
"name": "lte",
|
116
|
+
"outputs": [
|
117
|
+
{
|
118
|
+
"internalType": "bool",
|
119
|
+
"name": "isBeforeOrSame",
|
120
|
+
"type": "bool"
|
121
|
+
}
|
122
|
+
],
|
123
|
+
"stateMutability": "pure",
|
124
|
+
"type": "function"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"inputs": [
|
128
|
+
{
|
129
|
+
"internalType": "Blocknumber",
|
130
|
+
"name": "a",
|
131
|
+
"type": "uint32"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"internalType": "Blocknumber",
|
135
|
+
"name": "b",
|
136
|
+
"type": "uint32"
|
137
|
+
}
|
138
|
+
],
|
139
|
+
"name": "ne",
|
140
|
+
"outputs": [
|
141
|
+
{
|
142
|
+
"internalType": "bool",
|
143
|
+
"name": "isDifferent",
|
144
|
+
"type": "bool"
|
145
|
+
}
|
146
|
+
],
|
147
|
+
"stateMutability": "pure",
|
148
|
+
"type": "function"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"inputs": [
|
152
|
+
{
|
153
|
+
"internalType": "Blocknumber",
|
154
|
+
"name": "blocknumber",
|
155
|
+
"type": "uint32"
|
156
|
+
}
|
157
|
+
],
|
158
|
+
"name": "toInt",
|
159
|
+
"outputs": [
|
160
|
+
{
|
161
|
+
"internalType": "uint256",
|
162
|
+
"name": "",
|
163
|
+
"type": "uint256"
|
164
|
+
}
|
165
|
+
],
|
166
|
+
"stateMutability": "pure",
|
167
|
+
"type": "function"
|
168
|
+
}
|
169
|
+
],
|
170
|
+
"bytecode": "0x61044b610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100875760003560e01c80636303db59116100655780636303db591461011c5780636effeac41461014c5780637b4f5d3b1461017c57806394642804146101ac57610087565b8063012340281461008c578063559cbd25146100bc57806356b0a7d4146100ec575b600080fd5b6100a660048036038101906100a1919061033e565b6101dc565b6040516100b39190610399565b60405180910390f35b6100d660048036038101906100d1919061033e565b6101f0565b6040516100e39190610399565b60405180910390f35b6101066004803603810190610101919061033e565b610204565b6040516101139190610399565b60405180910390f35b6101366004803603810190610131919061033e565b610218565b6040516101439190610399565b60405180910390f35b610166600480360381019061016191906103b4565b61022c565b60405161017391906103fa565b60405180910390f35b6101966004803603810190610191919061033e565b61023c565b6040516101a39190610399565b60405180910390f35b6101c660048036038101906101c1919061033e565b610250565b6040516101d39190610399565b60405180910390f35b60006101e88383610264565b905092915050565b60006101fc838361027e565b905092915050565b60006102108383610297565b905092915050565b600061022483836102b0565b905092915050565b60008163ffffffff169050919050565b600061024883836102c9565b905092915050565b600061025c83836102e3565b905092915050565b60008163ffffffff168363ffffffff161015905092915050565b60008163ffffffff168363ffffffff1614905092915050565b60008163ffffffff168363ffffffff1611905092915050565b60008163ffffffff168363ffffffff1610905092915050565b60008163ffffffff168363ffffffff161415905092915050565b60008163ffffffff168363ffffffff161115905092915050565b600080fd5b600063ffffffff82169050919050565b61031b81610302565b811461032657600080fd5b50565b60008135905061033881610312565b92915050565b60008060408385031215610355576103546102fd565b5b600061036385828601610329565b925050602061037485828601610329565b9150509250929050565b60008115159050919050565b6103938161037e565b82525050565b60006020820190506103ae600083018461038a565b92915050565b6000602082840312156103ca576103c96102fd565b5b60006103d884828501610329565b91505092915050565b6000819050919050565b6103f4816103e1565b82525050565b600060208201905061040f60008301846103eb565b9291505056fea2646970667358221220fdc05433fd4bfbb177365743b1cd37eab9f09741d8dc0be94605f5a2abdfefcd64736f6c63430008140033",
|
171
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100875760003560e01c80636303db59116100655780636303db591461011c5780636effeac41461014c5780637b4f5d3b1461017c57806394642804146101ac57610087565b8063012340281461008c578063559cbd25146100bc57806356b0a7d4146100ec575b600080fd5b6100a660048036038101906100a1919061033e565b6101dc565b6040516100b39190610399565b60405180910390f35b6100d660048036038101906100d1919061033e565b6101f0565b6040516100e39190610399565b60405180910390f35b6101066004803603810190610101919061033e565b610204565b6040516101139190610399565b60405180910390f35b6101366004803603810190610131919061033e565b610218565b6040516101439190610399565b60405180910390f35b610166600480360381019061016191906103b4565b61022c565b60405161017391906103fa565b60405180910390f35b6101966004803603810190610191919061033e565b61023c565b6040516101a39190610399565b60405180910390f35b6101c660048036038101906101c1919061033e565b610250565b6040516101d39190610399565b60405180910390f35b60006101e88383610264565b905092915050565b60006101fc838361027e565b905092915050565b60006102108383610297565b905092915050565b600061022483836102b0565b905092915050565b60008163ffffffff169050919050565b600061024883836102c9565b905092915050565b600061025c83836102e3565b905092915050565b60008163ffffffff168363ffffffff161015905092915050565b60008163ffffffff168363ffffffff1614905092915050565b60008163ffffffff168363ffffffff1611905092915050565b60008163ffffffff168363ffffffff1610905092915050565b60008163ffffffff168363ffffffff161415905092915050565b60008163ffffffff168363ffffffff161115905092915050565b600080fd5b600063ffffffff82169050919050565b61031b81610302565b811461032657600080fd5b50565b60008135905061033881610312565b92915050565b60008060408385031215610355576103546102fd565b5b600061036385828601610329565b925050602061037485828601610329565b9150509250929050565b60008115159050919050565b6103938161037e565b82525050565b60006020820190506103ae600083018461038a565b92915050565b6000602082840312156103ca576103c96102fd565b5b60006103d884828501610329565b91505092915050565b6000819050919050565b6103f4816103e1565b82525050565b600060208201905061040f60008301846103eb565b9291505056fea2646970667358221220fdc05433fd4bfbb177365743b1cd37eab9f09741d8dc0be94605f5a2abdfefcd64736f6c63430008140033",
|
172
|
+
"linkReferences": {},
|
173
|
+
"deployedLinkReferences": {}
|
174
|
+
}
|
@@ -3,8 +3,8 @@
|
|
3
3
|
"contractName": "ChainIdLib",
|
4
4
|
"sourceName": "contracts/types/ChainId.sol",
|
5
5
|
"abi": [],
|
6
|
-
"bytecode": "
|
7
|
-
"deployedBytecode": "
|
6
|
+
"bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220cf49fd2ddcddc67da03c0eafdb9da7b6b28159a26347fe2bf1ca22825e61c0d164736f6c63430008140033",
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220cf49fd2ddcddc67da03c0eafdb9da7b6b28159a26347fe2bf1ca22825e61c0d164736f6c63430008140033",
|
8
8
|
"linkReferences": {},
|
9
9
|
"deployedLinkReferences": {}
|
10
10
|
}
|