@etherisc/gif-next 0.0.2-ad36bbd → 0.0.2-cc253b3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  2. package/artifacts/contracts/components/Component.sol/Component.json +7 -7
  3. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +1 -1
  4. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +2 -2
  5. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +1 -1
  6. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +6 -6
  7. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +1 -1
  8. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +8 -8
  9. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  10. package/artifacts/contracts/components/Pool.sol/Pool.json +29 -11
  11. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  12. package/artifacts/contracts/components/Product.sol/Product.json +31 -13
  13. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  14. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +2 -2
  15. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  16. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
  17. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  18. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
  19. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
  21. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
  29. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
  31. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  32. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +60 -60
  33. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  34. package/artifacts/contracts/instance/Instance.sol/Instance.json +114 -64
  35. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +1 -1
  36. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +1 -1
  37. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +1 -1
  38. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +1 -1
  39. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +1 -1
  40. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
  41. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +24 -24
  42. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +1 -1
  43. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +48 -6
  44. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +1 -1
  45. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +1 -1
  46. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +6 -6
  47. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +1 -1
  48. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +26 -26
  49. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +1 -1
  50. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +3 -3
  51. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +1 -1
  52. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
  53. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
  54. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +18 -18
  55. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
  56. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +18 -18
  57. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +1 -1
  58. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
  59. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +10 -10
  60. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
  61. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +10 -10
  62. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +1 -1
  63. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +1 -1
  64. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +8 -8
  65. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +1 -1
  66. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +1 -1
  67. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +54 -12
  68. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  69. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  70. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  71. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +1 -1
  72. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +1 -1
  73. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +6 -6
  74. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  75. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +16 -16
  76. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +1 -1
  77. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +1 -1
  78. package/artifacts/contracts/registry/Registry.sol/Registerable.json +7 -7
  79. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  80. package/artifacts/contracts/registry/Registry.sol/Registry.json +62 -20
  81. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +1 -1
  82. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +2 -2
  83. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  84. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  85. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  86. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +61 -3
  87. package/contracts/components/Component.sol +3 -3
  88. package/contracts/components/IProduct.sol +2 -1
  89. package/contracts/components/Product.sol +5 -4
  90. package/contracts/experiment/errors/Require.sol +2 -2
  91. package/contracts/instance/Instance.sol +4 -3
  92. package/contracts/instance/component/ComponentModule.sol +32 -43
  93. package/contracts/instance/component/IComponent.sol +11 -10
  94. package/contracts/instance/policy/IPolicy.sol +8 -8
  95. package/contracts/instance/policy/PolicyModule.sol +12 -11
  96. package/contracts/instance/pool/IPoolModule.sol +6 -5
  97. package/contracts/instance/pool/PoolModule.sol +9 -6
  98. package/contracts/instance/product/IProductService.sol +5 -4
  99. package/contracts/instance/product/ProductService.sol +14 -11
  100. package/contracts/registry/IRegistry.sol +13 -11
  101. package/contracts/registry/Registry.sol +28 -22
  102. package/contracts/types/NftId.sol +3 -2
  103. package/package.json +1 -1
