@settlemint/solidity-token-erc721
Version:
Smart contract set to build an ERC721 token in SettleMint
99 lines (93 loc) • 2.88 kB
TypeScript
// This file was autogenerated by hardhat-viem, do not edit it.
// prettier-ignore
// tslint:disable
// eslint-disable
import type { Address } from "viem";
import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types";
import "@nomicfoundation/hardhat-viem/types";
export interface ERC721Whitelist$Type {
"_format": "hh-sol-artifact-1",
"contractName": "ERC721Whitelist",
"sourceName": "contracts/extensions/ERC721Whitelist.sol",
"abi": [
{
"inputs": [],
"name": "_whitelistMerkleRoot",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "allowance",
"type": "string"
},
{
"internalType": "bytes32[]",
"name": "proof",
"type": "bytes32[]"
}
],
"name": "getAllowance",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}
declare module "@nomicfoundation/hardhat-viem/types" {
export function deployContract(
contractName: "ERC721Whitelist",
constructorArgs?: [],
config?: DeployContractConfig
): Promise<GetContractReturnType<ERC721Whitelist$Type["abi"]>>;
export function deployContract(
contractName: "contracts/extensions/ERC721Whitelist.sol:ERC721Whitelist",
constructorArgs?: [],
config?: DeployContractConfig
): Promise<GetContractReturnType<ERC721Whitelist$Type["abi"]>>;
export function sendDeploymentTransaction(
contractName: "ERC721Whitelist",
constructorArgs?: [],
config?: SendDeploymentTransactionConfig
): Promise<{
contract: GetContractReturnType<ERC721Whitelist$Type["abi"]>;
deploymentTransaction: GetTransactionReturnType;
}>;
export function sendDeploymentTransaction(
contractName: "contracts/extensions/ERC721Whitelist.sol:ERC721Whitelist",
constructorArgs?: [],
config?: SendDeploymentTransactionConfig
): Promise<{
contract: GetContractReturnType<ERC721Whitelist$Type["abi"]>;
deploymentTransaction: GetTransactionReturnType;
}>;
export function getContractAt(
contractName: "ERC721Whitelist",
address: Address,
config?: GetContractAtConfig
): Promise<GetContractReturnType<ERC721Whitelist$Type["abi"]>>;
export function getContractAt(
contractName: "contracts/extensions/ERC721Whitelist.sol:ERC721Whitelist",
address: Address,
config?: GetContractAtConfig
): Promise<GetContractReturnType<ERC721Whitelist$Type["abi"]>>;
}