@peeramid-labs/sdk 2.1.2 → 3.0.1

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