@@ -110,9 +110,9 @@
110
110
  {
111
111
  "inputs": [
112
112
  {
113
- "internalType": "uint256",
113
+ "internalType": "NftId",
114
114
  "name": "nftId",
115
- "type": "uint256"
115
+ "type": "uint96"
116
116
  }
117
117
  ],
118
118
  "name": "getInfo",
@@ -120,14 +120,14 @@
120
120
  {
121
121
  "components": [
122
122
  {
123
- "internalType": "uint256",
123
+ "internalType": "NftId",
124
124
  "name": "nftId",
125
- "type": "uint256"
125
+ "type": "uint96"
126
126
  },
127
127
  {
128
- "internalType": "uint256",
128
+ "internalType": "NftId",
129
129
  "name": "parentNftId",
130
- "type": "uint256"
130
+ "type": "uint96"
131
131
  },
132
132
  {
133
133
  "internalType": "uint256",
@@ -177,9 +177,9 @@
177
177
  "name": "getNftId",
178
178
  "outputs": [
179
179
  {
180
- "internalType": "uint256",
180
+ "internalType": "NftId",
181
181
  "name": "id",
182
- "type": "uint256"
182
+ "type": "uint96"
183
183
  }
184
184
  ],
185
185
  "stateMutability": "view",
@@ -201,9 +201,9 @@
201
201
  {
202
202
  "inputs": [
203
203
  {
204
- "internalType": "uint256",
204
+ "internalType": "NftId",
205
205
  "name": "nftId",
206
- "type": "uint256"
206
+ "type": "uint96"
207
207
  }
208
208
  ],
209
209
  "name": "getOwner",
@@ -260,9 +260,9 @@
260
260
  "name": "register",
261
261
  "outputs": [
262
262
  {
263
- "internalType": "uint256",
263
+ "internalType": "NftId",
264
264
  "name": "nftId",
265
- "type": "uint256"
265
+ "type": "uint96"
266
266
  }
267
267
  ],
268
268
  "stateMutability": "nonpayable",
@@ -271,9 +271,9 @@
271
271
  {
272
272
  "inputs": [
273
273
  {
274
- "internalType": "uint256",
274
+ "internalType": "NftId",
275
275
  "name": "parentNftId",
276
- "type": "uint256"
276
+ "type": "uint96"
277
277
  },
278
278
  {
279
279
  "internalType": "uint256",
@@ -289,17 +289,59 @@
289
289
  "name": "registerObjectForInstance",
290
290
  "outputs": [
291
291
  {
292
- "internalType": "uint256",
292
+ "internalType": "NftId",
293
293
  "name": "nftId",
294
- "type": "uint256"
294
+ "type": "uint96"
295
295
  }
296
296
  ],
297
297
  "stateMutability": "nonpayable",
298
298
  "type": "function"
299
299
  }
300
300
  ],
301
- "bytecode": "0x608060405234801561001057600080fd5b506117e3806100206000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806382bfefc8116100a2578063c41a360a11610071578063c41a360a146102c0578063c4d66de8146102f0578063d15db8b41461030c578063d272ac1e1461032a578063dadbccee1461035a5761010b565b806382bfefc814610224578063ab10b8ec14610242578063be9a71bd14610272578063c3c5a547146102905761010b565b80633fe9300e116100de5780633fe9300e1461019a5780634420e486146101b857806353bed7c3146101e85780637535d246146102065761010b565b80631a3cd59a146101105780631a848cfb1461014057806325425a911461015e57806338013f021461017c575b600080fd5b61012a60048036038101906101259190611176565b610378565b604051610137919061125b565b60405180910390f35b61014861046e565b6040516101559190611285565b60405180910390f35b610166610506565b6040516101739190611285565b60405180910390f35b61018461050f565b6040516101919190611285565b60405180910390f35b6101a2610518565b6040516101af9190611330565b60405180910390f35b6101d260048036038101906101cd919061137e565b61052b565b6040516101df9190611285565b60405180910390f35b6101f0610c4c565b6040516101fd9190611285565b60405180910390f35b61020e610c55565b60405161021b9190611285565b60405180910390f35b61022c610c5e565b6040516102399190611285565b60405180910390f35b61025c600480360381019061025791906113ab565b610c67565b6040516102699190611285565b60405180910390f35b61027a610e96565b604051610287919061140d565b60405180910390f35b6102aa60048036038101906102a5919061137e565b610ec0565b6040516102b79190611443565b60405180910390f35b6102da60048036038101906102d59190611176565b610f0b565b6040516102e7919061140d565b60405180910390f35b61030a6004803603810190610305919061137e565b610fb0565b005b610314611085565b6040516103219190611285565b60405180910390f35b610344600480360381019061033f919061137e565b61108e565b6040516103519190611285565b60405180910390f35b6103626110d7565b60405161036f9190611285565b60405180910390f35b6103806110e0565b6000808381526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105019190611473565b905090565b60006032905090565b6000603c905090565b6040518060200160405280600081525081565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146105ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a5906114ec565b60405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106229190611538565b610661576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610658906115b1565b60405180910390fd5b610669611085565b8173ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d89190611473565b1461087f5760008060008373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561072d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107519190611473565b81526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050600081600001511161087d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108749061161d565b60405180910390fd5b505b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def5218273ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610908573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092c9190611652565b604051806020016040528060008152506040518363ffffffff1660e01b815260040161095992919061167f565b6020604051808303816000875af1158015610978573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099c9190611473565b915060006040518060a001604052808481526020018373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a209190611473565b81526020018373ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a949190611473565b81526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b249190611652565b73ffffffffffffffffffffffffffffffffffffffff1681525090508060008085815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505082600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050919050565b6000605a905090565b60006046905090565b6000601e905090565b6000610c716110d7565b831480610c845750610c81610c4c565b83145b610cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cba906116fb565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def52183604051806020016040528060008152506040518363ffffffff1660e01b8152600401610d2f92919061167f565b6020604051808303816000875af1158015610d4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d729190611473565b905060006040518060a00160405280838152602001868152602001858152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681525090508060008084815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550905050509392505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054119050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610f689190611285565b602060405180830381865afa158015610f85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa99190611652565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611041576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110389061178d565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006028905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006050905090565b6040518060a00160405280600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b600080fd5b6000819050919050565b61115381611140565b811461115e57600080fd5b50565b6000813590506111708161114a565b92915050565b60006020828403121561118c5761118b61113b565b5b600061119a84828501611161565b91505092915050565b6111ac81611140565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006111dd826111b2565b9050919050565b6111ed816111d2565b82525050565b60a08201600082015161120960008501826111a3565b50602082015161121c60208501826111a3565b50604082015161122f60408501826111a3565b50606082015161124260608501826111e4565b50608082015161125560808501826111e4565b50505050565b600060a08201905061127060008301846111f3565b92915050565b61127f81611140565b82525050565b600060208201905061129a6000830184611276565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156112da5780820151818401526020810190506112bf565b60008484015250505050565b6000601f19601f8301169050919050565b6000611302826112a0565b61130c81856112ab565b935061131c8185602086016112bc565b611325816112e6565b840191505092915050565b6000602082019050818103600083015261134a81846112f7565b905092915050565b61135b816111d2565b811461136657600080fd5b50565b60008135905061137881611352565b92915050565b6000602082840312156113945761139361113b565b5b60006113a284828501611369565b91505092915050565b6000806000606084860312156113c4576113c361113b565b5b60006113d286828701611161565b93505060206113e386828701611161565b92505060406113f486828701611369565b9150509250925092565b611407816111d2565b82525050565b600060208201905061142260008301846113fe565b92915050565b60008115159050919050565b61143d81611428565b82525050565b60006020820190506114586000830184611434565b92915050565b60008151905061146d8161114a565b92915050565b6000602082840312156114895761148861113b565b5b60006114978482850161145e565b91505092915050565b7f4552524f523a5245472d3030313a414c52454144595f52454749535445524544600082015250565b60006114d66020836112ab565b91506114e1826114a0565b602082019050919050565b60006020820190508181036000830152611505816114c9565b9050919050565b61151581611428565b811461152057600080fd5b50565b6000815190506115328161150c565b92915050565b60006020828403121561154e5761154d61113b565b5b600061155c84828501611523565b91505092915050565b7f4552524f523a5245472d3030323a4e4f545f524547495354455241424c450000600082015250565b600061159b601e836112ab565b91506115a682611565565b602082019050919050565b600060208201905081810360008301526115ca8161158e565b9050919050565b7f4552524f523a5245472d3030333a504152454e545f4e4f545f464f554e440000600082015250565b6000611607601e836112ab565b9150611612826115d1565b602082019050919050565b60006020820190508181036000830152611636816115fa565b9050919050565b60008151905061164c81611352565b92915050565b6000602082840312156116685761166761113b565b5b60006116768482850161163d565b91505092915050565b600060408201905061169460008301856113fe565b81810360208301526116a681846112f7565b90509392505050565b7f4552524f523a5245472d3030353a545950455f494e56414c4944000000000000600082015250565b60006116e5601a836112ab565b91506116f0826116af565b602082019050919050565b60006020820190508181036000830152611714816116d8565b9050919050565b7f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a4560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b60006117776021836112ab565b91506117828261171b565b604082019050919050565b600060208201905081810360008301526117a68161176a565b905091905056fea2646970667358221220b3d9bb8f0008c6333b80dd7514f21858c42aca09341fe2aa6324e61e9e75084864736f6c63430008140033",
302
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061010b5760003560e01c806382bfefc8116100a2578063c41a360a11610071578063c41a360a146102c0578063c4d66de8146102f0578063d15db8b41461030c578063d272ac1e1461032a578063dadbccee1461035a5761010b565b806382bfefc814610224578063ab10b8ec14610242578063be9a71bd14610272578063c3c5a547146102905761010b565b80633fe9300e116100de5780633fe9300e1461019a5780634420e486146101b857806353bed7c3146101e85780637535d246146102065761010b565b80631a3cd59a146101105780631a848cfb1461014057806325425a911461015e57806338013f021461017c575b600080fd5b61012a60048036038101906101259190611176565b610378565b604051610137919061125b565b60405180910390f35b61014861046e565b6040516101559190611285565b60405180910390f35b610166610506565b6040516101739190611285565b60405180910390f35b61018461050f565b6040516101919190611285565b60405180910390f35b6101a2610518565b6040516101af9190611330565b60405180910390f35b6101d260048036038101906101cd919061137e565b61052b565b6040516101df9190611285565b60405180910390f35b6101f0610c4c565b6040516101fd9190611285565b60405180910390f35b61020e610c55565b60405161021b9190611285565b60405180910390f35b61022c610c5e565b6040516102399190611285565b60405180910390f35b61025c600480360381019061025791906113ab565b610c67565b6040516102699190611285565b60405180910390f35b61027a610e96565b604051610287919061140d565b60405180910390f35b6102aa60048036038101906102a5919061137e565b610ec0565b6040516102b79190611443565b60405180910390f35b6102da60048036038101906102d59190611176565b610f0b565b6040516102e7919061140d565b60405180910390f35b61030a6004803603810190610305919061137e565b610fb0565b005b610314611085565b6040516103219190611285565b60405180910390f35b610344600480360381019061033f919061137e565b61108e565b6040516103519190611285565b60405180910390f35b6103626110d7565b60405161036f9190611285565b60405180910390f35b6103806110e0565b6000808381526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105019190611473565b905090565b60006032905090565b6000603c905090565b6040518060200160405280600081525081565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146105ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a5906114ec565b60405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106229190611538565b610661576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610658906115b1565b60405180910390fd5b610669611085565b8173ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d89190611473565b1461087f5760008060008373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561072d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107519190611473565b81526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050600081600001511161087d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108749061161d565b60405180910390fd5b505b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def5218273ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610908573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092c9190611652565b604051806020016040528060008152506040518363ffffffff1660e01b815260040161095992919061167f565b6020604051808303816000875af1158015610978573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099c9190611473565b915060006040518060a001604052808481526020018373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a209190611473565b81526020018373ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a949190611473565b81526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b249190611652565b73ffffffffffffffffffffffffffffffffffffffff1681525090508060008085815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505082600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050919050565b6000605a905090565b60006046905090565b6000601e905090565b6000610c716110d7565b831480610c845750610c81610c4c565b83145b610cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cba906116fb565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def52183604051806020016040528060008152506040518363ffffffff1660e01b8152600401610d2f92919061167f565b6020604051808303816000875af1158015610d4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d729190611473565b905060006040518060a00160405280838152602001868152602001858152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681525090508060008084815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550905050509392505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054119050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610f689190611285565b602060405180830381865afa158015610f85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa99190611652565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611041576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110389061178d565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006028905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006050905090565b6040518060a00160405280600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b600080fd5b6000819050919050565b61115381611140565b811461115e57600080fd5b50565b6000813590506111708161114a565b92915050565b60006020828403121561118c5761118b61113b565b5b600061119a84828501611161565b91505092915050565b6111ac81611140565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006111dd826111b2565b9050919050565b6111ed816111d2565b82525050565b60a08201600082015161120960008501826111a3565b50602082015161121c60208501826111a3565b50604082015161122f60408501826111a3565b50606082015161124260608501826111e4565b50608082015161125560808501826111e4565b50505050565b600060a08201905061127060008301846111f3565b92915050565b61127f81611140565b82525050565b600060208201905061129a6000830184611276565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156112da5780820151818401526020810190506112bf565b60008484015250505050565b6000601f19601f8301169050919050565b6000611302826112a0565b61130c81856112ab565b935061131c8185602086016112bc565b611325816112e6565b840191505092915050565b6000602082019050818103600083015261134a81846112f7565b905092915050565b61135b816111d2565b811461136657600080fd5b50565b60008135905061137881611352565b92915050565b6000602082840312156113945761139361113b565b5b60006113a284828501611369565b91505092915050565b6000806000606084860312156113c4576113c361113b565b5b60006113d286828701611161565b93505060206113e386828701611161565b92505060406113f486828701611369565b9150509250925092565b611407816111d2565b82525050565b600060208201905061142260008301846113fe565b92915050565b60008115159050919050565b61143d81611428565b82525050565b60006020820190506114586000830184611434565b92915050565b60008151905061146d8161114a565b92915050565b6000602082840312156114895761148861113b565b5b60006114978482850161145e565b91505092915050565b7f4552524f523a5245472d3030313a414c52454144595f52454749535445524544600082015250565b60006114d66020836112ab565b91506114e1826114a0565b602082019050919050565b60006020820190508181036000830152611505816114c9565b9050919050565b61151581611428565b811461152057600080fd5b50565b6000815190506115328161150c565b92915050565b60006020828403121561154e5761154d61113b565b5b600061155c84828501611523565b91505092915050565b7f4552524f523a5245472d3030323a4e4f545f524547495354455241424c450000600082015250565b600061159b601e836112ab565b91506115a682611565565b602082019050919050565b600060208201905081810360008301526115ca8161158e565b9050919050565b7f4552524f523a5245472d3030333a504152454e545f4e4f545f464f554e440000600082015250565b6000611607601e836112ab565b9150611612826115d1565b602082019050919050565b60006020820190508181036000830152611636816115fa565b9050919050565b60008151905061164c81611352565b92915050565b6000602082840312156116685761166761113b565b5b60006116768482850161163d565b91505092915050565b600060408201905061169460008301856113fe565b81810360208301526116a681846112f7565b90509392505050565b7f4552524f523a5245472d3030353a545950455f494e56414c4944000000000000600082015250565b60006116e5601a836112ab565b91506116f0826116af565b602082019050919050565b60006020820190508181036000830152611714816116d8565b9050919050565b7f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a4560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b60006117776021836112ab565b91506117828261171b565b604082019050919050565b600060208201905081810360008301526117a68161176a565b905091905056fea2646970667358221220b3d9bb8f0008c6333b80dd7514f21858c42aca09341fe2aa6324e61e9e75084864736f6c63430008140033",
303
- "linkReferences": {},
304
- "deployedLinkReferences": {}
301
+ "bytecode": "0x608060405234801561001057600080fd5b50611ded806100206000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80637535d246116100a2578063c4d66de811610071578063c4d66de8146102c0578063d15db8b4146102dc578063d272ac1e146102fa578063dadbccee1461032a578063df33330b146103485761010b565b80637535d2461461023657806382bfefc814610254578063be9a71bd14610272578063c3c5a547146102905761010b565b80633fe9300e116100de5780633fe9300e1461019a5780634420e486146101b85780634c3371cd146101e857806353bed7c3146102185761010b565b80631a848cfb1461011057806325425a911461012e578063294624ad1461014c57806338013f021461017c575b600080fd5b610118610378565b6040516101259190611649565b60405180910390f35b610136610410565b6040516101439190611649565b60405180910390f35b61016660048036038101906101619190611737565b610419565b60405161017391906117c5565b60405180910390f35b6101846106e8565b6040516101919190611649565b60405180910390f35b6101a26106f1565b6040516101af9190611870565b60405180910390f35b6101d260048036038101906101cd9190611892565b610704565b6040516101df91906117c5565b60405180910390f35b61020260048036038101906101fd91906118bf565b611094565b60405161020f9190611981565b60405180910390f35b61022061120e565b60405161022d9190611649565b60405180910390f35b61023e611217565b60405161024b9190611649565b60405180910390f35b61025c611220565b6040516102699190611649565b60405180910390f35b61027a611229565b60405161028791906119ab565b60405180910390f35b6102aa60048036038101906102a59190611892565b611253565b6040516102b791906119e1565b60405180910390f35b6102da60048036038101906102d59190611892565b61133b565b005b6102e4611410565b6040516102f19190611649565b60405180910390f35b610314600480360381019061030f9190611892565b611419565b60405161032191906117c5565b60405180910390f35b61033261147a565b60405161033f9190611649565b60405180910390f35b610362600480360381019061035d91906118bf565b611483565b60405161036f91906119ab565b60405180910390f35b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061040b9190611a11565b905090565b60006032905090565b600061042361147a565b831480610436575061043361120e565b83145b610475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046c90611a8a565b60405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def52184604051806020016040528060008152506040518363ffffffff1660e01b81526004016104e3929190611aaa565b6020604051808303816000875af1158015610502573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105269190611a11565b9050610531816115af565b915060006040518060a00160405280846bffffffffffffffffffffffff168152602001876bffffffffffffffffffffffff168152602001868152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff16815250905080600080856bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550602082015181600001600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506040820151816001015560608201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505050509392505050565b6000603c905090565b6040518060200160405280600081525081565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6352694ee890916040518263ffffffff1660e01b81526004016107a49190611ae9565b602060405180830381865af41580156107c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e59190611b30565b610824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081b90611ba9565b60405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610874573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108989190611b30565b6108d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ce90611c15565b60405180910390fd5b6108df611410565b8173ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561092a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094e9190611a11565b14610bfd5760008060008373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c79190611c4a565b6bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020019081526020016000206040518060a00160405290816000820160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200160008201600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905080600001516bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b8152600401610b7b9190611ae9565b602060405180830381865af4158015610b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbc9190611b30565b610bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf290611cc3565b60405180910390fd5b505b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def5218373ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cac9190611cf8565b604051806020016040528060008152506040518363ffffffff1660e01b8152600401610cd9929190611aaa565b6020604051808303816000875af1158015610cf8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1c9190611a11565b9050610d27816115af565b925060006040518060a00160405280856bffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db99190611c4a565b6bffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3b9190611a11565b81526020018673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ea7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecb9190611cf8565b73ffffffffffffffffffffffffffffffffffffffff16815250905080600080866bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550602082015181600001600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506040820151816001015560608201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505083600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550505050919050565b61109c6115b9565b600080836bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020019081526020016000206040518060a00160405290816000820160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200160008201600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b6000605a905090565b60006046905090565b6000601e905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b81526004016112f39190611ae9565b602060405180830381865af4158015611310573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113349190611b30565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c390611d97565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006028905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff169050919050565b60006050905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6308dc895e90916040518263ffffffff1660e01b815260040161150a9190611ae9565b602060405180830381865af4158015611527573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154b9190611a11565b6040518263ffffffff1660e01b81526004016115679190611649565b602060405180830381865afa158015611584573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a89190611cf8565b9050919050565b6000819050919050565b6040518060a0016040528060006bffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff16815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b6000819050919050565b61164381611630565b82525050565b600060208201905061165e600083018461163a565b92915050565b600080fd5b60006bffffffffffffffffffffffff82169050919050565b61168a81611669565b811461169557600080fd5b50565b6000813590506116a781611681565b92915050565b6116b681611630565b81146116c157600080fd5b50565b6000813590506116d3816116ad565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611704826116d9565b9050919050565b611714816116f9565b811461171f57600080fd5b50565b6000813590506117318161170b565b92915050565b6000806000606084860312156117505761174f611664565b5b600061175e86828701611698565b935050602061176f868287016116c4565b925050604061178086828701611722565b9150509250925092565b6000819050919050565b60006117af6117aa6117a584611669565b61178a565b611669565b9050919050565b6117bf81611794565b82525050565b60006020820190506117da60008301846117b6565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561181a5780820151818401526020810190506117ff565b60008484015250505050565b6000601f19601f8301169050919050565b6000611842826117e0565b61184c81856117eb565b935061185c8185602086016117fc565b61186581611826565b840191505092915050565b6000602082019050818103600083015261188a8184611837565b905092915050565b6000602082840312156118a8576118a7611664565b5b60006118b684828501611722565b91505092915050565b6000602082840312156118d5576118d4611664565b5b60006118e384828501611698565b91505092915050565b6118f581611794565b82525050565b61190481611630565b82525050565b611913816116f9565b82525050565b60a08201600082015161192f60008501826118ec565b50602082015161194260208501826118ec565b50604082015161195560408501826118fb565b506060820151611968606085018261190a565b50608082015161197b608085018261190a565b50505050565b600060a0820190506119966000830184611919565b92915050565b6119a5816116f9565b82525050565b60006020820190506119c0600083018461199c565b92915050565b60008115159050919050565b6119db816119c6565b82525050565b60006020820190506119f660008301846119d2565b92915050565b600081519050611a0b816116ad565b92915050565b600060208284031215611a2757611a26611664565b5b6000611a35848285016119fc565b91505092915050565b7f4552524f523a5245472d3030353a545950455f494e56414c4944000000000000600082015250565b6000611a74601a836117eb565b9150611a7f82611a3e565b602082019050919050565b60006020820190508181036000830152611aa381611a67565b9050919050565b6000604082019050611abf600083018561199c565b8181036020830152611ad18184611837565b90509392505050565b611ae381611794565b82525050565b6000602082019050611afe6000830184611ada565b92915050565b611b0d816119c6565b8114611b1857600080fd5b50565b600081519050611b2a81611b04565b92915050565b600060208284031215611b4657611b45611664565b5b6000611b5484828501611b1b565b91505092915050565b7f4552524f523a5245472d3030323a414c52454144595f52454749535445524544600082015250565b6000611b936020836117eb565b9150611b9e82611b5d565b602082019050919050565b60006020820190508181036000830152611bc281611b86565b9050919050565b7f4552524f523a5245472d3030333a4e4f545f524547495354455241424c450000600082015250565b6000611bff601e836117eb565b9150611c0a82611bc9565b602082019050919050565b60006020820190508181036000830152611c2e81611bf2565b9050919050565b600081519050611c4481611681565b92915050565b600060208284031215611c6057611c5f611664565b5b6000611c6e84828501611c35565b91505092915050565b7f4552524f523a5245472d3030343a504152454e545f4e4f545f464f554e440000600082015250565b6000611cad601e836117eb565b9150611cb882611c77565b602082019050919050565b60006020820190508181036000830152611cdc81611ca0565b9050919050565b600081519050611cf28161170b565b92915050565b600060208284031215611d0e57611d0d611664565b5b6000611d1c84828501611ce3565b91505092915050565b7f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a4560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b6000611d816021836117eb565b9150611d8c82611d25565b604082019050919050565b60006020820190508181036000830152611db081611d74565b905091905056fea2646970667358221220a972177dcaf3411619981bd3a66e56d0fea7b09a5732114f71ce9c35d9ef123c64736f6c63430008140033",
302
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80637535d246116100a2578063c4d66de811610071578063c4d66de8146102c0578063d15db8b4146102dc578063d272ac1e146102fa578063dadbccee1461032a578063df33330b146103485761010b565b80637535d2461461023657806382bfefc814610254578063be9a71bd14610272578063c3c5a547146102905761010b565b80633fe9300e116100de5780633fe9300e1461019a5780634420e486146101b85780634c3371cd146101e857806353bed7c3146102185761010b565b80631a848cfb1461011057806325425a911461012e578063294624ad1461014c57806338013f021461017c575b600080fd5b610118610378565b6040516101259190611649565b60405180910390f35b610136610410565b6040516101439190611649565b60405180910390f35b61016660048036038101906101619190611737565b610419565b60405161017391906117c5565b60405180910390f35b6101846106e8565b6040516101919190611649565b60405180910390f35b6101a26106f1565b6040516101af9190611870565b60405180910390f35b6101d260048036038101906101cd9190611892565b610704565b6040516101df91906117c5565b60405180910390f35b61020260048036038101906101fd91906118bf565b611094565b60405161020f9190611981565b60405180910390f35b61022061120e565b60405161022d9190611649565b60405180910390f35b61023e611217565b60405161024b9190611649565b60405180910390f35b61025c611220565b6040516102699190611649565b60405180910390f35b61027a611229565b60405161028791906119ab565b60405180910390f35b6102aa60048036038101906102a59190611892565b611253565b6040516102b791906119e1565b60405180910390f35b6102da60048036038101906102d59190611892565b61133b565b005b6102e4611410565b6040516102f19190611649565b60405180910390f35b610314600480360381019061030f9190611892565b611419565b60405161032191906117c5565b60405180910390f35b61033261147a565b60405161033f9190611649565b60405180910390f35b610362600480360381019061035d91906118bf565b611483565b60405161036f91906119ab565b60405180910390f35b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061040b9190611a11565b905090565b60006032905090565b600061042361147a565b831480610436575061043361120e565b83145b610475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046c90611a8a565b60405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def52184604051806020016040528060008152506040518363ffffffff1660e01b81526004016104e3929190611aaa565b6020604051808303816000875af1158015610502573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105269190611a11565b9050610531816115af565b915060006040518060a00160405280846bffffffffffffffffffffffff168152602001876bffffffffffffffffffffffff168152602001868152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff16815250905080600080856bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550602082015181600001600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506040820151816001015560608201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505050509392505050565b6000603c905090565b6040518060200160405280600081525081565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6352694ee890916040518263ffffffff1660e01b81526004016107a49190611ae9565b602060405180830381865af41580156107c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e59190611b30565b610824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081b90611ba9565b60405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610874573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108989190611b30565b6108d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ce90611c15565b60405180910390fd5b6108df611410565b8173ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561092a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094e9190611a11565b14610bfd5760008060008373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c79190611c4a565b6bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020019081526020016000206040518060a00160405290816000820160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200160008201600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905080600001516bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b8152600401610b7b9190611ae9565b602060405180830381865af4158015610b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbc9190611b30565b610bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf290611cc3565b60405180910390fd5b505b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def5218373ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cac9190611cf8565b604051806020016040528060008152506040518363ffffffff1660e01b8152600401610cd9929190611aaa565b6020604051808303816000875af1158015610cf8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1c9190611a11565b9050610d27816115af565b925060006040518060a00160405280856bffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db99190611c4a565b6bffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3b9190611a11565b81526020018673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ea7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecb9190611cf8565b73ffffffffffffffffffffffffffffffffffffffff16815250905080600080866bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550602082015181600001600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506040820151816001015560608201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505083600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550505050919050565b61109c6115b9565b600080836bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020019081526020016000206040518060a00160405290816000820160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200160008201600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b6000605a905090565b60006046905090565b6000601e905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b81526004016112f39190611ae9565b602060405180830381865af4158015611310573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113349190611b30565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c390611d97565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006028905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff169050919050565b60006050905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6308dc895e90916040518263ffffffff1660e01b815260040161150a9190611ae9565b602060405180830381865af4158015611527573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154b9190611a11565b6040518263ffffffff1660e01b81526004016115679190611649565b602060405180830381865afa158015611584573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a89190611cf8565b9050919050565b6000819050919050565b6040518060a0016040528060006bffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff16815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b6000819050919050565b61164381611630565b82525050565b600060208201905061165e600083018461163a565b92915050565b600080fd5b60006bffffffffffffffffffffffff82169050919050565b61168a81611669565b811461169557600080fd5b50565b6000813590506116a781611681565b92915050565b6116b681611630565b81146116c157600080fd5b50565b6000813590506116d3816116ad565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611704826116d9565b9050919050565b611714816116f9565b811461171f57600080fd5b50565b6000813590506117318161170b565b92915050565b6000806000606084860312156117505761174f611664565b5b600061175e86828701611698565b935050602061176f868287016116c4565b925050604061178086828701611722565b9150509250925092565b6000819050919050565b60006117af6117aa6117a584611669565b61178a565b611669565b9050919050565b6117bf81611794565b82525050565b60006020820190506117da60008301846117b6565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561181a5780820151818401526020810190506117ff565b60008484015250505050565b6000601f19601f8301169050919050565b6000611842826117e0565b61184c81856117eb565b935061185c8185602086016117fc565b61186581611826565b840191505092915050565b6000602082019050818103600083015261188a8184611837565b905092915050565b6000602082840312156118a8576118a7611664565b5b60006118b684828501611722565b91505092915050565b6000602082840312156118d5576118d4611664565b5b60006118e384828501611698565b91505092915050565b6118f581611794565b82525050565b61190481611630565b82525050565b611913816116f9565b82525050565b60a08201600082015161192f60008501826118ec565b50602082015161194260208501826118ec565b50604082015161195560408501826118fb565b506060820151611968606085018261190a565b50608082015161197b608085018261190a565b50505050565b600060a0820190506119966000830184611919565b92915050565b6119a5816116f9565b82525050565b60006020820190506119c0600083018461199c565b92915050565b60008115159050919050565b6119db816119c6565b82525050565b60006020820190506119f660008301846119d2565b92915050565b600081519050611a0b816116ad565b92915050565b600060208284031215611a2757611a26611664565b5b6000611a35848285016119fc565b91505092915050565b7f4552524f523a5245472d3030353a545950455f494e56414c4944000000000000600082015250565b6000611a74601a836117eb565b9150611a7f82611a3e565b602082019050919050565b60006020820190508181036000830152611aa381611a67565b9050919050565b6000604082019050611abf600083018561199c565b8181036020830152611ad18184611837565b90509392505050565b611ae381611794565b82525050565b6000602082019050611afe6000830184611ada565b92915050565b611b0d816119c6565b8114611b1857600080fd5b50565b600081519050611b2a81611b04565b92915050565b600060208284031215611b4657611b45611664565b5b6000611b5484828501611b1b565b91505092915050565b7f4552524f523a5245472d3030323a414c52454144595f52454749535445524544600082015250565b6000611b936020836117eb565b9150611b9e82611b5d565b602082019050919050565b60006020820190508181036000830152611bc281611b86565b9050919050565b7f4552524f523a5245472d3030333a4e4f545f524547495354455241424c450000600082015250565b6000611bff601e836117eb565b9150611c0a82611bc9565b602082019050919050565b60006020820190508181036000830152611c2e81611bf2565b9050919050565b600081519050611c4481611681565b92915050565b600060208284031215611c6057611c5f611664565b5b6000611c6e84828501611c35565b91505092915050565b7f4552524f523a5245472d3030343a504152454e545f4e4f545f464f554e440000600082015250565b6000611cad601e836117eb565b9150611cb882611c77565b602082019050919050565b60006020820190508181036000830152611cdc81611ca0565b9050919050565b600081519050611cf28161170b565b92915050565b600060208284031215611d0e57611d0d611664565b5b6000611d1c84828501611ce3565b91505092915050565b7f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a4560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b6000611d816021836117eb565b9150611d8c82611d25565b604082019050919050565b60006020820190508181036000830152611db081611d74565b905091905056fea2646970667358221220a972177dcaf3411619981bd3a66e56d0fea7b09a5732114f71ce9c35d9ef123c64736f6c63430008140033",
303
+ "linkReferences": {
304
+ "contracts/types/NftId.sol": {
305
+ "NftIdLib": [
306
+ {
307
+ "length": 20,
308
+ "start": 1934
309
+ },
310
+ {
311
+ "length": 20,
312
+ "start": 2917
313
+ },
314
+ {
315
+ "length": 20,
316
+ "start": 4829
317
+ },
318
+ {
319
+ "length": 20,
320
+ "start": 5364
321
+ }
322
+ ]
323
+ }
324
+ },
325
+ "deployedLinkReferences": {
326
+ "contracts/types/NftId.sol": {
327
+ "NftIdLib": [
328
+ {
329
+ "length": 20,
330
+ "start": 1902
331
+ },
332
+ {
333
+ "length": 20,
334
+ "start": 2885
335
+ },
336
+ {
337
+ "length": 20,
338
+ "start": 4797
339
+ },
340
+ {
341
+ "length": 20,
342
+ "start": 5332
343
+ }
344
+ ]
345
+ }
346
+ }
305
347
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2e17881254a0997c12cba9770e876768.json"
3
+ "buildInfo": "../../../build-info/323ad046525267eb5d4403a668e0a584.json"
4
4
  }
@@ -53,8 +53,8 @@
53
53
  "type": "function"
54
54
  }
55
55
  ],
56
- "bytecode": "0x608060405234801561001057600080fd5b50604051610249380380610249833981810160405281019061003291906100db565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050610108565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006100a88261007d565b9050919050565b6100b88161009d565b81146100c357600080fd5b50565b6000815190506100d5816100af565b92915050565b6000602082840312156100f1576100f0610078565b5b60006100ff848285016100c6565b91505092915050565b610132806101176000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80635ab1bd5314602d575b600080fd5b60336047565b604051603e919060e3565b60405180910390f35b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060af60ab60a7846070565b6090565b6070565b9050919050565b600060bf82609a565b9050919050565b600060cf8260b6565b9050919050565b60dd8160c6565b82525050565b600060208201905060f6600083018460d6565b9291505056fea26469706673582212205e251c6161feb424ce832a043a415b134612284e0cb9aa598bbde829849d4d0364736f6c63430008140033",
57
- "deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060285760003560e01c80635ab1bd5314602d575b600080fd5b60336047565b604051603e919060e3565b60405180910390f35b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060af60ab60a7846070565b6090565b6070565b9050919050565b600060bf82609a565b9050919050565b600060cf8260b6565b9050919050565b60dd8160c6565b82525050565b600060208201905060f6600083018460d6565b9291505056fea26469706673582212205e251c6161feb424ce832a043a415b134612284e0cb9aa598bbde829849d4d0364736f6c63430008140033",
56
+ "bytecode": "0x608060405234801561001057600080fd5b50604051610249380380610249833981810160405281019061003291906100db565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050610108565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006100a88261007d565b9050919050565b6100b88161009d565b81146100c357600080fd5b50565b6000815190506100d5816100af565b92915050565b6000602082840312156100f1576100f0610078565b5b60006100ff848285016100c6565b91505092915050565b610132806101176000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80635ab1bd5314602d575b600080fd5b60336047565b604051603e919060e3565b60405180910390f35b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060af60ab60a7846070565b6090565b6070565b9050919050565b600060bf82609a565b9050919050565b600060cf8260b6565b9050919050565b60dd8160c6565b82525050565b600060208201905060f6600083018460d6565b9291505056fea264697066735822122090281b0b0816a8fe6c6e4c85848e5233e8d7bf6ae671d075c098e0aff89915ee64736f6c63430008140033",
57
+ "deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060285760003560e01c80635ab1bd5314602d575b600080fd5b60336047565b604051603e919060e3565b60405180910390f35b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060af60ab60a7846070565b6090565b6070565b9050919050565b600060bf82609a565b9050919050565b600060cf8260b6565b9050919050565b60dd8160c6565b82525050565b600060208201905060f6600083018460d6565b9291505056fea264697066735822122090281b0b0816a8fe6c6e4c85848e5233e8d7bf6ae671d075c098e0aff89915ee64736f6c63430008140033",
58
58
  "linkReferences": {},
59
59
  "deployedLinkReferences": {}
60
60
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2e17881254a0997c12cba9770e876768.json"
3
+ "buildInfo": "../../../build-info/323ad046525267eb5d4403a668e0a584.json"
4
4
  }
@@ -3,8 +3,8 @@
3
3
  "contractName": "ChainIdLib",
4
4
  "sourceName": "contracts/types/ChainId.sol",
5
5
  "abi": [],
6
- "bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220dd3f9a8ead123d3fb63286326c7c66922df2a931f4f9084bb2d119acb033596d64736f6c63430008140033",
7
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220dd3f9a8ead123d3fb63286326c7c66922df2a931f4f9084bb2d119acb033596d64736f6c63430008140033",
6
+ "bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122076cc60318fc0255a7b6925fb9d5bc310666c3cec99a370c6a26a2d461530f3d864736f6c63430008140033",
7
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122076cc60318fc0255a7b6925fb9d5bc310666c3cec99a370c6a26a2d461530f3d864736f6c63430008140033",
8
8
  "linkReferences": {},
9
9
  "deployedLinkReferences": {}
10
10
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2e17881254a0997c12cba9770e876768.json"
3
+ "buildInfo": "../../../build-info/323ad046525267eb5d4403a668e0a584.json"
4
4
  }
@@ -2,9 +2,67 @@
2
2
  "_format": "hh-sol-artifact-1",
3
3
  "contractName": "NftIdLib",
4
4
  "sourceName": "contracts/types/NftId.sol",
5
- "abi": [],
6
- "bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220032da13230c796286a3fa1acdd6b13903f9e4b1e749979d71d48a4930b7159c564736f6c63430008140033",
7
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220032da13230c796286a3fa1acdd6b13903f9e4b1e749979d71d48a4930b7159c564736f6c63430008140033",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "NftId",
10
+ "name": "a",
11
+ "type": "uint96"
12
+ }
13
+ ],
14
+ "name": "eqz",
15
+ "outputs": [
16
+ {
17
+ "internalType": "bool",
18
+ "name": "",
19
+ "type": "bool"
20
+ }
21
+ ],
22
+ "stateMutability": "pure",
23
+ "type": "function"
24
+ },
25
+ {
26
+ "inputs": [
27
+ {
28
+ "internalType": "NftId",
29
+ "name": "a",
30
+ "type": "uint96"
31
+ }
32
+ ],
33
+ "name": "gtz",
34
+ "outputs": [
35
+ {
36
+ "internalType": "bool",
37
+ "name": "",
38
+ "type": "bool"
39
+ }
40
+ ],
41
+ "stateMutability": "pure",
42
+ "type": "function"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "NftId",
48
+ "name": "nftId",
49
+ "type": "uint96"
50
+ }
51
+ ],
52
+ "name": "toInt",
53
+ "outputs": [
54
+ {
55
+ "internalType": "uint256",
56
+ "name": "",
57
+ "type": "uint256"
58
+ }
59
+ ],
60
+ "stateMutability": "pure",
61
+ "type": "function"
62
+ }
63
+ ],
64
+ "bytecode": "0x610242610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061004b5760003560e01c806308dc895e1461005057806330b8415f1461008057806352694ee8146100b0575b600080fd5b61006a60048036038101906100659190610175565b6100e0565b60405161007791906101bb565b60405180910390f35b61009a60048036038101906100959190610175565b6100f8565b6040516100a791906101f1565b60405180910390f35b6100ca60048036038101906100c59190610175565b610112565b6040516100d791906101f1565b60405180910390f35b6000816bffffffffffffffffffffffff169050919050565b600080826bffffffffffffffffffffffff16119050919050565b600080826bffffffffffffffffffffffff16149050919050565b600080fd5b60006bffffffffffffffffffffffff82169050919050565b61015281610131565b811461015d57600080fd5b50565b60008135905061016f81610149565b92915050565b60006020828403121561018b5761018a61012c565b5b600061019984828501610160565b91505092915050565b6000819050919050565b6101b5816101a2565b82525050565b60006020820190506101d060008301846101ac565b92915050565b60008115159050919050565b6101eb816101d6565b82525050565b600060208201905061020660008301846101e2565b9291505056fea26469706673582212209affa62d114e1cb53bcb21f3612272fd3a48ab7679330e8ca5b746a63a2d60e164736f6c63430008140033",
65
+ "deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061004b5760003560e01c806308dc895e1461005057806330b8415f1461008057806352694ee8146100b0575b600080fd5b61006a60048036038101906100659190610175565b6100e0565b60405161007791906101bb565b60405180910390f35b61009a60048036038101906100959190610175565b6100f8565b6040516100a791906101f1565b60405180910390f35b6100ca60048036038101906100c59190610175565b610112565b6040516100d791906101f1565b60405180910390f35b6000816bffffffffffffffffffffffff169050919050565b600080826bffffffffffffffffffffffff16119050919050565b600080826bffffffffffffffffffffffff16149050919050565b600080fd5b60006bffffffffffffffffffffffff82169050919050565b61015281610131565b811461015d57600080fd5b50565b60008135905061016f81610149565b92915050565b60006020828403121561018b5761018a61012c565b5b600061019984828501610160565b91505092915050565b6000819050919050565b6101b5816101a2565b82525050565b60006020820190506101d060008301846101ac565b92915050565b60008115159050919050565b6101eb816101d6565b82525050565b600060208201905061020660008301846101e2565b9291505056fea26469706673582212209affa62d114e1cb53bcb21f3612272fd3a48ab7679330e8ca5b746a63a2d60e164736f6c63430008140033",
8
66
  "linkReferences": {},
