@peeramid-labs/sdk 2.1.2 → 3.0.0

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 (400) hide show
  1. package/README.md +34 -0
  2. package/cli/abis/AccessControl.js +232 -0
  3. package/cli/abis/AccessControl.js.map +1 -0
  4. package/cli/abis/AccessControlDefaultAdminRules.js +460 -0
  5. package/cli/abis/AccessControlDefaultAdminRules.js.map +1 -0
  6. package/cli/abis/ArguableVotingTournament.js +187 -0
  7. package/cli/abis/ArguableVotingTournament.js.map +1 -0
  8. package/cli/abis/Checkpoints.js +12 -0
  9. package/cli/abis/Checkpoints.js.map +1 -0
  10. package/cli/abis/CloneDistribution.js +102 -0
  11. package/cli/abis/CloneDistribution.js.map +1 -0
  12. package/cli/abis/Clones.js +12 -0
  13. package/cli/abis/Clones.js.map +1 -0
  14. package/cli/abis/CodeHashDistribution.js +159 -0
  15. package/cli/abis/CodeHashDistribution.js.map +1 -0
  16. package/cli/abis/CodeIndex.js +74 -0
  17. package/cli/abis/CodeIndex.js.map +1 -0
  18. package/cli/abis/ContextUpgradeable.js +30 -0
  19. package/cli/abis/ContextUpgradeable.js.map +1 -0
  20. package/cli/abis/DAODistributor.js +1351 -0
  21. package/cli/abis/DAODistributor.js.map +1 -0
  22. package/cli/abis/Diamond.js +92 -0
  23. package/cli/abis/Diamond.js.map +1 -0
  24. package/cli/abis/DiamondClonable.js +103 -0
  25. package/cli/abis/DiamondClonable.js.map +1 -0
  26. package/cli/abis/DiamondCutFacet.js +89 -0
  27. package/cli/abis/DiamondCutFacet.js.map +1 -0
  28. package/cli/abis/DiamondDistribution.js +118 -0
  29. package/cli/abis/DiamondDistribution.js.map +1 -0
  30. package/cli/abis/DiamondInit.js +14 -0
  31. package/cli/abis/DiamondInit.js.map +1 -0
  32. package/cli/abis/DiamondLoupeFacet.js +102 -0
  33. package/cli/abis/DiamondLoupeFacet.js.map +1 -0
  34. package/cli/abis/DistributableGovernanceERC20.js +917 -0
  35. package/cli/abis/DistributableGovernanceERC20.js.map +1 -0
  36. package/cli/abis/Distributor.js +801 -0
  37. package/cli/abis/Distributor.js.map +1 -0
  38. package/cli/abis/ECDSA.js +34 -0
  39. package/cli/abis/ECDSA.js.map +1 -0
  40. package/cli/abis/EIP712InspectorFacet.js +58 -0
  41. package/cli/abis/EIP712InspectorFacet.js.map +1 -0
  42. package/cli/abis/EIP712Upgradeable.js +79 -0
  43. package/cli/abis/EIP712Upgradeable.js.map +1 -0
  44. package/cli/abis/ERC1155.js +421 -0
  45. package/cli/abis/ERC1155.js.map +1 -0
  46. package/cli/abis/ERC1155Burnable.js +467 -0
  47. package/cli/abis/ERC1155Burnable.js.map +1 -0
  48. package/cli/abis/ERC1155BurnableUpgradeable.js +490 -0
  49. package/cli/abis/ERC1155BurnableUpgradeable.js.map +1 -0
  50. package/cli/abis/ERC1155Upgradeable.js +444 -0
  51. package/cli/abis/ERC1155Upgradeable.js.map +1 -0
  52. package/cli/abis/ERC165.js +26 -0
  53. package/cli/abis/ERC165.js.map +1 -0
  54. package/cli/abis/ERC165Upgradeable.js +49 -0
  55. package/cli/abis/ERC165Upgradeable.js.map +1 -0
  56. package/cli/abis/ERC20.js +315 -0
  57. package/cli/abis/ERC20.js.map +1 -0
  58. package/cli/abis/ERC20Burnable.js +346 -0
  59. package/cli/abis/ERC20Burnable.js.map +1 -0
  60. package/cli/abis/ERC20Upgradeable.js +338 -0
  61. package/cli/abis/ERC20Upgradeable.js.map +1 -0
  62. package/cli/abis/ERC20VotesUpgradeable.js +781 -0
  63. package/cli/abis/ERC20VotesUpgradeable.js.map +1 -0
  64. package/cli/abis/ERC721.js +440 -0
  65. package/cli/abis/ERC721.js.map +1 -0
  66. package/cli/abis/ERC721Burnable.js +453 -0
  67. package/cli/abis/ERC721Burnable.js.map +1 -0
  68. package/cli/abis/IAccessControl.js +200 -0
  69. package/cli/abis/IAccessControl.js.map +1 -0
  70. package/cli/abis/IAccessControlDefaultAdminRules.js +399 -0
  71. package/cli/abis/IAccessControlDefaultAdminRules.js.map +1 -0
  72. package/cli/abis/ICodeIndex.js +74 -0
  73. package/cli/abis/ICodeIndex.js.map +1 -0
  74. package/cli/abis/IContractURI.js +20 -0
  75. package/cli/abis/IContractURI.js.map +1 -0
  76. package/cli/abis/IDAOFactory.js +89 -0
  77. package/cli/abis/IDAOFactory.js.map +1 -0
  78. package/cli/abis/IDiamondCut.js +47 -0
  79. package/cli/abis/IDiamondCut.js.map +1 -0
  80. package/cli/abis/IDiamondLoupe.js +83 -0
  81. package/cli/abis/IDiamondLoupe.js.map +1 -0
  82. package/cli/abis/IDistribution.js +91 -0
  83. package/cli/abis/IDistribution.js.map +1 -0
  84. package/cli/abis/IDistributor.js +627 -0
  85. package/cli/abis/IDistributor.js.map +1 -0
  86. package/cli/abis/IERC1155.js +300 -0
  87. package/cli/abis/IERC1155.js.map +1 -0
  88. package/cli/abis/IERC1155Errors.js +109 -0
  89. package/cli/abis/IERC1155Errors.js.map +1 -0
  90. package/cli/abis/IERC1155MetadataURI.js +319 -0
  91. package/cli/abis/IERC1155MetadataURI.js.map +1 -0
  92. package/cli/abis/IERC1155Receiver.js +85 -0
  93. package/cli/abis/IERC1155Receiver.js.map +1 -0
  94. package/cli/abis/IERC1271.js +31 -0
  95. package/cli/abis/IERC1271.js.map +1 -0
  96. package/cli/abis/IERC165.js +26 -0
  97. package/cli/abis/IERC165.js.map +1 -0
  98. package/cli/abis/IERC173.js +33 -0
  99. package/cli/abis/IERC173.js.map +1 -0
  100. package/cli/abis/IERC20.js +190 -0
  101. package/cli/abis/IERC20.js.map +1 -0
  102. package/cli/abis/IERC20Errors.js +93 -0
  103. package/cli/abis/IERC20Errors.js.map +1 -0
  104. package/cli/abis/IERC20Metadata.js +229 -0
  105. package/cli/abis/IERC20Metadata.js.map +1 -0
  106. package/cli/abis/IERC20MintableUpgradeable.js +25 -0
  107. package/cli/abis/IERC20MintableUpgradeable.js.map +1 -0
  108. package/cli/abis/IERC5267.js +56 -0
  109. package/cli/abis/IERC5267.js.map +1 -0
  110. package/cli/abis/IERC5313.js +20 -0
  111. package/cli/abis/IERC5313.js.map +1 -0
  112. package/cli/abis/IERC5805.js +226 -0
  113. package/cli/abis/IERC5805.js.map +1 -0
  114. package/cli/abis/IERC6372.js +33 -0
  115. package/cli/abis/IERC6372.js.map +1 -0
  116. package/cli/abis/IERC721.js +292 -0
  117. package/cli/abis/IERC721.js.map +1 -0
  118. package/cli/abis/IERC721Errors.js +110 -0
  119. package/cli/abis/IERC721Errors.js.map +1 -0
  120. package/cli/abis/IERC721Metadata.js +337 -0
  121. package/cli/abis/IERC721Metadata.js.map +1 -0
  122. package/cli/abis/IERC721Receiver.js +41 -0
  123. package/cli/abis/IERC721Receiver.js.map +1 -0
  124. package/cli/abis/IERC7746.js +84 -0
  125. package/cli/abis/IERC7746.js.map +1 -0
  126. package/cli/abis/IErrors.js +23 -0
  127. package/cli/abis/IErrors.js.map +1 -0
  128. package/cli/abis/IInitializer.js +75 -0
  129. package/cli/abis/IInitializer.js.map +1 -0
  130. package/cli/abis/IInstaller.js +506 -0
  131. package/cli/abis/IInstaller.js.map +1 -0
  132. package/cli/abis/ILockableERC1155.js +464 -0
  133. package/cli/abis/ILockableERC1155.js.map +1 -0
  134. package/cli/abis/IMultipass.js +1263 -0
  135. package/cli/abis/IMultipass.js.map +1 -0
  136. package/cli/abis/IPluginRepo.js +114 -0
  137. package/cli/abis/IPluginRepo.js.map +1 -0
  138. package/cli/abis/IRankToken.js +533 -0
  139. package/cli/abis/IRankToken.js.map +1 -0
  140. package/cli/abis/IRankifyInstance.js +147 -0
  141. package/cli/abis/IRankifyInstance.js.map +1 -0
  142. package/cli/abis/IRepository.js +343 -0
  143. package/cli/abis/IRepository.js.map +1 -0
  144. package/cli/abis/IVotes.js +200 -0
  145. package/cli/abis/IVotes.js.map +1 -0
  146. package/cli/abis/Initializable.js +30 -0
  147. package/cli/abis/Initializable.js.map +1 -0
  148. package/cli/abis/InitializedDiamondDistribution.js +107 -0
  149. package/cli/abis/InitializedDiamondDistribution.js.map +1 -0
  150. package/cli/abis/Installer.js +506 -0
  151. package/cli/abis/Installer.js.map +1 -0
  152. package/cli/abis/InstallerClonable.js +542 -0
  153. package/cli/abis/InstallerClonable.js.map +1 -0
  154. package/cli/abis/LatestVersionDistribution.js +136 -0
  155. package/cli/abis/LatestVersionDistribution.js.map +1 -0
  156. package/cli/abis/LibDiamond.js +79 -0
  157. package/cli/abis/LibDiamond.js.map +1 -0
  158. package/cli/abis/LibSemver.js +18 -0
  159. package/cli/abis/LibSemver.js.map +1 -0
  160. package/cli/abis/LockableERC1155.js +631 -0
  161. package/cli/abis/LockableERC1155.js.map +1 -0
  162. package/cli/abis/MAODistribution.js +285 -0
  163. package/cli/abis/MAODistribution.js.map +1 -0
  164. package/cli/abis/Math.js +12 -0
  165. package/cli/abis/Math.js.map +1 -0
  166. package/cli/abis/MiddlewareProxy.js +39 -0
  167. package/cli/abis/MiddlewareProxy.js.map +1 -0
  168. package/cli/abis/MockCloneDistribution.js +107 -0
  169. package/cli/abis/MockCloneDistribution.js.map +1 -0
  170. package/cli/abis/MockDiamondInitialize.js +33 -0
  171. package/cli/abis/MockDiamondInitialize.js.map +1 -0
  172. package/cli/abis/MockERC1155.js +636 -0
  173. package/cli/abis/MockERC1155.js.map +1 -0
  174. package/cli/abis/MockERC20.js +336 -0
  175. package/cli/abis/MockERC20.js.map +1 -0
  176. package/cli/abis/MockERC721.js +620 -0
  177. package/cli/abis/MockERC721.js.map +1 -0
  178. package/cli/abis/MockInstaller.js +596 -0
  179. package/cli/abis/MockInstaller.js.map +1 -0
  180. package/cli/abis/MockTokenizedDistributor.js +1351 -0
  181. package/cli/abis/MockTokenizedDistributor.js.map +1 -0
  182. package/cli/abis/MockVendingMachine.js +404 -0
  183. package/cli/abis/MockVendingMachine.js.map +1 -0
  184. package/cli/abis/Multipass.js +1461 -0
  185. package/cli/abis/Multipass.js.map +1 -0
  186. package/cli/abis/NoncesUpgradeable.js +65 -0
  187. package/cli/abis/NoncesUpgradeable.js.map +1 -0
  188. package/cli/abis/Ownable.js +81 -0
  189. package/cli/abis/Ownable.js.map +1 -0
  190. package/cli/abis/OwnableDistributor.js +886 -0
  191. package/cli/abis/OwnableDistributor.js.map +1 -0
  192. package/cli/abis/OwnableRepository.js +566 -0
  193. package/cli/abis/OwnableRepository.js.map +1 -0
  194. package/cli/abis/OwnableUpgradeable.js +104 -0
  195. package/cli/abis/OwnableUpgradeable.js.map +1 -0
  196. package/cli/abis/OwnershipFacet.js +52 -0
  197. package/cli/abis/OwnershipFacet.js.map +1 -0
  198. package/cli/abis/RankToken.js +783 -0
  199. package/cli/abis/RankToken.js.map +1 -0
  200. package/cli/abis/Rankify.js +449 -0
  201. package/cli/abis/Rankify.js.map +1 -0
  202. package/cli/abis/RankifyDiamondInstance.js +2032 -0
  203. package/cli/abis/RankifyDiamondInstance.js.map +1 -0
  204. package/cli/abis/RankifyInstanceEventMock.js +332 -0
  205. package/cli/abis/RankifyInstanceEventMock.js.map +1 -0
  206. package/cli/abis/RankifyInstanceGameMastersFacet.js +319 -0
  207. package/cli/abis/RankifyInstanceGameMastersFacet.js.map +1 -0
  208. package/cli/abis/RankifyInstanceInit.js +80 -0
  209. package/cli/abis/RankifyInstanceInit.js.map +1 -0
  210. package/cli/abis/RankifyInstanceMainFacet.js +987 -0
  211. package/cli/abis/RankifyInstanceMainFacet.js.map +1 -0
  212. package/cli/abis/RankifyInstanceRequirementsFacet.js +549 -0
  213. package/cli/abis/RankifyInstanceRequirementsFacet.js.map +1 -0
  214. package/cli/abis/ReentrancyGuard.js +12 -0
  215. package/cli/abis/ReentrancyGuard.js.map +1 -0
  216. package/cli/abis/ReentrancyGuardUpgradeable.js +35 -0
  217. package/cli/abis/ReentrancyGuardUpgradeable.js.map +1 -0
  218. package/cli/abis/Repo.js +566 -0
  219. package/cli/abis/Repo.js.map +1 -0
  220. package/cli/abis/Repository.js +471 -0
  221. package/cli/abis/Repository.js.map +1 -0
  222. package/cli/abis/SafeCast.js +61 -0
  223. package/cli/abis/SafeCast.js.map +1 -0
  224. package/cli/abis/SimpleAccessManager.js +224 -0
  225. package/cli/abis/SimpleAccessManager.js.map +1 -0
  226. package/cli/abis/Strings.js +23 -0
  227. package/cli/abis/Strings.js.map +1 -0
  228. package/cli/abis/Test1Facet.js +179 -0
  229. package/cli/abis/Test1Facet.js.map +1 -0
  230. package/cli/abis/Test2Facet.js +147 -0
  231. package/cli/abis/Test2Facet.js.map +1 -0
  232. package/cli/abis/TestFacet.js +33 -0
  233. package/cli/abis/TestFacet.js.map +1 -0
  234. package/cli/abis/TokenizedDistributor.js +878 -0
  235. package/cli/abis/TokenizedDistributor.js.map +1 -0
  236. package/cli/abis/VotesUpgradeable.js +402 -0
  237. package/cli/abis/VotesUpgradeable.js.map +1 -0
  238. package/cli/abis/index.js +484 -0
  239. package/cli/abis/index.js.map +1 -0
  240. package/cli/cli/client.js +57 -0
  241. package/cli/cli/client.js.map +1 -0
  242. package/cli/cli/commands/distributions/add.js +96 -0
  243. package/cli/cli/commands/distributions/add.js.map +1 -0
  244. package/cli/cli/commands/distributions/index.js +11 -0
  245. package/cli/cli/commands/distributions/index.js.map +1 -0
  246. package/cli/cli/commands/distributions/list.js +42 -0
  247. package/cli/cli/commands/distributions/list.js.map +1 -0
  248. package/cli/cli/commands/fellowship/create.js +130 -0
  249. package/cli/cli/commands/fellowship/create.js.map +1 -0
  250. package/cli/cli/commands/fellowship/index.js +11 -0
  251. package/cli/cli/commands/fellowship/index.js.map +1 -0
  252. package/cli/cli/commands/fellowship/metadata.js +42 -0
  253. package/cli/cli/commands/fellowship/metadata.js.map +1 -0
  254. package/cli/cli/commands/instances/index.js +7 -0
  255. package/cli/cli/commands/instances/index.js.map +1 -0
  256. package/cli/cli/commands/instances/list.js +50 -0
  257. package/cli/cli/commands/instances/list.js.map +1 -0
  258. package/cli/cli/commands/multipass/contract.js +178 -0
  259. package/cli/cli/commands/multipass/contract.js.map +1 -0
  260. package/cli/cli/commands/multipass/domain.js +512 -0
  261. package/cli/cli/commands/multipass/domain.js.map +1 -0
  262. package/cli/cli/commands/multipass/domains.js +141 -0
  263. package/cli/cli/commands/multipass/domains.js.map +1 -0
  264. package/cli/cli/commands/multipass/index.js +20 -0
  265. package/cli/cli/commands/multipass/index.js.map +1 -0
  266. package/cli/cli/commands/multipass/owner.js +320 -0
  267. package/cli/cli/commands/multipass/owner.js.map +1 -0
  268. package/cli/cli/index.js +20 -0
  269. package/cli/cli/index.js.map +1 -0
  270. package/cli/eds/Distributor.js +76 -0
  271. package/cli/eds/Distributor.js.map +1 -0
  272. package/cli/index.js +50 -0
  273. package/cli/index.js.map +1 -0
  274. package/cli/multipass/MultipassBase.js +307 -0
  275. package/cli/multipass/MultipassBase.js.map +1 -0
  276. package/cli/multipass/Owner.js +214 -0
  277. package/cli/multipass/Owner.js.map +1 -0
  278. package/cli/multipass/Registrar.js +77 -0
  279. package/cli/multipass/Registrar.js.map +1 -0
  280. package/cli/rankify/GameMaster.js +372 -0
  281. package/cli/rankify/GameMaster.js.map +1 -0
  282. package/cli/rankify/InstanceBase.js +432 -0
  283. package/cli/rankify/InstanceBase.js.map +1 -0
  284. package/cli/rankify/MAODistributor.js +278 -0
  285. package/cli/rankify/MAODistributor.js.map +1 -0
  286. package/cli/rankify/Player.js +175 -0
  287. package/cli/rankify/Player.js.map +1 -0
  288. package/cli/rankify/RankToken.js +109 -0
  289. package/cli/rankify/RankToken.js.map +1 -0
  290. package/cli/types/contracts.js +3 -0
  291. package/cli/types/contracts.js.map +1 -0
  292. package/cli/types.js +30 -0
  293. package/cli/types.js.map +1 -0
  294. package/cli/utils/ApiError.js +21 -0
  295. package/cli/utils/ApiError.js.map +1 -0
  296. package/cli/utils/artifacts.js +51 -0
  297. package/cli/utils/artifacts.js.map +1 -0
  298. package/cli/utils/chainMapping.js +16 -0
  299. package/cli/utils/chainMapping.js.map +1 -0
  300. package/cli/utils/index.js +35 -0
  301. package/cli/utils/index.js.map +1 -0
  302. package/docs/classes/MAODistributorClient.md +89 -43
  303. package/docs/classes/Multipass.md +148 -0
  304. package/docs/classes/MultipassBase.md +120 -0
  305. package/docs/classes/RankTokenClient.md +34 -0
  306. package/docs/docs/classes/MAODistributorClient.md +89 -43
  307. package/docs/docs/classes/Multipass.md +148 -0
  308. package/docs/docs/classes/MultipassBase.md +120 -0
  309. package/docs/docs/classes/RankTokenClient.md +34 -0
  310. package/docs/docs/enums/CONTENT_STORAGE.md +27 -0
  311. package/docs/docs/enums/SUBMISSION_TYPES.md +41 -0
  312. package/docs/docs/index.md +135 -2
  313. package/docs/enums/CONTENT_STORAGE.md +27 -0
  314. package/docs/enums/SUBMISSION_TYPES.md +41 -0
  315. package/docs/index.md +135 -2
  316. package/lib.commonjs/eds/Distributor.d.ts +5 -1
  317. package/lib.commonjs/eds/Distributor.d.ts.map +1 -1
  318. package/lib.commonjs/eds/Distributor.js +14 -2
  319. package/lib.commonjs/eds/Distributor.js.map +1 -1
  320. package/lib.commonjs/multipass/MultipassBase.d.ts +1185 -2
  321. package/lib.commonjs/multipass/MultipassBase.d.ts.map +1 -1
  322. package/lib.commonjs/multipass/MultipassBase.js +168 -1
  323. package/lib.commonjs/multipass/MultipassBase.js.map +1 -1
  324. package/lib.commonjs/multipass/Owner.d.ts +137 -0
  325. package/lib.commonjs/multipass/Owner.d.ts.map +1 -0
  326. package/lib.commonjs/multipass/Owner.js +214 -0
  327. package/lib.commonjs/multipass/Owner.js.map +1 -0
  328. package/lib.commonjs/multipass/Registrar.d.ts +3 -2
  329. package/lib.commonjs/multipass/Registrar.d.ts.map +1 -1
  330. package/lib.commonjs/multipass/Registrar.js +3 -3
  331. package/lib.commonjs/multipass/Registrar.js.map +1 -1
  332. package/lib.commonjs/rankify/MAODistributor.d.ts +1042 -2
  333. package/lib.commonjs/rankify/MAODistributor.d.ts.map +1 -1
  334. package/lib.commonjs/rankify/MAODistributor.js +146 -33
  335. package/lib.commonjs/rankify/MAODistributor.js.map +1 -1
  336. package/lib.commonjs/rankify/Player.js +7 -7
  337. package/lib.commonjs/rankify/Player.js.map +1 -1
  338. package/lib.commonjs/rankify/RankToken.d.ts +3 -0
  339. package/lib.commonjs/rankify/RankToken.d.ts.map +1 -1
  340. package/lib.commonjs/rankify/RankToken.js +74 -0
  341. package/lib.commonjs/rankify/RankToken.js.map +1 -1
  342. package/lib.commonjs/types/contracts.d.ts +0 -6
  343. package/lib.commonjs/types/contracts.d.ts.map +1 -1
  344. package/lib.commonjs/types/contracts.js +0 -16
  345. package/lib.commonjs/types/contracts.js.map +1 -1
  346. package/lib.commonjs/types.d.ts +113 -2
  347. package/lib.commonjs/types.d.ts.map +1 -1
  348. package/lib.commonjs/types.js +15 -1
  349. package/lib.commonjs/types.js.map +1 -1
  350. package/lib.commonjs/utils/artifacts.d.ts +3 -1
  351. package/lib.commonjs/utils/artifacts.d.ts.map +1 -1
  352. package/lib.commonjs/utils/artifacts.js +3 -1
  353. package/lib.commonjs/utils/artifacts.js.map +1 -1
  354. package/lib.commonjs/utils/index.d.ts +7 -0
  355. package/lib.commonjs/utils/index.d.ts.map +1 -1
  356. package/lib.commonjs/utils/index.js +16 -0
  357. package/lib.commonjs/utils/index.js.map +1 -1
  358. package/lib.esm/eds/Distributor.d.ts +5 -1
  359. package/lib.esm/eds/Distributor.d.ts.map +1 -1
  360. package/lib.esm/eds/Distributor.js +14 -2
  361. package/lib.esm/eds/Distributor.js.map +1 -1
  362. package/lib.esm/multipass/MultipassBase.d.ts +1185 -2
  363. package/lib.esm/multipass/MultipassBase.d.ts.map +1 -1
  364. package/lib.esm/multipass/MultipassBase.js +168 -1
  365. package/lib.esm/multipass/MultipassBase.js.map +1 -1
  366. package/lib.esm/multipass/Owner.d.ts +137 -0
  367. package/lib.esm/multipass/Owner.d.ts.map +1 -0
  368. package/lib.esm/multipass/Owner.js +208 -0
  369. package/lib.esm/multipass/Owner.js.map +1 -0
  370. package/lib.esm/multipass/Registrar.d.ts +3 -2
  371. package/lib.esm/multipass/Registrar.d.ts.map +1 -1
  372. package/lib.esm/multipass/Registrar.js +3 -3
  373. package/lib.esm/multipass/Registrar.js.map +1 -1
  374. package/lib.esm/rankify/MAODistributor.d.ts +1042 -2
  375. package/lib.esm/rankify/MAODistributor.d.ts.map +1 -1
  376. package/lib.esm/rankify/MAODistributor.js +144 -31
  377. package/lib.esm/rankify/MAODistributor.js.map +1 -1
  378. package/lib.esm/rankify/Player.js +7 -7
  379. package/lib.esm/rankify/Player.js.map +1 -1
  380. package/lib.esm/rankify/RankToken.d.ts +3 -0
  381. package/lib.esm/rankify/RankToken.d.ts.map +1 -1
  382. package/lib.esm/rankify/RankToken.js +74 -0
  383. package/lib.esm/rankify/RankToken.js.map +1 -1
  384. package/lib.esm/types/contracts.d.ts +0 -6
  385. package/lib.esm/types/contracts.d.ts.map +1 -1
  386. package/lib.esm/types/contracts.js +1 -14
  387. package/lib.esm/types/contracts.js.map +1 -1
  388. package/lib.esm/types.d.ts +113 -2
  389. package/lib.esm/types.d.ts.map +1 -1
  390. package/lib.esm/types.js +14 -0
  391. package/lib.esm/types.js.map +1 -1
  392. package/lib.esm/utils/artifacts.d.ts +3 -1
  393. package/lib.esm/utils/artifacts.d.ts.map +1 -1
  394. package/lib.esm/utils/artifacts.js +3 -1
  395. package/lib.esm/utils/artifacts.js.map +1 -1
  396. package/lib.esm/utils/index.d.ts +7 -0
  397. package/lib.esm/utils/index.d.ts.map +1 -1
  398. package/lib.esm/utils/index.js +14 -0
  399. package/lib.esm/utils/index.js.map +1 -1
  400. package/package.json +16 -6
