You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
messageTemplate: `Cannot get account with address "{address}"`,
734
+
websiteTitle: "Cannot get account",
735
+
websiteDescription: "Cannot get account",
736
+
},
737
+
INVALID_BLOCK_TAG: {
738
+
number: 1105,
739
+
messageTemplate: `Invalid block tag "{blockTag}"`,
740
+
websiteTitle: "Invalid block tag",
741
+
websiteDescription: "Invalid block tag",
742
+
},
743
+
INVALID_ARTIFACT_FOR_FACTORY: {
744
+
number: 1106,
745
+
messageTemplate:
746
+
"You are trying to create a contract factory from an artifact, but you have not passed a valid artifact parameter.",
747
+
websiteTitle: "Invalid artifact for contract factory creation",
748
+
websiteDescription: "Invalid artifact for contract factory creation",
749
+
},
750
+
INVALID_ABSTRACT_CONTRACT_FOR_FACTORY: {
751
+
number: 1107,
752
+
messageTemplate: `You are trying to create a contract factory for the contract "{contractName}", which is abstract and can't be deployed. If you want to call a contract using "{contractName}" as its interface use the "getContractAt" function instead.`,
753
+
websiteTitle: "Invalid abstract contract for contract factory creation",
754
+
websiteDescription:
755
+
"Invalid abstract contract for contract factory creation",
756
+
},
757
+
INVALID_ADDRESS_TO_LINK_CONTRACT_TO_LIBRARY: {
758
+
number: 1108,
759
+
messageTemplate: `You tried to link the contract "{contractName}" with the library "{linkedLibraryName}", but you provided this invalid address: {resolvedAddress}`,
760
+
websiteTitle: "Invalid address to link contract",
761
+
websiteDescription: "Invalid address to link contract",
762
+
},
763
+
LIBRARY_NOT_AMONG_CONTRACT_LIBRARIES: {
764
+
number: 1109,
765
+
messageTemplate: `You tried to link the contract "{contractName}" with the library "{linkedLibraryName}", which is not one of its libraries. Detailed message: {detailedMessage}`,
766
+
websiteTitle: "Library is not one of the contract libraries",
767
+
websiteDescription: "Library is not one of the contract libraries",
768
+
},
769
+
AMBIGUOUS_LIBRARY_NAME: {
770
+
number: 1110,
771
+
messageTemplate: `The library name "{linkedLibraryName}" is ambiguous for the contract "{contractName}". It may resolve to one of the following libraries: "{matchingNeededLibrariesFQNs}". To fix this, choose one of these fully qualified library names and replace where appropriate.`,
772
+
websiteTitle: "Ambiguous library name",
773
+
websiteDescription: "Ambiguous library name",
774
+
},
775
+
REFERENCE_TO_SAME_LIBRARY: {
776
+
number: 1111,
777
+
messageTemplate: `The library names "{linkedLibraryName1}" and "{linkedLibraryName2}" refer to the same library and were given as two separate library links. Remove one of them and review your library links before proceeding.`,
778
+
websiteTitle: "Reference to same library",
779
+
websiteDescription: "Reference to same library",
780
+
},
781
+
MISSING_LINK_FOR_LIBRARY: {
782
+
number: 1112,
783
+
messageTemplate: `The contract "{contractName}" is missing links for the following libraries: "{missingLibraries}". Learn more about linking contracts at (https://hardhat.org/hardhat-runner/plugins/nomicfoundation-hardhat-ethers#library-linking).`,
784
+
websiteTitle: "Missing links for library",
785
+
websiteDescription: "Missing links for library",
786
+
},
787
+
UNSUPPORTED_TYPE_FOR_DEEP_COPY: {
788
+
number: 1113,
789
+
messageTemplate: `The value "{value}" with type "{type}" is not supported by the deepCopy function.`,
790
+
websiteTitle: "Unsupported type for deep copy",
791
+
websiteDescription: "Unsupported type for deep copy",
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0 commit comments