@peeramid-labs/sdk 2.1.1 → 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 +137 -3
  313. package/docs/enums/CONTENT_STORAGE.md +27 -0
  314. package/docs/enums/SUBMISSION_TYPES.md +41 -0
  315. package/docs/index.md +137 -3
  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 +5 -2
  351. package/lib.commonjs/utils/artifacts.d.ts.map +1 -1
  352. package/lib.commonjs/utils/artifacts.js +4 -2
  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 +5 -2
  393. package/lib.esm/utils/artifacts.d.ts.map +1 -1
  394. package/lib.esm/utils/artifacts.js +5 -3
  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,1461 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MultipassAbi = void 0;
4
+ exports.MultipassAbi = [
5
+ {
6
+ "inputs": [],
7
+ "stateMutability": "nonpayable",
8
+ "type": "constructor"
9
+ },
10
+ {
11
+ "inputs": [],
12
+ "name": "InvalidInitialization",
13
+ "type": "error"
14
+ },
15
+ {
16
+ "inputs": [],
17
+ "name": "NotInitializing",
18
+ "type": "error"
19
+ },
20
+ {
21
+ "inputs": [
22
+ {
23
+ "internalType": "address",
24
+ "name": "owner",
25
+ "type": "address"
26
+ }
27
+ ],
28
+ "name": "OwnableInvalidOwner",
29
+ "type": "error"
30
+ },
31
+ {
32
+ "inputs": [
33
+ {
34
+ "internalType": "address",
35
+ "name": "account",
36
+ "type": "address"
37
+ }
38
+ ],
39
+ "name": "OwnableUnauthorizedAccount",
40
+ "type": "error"
41
+ },
42
+ {
43
+ "inputs": [],
44
+ "name": "ReentrancyGuardReentrantCall",
45
+ "type": "error"
46
+ },
47
+ {
48
+ "inputs": [
49
+ {
50
+ "internalType": "bytes32",
51
+ "name": "domainName",
52
+ "type": "bytes32"
53
+ }
54
+ ],
55
+ "name": "domainNotActive",
56
+ "type": "error"
57
+ },
58
+ {
59
+ "inputs": [
60
+ {
61
+ "internalType": "bytes32",
62
+ "name": "domainName",
63
+ "type": "bytes32"
64
+ }
65
+ ],
66
+ "name": "invalidDomain",
67
+ "type": "error"
68
+ },
69
+ {
70
+ "inputs": [
71
+ {
72
+ "internalType": "uint256",
73
+ "name": "nonce",
74
+ "type": "uint256"
75
+ }
76
+ ],
77
+ "name": "invalidNonce",
78
+ "type": "error"
79
+ },
80
+ {
81
+ "inputs": [
82
+ {
83
+ "internalType": "uint256",
84
+ "name": "old",
85
+ "type": "uint256"
86
+ },
87
+ {
88
+ "internalType": "uint256",
89
+ "name": "newer",
90
+ "type": "uint256"
91
+ }
92
+ ],
93
+ "name": "invalidNonceIncrement",
94
+ "type": "error"
95
+ },
96
+ {
97
+ "inputs": [
98
+ {
99
+ "internalType": "enum IMultipass.InvalidQueryReasons",
100
+ "name": "reason",
101
+ "type": "uint8"
102
+ }
103
+ ],
104
+ "name": "invalidQuery",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [
109
+ {
110
+ "internalType": "address",
111
+ "name": "registrar",
112
+ "type": "address"
113
+ }
114
+ ],
115
+ "name": "invalidRegistrar",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [],
120
+ "name": "invalidSignature",
121
+ "type": "error"
122
+ },
123
+ {
124
+ "inputs": [
125
+ {
126
+ "internalType": "bytes32",
127
+ "name": "domainName",
128
+ "type": "bytes32"
129
+ },
130
+ {
131
+ "internalType": "bytes32",
132
+ "name": "newName",
133
+ "type": "bytes32"
134
+ }
135
+ ],
136
+ "name": "invalidnameChange",
137
+ "type": "error"
138
+ },
139
+ {
140
+ "inputs": [
141
+ {
142
+ "internalType": "bytes32",
143
+ "name": "name",
144
+ "type": "bytes32"
145
+ },
146
+ {
147
+ "internalType": "bool",
148
+ "name": "isActive",
149
+ "type": "bool"
150
+ }
151
+ ],
152
+ "name": "isActive",
153
+ "type": "error"
154
+ },
155
+ {
156
+ "inputs": [
157
+ {
158
+ "internalType": "uint256",
159
+ "name": "a",
160
+ "type": "uint256"
161
+ },
162
+ {
163
+ "internalType": "uint256",
164
+ "name": "b",
165
+ "type": "uint256"
166
+ }
167
+ ],
168
+ "name": "mathOverflow",
169
+ "type": "error"
170
+ },
171
+ {
172
+ "inputs": [
173
+ {
174
+ "internalType": "bytes32",
175
+ "name": "name",
176
+ "type": "bytes32"
177
+ }
178
+ ],
179
+ "name": "nameExists",
180
+ "type": "error"
181
+ },
182
+ {
183
+ "inputs": [],
184
+ "name": "paymendFailed",
185
+ "type": "error"
186
+ },
187
+ {
188
+ "inputs": [
189
+ {
190
+ "internalType": "uint256",
191
+ "name": "fee",
192
+ "type": "uint256"
193
+ },
194
+ {
195
+ "internalType": "uint256",
196
+ "name": "value",
197
+ "type": "uint256"
198
+ }
199
+ ],
200
+ "name": "paymentTooLow",
201
+ "type": "error"
202
+ },
203
+ {
204
+ "inputs": [
205
+ {
206
+ "components": [
207
+ {
208
+ "internalType": "address",
209
+ "name": "wallet",
210
+ "type": "address"
211
+ },
212
+ {
213
+ "internalType": "bytes32",
214
+ "name": "name",
215
+ "type": "bytes32"
216
+ },
217
+ {
218
+ "internalType": "bytes32",
219
+ "name": "id",
220
+ "type": "bytes32"
221
+ },
222
+ {
223
+ "internalType": "uint96",
224
+ "name": "nonce",
225
+ "type": "uint96"
226
+ },
227
+ {
228
+ "internalType": "bytes32",
229
+ "name": "domainName",
230
+ "type": "bytes32"
231
+ },
232
+ {
233
+ "internalType": "uint256",
234
+ "name": "validUntil",
235
+ "type": "uint256"
236
+ }
237
+ ],
238
+ "internalType": "struct LibMultipass.Record",
239
+ "name": "newRecord",
240
+ "type": "tuple"
241
+ }
242
+ ],
243
+ "name": "recordExists",
244
+ "type": "error"
245
+ },
246
+ {
247
+ "inputs": [
248
+ {
249
+ "internalType": "uint256",
250
+ "name": "referrerReward",
251
+ "type": "uint256"
252
+ },
253
+ {
254
+ "internalType": "uint256",
255
+ "name": "referralDiscount",
256
+ "type": "uint256"
257
+ },
258
+ {
259
+ "internalType": "uint256",
260
+ "name": "fee",
261
+ "type": "uint256"
262
+ }
263
+ ],
264
+ "name": "referralRewardsTooHigh",
265
+ "type": "error"
266
+ },
267
+ {
268
+ "inputs": [],
269
+ "name": "referredSelf",
270
+ "type": "error"
271
+ },
272
+ {
273
+ "inputs": [
274
+ {
275
+ "internalType": "uint256",
276
+ "name": "signatureDeadline",
277
+ "type": "uint256"
278
+ }
279
+ ],
280
+ "name": "signatureExpired",
281
+ "type": "error"
282
+ },
283
+ {
284
+ "inputs": [
285
+ {
286
+ "components": [
287
+ {
288
+ "internalType": "bytes32",
289
+ "name": "domainName",
290
+ "type": "bytes32"
291
+ },
292
+ {
293
+ "internalType": "address",
294
+ "name": "wallet",
295
+ "type": "address"
296
+ },
297
+ {
298
+ "internalType": "bytes32",
299
+ "name": "name",
300
+ "type": "bytes32"
301
+ },
302
+ {
303
+ "internalType": "bytes32",
304
+ "name": "id",
305
+ "type": "bytes32"
306
+ },
307
+ {
308
+ "internalType": "bytes32",
309
+ "name": "targetDomain",
310
+ "type": "bytes32"
311
+ }
312
+ ],
313
+ "internalType": "struct LibMultipass.NameQuery",
314
+ "name": "query",
315
+ "type": "tuple"
316
+ }
317
+ ],
318
+ "name": "userNotFound",
319
+ "type": "error"
320
+ },
321
+ {
322
+ "anonymous": false,
323
+ "inputs": [
324
+ {
325
+ "indexed": true,
326
+ "internalType": "bytes32",
327
+ "name": "domainName",
328
+ "type": "bytes32"
329
+ }
330
+ ],
331
+ "name": "DomainActivated",
332
+ "type": "event"
333
+ },
334
+ {
335
+ "anonymous": false,
336
+ "inputs": [
337
+ {
338
+ "indexed": true,
339
+ "internalType": "bytes32",
340
+ "name": "domainName",
341
+ "type": "bytes32"
342
+ }
343
+ ],
344
+ "name": "DomainDeactivated",
345
+ "type": "event"
346
+ },
347
+ {
348
+ "anonymous": false,
349
+ "inputs": [
350
+ {
351
+ "indexed": true,
352
+ "internalType": "bytes32",
353
+ "name": "domainName",
354
+ "type": "bytes32"
355
+ },
356
+ {
357
+ "indexed": true,
358
+ "internalType": "uint256",
359
+ "name": "newFee",
360
+ "type": "uint256"
361
+ }
362
+ ],
363
+ "name": "DomainFeeChanged",
364
+ "type": "event"
365
+ },
366
+ {
367
+ "anonymous": false,
368
+ "inputs": [],
369
+ "name": "EIP712DomainChanged",
370
+ "type": "event"
371
+ },
372
+ {
373
+ "anonymous": false,
374
+ "inputs": [
375
+ {
376
+ "indexed": false,
377
+ "internalType": "uint64",
378
+ "name": "version",
379
+ "type": "uint64"
380
+ }
381
+ ],
382
+ "name": "Initialized",
383
+ "type": "event"
384
+ },
385
+ {
386
+ "anonymous": false,
387
+ "inputs": [
388
+ {
389
+ "indexed": true,
390
+ "internalType": "address",
391
+ "name": "registrar",
392
+ "type": "address"
393
+ },
394
+ {
395
+ "indexed": true,
396
+ "internalType": "uint256",
397
+ "name": "fee",
398
+ "type": "uint256"
399
+ },
400
+ {
401
+ "indexed": true,
402
+ "internalType": "bytes32",
403
+ "name": "domainName",
404
+ "type": "bytes32"
405
+ },
406
+ {
407
+ "indexed": false,
408
+ "internalType": "uint256",
409
+ "name": "renewalFee",
410
+ "type": "uint256"
411
+ },
412
+ {
413
+ "indexed": false,
414
+ "internalType": "uint256",
415
+ "name": "referrerReward",
416
+ "type": "uint256"
417
+ },
418
+ {
419
+ "indexed": false,
420
+ "internalType": "uint256",
421
+ "name": "referralDiscount",
422
+ "type": "uint256"
423
+ }
424
+ ],
425
+ "name": "InitializedDomain",
426
+ "type": "event"
427
+ },
428
+ {
429
+ "anonymous": false,
430
+ "inputs": [
431
+ {
432
+ "indexed": true,
433
+ "internalType": "address",
434
+ "name": "previousOwner",
435
+ "type": "address"
436
+ },
437
+ {
438
+ "indexed": true,
439
+ "internalType": "address",
440
+ "name": "newOwner",
441
+ "type": "address"
442
+ }
443
+ ],
444
+ "name": "OwnershipTransferred",
445
+ "type": "event"
446
+ },
447
+ {
448
+ "anonymous": false,
449
+ "inputs": [
450
+ {
451
+ "indexed": true,
452
+ "internalType": "bytes32",
453
+ "name": "domainName",
454
+ "type": "bytes32"
455
+ },
456
+ {
457
+ "indexed": false,
458
+ "internalType": "uint256",
459
+ "name": "reward",
460
+ "type": "uint256"
461
+ },
462
+ {
463
+ "indexed": false,
464
+ "internalType": "uint256",
465
+ "name": "discount",
466
+ "type": "uint256"
467
+ }
468
+ ],
469
+ "name": "ReferralProgramChanged",
470
+ "type": "event"
471
+ },
472
+ {
473
+ "anonymous": false,
474
+ "inputs": [
475
+ {
476
+ "components": [
477
+ {
478
+ "internalType": "address",
479
+ "name": "wallet",
480
+ "type": "address"
481
+ },
482
+ {
483
+ "internalType": "bytes32",
484
+ "name": "name",
485
+ "type": "bytes32"
486
+ },
487
+ {
488
+ "internalType": "bytes32",
489
+ "name": "id",
490
+ "type": "bytes32"
491
+ },
492
+ {
493
+ "internalType": "uint96",
494
+ "name": "nonce",
495
+ "type": "uint96"
496
+ },
497
+ {
498
+ "internalType": "bytes32",
499
+ "name": "domainName",
500
+ "type": "bytes32"
501
+ },
502
+ {
503
+ "internalType": "uint256",
504
+ "name": "validUntil",
505
+ "type": "uint256"
506
+ }
507
+ ],
508
+ "indexed": false,
509
+ "internalType": "struct LibMultipass.Record",
510
+ "name": "refferrer",
511
+ "type": "tuple"
512
+ },
513
+ {
514
+ "components": [
515
+ {
516
+ "internalType": "address",
517
+ "name": "wallet",
518
+ "type": "address"
519
+ },
520
+ {
521
+ "internalType": "bytes32",
522
+ "name": "name",
523
+ "type": "bytes32"
524
+ },
525
+ {
526
+ "internalType": "bytes32",
527
+ "name": "id",
528
+ "type": "bytes32"
529
+ },
530
+ {
531
+ "internalType": "uint96",
532
+ "name": "nonce",
533
+ "type": "uint96"
534
+ },
535
+ {
536
+ "internalType": "bytes32",
537
+ "name": "domainName",
538
+ "type": "bytes32"
539
+ },
540
+ {
541
+ "internalType": "uint256",
542
+ "name": "validUntil",
543
+ "type": "uint256"
544
+ }
545
+ ],
546
+ "indexed": false,
547
+ "internalType": "struct LibMultipass.Record",
548
+ "name": "newRecord",
549
+ "type": "tuple"
550
+ },
551
+ {
552
+ "indexed": true,
553
+ "internalType": "bytes32",
554
+ "name": "domainName",
555
+ "type": "bytes32"
556
+ }
557
+ ],
558
+ "name": "Referred",
559
+ "type": "event"
560
+ },
561
+ {
562
+ "anonymous": false,
563
+ "inputs": [
564
+ {
565
+ "indexed": true,
566
+ "internalType": "bytes32",
567
+ "name": "domainName",
568
+ "type": "bytes32"
569
+ },
570
+ {
571
+ "components": [
572
+ {
573
+ "internalType": "address",
574
+ "name": "wallet",
575
+ "type": "address"
576
+ },
577
+ {
578
+ "internalType": "bytes32",
579
+ "name": "name",
580
+ "type": "bytes32"
581
+ },
582
+ {
583
+ "internalType": "bytes32",
584
+ "name": "id",
585
+ "type": "bytes32"
586
+ },
587
+ {
588
+ "internalType": "uint96",
589
+ "name": "nonce",
590
+ "type": "uint96"
591
+ },
592
+ {
593
+ "internalType": "bytes32",
594
+ "name": "domainName",
595
+ "type": "bytes32"
596
+ },
597
+ {
598
+ "internalType": "uint256",
599
+ "name": "validUntil",
600
+ "type": "uint256"
601
+ }
602
+ ],
603
+ "indexed": false,
604
+ "internalType": "struct LibMultipass.Record",
605
+ "name": "NewRecord",
606
+ "type": "tuple"
607
+ }
608
+ ],
609
+ "name": "Registered",
610
+ "type": "event"
611
+ },
612
+ {
613
+ "anonymous": false,
614
+ "inputs": [
615
+ {
616
+ "indexed": true,
617
+ "internalType": "bytes32",
618
+ "name": "domainName",
619
+ "type": "bytes32"
620
+ },
621
+ {
622
+ "indexed": true,
623
+ "internalType": "address",
624
+ "name": "registrar",
625
+ "type": "address"
626
+ }
627
+ ],
628
+ "name": "RegistrarChanged",
629
+ "type": "event"
630
+ },
631
+ {
632
+ "anonymous": false,
633
+ "inputs": [
634
+ {
635
+ "indexed": true,
636
+ "internalType": "bytes32",
637
+ "name": "domainName",
638
+ "type": "bytes32"
639
+ },
640
+ {
641
+ "indexed": true,
642
+ "internalType": "uint256",
643
+ "name": "newFee",
644
+ "type": "uint256"
645
+ }
646
+ ],
647
+ "name": "RenewalFeeChanged",
648
+ "type": "event"
649
+ },
650
+ {
651
+ "anonymous": false,
652
+ "inputs": [
653
+ {
654
+ "indexed": true,
655
+ "internalType": "address",
656
+ "name": "wallet",
657
+ "type": "address"
658
+ },
659
+ {
660
+ "indexed": true,
661
+ "internalType": "bytes32",
662
+ "name": "domainName",
663
+ "type": "bytes32"
664
+ },
665
+ {
666
+ "indexed": true,
667
+ "internalType": "bytes32",
668
+ "name": "id",
669
+ "type": "bytes32"
670
+ },
671
+ {
672
+ "components": [
673
+ {
674
+ "internalType": "address",
675
+ "name": "wallet",
676
+ "type": "address"
677
+ },
678
+ {
679
+ "internalType": "bytes32",
680
+ "name": "name",
681
+ "type": "bytes32"
682
+ },
683
+ {
684
+ "internalType": "bytes32",
685
+ "name": "id",
686
+ "type": "bytes32"
687
+ },
688
+ {
689
+ "internalType": "uint96",
690
+ "name": "nonce",
691
+ "type": "uint96"
692
+ },
693
+ {
694
+ "internalType": "bytes32",
695
+ "name": "domainName",
696
+ "type": "bytes32"
697
+ },
698
+ {
699
+ "internalType": "uint256",
700
+ "name": "validUntil",
701
+ "type": "uint256"
702
+ }
703
+ ],
704
+ "indexed": false,
705
+ "internalType": "struct LibMultipass.Record",
706
+ "name": "newRecord",
707
+ "type": "tuple"
708
+ }
709
+ ],
710
+ "name": "Renewed",
711
+ "type": "event"
712
+ },
713
+ {
714
+ "anonymous": false,
715
+ "inputs": [
716
+ {
717
+ "indexed": true,
718
+ "internalType": "uint256",
719
+ "name": "amount",
720
+ "type": "uint256"
721
+ },
722
+ {
723
+ "indexed": true,
724
+ "internalType": "address",
725
+ "name": "account",
726
+ "type": "address"
727
+ }
728
+ ],
729
+ "name": "fundsWithdawn",
730
+ "type": "event"
731
+ },
732
+ {
733
+ "anonymous": false,
734
+ "inputs": [
735
+ {
736
+ "indexed": true,
737
+ "internalType": "bytes32",
738
+ "name": "domainName",
739
+ "type": "bytes32"
740
+ },
741
+ {
742
+ "indexed": true,
743
+ "internalType": "address",
744
+ "name": "wallet",
745
+ "type": "address"
746
+ },
747
+ {
748
+ "indexed": true,
749
+ "internalType": "bytes32",
750
+ "name": "id",
751
+ "type": "bytes32"
752
+ },
753
+ {
754
+ "indexed": false,
755
+ "internalType": "bytes32",
756
+ "name": "name",
757
+ "type": "bytes32"
758
+ }
759
+ ],
760
+ "name": "nameDeleted",
761
+ "type": "event"
762
+ },
763
+ {
764
+ "inputs": [
765
+ {
766
+ "internalType": "bytes32",
767
+ "name": "domainName",
768
+ "type": "bytes32"
769
+ }
770
+ ],
771
+ "name": "activateDomain",
772
+ "outputs": [],
773
+ "stateMutability": "nonpayable",
774
+ "type": "function"
775
+ },
776
+ {
777
+ "inputs": [
778
+ {
779
+ "internalType": "bytes32",
780
+ "name": "domainName",
781
+ "type": "bytes32"
782
+ },
783
+ {
784
+ "internalType": "uint256",
785
+ "name": "fee",
786
+ "type": "uint256"
787
+ }
788
+ ],
789
+ "name": "changeFee",
790
+ "outputs": [],
791
+ "stateMutability": "nonpayable",
792
+ "type": "function"
793
+ },
794
+ {
795
+ "inputs": [
796
+ {
797
+ "internalType": "uint256",
798
+ "name": "referrerReward",
799
+ "type": "uint256"
800
+ },
801
+ {
802
+ "internalType": "uint256",
803
+ "name": "referralDiscount",
804
+ "type": "uint256"
805
+ },
806
+ {
807
+ "internalType": "bytes32",
808
+ "name": "domainName",
809
+ "type": "bytes32"
810
+ }
811
+ ],
812
+ "name": "changeReferralProgram",
813
+ "outputs": [],
814
+ "stateMutability": "nonpayable",
815
+ "type": "function"
816
+ },
817
+ {
818
+ "inputs": [
819
+ {
820
+ "internalType": "bytes32",
821
+ "name": "domainName",
822
+ "type": "bytes32"
823
+ },
824
+ {
825
+ "internalType": "address",
826
+ "name": "newRegistrar",
827
+ "type": "address"
828
+ }
829
+ ],
830
+ "name": "changeRegistrar",
831
+ "outputs": [],
832
+ "stateMutability": "nonpayable",
833
+ "type": "function"
834
+ },
835
+ {
836
+ "inputs": [
837
+ {
838
+ "internalType": "uint256",
839
+ "name": "fee",
840
+ "type": "uint256"
841
+ },
842
+ {
843
+ "internalType": "bytes32",
844
+ "name": "domainName",
845
+ "type": "bytes32"
846
+ }
847
+ ],
848
+ "name": "changeRenewalFee",
849
+ "outputs": [],
850
+ "stateMutability": "nonpayable",
851
+ "type": "function"
852
+ },
853
+ {
854
+ "inputs": [
855
+ {
856
+ "internalType": "bytes32",
857
+ "name": "domainName",
858
+ "type": "bytes32"
859
+ }
860
+ ],
861
+ "name": "deactivateDomain",
862
+ "outputs": [],
863
+ "stateMutability": "nonpayable",
864
+ "type": "function"
865
+ },
866
+ {
867
+ "inputs": [
868
+ {
869
+ "components": [
870
+ {
871
+ "internalType": "bytes32",
872
+ "name": "domainName",
873
+ "type": "bytes32"
874
+ },
875
+ {
876
+ "internalType": "address",
877
+ "name": "wallet",
878
+ "type": "address"
879
+ },
880
+ {
881
+ "internalType": "bytes32",
882
+ "name": "name",
883
+ "type": "bytes32"
884
+ },
885
+ {
886
+ "internalType": "bytes32",
887
+ "name": "id",
888
+ "type": "bytes32"
889
+ },
890
+ {
891
+ "internalType": "bytes32",
892
+ "name": "targetDomain",
893
+ "type": "bytes32"
894
+ }
895
+ ],
896
+ "internalType": "struct LibMultipass.NameQuery",
897
+ "name": "query",
898
+ "type": "tuple"
899
+ }
900
+ ],
901
+ "name": "deleteName",
902
+ "outputs": [],
903
+ "stateMutability": "nonpayable",
904
+ "type": "function"
905
+ },
906
+ {
907
+ "inputs": [],
908
+ "name": "eip712Domain",
909
+ "outputs": [
910
+ {
911
+ "internalType": "bytes1",
912
+ "name": "fields",
913
+ "type": "bytes1"
914
+ },
915
+ {
916
+ "internalType": "string",
917
+ "name": "name",
918
+ "type": "string"
919
+ },
920
+ {
921
+ "internalType": "string",
922
+ "name": "version",
923
+ "type": "string"
924
+ },
925
+ {
926
+ "internalType": "uint256",
927
+ "name": "chainId",
928
+ "type": "uint256"
929
+ },
930
+ {
931
+ "internalType": "address",
932
+ "name": "verifyingContract",
933
+ "type": "address"
934
+ },
935
+ {
936
+ "internalType": "bytes32",
937
+ "name": "salt",
938
+ "type": "bytes32"
939
+ },
940
+ {
941
+ "internalType": "uint256[]",
942
+ "name": "extensions",
943
+ "type": "uint256[]"
944
+ }
945
+ ],
946
+ "stateMutability": "view",
947
+ "type": "function"
948
+ },
949
+ {
950
+ "inputs": [],
951
+ "name": "getContractState",
952
+ "outputs": [
953
+ {
954
+ "internalType": "uint256",
955
+ "name": "",
956
+ "type": "uint256"
957
+ }
958
+ ],
959
+ "stateMutability": "view",
960
+ "type": "function"
961
+ },
962
+ {
963
+ "inputs": [
964
+ {
965
+ "internalType": "bytes32",
966
+ "name": "domainName",
967
+ "type": "bytes32"
968
+ }
969
+ ],
970
+ "name": "getDomainState",
971
+ "outputs": [
972
+ {
973
+ "components": [
974
+ {
975
+ "internalType": "bytes32",
976
+ "name": "name",
977
+ "type": "bytes32"
978
+ },
979
+ {
980
+ "internalType": "uint256",
981
+ "name": "fee",
982
+ "type": "uint256"
983
+ },
984
+ {
985
+ "internalType": "uint256",
986
+ "name": "referrerReward",
987
+ "type": "uint256"
988
+ },
989
+ {
990
+ "internalType": "uint256",
991
+ "name": "referralDiscount",
992
+ "type": "uint256"
993
+ },
994
+ {
995
+ "internalType": "bool",
996
+ "name": "isActive",
997
+ "type": "bool"
998
+ },
999
+ {
1000
+ "internalType": "address",
1001
+ "name": "registrar",
1002
+ "type": "address"
1003
+ },
1004
+ {
1005
+ "internalType": "uint24",
1006
+ "name": "ttl",
1007
+ "type": "uint24"
1008
+ },
1009
+ {
1010
+ "internalType": "uint256",
1011
+ "name": "registerSize",
1012
+ "type": "uint256"
1013
+ },
1014
+ {
1015
+ "internalType": "uint256",
1016
+ "name": "renewalFee",
1017
+ "type": "uint256"
1018
+ }
1019
+ ],
1020
+ "internalType": "struct LibMultipass.Domain",
1021
+ "name": "",
1022
+ "type": "tuple"
1023
+ }
1024
+ ],
1025
+ "stateMutability": "view",
1026
+ "type": "function"
1027
+ },
1028
+ {
1029
+ "inputs": [
1030
+ {
1031
+ "internalType": "uint256",
1032
+ "name": "id",
1033
+ "type": "uint256"
1034
+ }
1035
+ ],
1036
+ "name": "getDomainStateById",
1037
+ "outputs": [
1038
+ {
1039
+ "components": [
1040
+ {
1041
+ "internalType": "bytes32",
1042
+ "name": "name",
1043
+ "type": "bytes32"
1044
+ },
1045
+ {
1046
+ "internalType": "uint256",
1047
+ "name": "fee",
1048
+ "type": "uint256"
1049
+ },
1050
+ {
1051
+ "internalType": "uint256",
1052
+ "name": "referrerReward",
1053
+ "type": "uint256"
1054
+ },
1055
+ {
1056
+ "internalType": "uint256",
1057
+ "name": "referralDiscount",
1058
+ "type": "uint256"
1059
+ },
1060
+ {
1061
+ "internalType": "bool",
1062
+ "name": "isActive",
1063
+ "type": "bool"
1064
+ },
1065
+ {
1066
+ "internalType": "address",
1067
+ "name": "registrar",
1068
+ "type": "address"
1069
+ },
1070
+ {
1071
+ "internalType": "uint24",
1072
+ "name": "ttl",
1073
+ "type": "uint24"
1074
+ },
1075
+ {
1076
+ "internalType": "uint256",
1077
+ "name": "registerSize",
1078
+ "type": "uint256"
1079
+ },
1080
+ {
1081
+ "internalType": "uint256",
1082
+ "name": "renewalFee",
1083
+ "type": "uint256"
1084
+ }
1085
+ ],
1086
+ "internalType": "struct LibMultipass.Domain",
1087
+ "name": "",
1088
+ "type": "tuple"
1089
+ }
1090
+ ],
1091
+ "stateMutability": "view",
1092
+ "type": "function"
1093
+ },
1094
+ {
1095
+ "inputs": [
1096
+ {
1097
+ "internalType": "string",
1098
+ "name": "name",
1099
+ "type": "string"
1100
+ },
1101
+ {
1102
+ "internalType": "string",
1103
+ "name": "version",
1104
+ "type": "string"
1105
+ },
1106
+ {
1107
+ "internalType": "address",
1108
+ "name": "owner",
1109
+ "type": "address"
1110
+ }
1111
+ ],
1112
+ "name": "initialize",
1113
+ "outputs": [],
1114
+ "stateMutability": "nonpayable",
1115
+ "type": "function"
1116
+ },
1117
+ {
1118
+ "inputs": [
1119
+ {
1120
+ "internalType": "address",
1121
+ "name": "registrar",
1122
+ "type": "address"
1123
+ },
1124
+ {
1125
+ "internalType": "uint256",
1126
+ "name": "fee",
1127
+ "type": "uint256"
1128
+ },
1129
+ {
1130
+ "internalType": "uint256",
1131
+ "name": "renewalFee",
1132
+ "type": "uint256"
1133
+ },
1134
+ {
1135
+ "internalType": "bytes32",
1136
+ "name": "domainName",
1137
+ "type": "bytes32"
1138
+ },
1139
+ {
1140
+ "internalType": "uint256",
1141
+ "name": "referrerReward",
1142
+ "type": "uint256"
1143
+ },
1144
+ {
1145
+ "internalType": "uint256",
1146
+ "name": "referralDiscount",
1147
+ "type": "uint256"
1148
+ }
1149
+ ],
1150
+ "name": "initializeDomain",
1151
+ "outputs": [],
1152
+ "stateMutability": "nonpayable",
1153
+ "type": "function"
1154
+ },
1155
+ {
1156
+ "inputs": [],
1157
+ "name": "owner",
1158
+ "outputs": [
1159
+ {
1160
+ "internalType": "address",
1161
+ "name": "",
1162
+ "type": "address"
1163
+ }
1164
+ ],
1165
+ "stateMutability": "view",
1166
+ "type": "function"
1167
+ },
1168
+ {
1169
+ "inputs": [
1170
+ {
1171
+ "components": [
1172
+ {
1173
+ "internalType": "address",
1174
+ "name": "wallet",
1175
+ "type": "address"
1176
+ },
1177
+ {
1178
+ "internalType": "bytes32",
1179
+ "name": "name",
1180
+ "type": "bytes32"
1181
+ },
1182
+ {
1183
+ "internalType": "bytes32",
1184
+ "name": "id",
1185
+ "type": "bytes32"
1186
+ },
1187
+ {
1188
+ "internalType": "uint96",
1189
+ "name": "nonce",
1190
+ "type": "uint96"
1191
+ },
1192
+ {
1193
+ "internalType": "bytes32",
1194
+ "name": "domainName",
1195
+ "type": "bytes32"
1196
+ },
1197
+ {
1198
+ "internalType": "uint256",
1199
+ "name": "validUntil",
1200
+ "type": "uint256"
1201
+ }
1202
+ ],
1203
+ "internalType": "struct LibMultipass.Record",
1204
+ "name": "newRecord",
1205
+ "type": "tuple"
1206
+ },
1207
+ {
1208
+ "internalType": "bytes",
1209
+ "name": "registrarSignature",
1210
+ "type": "bytes"
1211
+ },
1212
+ {
1213
+ "components": [
1214
+ {
1215
+ "internalType": "bytes32",
1216
+ "name": "domainName",
1217
+ "type": "bytes32"
1218
+ },
1219
+ {
1220
+ "internalType": "address",
1221
+ "name": "wallet",
1222
+ "type": "address"
1223
+ },
1224
+ {
1225
+ "internalType": "bytes32",
1226
+ "name": "name",
1227
+ "type": "bytes32"
1228
+ },
1229
+ {
1230
+ "internalType": "bytes32",
1231
+ "name": "id",
1232
+ "type": "bytes32"
1233
+ },
1234
+ {
1235
+ "internalType": "bytes32",
1236
+ "name": "targetDomain",
1237
+ "type": "bytes32"
1238
+ }
1239
+ ],
1240
+ "internalType": "struct LibMultipass.NameQuery",
1241
+ "name": "referrer",
1242
+ "type": "tuple"
1243
+ },
1244
+ {
1245
+ "internalType": "bytes",
1246
+ "name": "referralCode",
1247
+ "type": "bytes"
1248
+ }
1249
+ ],
1250
+ "name": "register",
1251
+ "outputs": [],
1252
+ "stateMutability": "payable",
1253
+ "type": "function"
1254
+ },
1255
+ {
1256
+ "inputs": [
1257
+ {
1258
+ "components": [
1259
+ {
1260
+ "internalType": "bytes32",
1261
+ "name": "domainName",
1262
+ "type": "bytes32"
1263
+ },
1264
+ {
1265
+ "internalType": "address",
1266
+ "name": "wallet",
1267
+ "type": "address"
1268
+ },
1269
+ {
1270
+ "internalType": "bytes32",
1271
+ "name": "name",
1272
+ "type": "bytes32"
1273
+ },
1274
+ {
1275
+ "internalType": "bytes32",
1276
+ "name": "id",
1277
+ "type": "bytes32"
1278
+ },
1279
+ {
1280
+ "internalType": "bytes32",
1281
+ "name": "targetDomain",
1282
+ "type": "bytes32"
1283
+ }
1284
+ ],
1285
+ "internalType": "struct LibMultipass.NameQuery",
1286
+ "name": "query",
1287
+ "type": "tuple"
1288
+ },
1289
+ {
1290
+ "components": [
1291
+ {
1292
+ "internalType": "address",
1293
+ "name": "wallet",
1294
+ "type": "address"
1295
+ },
1296
+ {
1297
+ "internalType": "bytes32",
1298
+ "name": "name",
1299
+ "type": "bytes32"
1300
+ },
1301
+ {
1302
+ "internalType": "bytes32",
1303
+ "name": "id",
1304
+ "type": "bytes32"
1305
+ },
1306
+ {
1307
+ "internalType": "uint96",
1308
+ "name": "nonce",
1309
+ "type": "uint96"
1310
+ },
1311
+ {
1312
+ "internalType": "bytes32",
1313
+ "name": "domainName",
1314
+ "type": "bytes32"
1315
+ },
1316
+ {
1317
+ "internalType": "uint256",
1318
+ "name": "validUntil",
1319
+ "type": "uint256"
1320
+ }
1321
+ ],
1322
+ "internalType": "struct LibMultipass.Record",
1323
+ "name": "record",
1324
+ "type": "tuple"
1325
+ },
1326
+ {
1327
+ "internalType": "bytes",
1328
+ "name": "registrarSignature",
1329
+ "type": "bytes"
1330
+ }
1331
+ ],
1332
+ "name": "renewRecord",
1333
+ "outputs": [],
1334
+ "stateMutability": "payable",
1335
+ "type": "function"
1336
+ },
1337
+ {
1338
+ "inputs": [],
1339
+ "name": "renounceOwnership",
1340
+ "outputs": [],
1341
+ "stateMutability": "nonpayable",
1342
+ "type": "function"
1343
+ },
1344
+ {
1345
+ "inputs": [
1346
+ {
1347
+ "components": [
1348
+ {
1349
+ "internalType": "bytes32",
1350
+ "name": "domainName",
1351
+ "type": "bytes32"
1352
+ },
1353
+ {
1354
+ "internalType": "address",
1355
+ "name": "wallet",
1356
+ "type": "address"
1357
+ },
1358
+ {
1359
+ "internalType": "bytes32",
1360
+ "name": "name",
1361
+ "type": "bytes32"
1362
+ },
1363
+ {
1364
+ "internalType": "bytes32",
1365
+ "name": "id",
1366
+ "type": "bytes32"
1367
+ },
1368
+ {
1369
+ "internalType": "bytes32",
1370
+ "name": "targetDomain",
1371
+ "type": "bytes32"
1372
+ }
1373
+ ],
1374
+ "internalType": "struct LibMultipass.NameQuery",
1375
+ "name": "query",
1376
+ "type": "tuple"
1377
+ }
1378
+ ],
1379
+ "name": "resolveRecord",
1380
+ "outputs": [
1381
+ {
1382
+ "internalType": "bool",
1383
+ "name": "",
1384
+ "type": "bool"
1385
+ },
1386
+ {
1387
+ "components": [
1388
+ {
1389
+ "internalType": "address",
1390
+ "name": "wallet",
1391
+ "type": "address"
1392
+ },
1393
+ {
1394
+ "internalType": "bytes32",
1395
+ "name": "name",
1396
+ "type": "bytes32"
1397
+ },
1398
+ {
1399
+ "internalType": "bytes32",
1400
+ "name": "id",
1401
+ "type": "bytes32"
1402
+ },
1403
+ {
1404
+ "internalType": "uint96",
1405
+ "name": "nonce",
1406
+ "type": "uint96"
1407
+ },
1408
+ {
1409
+ "internalType": "bytes32",
1410
+ "name": "domainName",
1411
+ "type": "bytes32"
1412
+ },
1413
+ {
1414
+ "internalType": "uint256",
1415
+ "name": "validUntil",
1416
+ "type": "uint256"
1417
+ }
1418
+ ],
1419
+ "internalType": "struct LibMultipass.Record",
1420
+ "name": "",
1421
+ "type": "tuple"
1422
+ }
1423
+ ],
1424
+ "stateMutability": "view",
1425
+ "type": "function"
1426
+ },
1427
+ {
1428
+ "inputs": [
1429
+ {
1430
+ "internalType": "bytes4",
1431
+ "name": "interfaceId",
1432
+ "type": "bytes4"
1433
+ }
1434
+ ],
1435
+ "name": "supportsInterface",
1436
+ "outputs": [
1437
+ {
1438
+ "internalType": "bool",
1439
+ "name": "",
1440
+ "type": "bool"
1441
+ }
1442
+ ],
1443
+ "stateMutability": "view",
1444
+ "type": "function"
1445
+ },
1446
+ {
1447
+ "inputs": [
1448
+ {
1449
+ "internalType": "address",
1450
+ "name": "newOwner",
1451
+ "type": "address"
1452
+ }
1453
+ ],
1454
+ "name": "transferOwnership",
1455
+ "outputs": [],
1456
+ "stateMutability": "nonpayable",
1457
+ "type": "function"
1458
+ }
1459
+ ];
1460
+ exports.default = exports.MultipassAbi;
1461
+ //# sourceMappingURL=Multipass.js.map