9
67
  "deployedLinkReferences": {}
10
68
  }
@@ -6,7 +6,7 @@ import {Registerable} from "../registry/Registry.sol";
6
6
  import {IInstance} from "../instance/IInstance.sol";
7
7
 
8
8
  import {IInstanceLinked, IComponent, IComponentContract, IComponentModule, IComponentOwnerService} from "../instance/component/IComponent.sol";
9
-
9
+ import {NftId} from "../types/NftId.sol";
10
10
 
11
11
  contract InstanceLinked is
12
12
  IInstanceLinked
@@ -45,7 +45,7 @@ abstract contract Component is
45
45
  function register()
46
46
  public
47
47
  override
48
- returns(uint256 componentId)
48
+ returns(NftId componentId)
49
49
  {
50
50
  require(msg.sender == getInitialOwner(), "");
51
51
  require(address(_registry) != address(0), "ERROR:PRD-001:REGISTRY_ZERO");
@@ -56,7 +56,7 @@ abstract contract Component is
56
56
  }
57
57
 
58
58
  // from registerable
59
- function getParentNftId() public view override returns(uint256) {
59
+ function getParentNftId() public view override returns(NftId) {
60
60
  return getInstance().getNftId();
61
61
  }
62
62
  }
@@ -2,10 +2,11 @@
2
2
  pragma solidity ^0.8.19;