@@ -0,0 +1,1263 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IMultipassAbi = void 0;
4
+ exports.IMultipassAbi = [
5
+ {
6
+ "inputs": [
7
+ {
8
+ "internalType": "bytes32",
9
+ "name": "domainName",
10
+ "type": "bytes32"
11
+ }
12
+ ],
13
+ "name": "domainNotActive",
14
+ "type": "error"
15
+ },
16
+ {
17
+ "inputs": [
18
+ {
19
+ "internalType": "bytes32",
20
+ "name": "domainName",
21
+ "type": "bytes32"
22
+ }
23
+ ],
24
+ "name": "invalidDomain",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "uint256",
31
+ "name": "nonce",
32
+ "type": "uint256"
33
+ }
34
+ ],
35
+ "name": "invalidNonce",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "uint256",
42
+ "name": "old",
43
+ "type": "uint256"
44
+ },
45
+ {
46
+ "internalType": "uint256",
47
+ "name": "newer",
48
+ "type": "uint256"
49
+ }
50
+ ],
51
+ "name": "invalidNonceIncrement",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "enum IMultipass.InvalidQueryReasons",
58
+ "name": "reason",
59
+ "type": "uint8"
60
+ }
61
+ ],
62
+ "name": "invalidQuery",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "address",
69
+ "name": "registrar",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "invalidRegistrar",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [],
78
+ "name": "invalidSignature",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [
83
+ {
84
+ "internalType": "bytes32",
85
+ "name": "domainName",
86
+ "type": "bytes32"
87
+ },
88
+ {
89
+ "internalType": "bytes32",
90
+ "name": "newName",
91
+ "type": "bytes32"
92
+ }
93
+ ],
94
+ "name": "invalidnameChange",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "bytes32",
101
+ "name": "name",
102
+ "type": "bytes32"
103
+ },
104
+ {
105
+ "internalType": "bool",
106
+ "name": "isActive",
107
+ "type": "bool"
108
+ }
109
+ ],
110
+ "name": "isActive",
111
+ "type": "error"
112
+ },
113
+ {
114
+ "inputs": [
115
+ {
116
+ "internalType": "uint256",
117
+ "name": "a",
118
+ "type": "uint256"
119
+ },
120
+ {
121
+ "internalType": "uint256",
122
+ "name": "b",
123
+ "type": "uint256"
124
+ }
125
+ ],
126
+ "name": "mathOverflow",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "bytes32",
133
+ "name": "name",
134
+ "type": "bytes32"
135
+ }
136
+ ],
137
+ "name": "nameExists",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [],
142
+ "name": "paymendFailed",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [
147
+ {
148
+ "internalType": "uint256",
149
+ "name": "fee",
150
+ "type": "uint256"
151
+ },
152
+ {
153
+ "internalType": "uint256",
154
+ "name": "value",
155
+ "type": "uint256"
156
+ }
157
+ ],
158
+ "name": "paymentTooLow",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [
163
+ {
164
+ "components": [
165
+ {
166
+ "internalType": "address",
167
+ "name": "wallet",
168
+ "type": "address"
169
+ },
170
+ {
171
+ "internalType": "bytes32",
172
+ "name": "name",
173
+ "type": "bytes32"
174
+ },
175
+ {
176
+ "internalType": "bytes32",
177
+ "name": "id",
178
+ "type": "bytes32"
179
+ },
180
+ {
181
+ "internalType": "uint96",
182
+ "name": "nonce",
183
+ "type": "uint96"
184
+ },
185
+ {
186
+ "internalType": "bytes32",
187
+ "name": "domainName",
188
+ "type": "bytes32"
189
+ },
190
+ {
191
+ "internalType": "uint256",
192
+ "name": "validUntil",
193
+ "type": "uint256"
194
+ }
195
+ ],
196
+ "internalType": "struct LibMultipass.Record",
197
+ "name": "newRecord",
198
+ "type": "tuple"
199
+ }
200
+ ],
201
+ "name": "recordExists",
202
+ "type": "error"
203
+ },
204
+ {
205
+ "inputs": [
206
+ {
207
+ "internalType": "uint256",
208
+ "name": "referrerReward",
209
+ "type": "uint256"
210
+ },
211
+ {
212
+ "internalType": "uint256",
213
+ "name": "referralDiscount",
214
+ "type": "uint256"
215
+ },
216
+ {
217
+ "internalType": "uint256",
218
+ "name": "fee",
219
+ "type": "uint256"
220
+ }
221
+ ],
222
+ "name": "referralRewardsTooHigh",
223
+ "type": "error"
224
+ },
225
+ {
226
+ "inputs": [],
227
+ "name": "referredSelf",
228
+ "type": "error"
229
+ },
230
+ {
231
+ "inputs": [
232
+ {
233
+ "internalType": "uint256",
234
+ "name": "signatureDeadline",
235
+ "type": "uint256"
236
+ }
237
+ ],
238
+ "name": "signatureExpired",
239
+ "type": "error"
240
+ },
241
+ {
242
+ "inputs": [
243
+ {
244
+ "components": [
245
+ {
246
+ "internalType": "bytes32",
247
+ "name": "domainName",
248
+ "type": "bytes32"
249
+ },
250
+ {
251
+ "internalType": "address",
252
+ "name": "wallet",
253
+ "type": "address"
254
+ },
255
+ {
256
+ "internalType": "bytes32",
257
+ "name": "name",
258
+ "type": "bytes32"
259
+ },
260
+ {
261
+ "internalType": "bytes32",
262
+ "name": "id",
263
+ "type": "bytes32"
264
+ },
265
+ {
266
+ "internalType": "bytes32",
267
+ "name": "targetDomain",
268
+ "type": "bytes32"
269
+ }
270
+ ],
271
+ "internalType": "struct LibMultipass.NameQuery",
272
+ "name": "query",
273
+ "type": "tuple"
274
+ }
275
+ ],
276
+ "name": "userNotFound",
277
+ "type": "error"
278
+ },
279
+ {
280
+ "anonymous": false,
281
+ "inputs": [
282
+ {
283
+ "indexed": true,
284
+ "internalType": "bytes32",
285
+ "name": "domainName",
286
+ "type": "bytes32"
287
+ }
288
+ ],
289
+ "name": "DomainActivated",
290
+ "type": "event"
291
+ },
292
+ {
293
+ "anonymous": false,
294
+ "inputs": [
295
+ {
296
+ "indexed": true,
297
+ "internalType": "bytes32",
298
+ "name": "domainName",
299
+ "type": "bytes32"
300
+ }
301
+ ],
302
+ "name": "DomainDeactivated",
303
+ "type": "event"
304
+ },
305
+ {
306
+ "anonymous": false,
307
+ "inputs": [
308
+ {
309
+ "indexed": true,
310
+ "internalType": "bytes32",
311
+ "name": "domainName",
312
+ "type": "bytes32"
313
+ },
314
+ {
315
+ "indexed": true,
316
+ "internalType": "uint256",
317
+ "name": "newFee",
318
+ "type": "uint256"
319
+ }
320
+ ],
321
+ "name": "DomainFeeChanged",
322
+ "type": "event"
323
+ },
324
+ {
325
+ "anonymous": false,
326
+ "inputs": [
327
+ {
328
+ "indexed": true,
329
+ "internalType": "address",
330
+ "name": "registrar",
331
+ "type": "address"
332
+ },
333
+ {
334
+ "indexed": true,
335
+ "internalType": "uint256",
336
+ "name": "fee",
337
+ "type": "uint256"
338
+ },
339
+ {
340
+ "indexed": true,
341
+ "internalType": "bytes32",
342
+ "name": "domainName",
343
+ "type": "bytes32"
344
+ },
345
+ {
346
+ "indexed": false,
347
+ "internalType": "uint256",
348
+ "name": "renewalFee",
349
+ "type": "uint256"
350
+ },
351
+ {
352
+ "indexed": false,
353
+ "internalType": "uint256",
354
+ "name": "referrerReward",
355
+ "type": "uint256"
356
+ },
357
+ {
358
+ "indexed": false,
359
+ "internalType": "uint256",
360
+ "name": "referralDiscount",
361
+ "type": "uint256"
362
+ }
363
+ ],
364
+ "name": "InitializedDomain",
365
+ "type": "event"
366
+ },
367
+ {
368
+ "anonymous": false,
369
+ "inputs": [
370
+ {
371
+ "indexed": true,
372
+ "internalType": "bytes32",
373
+ "name": "domainName",
374
+ "type": "bytes32"
375
+ },
376
+ {
377
+ "indexed": false,
378
+ "internalType": "uint256",
379
+ "name": "reward",
380
+ "type": "uint256"
381
+ },
382
+ {
383
+ "indexed": false,
384
+ "internalType": "uint256",
385
+ "name": "discount",
386
+ "type": "uint256"
387
+ }
388
+ ],
389
+ "name": "ReferralProgramChanged",
390
+ "type": "event"
391
+ },
392
+ {
393
+ "anonymous": false,
394
+ "inputs": [
395
+ {
396
+ "components": [
397
+ {
398
+ "internalType": "address",
399
+ "name": "wallet",
400
+ "type": "address"
401
+ },
402
+ {
403
+ "internalType": "bytes32",
404
+ "name": "name",
405
+ "type": "bytes32"
406
+ },
407
+ {
408
+ "internalType": "bytes32",
409
+ "name": "id",
410
+ "type": "bytes32"
411
+ },
412
+ {
413
+ "internalType": "uint96",
414
+ "name": "nonce",
415
+ "type": "uint96"
416
+ },
417
+ {
418
+ "internalType": "bytes32",
419
+ "name": "domainName",
420
+ "type": "bytes32"
421
+ },
422
+ {
423
+ "internalType": "uint256",
424
+ "name": "validUntil",
425
+ "type": "uint256"
426
+ }
427
+ ],
428
+ "indexed": false,
429
+ "internalType": "struct LibMultipass.Record",
430
+ "name": "refferrer",
431
+ "type": "tuple"
432
+ },
433
+ {
434
+ "components": [
435
+ {
436
+ "internalType": "address",
437
+ "name": "wallet",
438
+ "type": "address"
439
+ },
440
+ {
441
+ "internalType": "bytes32",
442
+ "name": "name",
443
+ "type": "bytes32"
444
+ },
445
+ {
446
+ "internalType": "bytes32",
447
+ "name": "id",
448
+ "type": "bytes32"
449
+ },
450
+ {
451
+ "internalType": "uint96",
452
+ "name": "nonce",
453
+ "type": "uint96"
454
+ },
455
+ {
456
+ "internalType": "bytes32",
457
+ "name": "domainName",
458
+ "type": "bytes32"
459
+ },
460
+ {
461
+ "internalType": "uint256",
462
+ "name": "validUntil",
463
+ "type": "uint256"
464
+ }
465
+ ],
466
+ "indexed": false,
467
+ "internalType": "struct LibMultipass.Record",
468
+ "name": "newRecord",
469
+ "type": "tuple"
470
+ },
471
+ {
472
+ "indexed": true,
473
+ "internalType": "bytes32",
474
+ "name": "domainName",
475
+ "type": "bytes32"
476
+ }
477
+ ],
478
+ "name": "Referred",
479
+ "type": "event"
480
+ },
481
+ {
482
+ "anonymous": false,
483
+ "inputs": [
484
+ {
485
+ "indexed": true,
486
+ "internalType": "bytes32",
487
+ "name": "domainName",
488
+ "type": "bytes32"
489
+ },
490
+ {
491
+ "components": [
492
+ {
493
+ "internalType": "address",
494
+ "name": "wallet",
495
+ "type": "address"
496
+ },
497
+ {
498
+ "internalType": "bytes32",
499
+ "name": "name",
500
+ "type": "bytes32"
501
+ },
502
+ {
503
+ "internalType": "bytes32",
504
+ "name": "id",
505
+ "type": "bytes32"
506
+ },
507
+ {
508
+ "internalType": "uint96",
509
+ "name": "nonce",
510
+ "type": "uint96"
511
+ },
512
+ {
513
+ "internalType": "bytes32",
514
+ "name": "domainName",
515
+ "type": "bytes32"
516
+ },
517
+ {
518
+ "internalType": "uint256",
519
+ "name": "validUntil",
520
+ "type": "uint256"
521
+ }
522
+ ],
523
+ "indexed": false,
524
+ "internalType": "struct LibMultipass.Record",
525
+ "name": "NewRecord",
526
+ "type": "tuple"
527
+ }
528
+ ],
529
+ "name": "Registered",
530
+ "type": "event"
531
+ },
532
+ {
533
+ "anonymous": false,
534
+ "inputs": [
535
+ {
536
+ "indexed": true,
537
+ "internalType": "bytes32",
538
+ "name": "domainName",
539
+ "type": "bytes32"
540
+ },
541
+ {
542
+ "indexed": true,
543
+ "internalType": "address",
544
+ "name": "registrar",
545
+ "type": "address"
546
+ }
547
+ ],
548
+ "name": "RegistrarChanged",
549
+ "type": "event"
550
+ },
551
+ {
552
+ "anonymous": false,
553
+ "inputs": [
554
+ {
555
+ "indexed": true,
556
+ "internalType": "bytes32",
557
+ "name": "domainName",
558
+ "type": "bytes32"
559
+ },
560
+ {
561
+ "indexed": true,
562
+ "internalType": "uint256",
563
+ "name": "newFee",
564
+ "type": "uint256"
565
+ }
566
+ ],
567
+ "name": "RenewalFeeChanged",
568
+ "type": "event"
569
+ },
570
+ {
571
+ "anonymous": false,
572
+ "inputs": [
573
+ {
574
+ "indexed": true,
575
+ "internalType": "address",
576
+ "name": "wallet",
577
+ "type": "address"
578
+ },
579
+ {
580
+ "indexed": true,
581
+ "internalType": "bytes32",
582
+ "name": "domainName",
583
+ "type": "bytes32"
584
+ },
585
+ {
586
+ "indexed": true,
587
+ "internalType": "bytes32",
588
+ "name": "id",
589
+ "type": "bytes32"
590
+ },
591
+ {
592
+ "components": [
593
+ {
594
+ "internalType": "address",
595
+ "name": "wallet",
596
+ "type": "address"
597
+ },
598
+ {
599
+ "internalType": "bytes32",
600
+ "name": "name",
601
+ "type": "bytes32"
602
+ },
603
+ {
604
+ "internalType": "bytes32",
605
+ "name": "id",
606
+ "type": "bytes32"
607
+ },
608
+ {
609
+ "internalType": "uint96",
610
+ "name": "nonce",
611
+ "type": "uint96"
612
+ },
613
+ {
614
+ "internalType": "bytes32",
615
+ "name": "domainName",
616
+ "type": "bytes32"
617
+ },
618
+ {
619
+ "internalType": "uint256",
620
+ "name": "validUntil",
621
+ "type": "uint256"
622
+ }
623
+ ],
624
+ "indexed": false,
625
+ "internalType": "struct LibMultipass.Record",
626
+ "name": "newRecord",
627
+ "type": "tuple"
628
+ }
629
+ ],
630
+ "name": "Renewed",
631
+ "type": "event"
632
+ },
633
+ {
634
+ "anonymous": false,
635
+ "inputs": [
636
+ {
637
+ "indexed": true,
638
+ "internalType": "uint256",
639
+ "name": "amount",
640
+ "type": "uint256"
641
+ },
642
+ {
643
+ "indexed": true,
644
+ "internalType": "address",
645
+ "name": "account",
646
+ "type": "address"
647
+ }
648
+ ],
649
+ "name": "fundsWithdawn",
650
+ "type": "event"
651
+ },
652
+ {
653
+ "anonymous": false,
654
+ "inputs": [
655
+ {
656
+ "indexed": true,
657
+ "internalType": "bytes32",
658
+ "name": "domainName",
659
+ "type": "bytes32"
660
+ },
661
+ {
662
+ "indexed": true,
663
+ "internalType": "address",
664
+ "name": "wallet",
665
+ "type": "address"
666
+ },
667
+ {
668
+ "indexed": true,
669
+ "internalType": "bytes32",
670
+ "name": "id",
671
+ "type": "bytes32"
672
+ },
673
+ {
674
+ "indexed": false,
675
+ "internalType": "bytes32",
676
+ "name": "name",
677
+ "type": "bytes32"
678
+ }
679
+ ],
680
+ "name": "nameDeleted",
681
+ "type": "event"
682
+ },
683
+ {
684
+ "inputs": [
685
+ {
686
+ "internalType": "bytes32",
687
+ "name": "domainName",
688
+ "type": "bytes32"
689
+ }
690
+ ],
691
+ "name": "activateDomain",
692
+ "outputs": [],
693
+ "stateMutability": "nonpayable",
694
+ "type": "function"
695
+ },
696
+ {
697
+ "inputs": [
698
+ {
699
+ "internalType": "bytes32",
700
+ "name": "domainName",
701
+ "type": "bytes32"
702
+ },
703
+ {
704
+ "internalType": "uint256",
705
+ "name": "fee",
706
+ "type": "uint256"
707
+ }
708
+ ],
709
+ "name": "changeFee",
710
+ "outputs": [],
711
+ "stateMutability": "nonpayable",
712
+ "type": "function"
713
+ },
714
+ {
715
+ "inputs": [
716
+ {
717
+ "internalType": "uint256",
718
+ "name": "referrerFeeShare",
719
+ "type": "uint256"
720
+ },
721
+ {
722
+ "internalType": "uint256",
723
+ "name": "referralDiscount",
724
+ "type": "uint256"
725
+ },
726
+ {
727
+ "internalType": "bytes32",
728
+ "name": "domainName",
729
+ "type": "bytes32"
730
+ }
731
+ ],
732
+ "name": "changeReferralProgram",
733
+ "outputs": [],
734
+ "stateMutability": "nonpayable",
735
+ "type": "function"
736
+ },
737
+ {
738
+ "inputs": [
739
+ {
740
+ "internalType": "bytes32",
741
+ "name": "domainName",
742
+ "type": "bytes32"
743
+ },
744
+ {
745
+ "internalType": "address",
746
+ "name": "newRegistrar",
747
+ "type": "address"
748
+ }
749
+ ],
750
+ "name": "changeRegistrar",
751
+ "outputs": [],
752
+ "stateMutability": "nonpayable",
753
+ "type": "function"
754
+ },
755
+ {
756
+ "inputs": [
757
+ {
758
+ "internalType": "uint256",
759
+ "name": "fee",
760
+ "type": "uint256"
761
+ },
762
+ {
763
+ "internalType": "bytes32",
764
+ "name": "domainName",
765
+ "type": "bytes32"
766
+ }
767
+ ],
768
+ "name": "changeRenewalFee",
769
+ "outputs": [],
770
+ "stateMutability": "nonpayable",
771
+ "type": "function"
772
+ },
773
+ {
774
+ "inputs": [
775
+ {
776
+ "internalType": "bytes32",
777
+ "name": "domainName",
778
+ "type": "bytes32"
779
+ }
780
+ ],
781
+ "name": "deactivateDomain",
782
+ "outputs": [],
783
+ "stateMutability": "nonpayable",
784
+ "type": "function"
785
+ },
786
+ {
787
+ "inputs": [
788
+ {
789
+ "components": [
790
+ {
791
+ "internalType": "bytes32",
792
+ "name": "domainName",
793
+ "type": "bytes32"
794
+ },
795
+ {
796
+ "internalType": "address",
797
+ "name": "wallet",
798
+ "type": "address"
799
+ },
800
+ {
801
+ "internalType": "bytes32",
802
+ "name": "name",
803
+ "type": "bytes32"
804
+ },
805
+ {
806
+ "internalType": "bytes32",
807
+ "name": "id",
808
+ "type": "bytes32"
809
+ },
810
+ {
811
+ "internalType": "bytes32",
812
+ "name": "targetDomain",
813
+ "type": "bytes32"
814
+ }
815
+ ],
816
+ "internalType": "struct LibMultipass.NameQuery",
817
+ "name": "query",
818
+ "type": "tuple"
819
+ }
820
+ ],
821
+ "name": "deleteName",
822
+ "outputs": [],
823
+ "stateMutability": "nonpayable",
824
+ "type": "function"
825
+ },
826
+ {
827
+ "inputs": [],
828
+ "name": "getContractState",
829
+ "outputs": [
830
+ {
831
+ "internalType": "uint256",
832
+ "name": "",
833
+ "type": "uint256"
834
+ }
835
+ ],
836
+ "stateMutability": "view",
837
+ "type": "function"
838
+ },
839
+ {
840
+ "inputs": [
841
+ {
842
+ "internalType": "bytes32",
843
+ "name": "domainName",
844
+ "type": "bytes32"
845
+ }
846
+ ],
847
+ "name": "getDomainState",
848
+ "outputs": [
849
+ {
850
+ "components": [
851
+ {
852
+ "internalType": "bytes32",
853
+ "name": "name",
854
+ "type": "bytes32"
855
+ },
856
+ {
857
+ "internalType": "uint256",
858
+ "name": "fee",
859
+ "type": "uint256"
860
+ },
861
+ {
862
+ "internalType": "uint256",
863
+ "name": "referrerReward",
864
+ "type": "uint256"
865
+ },
866
+ {
867
+ "internalType": "uint256",
868
+ "name": "referralDiscount",
869
+ "type": "uint256"
870
+ },
871
+ {
872
+ "internalType": "bool",
873
+ "name": "isActive",
874
+ "type": "bool"
875
+ },
876
+ {
877
+ "internalType": "address",
878
+ "name": "registrar",
879
+ "type": "address"
880
+ },
881
+ {
882
+ "internalType": "uint24",
883
+ "name": "ttl",
884
+ "type": "uint24"
885
+ },
886
+ {
887
+ "internalType": "uint256",
888
+ "name": "registerSize",
889
+ "type": "uint256"
890
+ },
891
+ {
892
+ "internalType": "uint256",
893
+ "name": "renewalFee",
894
+ "type": "uint256"
895
+ }
896
+ ],
897
+ "internalType": "struct LibMultipass.Domain",
898
+ "name": "",
899
+ "type": "tuple"
900
+ }
901
+ ],
902
+ "stateMutability": "view",
903
+ "type": "function"
904
+ },
905
+ {
906
+ "inputs": [
907
+ {
908
+ "internalType": "uint256",
909
+ "name": "id",
910
+ "type": "uint256"
911
+ }
912
+ ],
913
+ "name": "getDomainStateById",
914
+ "outputs": [
915
+ {
916
+ "components": [
917
+ {
918
+ "internalType": "bytes32",
919
+ "name": "name",
920
+ "type": "bytes32"
921
+ },
922
+ {
923
+ "internalType": "uint256",
924
+ "name": "fee",
925
+ "type": "uint256"
926
+ },
927
+ {
928
+ "internalType": "uint256",
929
+ "name": "referrerReward",
930
+ "type": "uint256"
931
+ },
932
+ {
933
+ "internalType": "uint256",
934
+ "name": "referralDiscount",
935
+ "type": "uint256"
936
+ },
937
+ {
938
+ "internalType": "bool",
939
+ "name": "isActive",
940
+ "type": "bool"
941
+ },
942
+ {
943
+ "internalType": "address",
944
+ "name": "registrar",
945
+ "type": "address"
946
+ },
947
+ {
948
+ "internalType": "uint24",
949
+ "name": "ttl",
950
+ "type": "uint24"
951
+ },
952
+ {
953
+ "internalType": "uint256",
954
+ "name": "registerSize",
955
+ "type": "uint256"
956
+ },
957
+ {
958
+ "internalType": "uint256",
959
+ "name": "renewalFee",
960
+ "type": "uint256"
961
+ }
962
+ ],
963
+ "internalType": "struct LibMultipass.Domain",
964
+ "name": "",
965
+ "type": "tuple"
966
+ }
967
+ ],
968
+ "stateMutability": "view",
969
+ "type": "function"
970
+ },
971
+ {
972
+ "inputs": [
973
+ {
974
+ "internalType": "address",
975
+ "name": "registrar",
976
+ "type": "address"
977
+ },
978
+ {
979
+ "internalType": "uint256",
980
+ "name": "fee",
981
+ "type": "uint256"
982
+ },
983
+ {
984
+ "internalType": "uint256",
985
+ "name": "renewalFee",
986
+ "type": "uint256"
987
+ },
988
+ {
989
+ "internalType": "bytes32",
990
+ "name": "domainName",
991
+ "type": "bytes32"
992
+ },
993
+ {
994
+ "internalType": "uint256",
995
+ "name": "referrerReward",
996
+ "type": "uint256"
997
+ },
998
+ {
999
+ "internalType": "uint256",
1000
+ "name": "referralDiscount",
1001
+ "type": "uint256"
1002
+ }
1003
+ ],
1004
+ "name": "initializeDomain",
1005
+ "outputs": [],
1006
+ "stateMutability": "nonpayable",
1007
+ "type": "function"
1008
+ },
1009
+ {
1010
+ "inputs": [
1011
+ {
1012
+ "components": [
1013
+ {
1014
+ "internalType": "address",
1015
+ "name": "wallet",
1016
+ "type": "address"
1017
+ },
1018
+ {
1019
+ "internalType": "bytes32",
1020
+ "name": "name",
1021
+ "type": "bytes32"
1022
+ },
1023
+ {
1024
+ "internalType": "bytes32",
1025
+ "name": "id",
1026
+ "type": "bytes32"
1027
+ },
1028
+ {
1029
+ "internalType": "uint96",
1030
+ "name": "nonce",
1031
+ "type": "uint96"
1032
+ },
1033
+ {
1034
+ "internalType": "bytes32",
1035
+ "name": "domainName",
1036
+ "type": "bytes32"
1037
+ },
1038
+ {
1039
+ "internalType": "uint256",
1040
+ "name": "validUntil",
1041
+ "type": "uint256"
1042
+ }
1043
+ ],
1044
+ "internalType": "struct LibMultipass.Record",
1045
+ "name": "newRecord",
1046
+ "type": "tuple"
1047
+ },
1048
+ {
1049
+ "internalType": "bytes",
1050
+ "name": "registrarSignature",
1051
+ "type": "bytes"
1052
+ },
1053
+ {
1054
+ "components": [
1055
+ {
1056
+ "internalType": "bytes32",
1057
+ "name": "domainName",
1058
+ "type": "bytes32"
1059
+ },
1060
+ {
1061
+ "internalType": "address",
1062
+ "name": "wallet",
1063
+ "type": "address"
1064
+ },
1065
+ {
1066
+ "internalType": "bytes32",
1067
+ "name": "name",
1068
+ "type": "bytes32"
1069
+ },
1070
+ {
1071
+ "internalType": "bytes32",
1072
+ "name": "id",
1073
+ "type": "bytes32"
1074
+ },
1075
+ {
1076
+ "internalType": "bytes32",
1077
+ "name": "targetDomain",
1078
+ "type": "bytes32"
1079
+ }
1080
+ ],
1081
+ "internalType": "struct LibMultipass.NameQuery",
1082
+ "name": "referrer",
1083
+ "type": "tuple"
1084
+ },
1085
+ {
1086
+ "internalType": "bytes",
1087
+ "name": "referralCode",
1088
+ "type": "bytes"
1089
+ }
1090
+ ],
1091
+ "name": "register",
1092
+ "outputs": [],
1093
+ "stateMutability": "payable",
1094
+ "type": "function"
1095
+ },
1096
+ {
1097
+ "inputs": [
1098
+ {
1099
+ "components": [
1100
+ {
1101
+ "internalType": "bytes32",
1102
+ "name": "domainName",
1103
+ "type": "bytes32"
1104
+ },
1105
+ {
1106
+ "internalType": "address",
1107
+ "name": "wallet",
1108
+ "type": "address"
1109
+ },
1110
+ {
1111
+ "internalType": "bytes32",
1112
+ "name": "name",
1113
+ "type": "bytes32"
1114
+ },
1115
+ {
1116
+ "internalType": "bytes32",
1117
+ "name": "id",
1118
+ "type": "bytes32"
1119
+ },
1120
+ {
1121
+ "internalType": "bytes32",
1122
+ "name": "targetDomain",
1123
+ "type": "bytes32"
1124
+ }
1125
+ ],
1126
+ "internalType": "struct LibMultipass.NameQuery",
1127
+ "name": "query",
1128
+ "type": "tuple"
1129
+ },
1130
+ {
1131
+ "components": [
1132
+ {
1133
+ "internalType": "address",
1134
+ "name": "wallet",
1135
+ "type": "address"
1136
+ },
1137
+ {
1138
+ "internalType": "bytes32",
1139
+ "name": "name",
1140
+ "type": "bytes32"
1141
+ },
1142
+ {
1143
+ "internalType": "bytes32",
1144
+ "name": "id",
1145
+ "type": "bytes32"
1146
+ },
1147
+ {
1148
+ "internalType": "uint96",
1149
+ "name": "nonce",
1150
+ "type": "uint96"
1151
+ },
1152
+ {
1153
+ "internalType": "bytes32",
1154
+ "name": "domainName",
1155
+ "type": "bytes32"
1156
+ },
1157
+ {
1158
+ "internalType": "uint256",
1159
+ "name": "validUntil",
1160
+ "type": "uint256"
1161
+ }
1162
+ ],
1163
+ "internalType": "struct LibMultipass.Record",
1164
+ "name": "record",
1165
+ "type": "tuple"
1166
+ },
1167
+ {
1168
+ "internalType": "bytes",
1169
+ "name": "registrarSignature",
1170
+ "type": "bytes"
1171
+ }
1172
+ ],
1173
+ "name": "renewRecord",
1174
+ "outputs": [],
1175
+ "stateMutability": "payable",
1176
+ "type": "function"
1177
+ },
1178
+ {
1179
+ "inputs": [
1180
+ {
1181
+ "components": [
1182
+ {
1183
+ "internalType": "bytes32",
1184
+ "name": "domainName",
1185
+ "type": "bytes32"
1186
+ },
1187
+ {
1188
+ "internalType": "address",
1189
+ "name": "wallet",
1190
+ "type": "address"
1191
+ },
1192
+ {
1193
+ "internalType": "bytes32",
1194
+ "name": "name",
1195
+ "type": "bytes32"
1196
+ },
1197
+ {
1198
+ "internalType": "bytes32",
1199
+ "name": "id",
1200
+ "type": "bytes32"
1201
+ },
1202
+ {
1203
+ "internalType": "bytes32",
1204
+ "name": "targetDomain",
1205
+ "type": "bytes32"
1206
+ }
1207
+ ],
1208
+ "internalType": "struct LibMultipass.NameQuery",
1209
+ "name": "query",
1210
+ "type": "tuple"
1211
+ }
1212
+ ],
1213
+ "name": "resolveRecord",
1214
+ "outputs": [
1215
+ {
1216
+ "internalType": "bool",
1217
+ "name": "",
1218
+ "type": "bool"
1219
+ },
1220
+ {
1221
+ "components": [
1222
+ {
1223
+ "internalType": "address",
1224
+ "name": "wallet",
1225
+ "type": "address"
1226
+ },
1227
+ {
1228
+ "internalType": "bytes32",
1229
+ "name": "name",
1230
+ "type": "bytes32"
1231
+ },
1232
+ {
1233
+ "internalType": "bytes32",
1234
+ "name": "id",
1235
+ "type": "bytes32"
1236
+ },
1237
+ {
1238
+ "internalType": "uint96",
1239
+ "name": "nonce",
1240
+ "type": "uint96"
1241
+ },
1242
+ {
1243
+ "internalType": "bytes32",
1244
+ "name": "domainName",
1245
+ "type": "bytes32"
1246
+ },
1247
+ {
1248
+ "internalType": "uint256",
1249
+ "name": "validUntil",
1250
+ "type": "uint256"
1251
+ }
1252
+ ],
1253
+ "internalType": "struct LibMultipass.Record",
1254
+ "name": "",
1255
+ "type": "tuple"
1256
+ }
1257
+ ],
1258
+ "stateMutability": "view",
1259
+ "type": "function"
1260
+ }
1261
+ ];
1262
+ exports.default = exports.IMultipassAbi;
1263
+ //# sourceMappingURL=IMultipass.js.map