@peeramid-labs/sdk 3.7.2 → 3.7.4

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 (139) hide show
  1. package/cli/abis/MAODistribution.js +10 -0
  2. package/cli/abis/MAODistribution.js.map +1 -1
  3. package/cli/abis/RankToken.js +84 -0
  4. package/cli/abis/RankToken.js.map +1 -1
  5. package/cli/abis/superinterface.js +9 -3
  6. package/cli/abis/superinterface.js.map +1 -1
  7. package/cli/cli/commands/distributions/add.js +2 -0
  8. package/cli/cli/commands/distributions/add.js.map +1 -1
  9. package/cli/cli/commands/distributions/index.js +3 -1
  10. package/cli/cli/commands/distributions/index.js.map +1 -1
  11. package/cli/cli/commands/distributions/remove.js +67 -0
  12. package/cli/cli/commands/distributions/remove.js.map +1 -0
  13. package/cli/cli/commands/fellowship/create.js +8 -1
  14. package/cli/cli/commands/fellowship/create.js.map +1 -1
  15. package/cli/cli/commands/fellowship/endTurn.js +42 -0
  16. package/cli/cli/commands/fellowship/endTurn.js.map +1 -0
  17. package/cli/cli/commands/fellowship/games.js +1 -1
  18. package/cli/cli/commands/fellowship/games.js.map +1 -1
  19. package/cli/cli/commands/fellowship/index.js +5 -1
  20. package/cli/cli/commands/fellowship/index.js.map +1 -1
  21. package/cli/cli/commands/fellowship/params.js +49 -0
  22. package/cli/cli/commands/fellowship/params.js.map +1 -0
  23. package/cli/rankify/GameMaster.js +1076 -0
  24. package/cli/rankify/GameMaster.js.map +1 -0
  25. package/cli/rankify/InstanceBase.js +1 -0
  26. package/cli/rankify/InstanceBase.js.map +1 -1
  27. package/cli/rankify/MAODistributor.js +28 -0
  28. package/cli/rankify/MAODistributor.js.map +1 -1
  29. package/cli/utils/ApiError.js +11 -6
  30. package/cli/utils/ApiError.js.map +1 -1
  31. package/docs/classes/GameMaster.md +2 -2
  32. package/docs/classes/InstanceBase.md +2 -2
  33. package/docs/classes/InstancePlayer.md +2 -2
  34. package/docs/classes/MAODistributorClient.md +18 -1
  35. package/docs/docs/classes/GameMaster.md +2 -2
  36. package/docs/docs/classes/InstanceBase.md +2 -2
  37. package/docs/docs/classes/InstancePlayer.md +2 -2
  38. package/docs/docs/classes/MAODistributorClient.md +18 -1
  39. package/docs/docs/index.md +4 -4
  40. package/docs/index.md +4 -4
  41. package/lib.commonjs/abis/MAODistribution.d.ts +8 -0
  42. package/lib.commonjs/abis/MAODistribution.d.ts.map +1 -1
  43. package/lib.commonjs/abis/MAODistribution.js +10 -0
  44. package/lib.commonjs/abis/MAODistribution.js.map +1 -1
  45. package/lib.commonjs/abis/RankToken.d.ts +65 -0
  46. package/lib.commonjs/abis/RankToken.d.ts.map +1 -1
  47. package/lib.commonjs/abis/RankToken.js +84 -0
  48. package/lib.commonjs/abis/RankToken.js.map +1 -1
  49. package/lib.commonjs/abis/index.d.ts +74 -1
  50. package/lib.commonjs/abis/index.d.ts.map +1 -1
  51. package/lib.commonjs/abis/superinterface.d.ts +1 -1
  52. package/lib.commonjs/abis/superinterface.d.ts.map +1 -1
  53. package/lib.commonjs/abis/superinterface.js +9 -3
  54. package/lib.commonjs/abis/superinterface.js.map +1 -1
  55. package/lib.commonjs/multipass/MultipassBase.d.ts.map +1 -1
  56. package/lib.commonjs/multipass/Registrar.d.ts.map +1 -1
  57. package/lib.commonjs/rankify/GameMaster.d.ts +1 -1
  58. package/lib.commonjs/rankify/GameMaster.d.ts.map +1 -1
  59. package/lib.commonjs/rankify/GameMaster.js +38 -27
  60. package/lib.commonjs/rankify/GameMaster.js.map +1 -1
  61. package/lib.commonjs/rankify/InstanceBase.d.ts +1 -1
  62. package/lib.commonjs/rankify/InstanceBase.d.ts.map +1 -1
  63. package/lib.commonjs/rankify/InstanceBase.js +1 -0
  64. package/lib.commonjs/rankify/InstanceBase.js.map +1 -1
  65. package/lib.commonjs/rankify/MAODistributor.d.ts +1036 -0
  66. package/lib.commonjs/rankify/MAODistributor.d.ts.map +1 -1
  67. package/lib.commonjs/rankify/MAODistributor.js +28 -0
  68. package/lib.commonjs/rankify/MAODistributor.js.map +1 -1
  69. package/lib.commonjs/rankify/Player.d.ts.map +1 -1
  70. package/lib.commonjs/rankify/RankToken.d.ts.map +1 -1
  71. package/lib.commonjs/utils/ApiError.d.ts.map +1 -1
  72. package/lib.commonjs/utils/ApiError.js +11 -6
  73. package/lib.commonjs/utils/ApiError.js.map +1 -1
  74. package/lib.commonjs/utils/artifacts.d.ts.map +1 -1
  75. package/lib.commonjs/utils/index.d.ts.map +1 -1
  76. package/lib.commonjs/utils/permutations.d.ts.map +1 -1
  77. package/lib.esm/abis/MAODistribution.d.ts +8 -0
  78. package/lib.esm/abis/MAODistribution.d.ts.map +1 -1
  79. package/lib.esm/abis/MAODistribution.js +10 -0
  80. package/lib.esm/abis/MAODistribution.js.map +1 -1
  81. package/lib.esm/abis/RankToken.d.ts +65 -0
  82. package/lib.esm/abis/RankToken.d.ts.map +1 -1
  83. package/lib.esm/abis/RankToken.js +84 -0
  84. package/lib.esm/abis/RankToken.js.map +1 -1
  85. package/lib.esm/abis/index.d.ts +74 -1
  86. package/lib.esm/abis/index.d.ts.map +1 -1
  87. package/lib.esm/abis/superinterface.d.ts +1 -1
  88. package/lib.esm/abis/superinterface.d.ts.map +1 -1
  89. package/lib.esm/abis/superinterface.js +9 -3
  90. package/lib.esm/abis/superinterface.js.map +1 -1
  91. package/lib.esm/multipass/MultipassBase.d.ts.map +1 -1
  92. package/lib.esm/multipass/Registrar.d.ts.map +1 -1
  93. package/lib.esm/rankify/GameMaster.d.ts +1 -1
  94. package/lib.esm/rankify/GameMaster.d.ts.map +1 -1
  95. package/lib.esm/rankify/GameMaster.js +39 -28
  96. package/lib.esm/rankify/GameMaster.js.map +1 -1
  97. package/lib.esm/rankify/InstanceBase.d.ts +1 -1
  98. package/lib.esm/rankify/InstanceBase.d.ts.map +1 -1
  99. package/lib.esm/rankify/InstanceBase.js +1 -0
  100. package/lib.esm/rankify/InstanceBase.js.map +1 -1
  101. package/lib.esm/rankify/MAODistributor.d.ts +1036 -0
  102. package/lib.esm/rankify/MAODistributor.d.ts.map +1 -1
  103. package/lib.esm/rankify/MAODistributor.js +28 -0
  104. package/lib.esm/rankify/MAODistributor.js.map +1 -1
  105. package/lib.esm/rankify/Player.d.ts.map +1 -1
  106. package/lib.esm/rankify/RankToken.d.ts.map +1 -1
  107. package/lib.esm/utils/ApiError.d.ts.map +1 -1
  108. package/lib.esm/utils/ApiError.js +11 -6
  109. package/lib.esm/utils/ApiError.js.map +1 -1
  110. package/lib.esm/utils/artifacts.d.ts.map +1 -1
  111. package/lib.esm/utils/index.d.ts.map +1 -1
  112. package/lib.esm/utils/permutations.d.ts.map +1 -1
  113. package/package.json +8 -8
  114. package/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15.groth16.vkey.json +1 -0
  115. package/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15.groth16.zkey +0 -0
  116. package/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15.r1cs +0 -0
  117. package/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15.sym +19202 -0
  118. package/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15_artifacts.json +84 -0
  119. package/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15_js/ProposalsIntegrity15.wasm +0 -0
  120. package/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15_js/generate_witness.js +21 -0
  121. package/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15_js/witness_calculator.js +384 -0
  122. package/zk_artifacts/types/core/ProposalsIntegrity15.ts +163 -0
  123. package/zk_artifacts/types/core/index.ts +6 -0
  124. package/zk_artifacts/types/hardhat.d.ts +14 -0
  125. package/zk_artifacts/types/helpers.ts +44 -0
  126. package/zk_artifacts/types/index.ts +8 -0
  127. package/zk_artifacts/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15.groth16.vkey.json +1 -0
  128. package/zk_artifacts/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15.groth16.zkey +0 -0
  129. package/zk_artifacts/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15.r1cs +0 -0
  130. package/zk_artifacts/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15.sym +19202 -0
  131. package/zk_artifacts/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15_artifacts.json +84 -0
  132. package/zk_artifacts/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15_js/ProposalsIntegrity15.wasm +0 -0
  133. package/zk_artifacts/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15_js/generate_witness.js +21 -0
  134. package/zk_artifacts/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15_js/witness_calculator.js +384 -0
  135. package/zk_artifacts/zk_artifacts/types/core/ProposalsIntegrity15.ts +163 -0
  136. package/zk_artifacts/zk_artifacts/types/core/index.ts +6 -0
  137. package/zk_artifacts/zk_artifacts/types/hardhat.d.ts +14 -0
  138. package/zk_artifacts/zk_artifacts/types/helpers.ts +44 -0
  139. package/zk_artifacts/zk_artifacts/types/index.ts +8 -0