3
3
 
4
4
  import {IComponentContract} from "../instance/component/IComponent.sol";
5
+ import {NftId} from "../types/NftId.sol";
5
6
 
6
7
  interface IProductComponent is
7
8
  IComponentContract
8
9
  {
9
10
 
10
- function getPoolNftId() external view returns(uint256 poolNftId);
11
+ function getPoolNftId() external view returns(NftId poolNftId);
11
12
  }
@@ -4,6 +4,7 @@ pragma solidity ^0.8.19;
4
4
  import {IProductService} from "../instance/product/IProductService.sol";
5
5
  import {Component} from "./Component.sol";
6
6
  import {IProductComponent} from "./IProduct.sol";
7
+ import {NftId} from "../types/NftId.sol";
7
8
 
8
9
 
9
10
  contract Product is
@@ -29,10 +30,10 @@ contract Product is
29
30
  uint256 sumInsuredAmount,
30
31
  uint256 premiumAmount,
31
32
  uint256 lifetime,
32
- uint256 bundleNftId
33
+ NftId bundleNftId
33
34
  )
34
35
  internal
35
- returns(uint256 nftId)
36
+ returns(NftId nftId)
36
37
  {
37
38
  nftId = _productService.createApplication(
38
39
  applicationOwner,
@@ -43,13 +44,13 @@ contract Product is
43
44
  );
44
45
  }
