@peeramid-labs/sdk 2.1.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -0
- package/cli/abis/AccessControl.js +232 -0
- package/cli/abis/AccessControl.js.map +1 -0
- package/cli/abis/AccessControlDefaultAdminRules.js +460 -0
- package/cli/abis/AccessControlDefaultAdminRules.js.map +1 -0
- package/cli/abis/ArguableVotingTournament.js +187 -0
- package/cli/abis/ArguableVotingTournament.js.map +1 -0
- package/cli/abis/Checkpoints.js +12 -0
- package/cli/abis/Checkpoints.js.map +1 -0
- package/cli/abis/CloneDistribution.js +102 -0
- package/cli/abis/CloneDistribution.js.map +1 -0
- package/cli/abis/Clones.js +12 -0
- package/cli/abis/Clones.js.map +1 -0
- package/cli/abis/CodeHashDistribution.js +159 -0
- package/cli/abis/CodeHashDistribution.js.map +1 -0
- package/cli/abis/CodeIndex.js +74 -0
- package/cli/abis/CodeIndex.js.map +1 -0
- package/cli/abis/ContextUpgradeable.js +30 -0
- package/cli/abis/ContextUpgradeable.js.map +1 -0
- package/cli/abis/DAODistributor.js +1351 -0
- package/cli/abis/DAODistributor.js.map +1 -0
- package/cli/abis/Diamond.js +92 -0
- package/cli/abis/Diamond.js.map +1 -0
- package/cli/abis/DiamondClonable.js +103 -0
- package/cli/abis/DiamondClonable.js.map +1 -0
- package/cli/abis/DiamondCutFacet.js +89 -0
- package/cli/abis/DiamondCutFacet.js.map +1 -0
- package/cli/abis/DiamondDistribution.js +118 -0
- package/cli/abis/DiamondDistribution.js.map +1 -0
- package/cli/abis/DiamondInit.js +14 -0
- package/cli/abis/DiamondInit.js.map +1 -0
- package/cli/abis/DiamondLoupeFacet.js +102 -0
- package/cli/abis/DiamondLoupeFacet.js.map +1 -0
- package/cli/abis/DistributableGovernanceERC20.js +917 -0
- package/cli/abis/DistributableGovernanceERC20.js.map +1 -0
- package/cli/abis/Distributor.js +801 -0
- package/cli/abis/Distributor.js.map +1 -0
- package/cli/abis/ECDSA.js +34 -0
- package/cli/abis/ECDSA.js.map +1 -0
- package/cli/abis/EIP712InspectorFacet.js +58 -0
- package/cli/abis/EIP712InspectorFacet.js.map +1 -0
- package/cli/abis/EIP712Upgradeable.js +79 -0
- package/cli/abis/EIP712Upgradeable.js.map +1 -0
- package/cli/abis/ERC1155.js +421 -0
- package/cli/abis/ERC1155.js.map +1 -0
- package/cli/abis/ERC1155Burnable.js +467 -0
- package/cli/abis/ERC1155Burnable.js.map +1 -0
- package/cli/abis/ERC1155BurnableUpgradeable.js +490 -0
- package/cli/abis/ERC1155BurnableUpgradeable.js.map +1 -0
- package/cli/abis/ERC1155Upgradeable.js +444 -0
- package/cli/abis/ERC1155Upgradeable.js.map +1 -0
- package/cli/abis/ERC165.js +26 -0
- package/cli/abis/ERC165.js.map +1 -0
- package/cli/abis/ERC165Upgradeable.js +49 -0
- package/cli/abis/ERC165Upgradeable.js.map +1 -0
- package/cli/abis/ERC20.js +315 -0
- package/cli/abis/ERC20.js.map +1 -0
- package/cli/abis/ERC20Burnable.js +346 -0
- package/cli/abis/ERC20Burnable.js.map +1 -0
- package/cli/abis/ERC20Upgradeable.js +338 -0
- package/cli/abis/ERC20Upgradeable.js.map +1 -0
- package/cli/abis/ERC20VotesUpgradeable.js +781 -0
- package/cli/abis/ERC20VotesUpgradeable.js.map +1 -0
- package/cli/abis/ERC721.js +440 -0
- package/cli/abis/ERC721.js.map +1 -0
- package/cli/abis/ERC721Burnable.js +453 -0
- package/cli/abis/ERC721Burnable.js.map +1 -0
- package/cli/abis/IAccessControl.js +200 -0
- package/cli/abis/IAccessControl.js.map +1 -0
- package/cli/abis/IAccessControlDefaultAdminRules.js +399 -0
- package/cli/abis/IAccessControlDefaultAdminRules.js.map +1 -0
- package/cli/abis/ICodeIndex.js +74 -0
- package/cli/abis/ICodeIndex.js.map +1 -0
- package/cli/abis/IContractURI.js +20 -0
- package/cli/abis/IContractURI.js.map +1 -0
- package/cli/abis/IDAOFactory.js +89 -0
- package/cli/abis/IDAOFactory.js.map +1 -0
- package/cli/abis/IDiamondCut.js +47 -0
- package/cli/abis/IDiamondCut.js.map +1 -0
- package/cli/abis/IDiamondLoupe.js +83 -0
- package/cli/abis/IDiamondLoupe.js.map +1 -0
- package/cli/abis/IDistribution.js +91 -0
- package/cli/abis/IDistribution.js.map +1 -0
- package/cli/abis/IDistributor.js +627 -0
- package/cli/abis/IDistributor.js.map +1 -0
- package/cli/abis/IERC1155.js +300 -0
- package/cli/abis/IERC1155.js.map +1 -0
- package/cli/abis/IERC1155Errors.js +109 -0
- package/cli/abis/IERC1155Errors.js.map +1 -0
- package/cli/abis/IERC1155MetadataURI.js +319 -0
- package/cli/abis/IERC1155MetadataURI.js.map +1 -0
- package/cli/abis/IERC1155Receiver.js +85 -0
- package/cli/abis/IERC1155Receiver.js.map +1 -0
- package/cli/abis/IERC1271.js +31 -0
- package/cli/abis/IERC1271.js.map +1 -0
- package/cli/abis/IERC165.js +26 -0
- package/cli/abis/IERC165.js.map +1 -0
- package/cli/abis/IERC173.js +33 -0
- package/cli/abis/IERC173.js.map +1 -0
- package/cli/abis/IERC20.js +190 -0
- package/cli/abis/IERC20.js.map +1 -0
- package/cli/abis/IERC20Errors.js +93 -0
- package/cli/abis/IERC20Errors.js.map +1 -0
- package/cli/abis/IERC20Metadata.js +229 -0
- package/cli/abis/IERC20Metadata.js.map +1 -0
- package/cli/abis/IERC20MintableUpgradeable.js +25 -0
- package/cli/abis/IERC20MintableUpgradeable.js.map +1 -0
- package/cli/abis/IERC5267.js +56 -0
- package/cli/abis/IERC5267.js.map +1 -0
- package/cli/abis/IERC5313.js +20 -0
- package/cli/abis/IERC5313.js.map +1 -0
- package/cli/abis/IERC5805.js +226 -0
- package/cli/abis/IERC5805.js.map +1 -0
- package/cli/abis/IERC6372.js +33 -0
- package/cli/abis/IERC6372.js.map +1 -0
- package/cli/abis/IERC721.js +292 -0
- package/cli/abis/IERC721.js.map +1 -0
- package/cli/abis/IERC721Errors.js +110 -0
- package/cli/abis/IERC721Errors.js.map +1 -0
- package/cli/abis/IERC721Metadata.js +337 -0
- package/cli/abis/IERC721Metadata.js.map +1 -0
- package/cli/abis/IERC721Receiver.js +41 -0
- package/cli/abis/IERC721Receiver.js.map +1 -0
- package/cli/abis/IERC7746.js +84 -0
- package/cli/abis/IERC7746.js.map +1 -0
- package/cli/abis/IErrors.js +23 -0
- package/cli/abis/IErrors.js.map +1 -0
- package/cli/abis/IInitializer.js +75 -0
- package/cli/abis/IInitializer.js.map +1 -0
- package/cli/abis/IInstaller.js +506 -0
- package/cli/abis/IInstaller.js.map +1 -0
- package/cli/abis/ILockableERC1155.js +464 -0
- package/cli/abis/ILockableERC1155.js.map +1 -0
- package/cli/abis/IMultipass.js +1263 -0
- package/cli/abis/IMultipass.js.map +1 -0
- package/cli/abis/IPluginRepo.js +114 -0
- package/cli/abis/IPluginRepo.js.map +1 -0
- package/cli/abis/IRankToken.js +533 -0
- package/cli/abis/IRankToken.js.map +1 -0
- package/cli/abis/IRankifyInstance.js +147 -0
- package/cli/abis/IRankifyInstance.js.map +1 -0
- package/cli/abis/IRepository.js +343 -0
- package/cli/abis/IRepository.js.map +1 -0
- package/cli/abis/IVotes.js +200 -0
- package/cli/abis/IVotes.js.map +1 -0
- package/cli/abis/Initializable.js +30 -0
- package/cli/abis/Initializable.js.map +1 -0
- package/cli/abis/InitializedDiamondDistribution.js +107 -0
- package/cli/abis/InitializedDiamondDistribution.js.map +1 -0
- package/cli/abis/Installer.js +506 -0
- package/cli/abis/Installer.js.map +1 -0
- package/cli/abis/InstallerClonable.js +542 -0
- package/cli/abis/InstallerClonable.js.map +1 -0
- package/cli/abis/LatestVersionDistribution.js +136 -0
- package/cli/abis/LatestVersionDistribution.js.map +1 -0
- package/cli/abis/LibDiamond.js +79 -0
- package/cli/abis/LibDiamond.js.map +1 -0
- package/cli/abis/LibSemver.js +18 -0
- package/cli/abis/LibSemver.js.map +1 -0
- package/cli/abis/LockableERC1155.js +631 -0
- package/cli/abis/LockableERC1155.js.map +1 -0
- package/cli/abis/MAODistribution.js +285 -0
- package/cli/abis/MAODistribution.js.map +1 -0
- package/cli/abis/Math.js +12 -0
- package/cli/abis/Math.js.map +1 -0
- package/cli/abis/MiddlewareProxy.js +39 -0
- package/cli/abis/MiddlewareProxy.js.map +1 -0
- package/cli/abis/MockCloneDistribution.js +107 -0
- package/cli/abis/MockCloneDistribution.js.map +1 -0
- package/cli/abis/MockDiamondInitialize.js +33 -0
- package/cli/abis/MockDiamondInitialize.js.map +1 -0
- package/cli/abis/MockERC1155.js +636 -0
- package/cli/abis/MockERC1155.js.map +1 -0
- package/cli/abis/MockERC20.js +336 -0
- package/cli/abis/MockERC20.js.map +1 -0
- package/cli/abis/MockERC721.js +620 -0
- package/cli/abis/MockERC721.js.map +1 -0
- package/cli/abis/MockInstaller.js +596 -0
- package/cli/abis/MockInstaller.js.map +1 -0
- package/cli/abis/MockTokenizedDistributor.js +1351 -0
- package/cli/abis/MockTokenizedDistributor.js.map +1 -0
- package/cli/abis/MockVendingMachine.js +404 -0
- package/cli/abis/MockVendingMachine.js.map +1 -0
- package/cli/abis/Multipass.js +1461 -0
- package/cli/abis/Multipass.js.map +1 -0
- package/cli/abis/NoncesUpgradeable.js +65 -0
- package/cli/abis/NoncesUpgradeable.js.map +1 -0
- package/cli/abis/Ownable.js +81 -0
- package/cli/abis/Ownable.js.map +1 -0
- package/cli/abis/OwnableDistributor.js +886 -0
- package/cli/abis/OwnableDistributor.js.map +1 -0
- package/cli/abis/OwnableRepository.js +566 -0
- package/cli/abis/OwnableRepository.js.map +1 -0
- package/cli/abis/OwnableUpgradeable.js +104 -0
- package/cli/abis/OwnableUpgradeable.js.map +1 -0
- package/cli/abis/OwnershipFacet.js +52 -0
- package/cli/abis/OwnershipFacet.js.map +1 -0
- package/cli/abis/RankToken.js +783 -0
- package/cli/abis/RankToken.js.map +1 -0
- package/cli/abis/Rankify.js +449 -0
- package/cli/abis/Rankify.js.map +1 -0
- package/cli/abis/RankifyDiamondInstance.js +2032 -0
- package/cli/abis/RankifyDiamondInstance.js.map +1 -0
- package/cli/abis/RankifyInstanceEventMock.js +332 -0
- package/cli/abis/RankifyInstanceEventMock.js.map +1 -0
- package/cli/abis/RankifyInstanceGameMastersFacet.js +319 -0
- package/cli/abis/RankifyInstanceGameMastersFacet.js.map +1 -0
- package/cli/abis/RankifyInstanceInit.js +80 -0
- package/cli/abis/RankifyInstanceInit.js.map +1 -0
- package/cli/abis/RankifyInstanceMainFacet.js +987 -0
- package/cli/abis/RankifyInstanceMainFacet.js.map +1 -0
- package/cli/abis/RankifyInstanceRequirementsFacet.js +549 -0
- package/cli/abis/RankifyInstanceRequirementsFacet.js.map +1 -0
- package/cli/abis/ReentrancyGuard.js +12 -0
- package/cli/abis/ReentrancyGuard.js.map +1 -0
- package/cli/abis/ReentrancyGuardUpgradeable.js +35 -0
- package/cli/abis/ReentrancyGuardUpgradeable.js.map +1 -0
- package/cli/abis/Repo.js +566 -0
- package/cli/abis/Repo.js.map +1 -0
- package/cli/abis/Repository.js +471 -0
- package/cli/abis/Repository.js.map +1 -0
- package/cli/abis/SafeCast.js +61 -0
- package/cli/abis/SafeCast.js.map +1 -0
- package/cli/abis/SimpleAccessManager.js +224 -0
- package/cli/abis/SimpleAccessManager.js.map +1 -0
- package/cli/abis/Strings.js +23 -0
- package/cli/abis/Strings.js.map +1 -0
- package/cli/abis/Test1Facet.js +179 -0
- package/cli/abis/Test1Facet.js.map +1 -0
- package/cli/abis/Test2Facet.js +147 -0
- package/cli/abis/Test2Facet.js.map +1 -0
- package/cli/abis/TestFacet.js +33 -0
- package/cli/abis/TestFacet.js.map +1 -0
- package/cli/abis/TokenizedDistributor.js +878 -0
- package/cli/abis/TokenizedDistributor.js.map +1 -0
- package/cli/abis/VotesUpgradeable.js +402 -0
- package/cli/abis/VotesUpgradeable.js.map +1 -0
- package/cli/abis/index.js +484 -0
- package/cli/abis/index.js.map +1 -0
- package/cli/cli/client.js +57 -0
- package/cli/cli/client.js.map +1 -0
- package/cli/cli/commands/distributions/add.js +96 -0
- package/cli/cli/commands/distributions/add.js.map +1 -0
- package/cli/cli/commands/distributions/index.js +11 -0
- package/cli/cli/commands/distributions/index.js.map +1 -0
- package/cli/cli/commands/distributions/list.js +42 -0
- package/cli/cli/commands/distributions/list.js.map +1 -0
- package/cli/cli/commands/fellowship/create.js +130 -0
- package/cli/cli/commands/fellowship/create.js.map +1 -0
- package/cli/cli/commands/fellowship/index.js +11 -0
- package/cli/cli/commands/fellowship/index.js.map +1 -0
- package/cli/cli/commands/fellowship/metadata.js +42 -0
- package/cli/cli/commands/fellowship/metadata.js.map +1 -0
- package/cli/cli/commands/instances/index.js +7 -0
- package/cli/cli/commands/instances/index.js.map +1 -0
- package/cli/cli/commands/instances/list.js +50 -0
- package/cli/cli/commands/instances/list.js.map +1 -0
- package/cli/cli/commands/multipass/contract.js +178 -0
- package/cli/cli/commands/multipass/contract.js.map +1 -0
- package/cli/cli/commands/multipass/domain.js +512 -0
- package/cli/cli/commands/multipass/domain.js.map +1 -0
- package/cli/cli/commands/multipass/domains.js +141 -0
- package/cli/cli/commands/multipass/domains.js.map +1 -0
- package/cli/cli/commands/multipass/index.js +20 -0
- package/cli/cli/commands/multipass/index.js.map +1 -0
- package/cli/cli/commands/multipass/owner.js +320 -0
- package/cli/cli/commands/multipass/owner.js.map +1 -0
- package/cli/cli/index.js +20 -0
- package/cli/cli/index.js.map +1 -0
- package/cli/eds/Distributor.js +76 -0
- package/cli/eds/Distributor.js.map +1 -0
- package/cli/index.js +50 -0
- package/cli/index.js.map +1 -0
- package/cli/multipass/MultipassBase.js +307 -0
- package/cli/multipass/MultipassBase.js.map +1 -0
- package/cli/multipass/Owner.js +214 -0
- package/cli/multipass/Owner.js.map +1 -0
- package/cli/multipass/Registrar.js +77 -0
- package/cli/multipass/Registrar.js.map +1 -0
- package/cli/rankify/GameMaster.js +372 -0
- package/cli/rankify/GameMaster.js.map +1 -0
- package/cli/rankify/InstanceBase.js +432 -0
- package/cli/rankify/InstanceBase.js.map +1 -0
- package/cli/rankify/MAODistributor.js +278 -0
- package/cli/rankify/MAODistributor.js.map +1 -0
- package/cli/rankify/Player.js +175 -0
- package/cli/rankify/Player.js.map +1 -0
- package/cli/rankify/RankToken.js +109 -0
- package/cli/rankify/RankToken.js.map +1 -0
- package/cli/types/contracts.js +3 -0
- package/cli/types/contracts.js.map +1 -0
- package/cli/types.js +30 -0
- package/cli/types.js.map +1 -0
- package/cli/utils/ApiError.js +21 -0
- package/cli/utils/ApiError.js.map +1 -0
- package/cli/utils/artifacts.js +51 -0
- package/cli/utils/artifacts.js.map +1 -0
- package/cli/utils/chainMapping.js +16 -0
- package/cli/utils/chainMapping.js.map +1 -0
- package/cli/utils/index.js +35 -0
- package/cli/utils/index.js.map +1 -0
- package/docs/classes/MAODistributorClient.md +89 -43
- package/docs/classes/Multipass.md +148 -0
- package/docs/classes/MultipassBase.md +120 -0
- package/docs/classes/RankTokenClient.md +34 -0
- package/docs/docs/classes/MAODistributorClient.md +89 -43
- package/docs/docs/classes/Multipass.md +148 -0
- package/docs/docs/classes/MultipassBase.md +120 -0
- package/docs/docs/classes/RankTokenClient.md +34 -0
- package/docs/docs/enums/CONTENT_STORAGE.md +27 -0
- package/docs/docs/enums/SUBMISSION_TYPES.md +41 -0
- package/docs/docs/index.md +137 -3
- package/docs/enums/CONTENT_STORAGE.md +27 -0
- package/docs/enums/SUBMISSION_TYPES.md +41 -0
- package/docs/index.md +137 -3
- package/lib.commonjs/eds/Distributor.d.ts +5 -1
- package/lib.commonjs/eds/Distributor.d.ts.map +1 -1
- package/lib.commonjs/eds/Distributor.js +14 -2
- package/lib.commonjs/eds/Distributor.js.map +1 -1
- package/lib.commonjs/multipass/MultipassBase.d.ts +1185 -2
- package/lib.commonjs/multipass/MultipassBase.d.ts.map +1 -1
- package/lib.commonjs/multipass/MultipassBase.js +168 -1
- package/lib.commonjs/multipass/MultipassBase.js.map +1 -1
- package/lib.commonjs/multipass/Owner.d.ts +137 -0
- package/lib.commonjs/multipass/Owner.d.ts.map +1 -0
- package/lib.commonjs/multipass/Owner.js +214 -0
- package/lib.commonjs/multipass/Owner.js.map +1 -0
- package/lib.commonjs/multipass/Registrar.d.ts +3 -2
- package/lib.commonjs/multipass/Registrar.d.ts.map +1 -1
- package/lib.commonjs/multipass/Registrar.js +3 -3
- package/lib.commonjs/multipass/Registrar.js.map +1 -1
- package/lib.commonjs/rankify/MAODistributor.d.ts +1042 -2
- package/lib.commonjs/rankify/MAODistributor.d.ts.map +1 -1
- package/lib.commonjs/rankify/MAODistributor.js +146 -33
- package/lib.commonjs/rankify/MAODistributor.js.map +1 -1
- package/lib.commonjs/rankify/Player.js +7 -7
- package/lib.commonjs/rankify/Player.js.map +1 -1
- package/lib.commonjs/rankify/RankToken.d.ts +3 -0
- package/lib.commonjs/rankify/RankToken.d.ts.map +1 -1
- package/lib.commonjs/rankify/RankToken.js +74 -0
- package/lib.commonjs/rankify/RankToken.js.map +1 -1
- package/lib.commonjs/types/contracts.d.ts +0 -6
- package/lib.commonjs/types/contracts.d.ts.map +1 -1
- package/lib.commonjs/types/contracts.js +0 -16
- package/lib.commonjs/types/contracts.js.map +1 -1
- package/lib.commonjs/types.d.ts +113 -2
- package/lib.commonjs/types.d.ts.map +1 -1
- package/lib.commonjs/types.js +15 -1
- package/lib.commonjs/types.js.map +1 -1
- package/lib.commonjs/utils/artifacts.d.ts +5 -2
- package/lib.commonjs/utils/artifacts.d.ts.map +1 -1
- package/lib.commonjs/utils/artifacts.js +4 -2
- package/lib.commonjs/utils/artifacts.js.map +1 -1
- package/lib.commonjs/utils/index.d.ts +7 -0
- package/lib.commonjs/utils/index.d.ts.map +1 -1
- package/lib.commonjs/utils/index.js +16 -0
- package/lib.commonjs/utils/index.js.map +1 -1
- package/lib.esm/eds/Distributor.d.ts +5 -1
- package/lib.esm/eds/Distributor.d.ts.map +1 -1
- package/lib.esm/eds/Distributor.js +14 -2
- package/lib.esm/eds/Distributor.js.map +1 -1
- package/lib.esm/multipass/MultipassBase.d.ts +1185 -2
- package/lib.esm/multipass/MultipassBase.d.ts.map +1 -1
- package/lib.esm/multipass/MultipassBase.js +168 -1
- package/lib.esm/multipass/MultipassBase.js.map +1 -1
- package/lib.esm/multipass/Owner.d.ts +137 -0
- package/lib.esm/multipass/Owner.d.ts.map +1 -0
- package/lib.esm/multipass/Owner.js +208 -0
- package/lib.esm/multipass/Owner.js.map +1 -0
- package/lib.esm/multipass/Registrar.d.ts +3 -2
- package/lib.esm/multipass/Registrar.d.ts.map +1 -1
- package/lib.esm/multipass/Registrar.js +3 -3
- package/lib.esm/multipass/Registrar.js.map +1 -1
- package/lib.esm/rankify/MAODistributor.d.ts +1042 -2
- package/lib.esm/rankify/MAODistributor.d.ts.map +1 -1
- package/lib.esm/rankify/MAODistributor.js +144 -31
- package/lib.esm/rankify/MAODistributor.js.map +1 -1
- package/lib.esm/rankify/Player.js +7 -7
- package/lib.esm/rankify/Player.js.map +1 -1
- package/lib.esm/rankify/RankToken.d.ts +3 -0
- package/lib.esm/rankify/RankToken.d.ts.map +1 -1
- package/lib.esm/rankify/RankToken.js +74 -0
- package/lib.esm/rankify/RankToken.js.map +1 -1
- package/lib.esm/types/contracts.d.ts +0 -6
- package/lib.esm/types/contracts.d.ts.map +1 -1
- package/lib.esm/types/contracts.js +1 -14
- package/lib.esm/types/contracts.js.map +1 -1
- package/lib.esm/types.d.ts +113 -2
- package/lib.esm/types.d.ts.map +1 -1
- package/lib.esm/types.js +14 -0
- package/lib.esm/types.js.map +1 -1
- package/lib.esm/utils/artifacts.d.ts +5 -2
- package/lib.esm/utils/artifacts.d.ts.map +1 -1
- package/lib.esm/utils/artifacts.js +5 -3
- package/lib.esm/utils/artifacts.js.map +1 -1
- package/lib.esm/utils/index.d.ts +7 -0
- package/lib.esm/utils/index.d.ts.map +1 -1
- package/lib.esm/utils/index.js +14 -0
- package/lib.esm/utils/index.js.map +1 -1
- package/package.json +16 -6
|
@@ -20,11 +20,9 @@ Handles creation, management and interaction with MAO instances
|
|
|
20
20
|
- [publicClient](MAODistributorClient.md#publicclient)
|
|
21
21
|
- [address](MAODistributorClient.md#address)
|
|
22
22
|
- [walletClient](MAODistributorClient.md#walletclient)
|
|
23
|
-
- [parseInstantiated](MAODistributorClient.md#parseinstantiated)
|
|
24
23
|
|
|
25
24
|
### Methods
|
|
26
25
|
|
|
27
|
-
- [getDistributions](MAODistributorClient.md#getdistributions)
|
|
28
26
|
- [getInstances](MAODistributorClient.md#getinstances)
|
|
29
27
|
- [getInstance](MAODistributorClient.md#getinstance)
|
|
30
28
|
- [getNamedDistributionInstances](MAODistributorClient.md#getnameddistributioninstances)
|
|
@@ -32,7 +30,12 @@ Handles creation, management and interaction with MAO instances
|
|
|
32
30
|
- [addressesToContracts](MAODistributorClient.md#addressestocontracts)
|
|
33
31
|
- [getMAOInstances](MAODistributorClient.md#getmaoinstances)
|
|
34
32
|
- [parseToContracts](MAODistributorClient.md#parsetocontracts)
|
|
33
|
+
- [getDistributions](MAODistributorClient.md#getdistributions)
|
|
34
|
+
- [addNamedDistribution](MAODistributorClient.md#addnameddistribution)
|
|
35
35
|
- [getMAOInstance](MAODistributorClient.md#getmaoinstance)
|
|
36
|
+
- [getInstantiatePrice](MAODistributorClient.md#getinstantiateprice)
|
|
37
|
+
- [setInstantiationAllowance](MAODistributorClient.md#setinstantiationallowance)
|
|
38
|
+
- [needsAllowance](MAODistributorClient.md#needsallowance)
|
|
36
39
|
- [instantiate](MAODistributorClient.md#instantiate)
|
|
37
40
|
|
|
38
41
|
## Constructors
|
|
@@ -86,49 +89,11 @@ ___
|
|
|
86
89
|
|
|
87
90
|
• `Optional` **walletClient**: `Object`
|
|
88
91
|
|
|
89
|
-
___
|
|
90
|
-
|
|
91
|
-
### parseInstantiated
|
|
92
|
-
|
|
93
|
-
• **parseInstantiated**: (`instances`: `string`[]) => [`MAOInstances`](../interfaces/MAOInstances.md) = `parseInstantiated`
|
|
94
|
-
|
|
95
|
-
#### Type declaration
|
|
96
|
-
|
|
97
|
-
▸ (`instances`): [`MAOInstances`](../interfaces/MAOInstances.md)
|
|
98
|
-
|
|
99
|
-
Parse an array of contract addresses into a MAOInstances object
|
|
100
|
-
|
|
101
|
-
##### Parameters
|
|
102
|
-
|
|
103
|
-
| Name | Type | Description |
|
|
104
|
-
| :------ | :------ | :------ |
|
|
105
|
-
| `instances` | `string`[] | Array of contract addresses in the order they were deployed |
|
|
106
|
-
|
|
107
|
-
##### Returns
|
|
108
|
-
|
|
109
|
-
[`MAOInstances`](../interfaces/MAOInstances.md)
|
|
110
|
-
|
|
111
|
-
MAOInstances object with named contract addresses
|
|
112
|
-
|
|
113
92
|
## Methods
|
|
114
93
|
|
|
115
|
-
### getDistributions
|
|
116
|
-
|
|
117
|
-
▸ **getDistributions**(): `Promise`\<readonly \`0x$\{string}\`[]\>
|
|
118
|
-
|
|
119
|
-
#### Returns
|
|
120
|
-
|
|
121
|
-
`Promise`\<readonly \`0x$\{string}\`[]\>
|
|
122
|
-
|
|
123
|
-
#### Inherited from
|
|
124
|
-
|
|
125
|
-
DistributorClient.getDistributions
|
|
126
|
-
|
|
127
|
-
___
|
|
128
|
-
|
|
129
94
|
### getInstances
|
|
130
95
|
|
|
131
|
-
▸ **getInstances**(`distributorsId`, `fromBlock?`): `Promise
|
|
96
|
+
▸ **getInstances**(`distributorsId`, `fromBlock?`): `Promise`\<\{ `newInstanceId`: `bigint` ; `version`: `bigint` ; `addresses`: \`0x$\{string}\`[] }[]\>
|
|
132
97
|
|
|
133
98
|
#### Parameters
|
|
134
99
|
|
|
@@ -139,7 +104,7 @@ ___
|
|
|
139
104
|
|
|
140
105
|
#### Returns
|
|
141
106
|
|
|
142
|
-
`Promise
|
|
107
|
+
`Promise`\<\{ `newInstanceId`: `bigint` ; `version`: `bigint` ; `addresses`: \`0x$\{string}\`[] }[]\>
|
|
143
108
|
|
|
144
109
|
#### Inherited from
|
|
145
110
|
|
|
@@ -271,6 +236,39 @@ ___
|
|
|
271
236
|
|
|
272
237
|
___
|
|
273
238
|
|
|
239
|
+
### getDistributions
|
|
240
|
+
|
|
241
|
+
▸ **getDistributions**(): `Promise`\<readonly \`0x$\{string}\`[]\>
|
|
242
|
+
|
|
243
|
+
#### Returns
|
|
244
|
+
|
|
245
|
+
`Promise`\<readonly \`0x$\{string}\`[]\>
|
|
246
|
+
|
|
247
|
+
#### Overrides
|
|
248
|
+
|
|
249
|
+
DistributorClient.getDistributions
|
|
250
|
+
|
|
251
|
+
___
|
|
252
|
+
|
|
253
|
+
### addNamedDistribution
|
|
254
|
+
|
|
255
|
+
▸ **addNamedDistribution**(`chain`, `name`, `address`, `initializer?`): `Promise`\<\{ `receipt`: `TransactionReceipt` ; `distributionAddedEvent`: `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" }], ``"DistributionAdded"``\> }\>
|
|
256
|
+
|
|
257
|
+
#### Parameters
|
|
258
|
+
|
|
259
|
+
| Name | Type | Default value |
|
|
260
|
+
| :------ | :------ | :------ |
|
|
261
|
+
| `chain` | `Chain` | `undefined` |
|
|
262
|
+
| `name` | \`0x$\{string}\` | `undefined` |
|
|
263
|
+
| `address` | \`0x$\{string}\` | `undefined` |
|
|
264
|
+
| `initializer` | \`0x$\{string}\` | `"0x0000000000000000000000000000000000000000"` |
|
|
265
|
+
|
|
266
|
+
#### Returns
|
|
267
|
+
|
|
268
|
+
`Promise`\<\{ `receipt`: `TransactionReceipt` ; `distributionAddedEvent`: `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" }], ``"DistributionAdded"``\> }\>
|
|
269
|
+
|
|
270
|
+
___
|
|
271
|
+
|
|
274
272
|
### getMAOInstance
|
|
275
273
|
|
|
276
274
|
▸ **getMAOInstance**(`name?`, `instanceId`): `Promise`\<[`MAOInstanceContracts`](../interfaces/MAOInstanceContracts.md)\>
|
|
@@ -288,6 +286,54 @@ ___
|
|
|
288
286
|
|
|
289
287
|
___
|
|
290
288
|
|
|
289
|
+
### getInstantiatePrice
|
|
290
|
+
|
|
291
|
+
▸ **getInstantiatePrice**(`distributorsId`): `Promise`\<`bigint`\>
|
|
292
|
+
|
|
293
|
+
#### Parameters
|
|
294
|
+
|
|
295
|
+
| Name | Type |
|
|
296
|
+
| :------ | :------ |
|
|
297
|
+
| `distributorsId` | \`0x$\{string}\` |
|
|
298
|
+
|
|
299
|
+
#### Returns
|
|
300
|
+
|
|
301
|
+
`Promise`\<`bigint`\>
|
|
302
|
+
|
|
303
|
+
___
|
|
304
|
+
|
|
305
|
+
### setInstantiationAllowance
|
|
306
|
+
|
|
307
|
+
▸ **setInstantiationAllowance**(`amount?`): `Promise`\<`void`\>
|
|
308
|
+
|
|
309
|
+
#### Parameters
|
|
310
|
+
|
|
311
|
+
| Name | Type |
|
|
312
|
+
| :------ | :------ |
|
|
313
|
+
| `amount?` | `bigint` |
|
|
314
|
+
|
|
315
|
+
#### Returns
|
|
316
|
+
|
|
317
|
+
`Promise`\<`void`\>
|
|
318
|
+
|
|
319
|
+
___
|
|
320
|
+
|
|
321
|
+
### needsAllowance
|
|
322
|
+
|
|
323
|
+
▸ **needsAllowance**(`distributorsId`): `Promise`\<`boolean`\>
|
|
324
|
+
|
|
325
|
+
#### Parameters
|
|
326
|
+
|
|
327
|
+
| Name | Type |
|
|
328
|
+
| :------ | :------ |
|
|
329
|
+
| `distributorsId` | \`0x$\{string}\` |
|
|
330
|
+
|
|
331
|
+
#### Returns
|
|
332
|
+
|
|
333
|
+
`Promise`\<`boolean`\>
|
|
334
|
+
|
|
335
|
+
___
|
|
336
|
+
|
|
291
337
|
### instantiate
|
|
292
338
|
|
|
293
339
|
▸ **instantiate**(`args`, `name?`, `chain`): `Promise`\<[`MAOInstanceContracts`](../interfaces/MAOInstanceContracts.md)\>
|
|
@@ -299,7 +345,7 @@ Create a new MAODistribution instance
|
|
|
299
345
|
| Name | Type | Default value | Description |
|
|
300
346
|
| :------ | :------ | :------ | :------ |
|
|
301
347
|
| `args` | `undefined` \| readonly [\{ `tokenSettings`: \{ `tokenName`: `string` ; `tokenSymbol`: `string` } ; `rankifySettings`: \{ `principalCost`: `bigint` ; `principalTimeConstant`: `bigint` ; `metadata`: `string` ; `rankTokenURI`: `string` ; `rankTokenContractURI`: `string` } }] \| readonly [\{ `tokenSettings`: \{ `tokenName`: `string` ; `tokenSymbol`: `string` } ; `rankifySettings`: \{ `principalCost`: `bigint` ; `principalTimeConstant`: `bigint` ; `metadata`: `string` ; `rankTokenURI`: `string` ; `rankTokenContractURI`: `string` } }] | `undefined` | Distribution arguments (encoded as bytes) |
|
|
302
|
-
| `name` | `string` | `MAODistributorClient.DEFAULT_NAME` |
|
|
348
|
+
| `name` | `string` | `MAODistributorClient.DEFAULT_NAME` | Distributor name (defaults to "MAO Distribution") |
|
|
303
349
|
| `chain` | `Chain` | `undefined` | - |
|
|
304
350
|
|
|
305
351
|
#### Returns
|
|
@@ -17,6 +17,7 @@ Main Multipass class for handling registrations and queries
|
|
|
17
17
|
### Properties
|
|
18
18
|
|
|
19
19
|
- [chainId](Multipass.md#chainid)
|
|
20
|
+
- [publicClient](Multipass.md#publicclient)
|
|
20
21
|
|
|
21
22
|
### Methods
|
|
22
23
|
|
|
@@ -26,6 +27,12 @@ Main Multipass class for handling registrations and queries
|
|
|
26
27
|
- [formQueryByUsername](Multipass.md#formquerybyusername)
|
|
27
28
|
- [formQueryByUsernameAndId](Multipass.md#formquerybyusernameandid)
|
|
28
29
|
- [formQueryByFullDetails](Multipass.md#formquerybyfulldetails)
|
|
30
|
+
- [getContractAddress](Multipass.md#getcontractaddress)
|
|
31
|
+
- [getDomainState](Multipass.md#getdomainstate)
|
|
32
|
+
- [getDomainStateById](Multipass.md#getdomainstatebyid)
|
|
33
|
+
- [getContractState](Multipass.md#getcontractstate)
|
|
34
|
+
- [listDomains](Multipass.md#listdomains)
|
|
35
|
+
- [listRecords](Multipass.md#listrecords)
|
|
29
36
|
- [signRegistrarMessage](Multipass.md#signregistrarmessage)
|
|
30
37
|
- [getDappURL](Multipass.md#getdappurl)
|
|
31
38
|
|
|
@@ -44,6 +51,7 @@ Creates a new Multipass instance
|
|
|
44
51
|
| `params` | `Object` | Constructor parameters |
|
|
45
52
|
| `params.chainId` | `number` | ID of the blockchain network |
|
|
46
53
|
| `params.walletClient` | `Object` | Wallet client for signing transactions |
|
|
54
|
+
| `params.publicClient` | `Object` | - |
|
|
47
55
|
|
|
48
56
|
#### Returns
|
|
49
57
|
|
|
@@ -65,6 +73,18 @@ Chain ID for the network
|
|
|
65
73
|
|
|
66
74
|
[MultipassBase](MultipassBase.md).[chainId](MultipassBase.md#chainid)
|
|
67
75
|
|
|
76
|
+
___
|
|
77
|
+
|
|
78
|
+
### publicClient
|
|
79
|
+
|
|
80
|
+
• **publicClient**: `Object`
|
|
81
|
+
|
|
82
|
+
Public client for reading contracts
|
|
83
|
+
|
|
84
|
+
#### Inherited from
|
|
85
|
+
|
|
86
|
+
[MultipassBase](MultipassBase.md).[publicClient](MultipassBase.md#publicclient)
|
|
87
|
+
|
|
68
88
|
## Methods
|
|
69
89
|
|
|
70
90
|
### getRegistrarMessage
|
|
@@ -229,6 +249,134 @@ The generated name query
|
|
|
229
249
|
|
|
230
250
|
___
|
|
231
251
|
|
|
252
|
+
### getContractAddress
|
|
253
|
+
|
|
254
|
+
▸ **getContractAddress**(): \`0x$\{string}\`
|
|
255
|
+
|
|
256
|
+
#### Returns
|
|
257
|
+
|
|
258
|
+
\`0x$\{string}\`
|
|
259
|
+
|
|
260
|
+
#### Inherited from
|
|
261
|
+
|
|
262
|
+
[MultipassBase](MultipassBase.md).[getContractAddress](MultipassBase.md#getcontractaddress)
|
|
263
|
+
|
|
264
|
+
___
|
|
265
|
+
|
|
266
|
+
### getDomainState
|
|
267
|
+
|
|
268
|
+
▸ **getDomainState**(`domainName`): `Promise`\<`Domain`\>
|
|
269
|
+
|
|
270
|
+
Get domain state
|
|
271
|
+
|
|
272
|
+
#### Parameters
|
|
273
|
+
|
|
274
|
+
| Name | Type | Description |
|
|
275
|
+
| :------ | :------ | :------ |
|
|
276
|
+
| `domainName` | \`0x$\{string}\` | Domain name to query |
|
|
277
|
+
|
|
278
|
+
#### Returns
|
|
279
|
+
|
|
280
|
+
`Promise`\<`Domain`\>
|
|
281
|
+
|
|
282
|
+
Domain state
|
|
283
|
+
|
|
284
|
+
#### Inherited from
|
|
285
|
+
|
|
286
|
+
[MultipassBase](MultipassBase.md).[getDomainState](MultipassBase.md#getdomainstate)
|
|
287
|
+
|
|
288
|
+
___
|
|
289
|
+
|
|
290
|
+
### getDomainStateById
|
|
291
|
+
|
|
292
|
+
▸ **getDomainStateById**(`id`): `Promise`\<`Domain`\>
|
|
293
|
+
|
|
294
|
+
Get domain state by ID
|
|
295
|
+
|
|
296
|
+
#### Parameters
|
|
297
|
+
|
|
298
|
+
| Name | Type | Description |
|
|
299
|
+
| :------ | :------ | :------ |
|
|
300
|
+
| `id` | `bigint` | Domain ID to query |
|
|
301
|
+
|
|
302
|
+
#### Returns
|
|
303
|
+
|
|
304
|
+
`Promise`\<`Domain`\>
|
|
305
|
+
|
|
306
|
+
Domain state
|
|
307
|
+
|
|
308
|
+
#### Inherited from
|
|
309
|
+
|
|
310
|
+
[MultipassBase](MultipassBase.md).[getDomainStateById](MultipassBase.md#getdomainstatebyid)
|
|
311
|
+
|
|
312
|
+
___
|
|
313
|
+
|
|
314
|
+
### getContractState
|
|
315
|
+
|
|
316
|
+
▸ **getContractState**(): `Promise`\<`bigint`\>
|
|
317
|
+
|
|
318
|
+
Get contract state
|
|
319
|
+
|
|
320
|
+
#### Returns
|
|
321
|
+
|
|
322
|
+
`Promise`\<`bigint`\>
|
|
323
|
+
|
|
324
|
+
Total number of domains
|
|
325
|
+
|
|
326
|
+
#### Inherited from
|
|
327
|
+
|
|
328
|
+
[MultipassBase](MultipassBase.md).[getContractState](MultipassBase.md#getcontractstate)
|
|
329
|
+
|
|
330
|
+
___
|
|
331
|
+
|
|
332
|
+
### listDomains
|
|
333
|
+
|
|
334
|
+
▸ **listDomains**(`onlyActive?`): `Promise`\<`Domain`[]\>
|
|
335
|
+
|
|
336
|
+
List all domains with their active status
|
|
337
|
+
|
|
338
|
+
#### Parameters
|
|
339
|
+
|
|
340
|
+
| Name | Type | Description |
|
|
341
|
+
| :------ | :------ | :------ |
|
|
342
|
+
| `onlyActive?` | `boolean` | If true, only return active domains |
|
|
343
|
+
|
|
344
|
+
#### Returns
|
|
345
|
+
|
|
346
|
+
`Promise`\<`Domain`[]\>
|
|
347
|
+
|
|
348
|
+
Array of domains with their states
|
|
349
|
+
|
|
350
|
+
#### Inherited from
|
|
351
|
+
|
|
352
|
+
[MultipassBase](MultipassBase.md).[listDomains](MultipassBase.md#listdomains)
|
|
353
|
+
|
|
354
|
+
___
|
|
355
|
+
|
|
356
|
+
### listRecords
|
|
357
|
+
|
|
358
|
+
▸ **listRecords**(`onlyActive?`): `Promise`\<\{ `record`: `CustomRecord` ; `isActive`: `boolean` }[]\>
|
|
359
|
+
|
|
360
|
+
List all records with their states
|
|
361
|
+
|
|
362
|
+
#### Parameters
|
|
363
|
+
|
|
364
|
+
| Name | Type | Description |
|
|
365
|
+
| :------ | :------ | :------ |
|
|
366
|
+
| `onlyActive?` | `boolean` | If true, only return active records |
|
|
367
|
+
|
|
368
|
+
#### Returns
|
|
369
|
+
|
|
370
|
+
`Promise`\<\{ `record`: `CustomRecord` ; `isActive`: `boolean` }[]\>
|
|
371
|
+
|
|
372
|
+
Array of records with their states
|
|
373
|
+
|
|
374
|
+
#### Inherited from
|
|
375
|
+
|
|
376
|
+
[MultipassBase](MultipassBase.md).[listRecords](MultipassBase.md#listrecords)
|
|
377
|
+
|
|
378
|
+
___
|
|
379
|
+
|
|
232
380
|
### signRegistrarMessage
|
|
233
381
|
|
|
234
382
|
▸ **signRegistrarMessage**(`message`, `verifierAddress`): `Promise`\<\`0x$\{string}\`\>
|