@@ -35,6 +35,7 @@ Handles creation, management and interaction with MAO instances
35
35
  - [parseToContracts](MAODistributorClient.md#parsetocontracts)
36
36
  - [getDistributions](MAODistributorClient.md#getdistributions)
37
37
  - [addNamedDistribution](MAODistributorClient.md#addnameddistribution)
38
+ - [removeDistribution](MAODistributorClient.md#removedistribution)
38
39
  - [getMAOInstance](MAODistributorClient.md#getmaoinstance)
39
40
  - [getInstantiatePrice](MAODistributorClient.md#getinstantiateprice)
40
41
  - [setInstantiationAllowance](MAODistributorClient.md#setinstantiationallowance)
@@ -318,6 +319,22 @@ ___
318
319
 
319
320
  ___
320
321
 
322
+ ### removeDistribution
323
+
324
+ ▸ **removeDistribution**(`id`): `Promise`\<\{ `receipt`: `TransactionReceipt` ; `distributionRemovedEvent`: `Log`\<`bigint`, `number`, ``false``, `undefined`, ``true``, readonly [\{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"defaultAdmin"`` = "defaultAdmin"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"contract IERC20"`` = "contract IERC20"; `name`: ``"token"`` = "token"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"defaultCost"`` = "defaultCost"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"constructor"`` = "constructor" }, \{ `inputs`: readonly [] = []; `name`: ``"AccessControlBadConfirmation"`` = "AccessControlBadConfirmation"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint48"`` = "uint48"; `name`: ``"schedule"`` = "schedule"; `type`: ``"uint48"`` = "uint48" }] ; `name`: ``"AccessControlEnforcedDefaultAdminDelay"`` = "AccessControlEnforcedDefaultAdminDelay"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"AccessControlEnforcedDefaultAdminRules"`` = "AccessControlEnforcedDefaultAdminRules"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"defaultAdmin"`` = "defaultAdmin"; `type`: ``"address"`` = "address" }] ; `name`: ``"AccessControlInvalidDefaultAdmin"`` = "AccessControlInvalidDefaultAdmin"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"account"`` = "account"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"neededRole"`` = "neededRole"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"AccessControlUnauthorizedAccount"`` = "AccessControlUnauthorizedAccount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"DistributionExists"`` = "DistributionExists"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"DistributionNotFound"`` = "DistributionNotFound"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"InitializerNotFound"`` = "InitializerNotFound"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"instance"`` = "instance"; `type`: ``"address"`` = "address" }] ; `name`: ``"InvalidInstance"`` = "InvalidInstance"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"repository"`` = "repository"; `type`: ``"address"`` = "address" }] ; `name`: ``"InvalidRepository"`` = "InvalidRepository"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributionId"`` = "distributionId"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"version"`` = "version"; `type`: ``"string"`` = "string" }] ; `name`: ``"InvalidVersionRequested"`` = "InvalidVersionRequested"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"repository"`` = "repository"; `type`: ``"address"`` = "address" }] ; `name`: ``"RepositoryAlreadyExists"`` = "RepositoryAlreadyExists"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint8"`` = "uint8"; `name`: ``"bits"`` = "bits"; `type`: ``"uint8"`` = "uint8" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"value"`` = "value"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"SafeCastOverflowedUintDowncast"`` = "SafeCastOverflowedUintDowncast"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributionId"`` = "distributionId"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"UnversionedDistribution"`` = "UnversionedDistribution"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributionId"`` = "distributionId"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"version"`` = "version"; `type`: ``"string"`` = "string" }] ; `name`: ``"VersionOutdated"`` = "VersionOutdated"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [] = []; `name`: ``"DefaultAdminDelayChangeCanceled"`` = "DefaultAdminDelayChangeCanceled"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint48"`` = "uint48"; `name`: ``"newDelay"`` = "newDelay"; `type`: ``"uint48"`` = "uint48" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint48"`` = "uint48"; `name`: ``"effectSchedule"`` = "effectSchedule"; `type`: ``"uint48"`` = "uint48" }] ; `name`: ``"DefaultAdminDelayChangeScheduled"`` = "DefaultAdminDelayChangeScheduled"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [] = []; `name`: ``"DefaultAdminTransferCanceled"`` = "DefaultAdminTransferCanceled"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newAdmin"`` = "newAdmin"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint48"`` = "uint48"; `name`: ``"acceptSchedule"`` = "acceptSchedule"; `type`: ``"uint48"`` = "uint48" }] ; `name`: ``"DefaultAdminTransferScheduled"`` = "DefaultAdminTransferScheduled"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"distribution"`` = "distribution"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"initializer"`` = "initializer"; `type`: ``"address"`` = "address" }] ; `name`: ``"DistributionAdded"`` = "DistributionAdded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"DistributionRemoved"`` = "DistributionRemoved"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributionId"`` = "distributionId"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"newInstanceId"`` = "newInstanceId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"version"`` = "version"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"instances"`` = "instances"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"args"`` = "args"; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"Instantiated"`` = "Instantiated"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"cost"`` = "cost"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"InstantiationCostChanged"`` = "InstantiationCostChanged"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"role"`` = "role"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"previousAdminRole"`` = "previousAdminRole"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"newAdminRole"`` = "newAdminRole"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"RoleAdminChanged"`` = "RoleAdminChanged"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"role"`` = "role"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"account"`` = "account"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"sender"`` = "sender"; `type`: ``"address"`` = "address" }] ; `name`: ``"RoleGranted"`` = "RoleGranted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"role"`` = "role"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"account"`` = "account"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"sender"`` = "sender"; `type`: ``"address"`` = "address" }] ; `name`: ``"RoleRevoked"`` = "RoleRevoked"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributionId"`` = "distributionId"; `type`: ``"bytes32"`` = "bytes32" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint64"; `name`: ... = "major"; `type`: ... = "uint64" }, \{ `internalType`: ... = "uint64"; `name`: ... = "minor"; `type`: ... = "uint64" }, \{ `internalType`: ... = "uint128"; `name`: ... = "patch"; `type`: ... = "uint128" }] ; `internalType`: ``"struct LibSemver.Version"`` = "struct LibSemver.Version"; `name`: ``"version"`` = "version"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"enum LibSemver.requirements"`` = "enum LibSemver.requirements"; `name`: ``"requirement"`` = "requirement"; `type`: ``"uint8"`` = "uint8" }] ; `indexed`: ``true`` = true; `internalType`: ``"struct LibSemver.VersionRequirement"`` = "struct LibSemver.VersionRequirement"; `name`: ``"newRequirement"`` = "newRequirement"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint64"; `name`: ... = "major"; `type`: ... = "uint64" }, \{ `internalType`: ... = "uint64"; `name`: ... = "minor"; `type`: ... = "uint64" }, \{ `internalType`: ... = "uint128"; `name`: ... = "patch"; `type`: ... = "uint128" }] ; `internalType`: ``"struct LibSemver.Version"`` = "struct LibSemver.Version"; `name`: ``"version"`` = "version"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"enum LibSemver.requirements"`` = "enum LibSemver.requirements"; `name`: ``"requirement"`` = "requirement"; `type`: ``"uint8"`` = "uint8" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibSemver.VersionRequirement"`` = "struct LibSemver.VersionRequirement"; `name`: ``"newRequirementData"`` = "newRequirementData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"VersionChanged"`` = "VersionChanged"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"DEFAULT_ADMIN_ROLE"`` = "DEFAULT\_ADMIN\_ROLE"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"_beneficiary"`` = "\_beneficiary"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"acceptDefaultAdminTransfer"`` = "acceptDefaultAdminTransfer"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"contract IRepository"`` = "contract IRepository"; `name`: ``"repository"`` = "repository"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"initializer"`` = "initializer"; `type`: ``"address"`` = "address" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint64"; `name`: ... = "major"; `type`: ... = "uint64" }, \{ `internalType`: ... = "uint64"; `name`: ... = "minor"; `type`: ... = "uint64" }, \{ `internalType`: ... = "uint128"; `name`: ... = "patch"; `type`: ... = "uint128" }] ; `internalType`: ``"struct LibSemver.Version"`` = "struct LibSemver.Version"; `name`: ``"version"`` = "version"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"enum LibSemver.requirements"`` = "enum LibSemver.requirements"; `name`: ``"requirement"`` = "requirement"; `type`: ``"uint8"`` = "uint8" }] ; `internalType`: ``"struct LibSemver.VersionRequirement"`` = "struct LibSemver.VersionRequirement"; `name`: ``"requirement"`` = "requirement"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"addDistribution"`` = "addDistribution"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"initializer"`` = "initializer"; `type`: ``"address"`` = "address" }] ; `name`: ``"addDistribution"`` = "addDistribution"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"name"`` = "name"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributorId"`` = "distributorId"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"initializer"`` = "initializer"; `type`: ``"address"`` = "address" }] ; `name`: ``"addNamedDistribution"`` = "addNamedDistribution"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"config"`` = "config"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"maybeInstance"`` = "maybeInstance"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"afterCall"`` = "afterCall"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"config"`` = "config"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"maybeInstance"`` = "maybeInstance"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"beforeCall"`` = "beforeCall"; `outputs`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"newAdmin"`` = "newAdmin"; `type`: ``"address"`` = "address" }] ; `name`: ``"beginDefaultAdminTransfer"`` = "beginDefaultAdminTransfer"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"sourceId"`` = "sourceId"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"initializer"`` = "initializer"; `type`: ``"address"`` = "address" }] ; `name`: ``"calculateDistributorId"`` = "calculateDistributorId"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"repository"`` = "repository"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"initializer"`` = "initializer"; `type`: ``"address"`` = "address" }] ; `name`: ``"calculateDistributorId"`` = "calculateDistributorId"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"cancelDefaultAdminTransfer"`` = "cancelDefaultAdminTransfer"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint48"`` = "uint48"; `name`: ``"newDelay"`` = "newDelay"; `type`: ``"uint48"`` = "uint48" }] ; `name`: ``"changeDefaultAdminDelay"`` = "changeDefaultAdminDelay"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributionId"`` = "distributionId"; `type`: ``"bytes32"`` = "bytes32" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint64"; `name`: ... = "major"; `type`: ... = "uint64" }, \{ `internalType`: ... = "uint64"; `name`: ... = "minor"; `type`: ... = "uint64" }, \{ `internalType`: ... = "uint128"; `name`: ... = "patch"; `type`: ... = "uint128" }] ; `internalType`: ``"struct LibSemver.Version"`` = "struct LibSemver.Version"; `name`: ``"version"`` = "version"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"enum LibSemver.requirements"`` = "enum LibSemver.requirements"; `name`: ``"requirement"`` = "requirement"; `type`: ``"uint8"`` = "uint8" }] ; `internalType`: ``"struct LibSemver.VersionRequirement"`` = "struct LibSemver.VersionRequirement"; `name`: ``"newRequirement"`` = "newRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"changeVersion"`` = "changeVersion"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"defaultAdmin"`` = "defaultAdmin"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"defaultAdminDelay"`` = "defaultAdminDelay"; `outputs`: readonly [\{ `internalType`: ``"uint48"`` = "uint48"; `name`: ``""`` = ""; `type`: ``"uint48"`` = "uint48" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"defaultAdminDelayIncreaseWait"`` = "defaultAdminDelayIncreaseWait"; `outputs`: readonly [\{ `internalType`: ``"uint48"`` = "uint48"; `name`: ``""`` = ""; `type`: ``"uint48"`` = "uint48" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"defaultInstantiationCost"`` = "defaultInstantiationCost"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributorsId"`` = "distributorsId"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"distributionComponents"`` = "distributionComponents"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"distributionLocation"`` = "distributionLocation"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"initializer"`` = "initializer"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"instance"`` = "instance"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"distributionOf"`` = "distributionOf"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributorsId"`` = "distributorsId"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"instance"`` = "instance"; `type`: ``"address"`` = "address" }] ; `name`: ``"getDistributionId"`` = "getDistributionId"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributorsId"`` = "distributorsId"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"getDistributionURI"`` = "getDistributionURI"; `outputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``""`` = ""; `type`: ``"string"`` = "string" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getDistributions"`` = "getDistributions"; `outputs`: readonly [\{ `internalType`: ``"bytes32[]"`` = "bytes32[]"; `name`: ``""`` = ""; `type`: ``"bytes32[]"`` = "bytes32[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"instance"`` = "instance"; `type`: ``"address"`` = "address" }] ; `name`: ``"getInstanceId"`` = "getInstanceId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"role"`` = "role"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"getRoleAdmin"`` = "getRoleAdmin"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"role"`` = "role"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"account"`` = "account"; `type`: ``"address"`` = "address" }] ; `name`: ``"grantRole"`` = "grantRole"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"role"`` = "role"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"account"`` = "account"; `type`: ``"address"`` = "address" }] ; `name`: ``"hasRole"`` = "hasRole"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"instanceId"`` = "instanceId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"instanceVersions"`` = "instanceVersions"; `outputs`: readonly [\{ `internalType`: ``"uint64"`` = "uint64"; `name`: ``"major"`` = "major"; `type`: ``"uint64"`` = "uint64" }, \{ `internalType`: ``"uint64"`` = "uint64"; `name`: ``"minor"`` = "minor"; `type`: ``"uint64"`` = "uint64" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"patch"`` = "patch"; `type`: ``"uint128"`` = "uint128" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"args"`` = "args"; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"instantiate"`` = "instantiate"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"srcs"`` = "srcs"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"name"`` = "name"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"version"`` = "version"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"instantiationCosts"`` = "instantiationCosts"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"numInstances"`` = "numInstances"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"paymentToken"`` = "paymentToken"; `outputs`: readonly [\{ `internalType`: ``"contract IERC20"`` = "contract IERC20"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"pendingDefaultAdmin"`` = "pendingDefaultAdmin"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"newAdmin"`` = "newAdmin"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint48"`` = "uint48"; `name`: ``"schedule"`` = "schedule"; `type`: ``"uint48"`` = "uint48" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"pendingDefaultAdminDelay"`` = "pendingDefaultAdminDelay"; `outputs`: readonly [\{ `internalType`: ``"uint48"`` = "uint48"; `name`: ``"newDelay"`` = "newDelay"; `type`: ``"uint48"`` = "uint48" }, \{ `internalType`: ``"uint48"`` = "uint48"; `name`: ``"schedule"`` = "schedule"; `type`: ``"uint48"`` = "uint48" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"removeDistribution"`` = "removeDistribution"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"role"`` = "role"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"account"`` = "account"; `type`: ``"address"`` = "address" }] ; `name`: ``"renounceRole"`` = "renounceRole"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"role"`` = "role"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"account"`` = "account"; `type`: ``"address"`` = "address" }] ; `name`: ``"revokeRole"`` = "revokeRole"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"rollbackDefaultAdminDelay"`` = "rollbackDefaultAdminDelay"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"cost"`` = "cost"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"setInstantiationCost"`` = "setInstantiationCost"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributorsId"`` = "distributorsId"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"versionRequirements"`` = "versionRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint64"`` = "uint64"; `name`: ``"major"`` = "major"; `type`: ``"uint64"`` = "uint64" }, \{ `internalType`: ``"uint64"`` = "uint64"; `name`: ``"minor"`` = "minor"; `type`: ``"uint64"`` = "uint64" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"patch"`` = "patch"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct LibSemver.Version"`` = "struct LibSemver.Version"; `name`: ``"version"`` = "version"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"enum LibSemver.requirements"`` = "enum LibSemver.requirements"; `name`: ``"requirement"`` = "requirement"; `type`: ``"uint8"`` = "uint8" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }], ``"DistributionRemoved"``\> }\>
325
+
326
+ #### Parameters
327
+
328
+ | Name | Type |
329
+ | :------ | :------ |
330
+ | `id` | \`0x$\{string}\` |
331
+
332
+ #### Returns
333
+
334
+ `Promise`\<\{ `receipt`: `TransactionReceipt` ; `distributionRemovedEvent`: `Log`\<`bigint`, `number`, ``false``, `undefined`, ``true``, readonly [\{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"defaultAdmin"`` = "defaultAdmin"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"contract IERC20"`` = "contract IERC20"; `name`: ``"token"`` = "token"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"defaultCost"`` = "defaultCost"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"constructor"`` = "constructor" }, \{ `inputs`: readonly [] = []; `name`: ``"AccessControlBadConfirmation"`` = "AccessControlBadConfirmation"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint48"`` = "uint48"; `name`: ``"schedule"`` = "schedule"; `type`: ``"uint48"`` = "uint48" }] ; `name`: ``"AccessControlEnforcedDefaultAdminDelay"`` = "AccessControlEnforcedDefaultAdminDelay"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"AccessControlEnforcedDefaultAdminRules"`` = "AccessControlEnforcedDefaultAdminRules"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"defaultAdmin"`` = "defaultAdmin"; `type`: ``"address"`` = "address" }] ; `name`: ``"AccessControlInvalidDefaultAdmin"`` = "AccessControlInvalidDefaultAdmin"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"account"`` = "account"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"neededRole"`` = "neededRole"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"AccessControlUnauthorizedAccount"`` = "AccessControlUnauthorizedAccount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"DistributionExists"`` = "DistributionExists"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"DistributionNotFound"`` = "DistributionNotFound"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"InitializerNotFound"`` = "InitializerNotFound"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"instance"`` = "instance"; `type`: ``"address"`` = "address" }] ; `name`: ``"InvalidInstance"`` = "InvalidInstance"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"repository"`` = "repository"; `type`: ``"address"`` = "address" }] ; `name`: ``"InvalidRepository"`` = "InvalidRepository"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributionId"`` = "distributionId"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"version"`` = "version"; `type`: ``"string"`` = "string" }] ; `name`: ``"InvalidVersionRequested"`` = "InvalidVersionRequested"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"repository"`` = "repository"; `type`: ``"address"`` = "address" }] ; `name`: ``"RepositoryAlreadyExists"`` = "RepositoryAlreadyExists"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint8"`` = "uint8"; `name`: ``"bits"`` = "bits"; `type`: ``"uint8"`` = "uint8" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"value"`` = "value"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"SafeCastOverflowedUintDowncast"`` = "SafeCastOverflowedUintDowncast"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributionId"`` = "distributionId"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"UnversionedDistribution"`` = "UnversionedDistribution"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributionId"`` = "distributionId"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"version"`` = "version"; `type`: ``"string"`` = "string" }] ; `name`: ``"VersionOutdated"`` = "VersionOutdated"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [] = []; `name`: ``"DefaultAdminDelayChangeCanceled"`` = "DefaultAdminDelayChangeCanceled"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint48"`` = "uint48"; `name`: ``"newDelay"`` = "newDelay"; `type`: ``"uint48"`` = "uint48" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint48"`` = "uint48"; `name`: ``"effectSchedule"`` = "effectSchedule"; `type`: ``"uint48"`` = "uint48" }] ; `name`: ``"DefaultAdminDelayChangeScheduled"`` = "DefaultAdminDelayChangeScheduled"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [] = []; `name`: ``"DefaultAdminTransferCanceled"`` = "DefaultAdminTransferCanceled"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newAdmin"`` = "newAdmin"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint48"`` = "uint48"; `name`: ``"acceptSchedule"`` = "acceptSchedule"; `type`: ``"uint48"`` = "uint48" }] ; `name`: ``"DefaultAdminTransferScheduled"`` = "DefaultAdminTransferScheduled"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"distribution"`` = "distribution"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"initializer"`` = "initializer"; `type`: ``"address"`` = "address" }] ; `name`: ``"DistributionAdded"`` = "DistributionAdded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"DistributionRemoved"`` = "DistributionRemoved"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributionId"`` = "distributionId"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"newInstanceId"`` = "newInstanceId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"version"`` = "version"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"instances"`` = "instances"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"args"`` = "args"; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"Instantiated"`` = "Instantiated"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"cost"`` = "cost"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"InstantiationCostChanged"`` = "InstantiationCostChanged"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"role"`` = "role"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"previousAdminRole"`` = "previousAdminRole"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"newAdminRole"`` = "newAdminRole"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"RoleAdminChanged"`` = "RoleAdminChanged"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"role"`` = "role"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"account"`` = "account"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"sender"`` = "sender"; `type`: ``"address"`` = "address" }] ; `name`: ``"RoleGranted"`` = "RoleGranted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"role"`` = "role"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"account"`` = "account"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"sender"`` = "sender"; `type`: ``"address"`` = "address" }] ; `name`: ``"RoleRevoked"`` = "RoleRevoked"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributionId"`` = "distributionId"; `type`: ``"bytes32"`` = "bytes32" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint64"; `name`: ... = "major"; `type`: ... = "uint64" }, \{ `internalType`: ... = "uint64"; `name`: ... = "minor"; `type`: ... = "uint64" }, \{ `internalType`: ... = "uint128"; `name`: ... = "patch"; `type`: ... = "uint128" }] ; `internalType`: ``"struct LibSemver.Version"`` = "struct LibSemver.Version"; `name`: ``"version"`` = "version"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"enum LibSemver.requirements"`` = "enum LibSemver.requirements"; `name`: ``"requirement"`` = "requirement"; `type`: ``"uint8"`` = "uint8" }] ; `indexed`: ``true`` = true; `internalType`: ``"struct LibSemver.VersionRequirement"`` = "struct LibSemver.VersionRequirement"; `name`: ``"newRequirement"`` = "newRequirement"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint64"; `name`: ... = "major"; `type`: ... = "uint64" }, \{ `internalType`: ... = "uint64"; `name`: ... = "minor"; `type`: ... = "uint64" }, \{ `internalType`: ... = "uint128"; `name`: ... = "patch"; `type`: ... = "uint128" }] ; `internalType`: ``"struct LibSemver.Version"`` = "struct LibSemver.Version"; `name`: ``"version"`` = "version"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"enum LibSemver.requirements"`` = "enum LibSemver.requirements"; `name`: ``"requirement"`` = "requirement"; `type`: ``"uint8"`` = "uint8" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibSemver.VersionRequirement"`` = "struct LibSemver.VersionRequirement"; `name`: ``"newRequirementData"`` = "newRequirementData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"VersionChanged"`` = "VersionChanged"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"DEFAULT_ADMIN_ROLE"`` = "DEFAULT\_ADMIN\_ROLE"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"_beneficiary"`` = "\_beneficiary"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"acceptDefaultAdminTransfer"`` = "acceptDefaultAdminTransfer"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"contract IRepository"`` = "contract IRepository"; `name`: ``"repository"`` = "repository"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"initializer"`` = "initializer"; `type`: ``"address"`` = "address" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint64"; `name`: ... = "major"; `type`: ... = "uint64" }, \{ `internalType`: ... = "uint64"; `name`: ... = "minor"; `type`: ... = "uint64" }, \{ `internalType`: ... = "uint128"; `name`: ... = "patch"; `type`: ... = "uint128" }] ; `internalType`: ``"struct LibSemver.Version"`` = "struct LibSemver.Version"; `name`: ``"version"`` = "version"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"enum LibSemver.requirements"`` = "enum LibSemver.requirements"; `name`: ``"requirement"`` = "requirement"; `type`: ``"uint8"`` = "uint8" }] ; `internalType`: ``"struct LibSemver.VersionRequirement"`` = "struct LibSemver.VersionRequirement"; `name`: ``"requirement"`` = "requirement"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"addDistribution"`` = "addDistribution"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"initializer"`` = "initializer"; `type`: ``"address"`` = "address" }] ; `name`: ``"addDistribution"`` = "addDistribution"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"name"`` = "name"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributorId"`` = "distributorId"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"initializer"`` = "initializer"; `type`: ``"address"`` = "address" }] ; `name`: ``"addNamedDistribution"`` = "addNamedDistribution"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"config"`` = "config"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"maybeInstance"`` = "maybeInstance"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"afterCall"`` = "afterCall"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"config"`` = "config"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"maybeInstance"`` = "maybeInstance"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"beforeCall"`` = "beforeCall"; `outputs`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"newAdmin"`` = "newAdmin"; `type`: ``"address"`` = "address" }] ; `name`: ``"beginDefaultAdminTransfer"`` = "beginDefaultAdminTransfer"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"sourceId"`` = "sourceId"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"initializer"`` = "initializer"; `type`: ``"address"`` = "address" }] ; `name`: ``"calculateDistributorId"`` = "calculateDistributorId"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"repository"`` = "repository"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"initializer"`` = "initializer"; `type`: ``"address"`` = "address" }] ; `name`: ``"calculateDistributorId"`` = "calculateDistributorId"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"cancelDefaultAdminTransfer"`` = "cancelDefaultAdminTransfer"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint48"`` = "uint48"; `name`: ``"newDelay"`` = "newDelay"; `type`: ``"uint48"`` = "uint48" }] ; `name`: ``"changeDefaultAdminDelay"`` = "changeDefaultAdminDelay"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributionId"`` = "distributionId"; `type`: ``"bytes32"`` = "bytes32" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint64"; `name`: ... = "major"; `type`: ... = "uint64" }, \{ `internalType`: ... = "uint64"; `name`: ... = "minor"; `type`: ... = "uint64" }, \{ `internalType`: ... = "uint128"; `name`: ... = "patch"; `type`: ... = "uint128" }] ; `internalType`: ``"struct LibSemver.Version"`` = "struct LibSemver.Version"; `name`: ``"version"`` = "version"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"enum LibSemver.requirements"`` = "enum LibSemver.requirements"; `name`: ``"requirement"`` = "requirement"; `type`: ``"uint8"`` = "uint8" }] ; `internalType`: ``"struct LibSemver.VersionRequirement"`` = "struct LibSemver.VersionRequirement"; `name`: ``"newRequirement"`` = "newRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"changeVersion"`` = "changeVersion"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"defaultAdmin"`` = "defaultAdmin"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"defaultAdminDelay"`` = "defaultAdminDelay"; `outputs`: readonly [\{ `internalType`: ``"uint48"`` = "uint48"; `name`: ``""`` = ""; `type`: ``"uint48"`` = "uint48" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"defaultAdminDelayIncreaseWait"`` = "defaultAdminDelayIncreaseWait"; `outputs`: readonly [\{ `internalType`: ``"uint48"`` = "uint48"; `name`: ``""`` = ""; `type`: ``"uint48"`` = "uint48" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"defaultInstantiationCost"`` = "defaultInstantiationCost"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributorsId"`` = "distributorsId"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"distributionComponents"`` = "distributionComponents"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"distributionLocation"`` = "distributionLocation"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"initializer"`` = "initializer"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"instance"`` = "instance"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"distributionOf"`` = "distributionOf"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributorsId"`` = "distributorsId"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"instance"`` = "instance"; `type`: ``"address"`` = "address" }] ; `name`: ``"getDistributionId"`` = "getDistributionId"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributorsId"`` = "distributorsId"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"getDistributionURI"`` = "getDistributionURI"; `outputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``""`` = ""; `type`: ``"string"`` = "string" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getDistributions"`` = "getDistributions"; `outputs`: readonly [\{ `internalType`: ``"bytes32[]"`` = "bytes32[]"; `name`: ``""`` = ""; `type`: ``"bytes32[]"`` = "bytes32[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"instance"`` = "instance"; `type`: ``"address"`` = "address" }] ; `name`: ``"getInstanceId"`` = "getInstanceId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"role"`` = "role"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"getRoleAdmin"`` = "getRoleAdmin"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"role"`` = "role"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"account"`` = "account"; `type`: ``"address"`` = "address" }] ; `name`: ``"grantRole"`` = "grantRole"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"role"`` = "role"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"account"`` = "account"; `type`: ``"address"`` = "address" }] ; `name`: ``"hasRole"`` = "hasRole"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"instanceId"`` = "instanceId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"instanceVersions"`` = "instanceVersions"; `outputs`: readonly [\{ `internalType`: ``"uint64"`` = "uint64"; `name`: ``"major"`` = "major"; `type`: ``"uint64"`` = "uint64" }, \{ `internalType`: ``"uint64"`` = "uint64"; `name`: ``"minor"`` = "minor"; `type`: ``"uint64"`` = "uint64" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"patch"`` = "patch"; `type`: ``"uint128"`` = "uint128" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"args"`` = "args"; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"instantiate"`` = "instantiate"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"srcs"`` = "srcs"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"name"`` = "name"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"version"`` = "version"; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"instantiationCosts"`` = "instantiationCosts"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"numInstances"`` = "numInstances"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"paymentToken"`` = "paymentToken"; `outputs`: readonly [\{ `internalType`: ``"contract IERC20"`` = "contract IERC20"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"pendingDefaultAdmin"`` = "pendingDefaultAdmin"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"newAdmin"`` = "newAdmin"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint48"`` = "uint48"; `name`: ``"schedule"`` = "schedule"; `type`: ``"uint48"`` = "uint48" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"pendingDefaultAdminDelay"`` = "pendingDefaultAdminDelay"; `outputs`: readonly [\{ `internalType`: ``"uint48"`` = "uint48"; `name`: ``"newDelay"`` = "newDelay"; `type`: ``"uint48"`` = "uint48" }, \{ `internalType`: ``"uint48"`` = "uint48"; `name`: ``"schedule"`` = "schedule"; `type`: ``"uint48"`` = "uint48" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"removeDistribution"`` = "removeDistribution"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"role"`` = "role"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"account"`` = "account"; `type`: ``"address"`` = "address" }] ; `name`: ``"renounceRole"`` = "renounceRole"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"role"`` = "role"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"account"`` = "account"; `type`: ``"address"`` = "address" }] ; `name`: ``"revokeRole"`` = "revokeRole"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"rollbackDefaultAdminDelay"`` = "rollbackDefaultAdminDelay"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"id"`` = "id"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"cost"`` = "cost"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"setInstantiationCost"`` = "setInstantiationCost"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"distributorsId"`` = "distributorsId"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"versionRequirements"`` = "versionRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint64"`` = "uint64"; `name`: ``"major"`` = "major"; `type`: ``"uint64"`` = "uint64" }, \{ `internalType`: ``"uint64"`` = "uint64"; `name`: ``"minor"`` = "minor"; `type`: ``"uint64"`` = "uint64" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"patch"`` = "patch"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct LibSemver.Version"`` = "struct LibSemver.Version"; `name`: ``"version"`` = "version"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"enum LibSemver.requirements"`` = "enum LibSemver.requirements"; `name`: ``"requirement"`` = "requirement"; `type`: ``"uint8"`` = "uint8" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }], ``"DistributionRemoved"``\> }\>
335
+
336
+ ___
337
+
321
338
  ### getMAOInstance
322
339
 
323
340
  ▸ **getMAOInstance**(`params`): `Promise`\<[`MAOInstanceContracts`](../interfaces/MAOInstanceContracts.md)\>
@@ -399,7 +416,7 @@ Create a new MAODistribution instance
399
416
 
400
417
  | Name | Type | Default value | Description |
401
418
  | :------ | :------ | :------ | :------ |
402
- | `args` | `undefined` \| readonly [\{ `tokenSettings`: \{ `tokenName`: `string` ; `tokenSymbol`: `string` } ; `rankifySettings`: \{ `principalCost`: `bigint` ; `principalTimeConstant`: `bigint` ; `rankTokenURI`: `string` ; `rankTokenContractURI`: `string` } }] \| readonly [\{ `tokenSettings`: \{ `tokenName`: `string` ; `tokenSymbol`: `string` } ; `rankifySettings`: \{ `principalCost`: `bigint` ; `principalTimeConstant`: `bigint` ; `rankTokenURI`: `string` ; `rankTokenContractURI`: `string` } }] | `undefined` | Distribution arguments (encoded as bytes) |
419
+ | `args` | `undefined` \| readonly [\{ `tokenSettings`: \{ `tokenName`: `string` ; `tokenSymbol`: `string` } ; `rankifySettings`: \{ `principalCost`: `bigint` ; `principalTimeConstant`: `bigint` ; `rankTokenURI`: `string` ; `rankTokenContractURI`: `string` ; `owner`: \`0x$\{string}\` } }] \| readonly [\{ `tokenSettings`: \{ `tokenName`: `string` ; `tokenSymbol`: `string` } ; `rankifySettings`: \{ `principalCost`: `bigint` ; `principalTimeConstant`: `bigint` ; `rankTokenURI`: `string` ; `rankTokenContractURI`: `string` ; `owner`: \`0x$\{string}\` } }] | `undefined` | Distribution arguments (encoded as bytes) |
403
420
  | `name` | `string` | `MAODistributorClient.DEFAULT_NAME` | Distributor name (defaults to "MAO Distribution") |
404
421
  | `chain` | `Chain` | `undefined` | - |
405
422