@tradetrust-yl/token-registry 5.1.2 → 5.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (255) hide show
  1. package/dist/app.js +566 -0
  2. package/dist/artifacts/TitleEscrow.sol/TitleEscrow.json +83 -9
  3. package/dist/artifacts/TitleEscrowFactory.sol/TitleEscrowFactory.json +22 -3
  4. package/dist/artifacts/TradeTrustToken.sol/TradeTrustToken.json +125 -2
  5. package/dist/artifacts/base/RegistryAccess.sol/RegistryAccess.dbg.json +1 -1
  6. package/dist/artifacts/base/SBTUpgradeable.sol/SBTUpgradeable.dbg.json +1 -1
  7. package/dist/artifacts/base/SBTUpgradeable.sol/SBTUpgradeable.json +2 -2
  8. package/dist/artifacts/base/TradeTrustSBT.sol/TradeTrustSBT.dbg.json +1 -1
  9. package/dist/artifacts/base/TradeTrustSBT.sol/TradeTrustSBT.json +43 -0
  10. package/dist/artifacts/base/TradeTrustTokenBase.sol/TradeTrustTokenBase.dbg.json +1 -1
  11. package/dist/artifacts/base/TradeTrustTokenBase.sol/TradeTrustTokenBase.json +86 -0
  12. package/dist/artifacts/base/TradeTrustTokenBaseURI.sol/TradeTrustTokenBaseURI.dbg.json +1 -1
  13. package/dist/artifacts/base/TradeTrustTokenBaseURI.sol/TradeTrustTokenBaseURI.json +43 -0
  14. package/dist/artifacts/base/TradeTrustTokenBurnable.sol/TradeTrustTokenBurnable.dbg.json +1 -1
  15. package/dist/artifacts/base/TradeTrustTokenBurnable.sol/TradeTrustTokenBurnable.json +43 -0
  16. package/dist/artifacts/base/TradeTrustTokenMintable.sol/TradeTrustTokenMintable.dbg.json +1 -1
  17. package/dist/artifacts/base/TradeTrustTokenMintable.sol/TradeTrustTokenMintable.json +86 -0
  18. package/dist/artifacts/base/TradeTrustTokenRestorable.sol/TradeTrustTokenRestorable.dbg.json +1 -1
  19. package/dist/artifacts/base/TradeTrustTokenRestorable.sol/TradeTrustTokenRestorable.json +43 -0
  20. package/dist/artifacts/interfaces/IERC721MetadataUpgradeable.sol/IERC721MetadataUpgradeable.dbg.json +1 -1
  21. package/dist/artifacts/interfaces/ISBTUpgradeable.sol/ISBTUpgradeable.dbg.json +1 -1
  22. package/dist/artifacts/interfaces/ITitleEscrow.sol/ITitleEscrow.dbg.json +1 -1
  23. package/dist/artifacts/interfaces/ITitleEscrow.sol/ITitleEscrow.json +42 -6
  24. package/dist/artifacts/interfaces/ITitleEscrowFactory.sol/ITitleEscrowFactory.dbg.json +1 -1
  25. package/dist/artifacts/interfaces/ITitleEscrowSignable.sol/ITitleEscrowSignable.dbg.json +1 -1
  26. package/dist/artifacts/interfaces/ITitleEscrowSignable.sol/ITitleEscrowSignable.json +42 -6
  27. package/dist/artifacts/interfaces/ITradeTrustSBT.sol/ITradeTrustSBT.dbg.json +1 -1
  28. package/dist/artifacts/interfaces/ITradeTrustToken.sol/ITradeTrustToken.dbg.json +1 -1
  29. package/dist/artifacts/interfaces/ITradeTrustToken.sol/ITradeTrustToken.json +18 -0
  30. package/dist/artifacts/interfaces/ITradeTrustTokenBurnable.sol/ITradeTrustTokenBurnable.dbg.json +1 -1
  31. package/dist/artifacts/interfaces/ITradeTrustTokenMintable.sol/ITradeTrustTokenMintable.dbg.json +1 -1
  32. package/dist/artifacts/interfaces/ITradeTrustTokenMintable.sol/ITradeTrustTokenMintable.json +18 -0
  33. package/dist/artifacts/interfaces/ITradeTrustTokenRestorable.sol/ITradeTrustTokenRestorable.dbg.json +1 -1
  34. package/dist/artifacts/interfaces/RegistryAccessErrors.sol/RegistryAccessErrors.dbg.json +1 -1
  35. package/dist/artifacts/interfaces/SigHelperErrors.sol/SigHelperErrors.dbg.json +1 -1
  36. package/dist/artifacts/interfaces/TDocDeployerErrors.sol/TDocDeployerErrors.dbg.json +1 -1
  37. package/dist/artifacts/interfaces/TitleEscrowErrors.sol/TitleEscrowErrors.dbg.json +1 -1
  38. package/dist/artifacts/interfaces/TitleEscrowFactoryErrors.sol/TitleEscrowFactoryErrors.dbg.json +1 -1
  39. package/dist/artifacts/interfaces/TitleEscrowSignableErrors.sol/TitleEscrowSignableErrors.dbg.json +1 -1
  40. package/dist/artifacts/interfaces/TradeTrustTokenErrors.sol/TradeTrustTokenErrors.dbg.json +1 -1
  41. package/dist/artifacts/interfaces/TradeTrustTokenErrors.sol/TradeTrustTokenErrors.json +5 -0
  42. package/dist/artifacts/mocks/ERC721ReceiverMock.sol/ERC721ReceiverMock.dbg.json +1 -1
  43. package/dist/artifacts/mocks/ERC721ReceiverMock.sol/ERC721ReceiverMock.json +2 -2
  44. package/dist/artifacts/mocks/SBTUpgradeableMock.sol/SBTUpgradeableMock.dbg.json +1 -1
  45. package/dist/artifacts/mocks/SBTUpgradeableMock.sol/SBTUpgradeableMock.json +2 -2
  46. package/dist/artifacts/mocks/SigHelperMock.sol/SigHelperMock.dbg.json +1 -1
  47. package/dist/artifacts/mocks/SimpleCaller.sol/SimpleCaller.dbg.json +1 -1
  48. package/dist/artifacts/mocks/TitleEscrowFactoryCallerMock.sol/TitleEscrowFactoryCallerMock.dbg.json +1 -1
  49. package/dist/artifacts/mocks/TitleEscrowFactoryGetterMock.sol/TitleEscrowFactoryGetterMock.dbg.json +1 -1
  50. package/dist/artifacts/mocks/TitleEscrowMock.sol/TitleEscrowMock.dbg.json +1 -1
  51. package/dist/artifacts/mocks/TitleEscrowMock.sol/TitleEscrowMock.json +83 -9
  52. package/dist/artifacts/mocks/TradeTrustTokenMock.sol/TradeTrustTokenMock.dbg.json +1 -1
  53. package/dist/artifacts/mocks/TradeTrustTokenMock.sol/TradeTrustTokenMock.json +125 -2
  54. package/dist/artifacts/presets/TitleEscrowSignable.sol/TitleEscrowSignable.dbg.json +1 -1
  55. package/dist/artifacts/presets/TitleEscrowSignable.sol/TitleEscrowSignable.json +87 -8
  56. package/dist/artifacts/presets/TradeTrustTokenStandard.sol/TradeTrustTokenStandard.dbg.json +1 -1
  57. package/dist/artifacts/presets/TradeTrustTokenStandard.sol/TradeTrustTokenStandard.json +88 -2
  58. package/dist/artifacts/utils/SigHelper.sol/SigHelper.dbg.json +1 -1
  59. package/dist/artifacts/utils/TDocDeployer.sol/TDocDeployer.dbg.json +1 -1
  60. package/dist/artifacts/utils/TDocDeployer.sol/TDocDeployer.json +2 -2
  61. package/dist/constants/default-address.js +5 -3
  62. package/dist/constants/role-hash.js +5 -3
  63. package/dist/contracts/@openzeppelin/contracts/index.ts +2 -0
  64. package/dist/contracts/@openzeppelin/contracts/metatx/ERC2771Context.js +5 -0
  65. package/dist/contracts/@openzeppelin/contracts/metatx/ERC2771Context.ts +111 -0
  66. package/dist/contracts/@openzeppelin/contracts/metatx/index.js +5 -0
  67. package/dist/contracts/@openzeppelin/contracts/{proxy/utils → metatx}/index.ts +1 -1
  68. package/dist/contracts/@openzeppelin/contracts/proxy/Clones.js +5 -0
  69. package/dist/contracts/@openzeppelin/contracts/proxy/Clones.ts +70 -0
  70. package/dist/contracts/@openzeppelin/contracts/proxy/index.ts +1 -2
  71. package/dist/contracts/@openzeppelin/contracts/utils/Create2.js +5 -0
  72. package/dist/contracts/@openzeppelin/contracts/utils/Create2.ts +70 -0
  73. package/dist/contracts/@openzeppelin/contracts/utils/index.ts +1 -0
  74. package/dist/contracts/@openzeppelin/contracts-upgradeable/index.ts +2 -0
  75. package/dist/contracts/@openzeppelin/{contracts/proxy/utils/Initializable.ts → contracts-upgradeable/metatx/ERC2771ContextUpgradeable.ts} +46 -5
  76. package/dist/contracts/@openzeppelin/contracts-upgradeable/metatx/index.ts +5 -0
  77. package/dist/contracts/contracts/TitleEscrow.ts +62 -12
  78. package/dist/contracts/contracts/TitleEscrowFactory.ts +18 -1
  79. package/dist/contracts/contracts/TradeTrustToken.js +2 -1
  80. package/dist/contracts/contracts/TradeTrustToken.ts +120 -0
  81. package/dist/contracts/contracts/base/TradeTrustSBT.ts +29 -0
  82. package/dist/contracts/contracts/base/TradeTrustTokenBase.js +2 -1
  83. package/dist/contracts/contracts/base/TradeTrustTokenBase.ts +88 -0
  84. package/dist/contracts/contracts/base/TradeTrustTokenBaseURI.ts +29 -0
  85. package/dist/contracts/contracts/base/TradeTrustTokenBurnable.ts +29 -0
  86. package/dist/contracts/contracts/base/TradeTrustTokenMintable.js +2 -1
  87. package/dist/contracts/contracts/base/TradeTrustTokenMintable.ts +88 -0
  88. package/dist/contracts/contracts/base/TradeTrustTokenRestorable.ts +29 -0
  89. package/dist/contracts/contracts/interfaces/ITitleEscrow.ts +30 -12
  90. package/dist/contracts/contracts/interfaces/ITitleEscrowSignable.ts +30 -12
  91. package/dist/contracts/contracts/interfaces/ITradeTrustToken.ts +22 -0
  92. package/dist/contracts/contracts/interfaces/ITradeTrustTokenMintable.ts +22 -1
  93. package/dist/contracts/contracts/mocks/TitleEscrowMock.ts +62 -12
  94. package/dist/contracts/contracts/mocks/TradeTrustTokenMock.js +2 -1
  95. package/dist/contracts/contracts/mocks/TradeTrustTokenMock.ts +120 -0
  96. package/dist/contracts/contracts/presets/TitleEscrowSignable.ts +62 -12
  97. package/dist/contracts/contracts/presets/TradeTrustTokenStandard.js +2 -1
  98. package/dist/contracts/contracts/presets/TradeTrustTokenStandard.ts +88 -0
  99. package/dist/contracts/factories/@openzeppelin/contracts/access/IAccessControl__factory.js +3 -1
  100. package/dist/contracts/factories/@openzeppelin/contracts/index.js +4 -3
  101. package/dist/contracts/factories/@openzeppelin/contracts/index.ts +1 -0
  102. package/dist/contracts/factories/@openzeppelin/contracts/interfaces/IERC1967__factory.js +3 -1
  103. package/dist/contracts/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.js +3 -1
  104. package/dist/contracts/factories/@openzeppelin/contracts/interfaces/index.js +1 -2
  105. package/dist/contracts/factories/@openzeppelin/contracts/metatx/ERC2771Context__factory.js +45 -0
  106. package/dist/contracts/factories/@openzeppelin/contracts/metatx/ERC2771Context__factory.ts +58 -0
  107. package/dist/contracts/factories/@openzeppelin/contracts/metatx/index.js +12 -0
  108. package/dist/contracts/factories/@openzeppelin/contracts/{proxy/utils → metatx}/index.ts +1 -1
  109. package/dist/contracts/factories/@openzeppelin/contracts/proxy/Clones__factory.js +44 -0
  110. package/dist/contracts/factories/@openzeppelin/contracts/proxy/Clones__factory.ts +70 -0
  111. package/dist/contracts/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils__factory.js +4 -2
  112. package/dist/contracts/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils__factory.ts +1 -1
  113. package/dist/contracts/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.js +3 -1
  114. package/dist/contracts/factories/@openzeppelin/contracts/proxy/index.js +9 -5
  115. package/dist/contracts/factories/@openzeppelin/contracts/proxy/index.ts +1 -1
  116. package/dist/contracts/factories/@openzeppelin/contracts/token/ERC721/IERC721Receiver__factory.js +3 -1
  117. package/dist/contracts/factories/@openzeppelin/contracts/token/index.js +1 -2
  118. package/dist/contracts/factories/@openzeppelin/contracts/utils/Address__factory.js +4 -2
  119. package/dist/contracts/factories/@openzeppelin/contracts/utils/Address__factory.ts +1 -1
  120. package/dist/contracts/factories/@openzeppelin/contracts/utils/Create2__factory.js +44 -0
  121. package/dist/contracts/factories/@openzeppelin/contracts/utils/Create2__factory.ts +70 -0
  122. package/dist/contracts/factories/@openzeppelin/contracts/utils/Errors__factory.js +3 -1
  123. package/dist/contracts/factories/@openzeppelin/contracts/utils/Pausable__factory.js +3 -1
  124. package/dist/contracts/factories/@openzeppelin/contracts/utils/Strings__factory.js +12 -2
  125. package/dist/contracts/factories/@openzeppelin/contracts/utils/Strings__factory.ts +11 -1
  126. package/dist/contracts/factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory.js +3 -1
  127. package/dist/contracts/factories/@openzeppelin/contracts/utils/index.js +8 -2
  128. package/dist/contracts/factories/@openzeppelin/contracts/utils/index.ts +1 -0
  129. package/dist/contracts/factories/@openzeppelin/contracts/utils/introspection/IERC165__factory.js +3 -1
  130. package/dist/contracts/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.js +3 -1
  131. package/dist/contracts/factories/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable__factory.js +3 -1
  132. package/dist/contracts/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.js +3 -1
  133. package/dist/contracts/factories/@openzeppelin/contracts-upgradeable/index.js +4 -3
  134. package/dist/contracts/factories/@openzeppelin/contracts-upgradeable/index.ts +1 -0
  135. package/dist/contracts/factories/@openzeppelin/contracts-upgradeable/metatx/ERC2771ContextUpgradeable__factory.js +63 -0
  136. package/dist/contracts/factories/@openzeppelin/contracts-upgradeable/metatx/ERC2771ContextUpgradeable__factory.ts +85 -0
  137. package/dist/contracts/factories/@openzeppelin/contracts-upgradeable/metatx/index.js +12 -0
  138. package/dist/contracts/factories/@openzeppelin/contracts-upgradeable/metatx/index.ts +5 -0
  139. package/dist/contracts/factories/@openzeppelin/contracts-upgradeable/proxy/index.js +1 -2
  140. package/dist/contracts/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.js +3 -1
  141. package/dist/contracts/factories/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable__factory.js +3 -1
  142. package/dist/contracts/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.js +3 -1
  143. package/dist/contracts/factories/@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable__factory.js +3 -1
  144. package/dist/contracts/factories/@openzeppelin/contracts-upgradeable/utils/index.js +1 -2
  145. package/dist/contracts/factories/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable__factory.js +3 -1
  146. package/dist/contracts/factories/@openzeppelin/index.js +1 -2
  147. package/dist/contracts/factories/contracts/TitleEscrowFactory__factory.js +23 -7
  148. package/dist/contracts/factories/contracts/TitleEscrowFactory__factory.ts +34 -6
  149. package/dist/contracts/factories/contracts/TitleEscrow__factory.js +72 -12
  150. package/dist/contracts/factories/contracts/TitleEscrow__factory.ts +95 -12
  151. package/dist/contracts/factories/contracts/TradeTrustToken__factory.js +102 -6
  152. package/dist/contracts/factories/contracts/TradeTrustToken__factory.ts +128 -1
  153. package/dist/contracts/factories/contracts/base/RegistryAccess__factory.js +3 -1
  154. package/dist/contracts/factories/contracts/base/SBTUpgradeable__factory.js +4 -2
  155. package/dist/contracts/factories/contracts/base/SBTUpgradeable__factory.ts +1 -1
  156. package/dist/contracts/factories/contracts/base/TradeTrustSBT__factory.js +35 -1
  157. package/dist/contracts/factories/contracts/base/TradeTrustSBT__factory.ts +43 -0
  158. package/dist/contracts/factories/contracts/base/TradeTrustTokenBaseURI__factory.js +35 -1
  159. package/dist/contracts/factories/contracts/base/TradeTrustTokenBaseURI__factory.ts +43 -0
  160. package/dist/contracts/factories/contracts/base/TradeTrustTokenBase__factory.js +69 -1
  161. package/dist/contracts/factories/contracts/base/TradeTrustTokenBase__factory.ts +86 -0
  162. package/dist/contracts/factories/contracts/base/TradeTrustTokenBurnable__factory.js +35 -1
  163. package/dist/contracts/factories/contracts/base/TradeTrustTokenBurnable__factory.ts +43 -0
  164. package/dist/contracts/factories/contracts/base/TradeTrustTokenMintable__factory.js +69 -1
  165. package/dist/contracts/factories/contracts/base/TradeTrustTokenMintable__factory.ts +86 -0
  166. package/dist/contracts/factories/contracts/base/TradeTrustTokenRestorable__factory.js +35 -1
  167. package/dist/contracts/factories/contracts/base/TradeTrustTokenRestorable__factory.ts +43 -0
  168. package/dist/contracts/factories/contracts/index.js +1 -2
  169. package/dist/contracts/factories/contracts/interfaces/IERC721MetadataUpgradeable__factory.js +3 -1
  170. package/dist/contracts/factories/contracts/interfaces/ISBTUpgradeable__factory.js +3 -1
  171. package/dist/contracts/factories/contracts/interfaces/ITitleEscrowFactory__factory.js +3 -1
  172. package/dist/contracts/factories/contracts/interfaces/ITitleEscrowSignable__factory.js +38 -6
  173. package/dist/contracts/factories/contracts/interfaces/ITitleEscrowSignable__factory.ts +42 -6
  174. package/dist/contracts/factories/contracts/interfaces/ITitleEscrow__factory.js +38 -6
  175. package/dist/contracts/factories/contracts/interfaces/ITitleEscrow__factory.ts +42 -6
  176. package/dist/contracts/factories/contracts/interfaces/ITradeTrustSBT__factory.js +3 -1
  177. package/dist/contracts/factories/contracts/interfaces/ITradeTrustTokenBurnable__factory.js +3 -1
  178. package/dist/contracts/factories/contracts/interfaces/ITradeTrustTokenMintable__factory.js +17 -1
  179. package/dist/contracts/factories/contracts/interfaces/ITradeTrustTokenMintable__factory.ts +18 -0
  180. package/dist/contracts/factories/contracts/interfaces/ITradeTrustTokenRestorable__factory.js +3 -1
  181. package/dist/contracts/factories/contracts/interfaces/ITradeTrustToken__factory.js +17 -1
  182. package/dist/contracts/factories/contracts/interfaces/ITradeTrustToken__factory.ts +18 -0
  183. package/dist/contracts/factories/contracts/interfaces/RegistryAccessErrors__factory.js +3 -1
  184. package/dist/contracts/factories/contracts/interfaces/SigHelperErrors__factory.js +3 -1
  185. package/dist/contracts/factories/contracts/interfaces/TDocDeployerErrors__factory.js +3 -1
  186. package/dist/contracts/factories/contracts/interfaces/TitleEscrowErrors__factory.js +3 -1
  187. package/dist/contracts/factories/contracts/interfaces/TitleEscrowFactoryErrors__factory.js +3 -1
  188. package/dist/contracts/factories/contracts/interfaces/TitleEscrowSignableErrors__factory.js +3 -1
  189. package/dist/contracts/factories/contracts/interfaces/TradeTrustTokenErrors__factory.js +7 -1
  190. package/dist/contracts/factories/contracts/interfaces/TradeTrustTokenErrors__factory.ts +5 -0
  191. package/dist/contracts/factories/contracts/mocks/ERC721ReceiverMock__factory.js +4 -2
  192. package/dist/contracts/factories/contracts/mocks/ERC721ReceiverMock__factory.ts +1 -1
  193. package/dist/contracts/factories/contracts/mocks/SBTUpgradeableMock__factory.js +4 -2
  194. package/dist/contracts/factories/contracts/mocks/SBTUpgradeableMock__factory.ts +1 -1
  195. package/dist/contracts/factories/contracts/mocks/SigHelperMock__factory.js +3 -1
  196. package/dist/contracts/factories/contracts/mocks/SimpleCaller__factory.js +3 -1
  197. package/dist/contracts/factories/contracts/mocks/TitleEscrowFactoryCallerMock__factory.js +3 -1
  198. package/dist/contracts/factories/contracts/mocks/TitleEscrowFactoryGetterMock__factory.js +3 -1
  199. package/dist/contracts/factories/contracts/mocks/TitleEscrowMock__factory.js +72 -12
  200. package/dist/contracts/factories/contracts/mocks/TitleEscrowMock__factory.ts +95 -12
  201. package/dist/contracts/factories/contracts/mocks/TradeTrustTokenMock__factory.js +102 -6
  202. package/dist/contracts/factories/contracts/mocks/TradeTrustTokenMock__factory.ts +128 -1
  203. package/dist/contracts/factories/contracts/presets/TitleEscrowSignable__factory.js +75 -11
  204. package/dist/contracts/factories/contracts/presets/TitleEscrowSignable__factory.ts +99 -11
  205. package/dist/contracts/factories/contracts/presets/TradeTrustTokenStandard__factory.js +70 -2
  206. package/dist/contracts/factories/contracts/presets/TradeTrustTokenStandard__factory.ts +87 -1
  207. package/dist/contracts/factories/contracts/utils/SigHelper__factory.js +3 -1
  208. package/dist/contracts/factories/contracts/utils/TDocDeployer__factory.js +4 -2
  209. package/dist/contracts/factories/contracts/utils/TDocDeployer__factory.ts +1 -1
  210. package/dist/contracts/factories/index.js +1 -2
  211. package/dist/contracts/hardhat.d.ts +70 -16
  212. package/dist/contracts/index.js +29 -2
  213. package/dist/contracts/index.ts +8 -0
  214. package/dist/index.js +1 -2
  215. package/dist/models/common.js +5 -0
  216. package/dist/models/freightForwarder.js +5 -0
  217. package/dist/models/shipOwner.js +5 -0
  218. package/dist/services/admin/adminRepository.js +77 -0
  219. package/dist/services/crypto.js +215 -0
  220. package/dist/services/database.js +36 -0
  221. package/dist/services/freightForwarder/freightForwarderRepository.js +94 -0
  222. package/dist/services/shipOwner/shipOwnerController.js +77 -0
  223. package/dist/services/shipOwner/shipOwnerRepository.js +94 -0
  224. package/dist/services/shipOwner/shipOwnerRoutes.js +18 -0
  225. package/dist/types/app.d.ts +1 -0
  226. package/dist/types/constants/contract-address.d.ts +43 -3
  227. package/dist/types/models/common.d.ts +23 -0
  228. package/dist/types/models/freightForwarder.d.ts +15 -0
  229. package/dist/types/models/shipOwner.d.ts +25 -0
  230. package/dist/types/services/admin/adminRepository.d.ts +9 -0
  231. package/dist/types/services/crypto.d.ts +27 -0
  232. package/dist/types/services/database.d.ts +3 -0
  233. package/dist/types/services/freightForwarder/freightForwarderRepository.d.ts +10 -0
  234. package/dist/types/services/shipOwner/shipOwnerController.d.ts +6 -0
  235. package/dist/types/services/shipOwner/shipOwnerRepository.d.ts +10 -0
  236. package/dist/types/services/shipOwner/shipOwnerRoutes.d.ts +2 -0
  237. package/dist/types/utils/extractFactoryAddress.d.ts +10 -0
  238. package/dist/types/utils/extractTokenAddress.d.ts +10 -0
  239. package/dist/types/utils/get-event-from-receipt.d.ts +1 -1
  240. package/dist/types/utils/index.d.ts +1 -0
  241. package/dist/types/utils/run.d.ts +9 -0
  242. package/dist/utils/compute-interface-id.js +5 -3
  243. package/dist/utils/compute-title-escrow-address.js +5 -3
  244. package/dist/utils/encode-init-params.js +5 -3
  245. package/dist/utils/extractFactoryAddress.js +58 -0
  246. package/dist/utils/extractTokenAddress.js +58 -0
  247. package/dist/utils/get-event-from-receipt.js +5 -3
  248. package/dist/utils/index.js +11 -0
  249. package/dist/utils/run.js +36 -0
  250. package/package.json +16 -3
  251. package/dist/contracts/factories/@openzeppelin/contracts/proxy/utils/Initializable__factory.js +0 -37
  252. package/dist/contracts/factories/@openzeppelin/contracts/proxy/utils/Initializable__factory.ts +0 -49
  253. package/dist/contracts/factories/@openzeppelin/contracts/proxy/utils/index.js +0 -12
  254. /package/dist/contracts/@openzeppelin/{contracts/proxy/utils/Initializable.js → contracts-upgradeable/metatx/ERC2771ContextUpgradeable.js} +0 -0
  255. /package/dist/contracts/@openzeppelin/{contracts/proxy/utils → contracts-upgradeable/metatx}/index.js +0 -0