45
46
 
46
- function _underwrite(uint256 nftId)
47
+ function _underwrite(NftId nftId)
47
48
  internal
48
49
  {
49
50
  _productService.underwrite(nftId);
50
51
  }
51
52
 
52
- function getPoolNftId() external view override returns(uint256 poolNftId) {
53
+ function getPoolNftId() external view override returns(NftId poolNftId) {
53
54
  return _registry.getNftId(_pool);
54
55
  }
55
56
 
@@ -20,13 +20,13 @@ contract Require {
20
20
  }
21
21
 
22
22
  function isAlargerThanBRequire_M(uint a) external view returns(bool isLarger) {
23
- require(a > _b, "ERROR:ABC-001:A_IS_SMALLER");
23
+ require(a > _b, "ERROR:ABC-002:A_IS_SMALLER");
24
24
 
25
25
  return true;
26
26
  }
27
27
 
28
28
  function isAlargerThanBRequire_L(uint a) external view returns(bool isLarger) {
29
- require(a > _b, "ERROR:ABC-001:A_IS_SMALLER_THAN_B");
29
+ require(a > _b, "ERROR:ABC-003:A_IS_SMALLER_THAN_B");
30
30
 
31
31
  return true;
32
32
  }
@@ -11,6 +11,7 @@ import {PolicyModule} from "./policy/PolicyModule.sol";
11
11
  import {PoolModule} from "./pool/PoolModule.sol";
12
12
 
13
13
  import {IInstance} from "./IInstance.sol";
14
+ import {NftId, toNftId} from "../types/NftId.sol";
14
15
 
15
16
  contract Instance is
16
17
  Registerable,
@@ -36,17 +37,17 @@ contract Instance is
36
37
  { }
37
38
 
38
39
  // from registerable
39
- function register() external override returns(uint256 id) {
40
+ function register() external override returns(NftId nftId) {
40
41
  require(address(_registry) != address(0), "ERROR:PRD-001:REGISTRY_ZERO");
41
42
  return _registry.register(address(this));
42
43
  }
43
44
 
44
45
  // from registerable
45
- function getParentNftId() public view override returns(uint256) {
46
+ function getParentNftId() public view override returns(NftId) {
46
47
  // TODO add self registry and exchange 0 for_registry.getNftId();
47
48
  // define parent tree for all registerables
48
49
  // eg 0 <- chain(mainnet) <- global registry <- chain registry <- instance <- component <- policy/bundle
49
- return 0;
50
+ return toNftId(0);
50
51
  }
51
52
 
52
53
  // from registerable