/* Autogenerated file, do not edit! */ /* eslint-disable */ import { loadContractArtifact, loadContractArtifactForPublic } from '@aztec/aztec.js/abi';
import { Contract, ContractBase, DeployMethod } from '@aztec/aztec.js/contracts';
import { Fr } from '@aztec/aztec.js/fields';
import { PublicKeys } from '@aztec/aztec.js/keys';
import PendingNoteHashesContractArtifactJson from '../artifacts/pending_note_hashes_contract-PendingNoteHashes.json' with {
    type: 'json'
};
export const PendingNoteHashesContractArtifact = loadContractArtifact(PendingNoteHashesContractArtifactJson);
/**
 * Type-safe interface for contract PendingNoteHashes;
 */ export class PendingNoteHashesContract extends ContractBase {
    constructor(address, wallet){
        super(address, PendingNoteHashesContractArtifact, wallet);
    }
    /**
   * Creates a contract instance.
   * @param address - The deployed contract's address.
   * @param wallet - The wallet to use when interacting with the contract.
   * @returns A new Contract instance.
   */ static at(address, wallet) {
        return Contract.at(address, PendingNoteHashesContract.artifact, wallet);
    }
    /**
   * Creates a tx to deploy a new instance of this contract.
   */ static deploy(wallet) {
        return new DeployMethod(PublicKeys.default(), wallet, PendingNoteHashesContractArtifact, (instance, wallet)=>PendingNoteHashesContract.at(instance.address, wallet), Array.from(arguments).slice(1));
    }
    /**
   * Creates a tx to deploy a new instance of this contract using the specified public keys hash to derive the address.
   */ static deployWithPublicKeys(publicKeys, wallet) {
        return new DeployMethod(publicKeys, wallet, PendingNoteHashesContractArtifact, (instance, wallet)=>PendingNoteHashesContract.at(instance.address, wallet), Array.from(arguments).slice(2));
    }
    /**
   * Creates a tx to deploy a new instance of this contract using the specified constructor method.
   */ static deployWithOpts(opts, ...args) {
        return new DeployMethod(opts.publicKeys ?? PublicKeys.default(), opts.wallet, PendingNoteHashesContractArtifact, (instance, wallet)=>PendingNoteHashesContract.at(instance.address, wallet), Array.from(arguments).slice(1), opts.method ?? 'constructor');
    }
    /**
   * Returns this contract's artifact.
   */ static get artifact() {
        return PendingNoteHashesContractArtifact;
    }
    /**
   * Returns this contract's artifact with public bytecode.
   */ static get artifactForPublic() {
        return loadContractArtifactForPublic(PendingNoteHashesContractArtifactJson);
    }
    static get storage() {
        return {
            balances: {
                slot: new Fr(1n)
            }
        };
    }
}