@@ -35,6 +35,11 @@ const _abi = [
35
35
  name: "NotInitializing",
36
36
  type: "error",
37
37
  },
38
+ {
39
+ inputs: [],
40
+ name: "NotTokenIssuer",
41
+ type: "error",
42
+ },
38
43
  {
39
44
  inputs: [],
40
45
  name: "RemarkLengthExceeded",
@@ -189,6 +194,25 @@ const _abi = [
189
194
  stateMutability: "view",
190
195
  type: "function",
191
196
  },
197
+ {
198
+ inputs: [
199
+ {
200
+ internalType: "uint256",
201
+ name: "tokenId",
202
+ type: "uint256",
203
+ },
204
+ ],
205
+ name: "issuerOf",
206
+ outputs: [
207
+ {
208
+ internalType: "address",
209
+ name: "",
210
+ type: "address",
211
+ },
212
+ ],
213
+ stateMutability: "view",
214
+ type: "function",
215
+ },
192
216
  {
193
217
  inputs: [],
194
218
  name: "name",
@@ -326,6 +350,25 @@ const _abi = [
326
350
  stateMutability: "view",
327
351
  type: "function",
328
352
  },
353
+ {
354
+ inputs: [
355
+ {
356
+ internalType: "uint256",
357
+ name: "tokenId",
358
+ type: "uint256",
359
+ },
360
+ ],
361
+ name: "tokenAccepterOf",
362
+ outputs: [
363
+ {
364
+ internalType: "address",
365
+ name: "",
366
+ type: "address",
367
+ },
368
+ ],
369
+ stateMutability: "view",
370
+ type: "function",
371
+ },
329
372
  {
330
373
  inputs: [
331
374
  {
@@ -5,7 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.TradeTrustTokenBaseURI__factory = void 0;
7
7
  var _ethers = require("ethers");
8
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ // @ts-nocheck
8
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
9
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
10
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ // @ts-nocheck
9
11
  const _abi = [{
10
12
  inputs: [],
11
13
  name: "AccessControlBadConfirmation",
@@ -46,6 +48,10 @@ const _abi = [{
46
48
  inputs: [],
47
49
  name: "NotInitializing",
48
50
  type: "error"
51
+ }, {
52
+ inputs: [],
53
+ name: "NotTokenIssuer",
54
+ type: "error"
49
55
  }, {
50
56
  inputs: [],
51
57
  name: "RemarkLengthExceeded",
@@ -312,6 +318,20 @@ const _abi = [{
312
318
  }],
313
319
  stateMutability: "view",
314
320
  type: "function"
321
+ }, {
322
+ inputs: [{
323
+ internalType: "uint256",
324
+ name: "tokenId",
325
+ type: "uint256"
326
+ }],
327
+ name: "issuerOf",
328
+ outputs: [{
329
+ internalType: "address",
330
+ name: "",
331
+ type: "address"
332
+ }],
333
+ stateMutability: "view",
334
+ type: "function"
315
335
  }, {
316
336
  inputs: [],
317
337
  name: "name",
@@ -468,6 +488,20 @@ const _abi = [{
468
488
  }],
469
489
  stateMutability: "view",
470
490
  type: "function"
491
+ }, {
492
+ inputs: [{
493
+ internalType: "uint256",
494
+ name: "tokenId",
495
+ type: "uint256"
496
+ }],
497
+ name: "tokenAccepterOf",
498
+ outputs: [{
499
+ internalType: "address",
500
+ name: "",
501
+ type: "address"
502
+ }],
503
+ stateMutability: "view",
504
+ type: "function"
471
505
  }, {
472
506
  inputs: [{
473
507
  internalType: "uint256",
@@ -61,6 +61,11 @@ const _abi = [
61
61
  name: "NotInitializing",
62
62
  type: "error",
63
63
  },
64
+ {
65
+ inputs: [],
66
+ name: "NotTokenIssuer",
67
+ type: "error",
68
+ },
64
69
  {
65
70
  inputs: [],
66
71
  name: "RemarkLengthExceeded",
@@ -403,6 +408,25 @@ const _abi = [
403
408
  stateMutability: "view",
404
409
  type: "function",
405
410
  },
411
+ {
412
+ inputs: [
413
+ {
414
+ internalType: "uint256",
415
+ name: "tokenId",
416
+ type: "uint256",
417
+ },
418
+ ],
419
+ name: "issuerOf",
420
+ outputs: [
421
+ {
422
+ internalType: "address",
423
+ name: "",
424
+ type: "address",
425
+ },
426
+ ],
427
+ stateMutability: "view",
428
+ type: "function",
429
+ },
406
430
  {
407
431
  inputs: [],
408
432
  name: "name",
@@ -607,6 +631,25 @@ const _abi = [
607
631
  stateMutability: "view",
608
632
  type: "function",
609
633
  },
634
+ {
635
+ inputs: [
636
+ {
637
+ internalType: "uint256",
638
+ name: "tokenId",
639
+ type: "uint256",
640
+ },
641
+ ],
642
+ name: "tokenAccepterOf",
643
+ outputs: [
644
+ {
645
+ internalType: "address",
646
+ name: "",
647
+ type: "address",
648
+ },
649
+ ],
650
+ stateMutability: "view",
651
+ type: "function",
652
+ },
610
653
  {
611
654
  inputs: [
612
655
  {
@@ -5,7 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.TradeTrustTokenBase__factory = void 0;
7
7
  var _ethers = require("ethers");
8
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ // @ts-nocheck
8
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
9
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
10
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ // @ts-nocheck
9
11
  const _abi = [{
10
12
  inputs: [],
11
13
  name: "AccessControlBadConfirmation",
@@ -46,6 +48,10 @@ const _abi = [{
46
48
  inputs: [],
47
49
  name: "NotInitializing",
48
50
  type: "error"
51
+ }, {
52
+ inputs: [],
53
+ name: "NotTokenIssuer",
54
+ type: "error"
49
55
  }, {
50
56
  inputs: [],
51
57
  name: "RemarkLengthExceeded",
@@ -157,6 +163,26 @@ const _abi = [{
157
163
  }],
158
164
  name: "RoleRevoked",
159
165
  type: "event"
166
+ }, {
167
+ anonymous: false,
168
+ inputs: [{
169
+ indexed: true,
170
+ internalType: "address",
171
+ name: "actor",
172
+ type: "address"
173
+ }, {
174
+ indexed: true,
175
+ internalType: "uint256",
176
+ name: "tokenId",
177
+ type: "uint256"
178
+ }, {
179
+ indexed: true,
180
+ internalType: "address",
181
+ name: "accepter",
182
+ type: "address"
183
+ }],
184
+ name: "TokenAccepterAssigned",
185
+ type: "event"
160
186
  }, {
161
187
  anonymous: false,
162
188
  inputs: [{
@@ -326,6 +352,20 @@ const _abi = [{
326
352
  }],
327
353
  stateMutability: "view",
328
354
  type: "function"
355
+ }, {
356
+ inputs: [{
357
+ internalType: "uint256",
358
+ name: "tokenId",
359
+ type: "uint256"
360
+ }],
361
+ name: "issuerOf",
362
+ outputs: [{
363
+ internalType: "address",
364
+ name: "",
365
+ type: "address"
366
+ }],
367
+ stateMutability: "view",
368
+ type: "function"
329
369
  }, {
330
370
  inputs: [{
331
371
  internalType: "address",
@@ -502,6 +542,20 @@ const _abi = [{
502
542
  outputs: [],
503
543
  stateMutability: "nonpayable",
504
544
  type: "function"
545
+ }, {
546
+ inputs: [{
547
+ internalType: "uint256",
548
+ name: "tokenId",
549
+ type: "uint256"
550
+ }, {
551
+ internalType: "address",
552
+ name: "accepter",
553
+ type: "address"
554
+ }],
555
+ name: "setTokenAccepter",
556
+ outputs: [],
557
+ stateMutability: "nonpayable",
558
+ type: "function"
505
559
  }, {
506
560
  inputs: [{
507
561
  internalType: "bytes4",
@@ -536,6 +590,20 @@ const _abi = [{
536
590
  }],
537
591
  stateMutability: "view",
538
592
  type: "function"
593
+ }, {
594
+ inputs: [{
595
+ internalType: "uint256",
596
+ name: "tokenId",
597
+ type: "uint256"
598
+ }],
599
+ name: "tokenAccepterOf",
600
+ outputs: [{
601
+ internalType: "address",
602
+ name: "",
603
+ type: "address"
604
+ }],
605
+ stateMutability: "view",
606
+ type: "function"
539
607
  }, {
540
608
  inputs: [{
541
609
  internalType: "uint256",
@@ -61,6 +61,11 @@ const _abi = [
61
61
  name: "NotInitializing",
62
62
  type: "error",
63
63
  },
64
+ {
65
+ inputs: [],
66
+ name: "NotTokenIssuer",
67
+ type: "error",
68
+ },
64
69
  {
65
70
  inputs: [],
66
71
  name: "RemarkLengthExceeded",
@@ -201,6 +206,31 @@ const _abi = [
201
206
  name: "RoleRevoked",
202
207
  type: "event",
203
208
  },
209
+ {
210
+ anonymous: false,
211
+ inputs: [
212
+ {
213
+ indexed: true,
214
+ internalType: "address",
215
+ name: "actor",
216
+ type: "address",
217
+ },
218
+ {
219
+ indexed: true,
220
+ internalType: "uint256",
221
+ name: "tokenId",
222
+ type: "uint256",
223
+ },
224
+ {
225
+ indexed: true,
226
+ internalType: "address",
227
+ name: "accepter",
228
+ type: "address",
229
+ },
230
+ ],
231
+ name: "TokenAccepterAssigned",
232
+ type: "event",
233
+ },
204
234
  {
205
235
  anonymous: false,
206
236
  inputs: [
@@ -421,6 +451,25 @@ const _abi = [
421
451
  stateMutability: "view",
422
452
  type: "function",
423
453
  },
454
+ {
455
+ inputs: [
456
+ {
457
+ internalType: "uint256",
458
+ name: "tokenId",
459
+ type: "uint256",
460
+ },
461
+ ],
462
+ name: "issuerOf",
463
+ outputs: [
464
+ {
465
+ internalType: "address",
466
+ name: "",
467
+ type: "address",
468
+ },
469
+ ],
470
+ stateMutability: "view",
471
+ type: "function",
472
+ },
424
473
  {
425
474
  inputs: [
426
475
  {
@@ -651,6 +700,24 @@ const _abi = [
651
700
  stateMutability: "nonpayable",
652
701
  type: "function",
653
702
  },
703
+ {
704
+ inputs: [
705
+ {
706
+ internalType: "uint256",
707
+ name: "tokenId",
708
+ type: "uint256",
709
+ },
710
+ {
711
+ internalType: "address",
712
+ name: "accepter",
713
+ type: "address",
714
+ },
715
+ ],
716
+ name: "setTokenAccepter",
717
+ outputs: [],
718
+ stateMutability: "nonpayable",
719
+ type: "function",
720
+ },
654
721
  {
655
722
  inputs: [
656
723
  {
@@ -696,6 +763,25 @@ const _abi = [
696
763
  stateMutability: "view",
697
764
  type: "function",
698
765
  },
766
+ {
767
+ inputs: [
768
+ {
769
+ internalType: "uint256",
770
+ name: "tokenId",
771
+ type: "uint256",
772
+ },
773
+ ],
774
+ name: "tokenAccepterOf",
775
+ outputs: [
776
+ {
777
+ internalType: "address",
778
+ name: "",
779
+ type: "address",
780
+ },
781
+ ],
782
+ stateMutability: "view",
783
+ type: "function",
784
+ },
699
785
  {
700
786
  inputs: [
701
787
  {
@@ -5,7 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.TradeTrustTokenBurnable__factory = void 0;
7
7
  var _ethers = require("ethers");
8
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ // @ts-nocheck
8
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
9
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
10
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ // @ts-nocheck
9
11
  const _abi = [{
10
12
  inputs: [],
11
13
  name: "AccessControlBadConfirmation",
@@ -46,6 +48,10 @@ const _abi = [{
46
48
  inputs: [],
47
49
  name: "NotInitializing",
48
50
  type: "error"
51
+ }, {
52
+ inputs: [],
53
+ name: "NotTokenIssuer",
54
+ type: "error"
49
55
  }, {
50
56
  inputs: [],
51
57
  name: "RemarkLengthExceeded",
@@ -326,6 +332,20 @@ const _abi = [{
326
332
  }],
327
333
  stateMutability: "view",
328
334
  type: "function"
335
+ }, {
336
+ inputs: [{
337
+ internalType: "uint256",
338
+ name: "tokenId",
339
+ type: "uint256"
340
+ }],
341
+ name: "issuerOf",
342
+ outputs: [{
343
+ internalType: "address",
344
+ name: "",
345
+ type: "address"
346
+ }],
347
+ stateMutability: "view",
348
+ type: "function"
329
349
  }, {
330
350
  inputs: [],
331
351
  name: "name",
@@ -472,6 +492,20 @@ const _abi = [{
472
492
  }],
473
493
  stateMutability: "view",
474
494
  type: "function"
495
+ }, {
496
+ inputs: [{
497
+ internalType: "uint256",
498
+ name: "tokenId",
499
+ type: "uint256"
500
+ }],
501
+ name: "tokenAccepterOf",
502
+ outputs: [{
503
+ internalType: "address",
504
+ name: "",
505
+ type: "address"
506
+ }],
507
+ stateMutability: "view",
508
+ type: "function"
475
509
  }, {
476
510
  inputs: [{
477
511
  internalType: "uint256",
@@ -61,6 +61,11 @@ const _abi = [
61
61
  name: "NotInitializing",
62
62
  type: "error",
63
63
  },
64
+ {
65
+ inputs: [],
66
+ name: "NotTokenIssuer",
67
+ type: "error",
68
+ },
64
69
  {
65
70
  inputs: [],
66
71
  name: "RemarkLengthExceeded",
@@ -421,6 +426,25 @@ const _abi = [
421
426
  stateMutability: "view",
422
427
  type: "function",
423
428
  },
429
+ {
430
+ inputs: [
431
+ {
432
+ internalType: "uint256",
433
+ name: "tokenId",
434
+ type: "uint256",
435
+ },
436
+ ],
437
+ name: "issuerOf",
438
+ outputs: [
439
+ {
440
+ internalType: "address",
441
+ name: "",
442
+ type: "address",
443
+ },
444
+ ],
445
+ stateMutability: "view",
446
+ type: "function",
447
+ },
424
448
  {
425
449
  inputs: [],
426
450
  name: "name",
@@ -612,6 +636,25 @@ const _abi = [
612
636
  stateMutability: "view",
613
637
  type: "function",
614
638
  },
639
+ {
640
+ inputs: [
641
+ {
642
+ internalType: "uint256",
643
+ name: "tokenId",
644
+ type: "uint256",
645
+ },
646
+ ],
647
+ name: "tokenAccepterOf",
648
+ outputs: [
649
+ {
650
+ internalType: "address",
651
+ name: "",
652
+ type: "address",
653
+ },
654
+ ],
655
+ stateMutability: "view",
656
+ type: "function",
657
+ },
615
658
  {
616
659
  inputs: [
617
660
  {
@@ -5,7 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.TradeTrustTokenMintable__factory = void 0;
7
7
  var _ethers = require("ethers");
8
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ // @ts-nocheck
8
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
9
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
10
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ // @ts-nocheck
9
11
  const _abi = [{
10
12
  inputs: [],
11
13
  name: "AccessControlBadConfirmation",
@@ -46,6 +48,10 @@ const _abi = [{
46
48
  inputs: [],
47
49
  name: "NotInitializing",
48
50
  type: "error"
51
+ }, {
52
+ inputs: [],
53
+ name: "NotTokenIssuer",
54
+ type: "error"
49
55
  }, {
50
56
  inputs: [],
51
57
  name: "RemarkLengthExceeded",
@@ -157,6 +163,26 @@ const _abi = [{
157
163
  }],
158
164
  name: "RoleRevoked",
159
165
  type: "event"
166
+ }, {
167
+ anonymous: false,
168
+ inputs: [{
169
+ indexed: true,
170
+ internalType: "address",
171
+ name: "actor",
172
+ type: "address"
173
+ }, {
174
+ indexed: true,
175
+ internalType: "uint256",
176
+ name: "tokenId",
177
+ type: "uint256"
178
+ }, {
179
+ indexed: true,
180
+ internalType: "address",
181
+ name: "accepter",
182
+ type: "address"
183
+ }],
184
+ name: "TokenAccepterAssigned",
185
+ type: "event"
160
186
  }, {
161
187
  anonymous: false,
162
188
  inputs: [{
@@ -312,6 +338,20 @@ const _abi = [{
312
338
  }],
313
339
  stateMutability: "view",
314
340
  type: "function"
341
+ }, {
342
+ inputs: [{
343
+ internalType: "uint256",
344
+ name: "tokenId",
345
+ type: "uint256"
346
+ }],
347
+ name: "issuerOf",
348
+ outputs: [{
349
+ internalType: "address",
350
+ name: "",
351
+ type: "address"
352
+ }],
353
+ stateMutability: "view",
354
+ type: "function"
315
355
  }, {
316
356
  inputs: [{
317
357
  internalType: "address",
@@ -450,6 +490,20 @@ const _abi = [{
450
490
  outputs: [],
451
491
  stateMutability: "nonpayable",
452
492
  type: "function"
493
+ }, {
494
+ inputs: [{
495
+ internalType: "uint256",
496
+ name: "tokenId",
497
+ type: "uint256"
498
+ }, {
499
+ internalType: "address",
500
+ name: "accepter",
501
+ type: "address"
502
+ }],
503
+ name: "setTokenAccepter",
504
+ outputs: [],
505
+ stateMutability: "nonpayable",
506
+ type: "function"
453
507
  }, {
454
508
  inputs: [{
455
509
  internalType: "bytes4",
@@ -484,6 +538,20 @@ const _abi = [{
484
538
  }],
485
539
  stateMutability: "view",
486
540
  type: "function"
541
+ }, {
542
+ inputs: [{
543
+ internalType: "uint256",
544
+ name: "tokenId",
545
+ type: "uint256"
546
+ }],
547
+ name: "tokenAccepterOf",
548
+ outputs: [{
549
+ internalType: "address",
550
+ name: "",
551
+ type: "address"
552
+ }],
553
+ stateMutability: "view",
554
+ type: "function"
487
555
  }, {
488
556
  inputs: [{
489
557
  internalType: "uint256",