/* Autogenerated file, do not edit! */ /* eslint-disable */ import { EventSelector, loadContractArtifact, loadContractArtifactForPublic } from '@aztec/aztec.js/abi';
import { Contract, ContractBase, DeployMethod } from '@aztec/aztec.js/contracts';
import LargePublicEventContractArtifactJson from '../artifacts/large_public_event_contract-LargePublicEvent.json' with {
    type: 'json'
};
export const LargePublicEventContractArtifact = loadContractArtifact(LargePublicEventContractArtifactJson);
/**
 * Type-safe interface for contract LargePublicEvent;
 */ export class LargePublicEventContract extends ContractBase {
    constructor(address, wallet){
        super(address, LargePublicEventContractArtifact, 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, LargePublicEventContract.artifact, wallet);
    }
    /**
   * Creates a tx to deploy a new instance of this contract.
   * @param instantiation - Optional address-affecting parameters (salt, deployer / universalDeploy, publicKeys).
   *                       Salt defaults to a random value; the deployer is locked lazily from the first send-time `from`.
   */ static deploy(wallet, instantiation) {
        return DeployMethod.create(wallet, {
            artifact: LargePublicEventContractArtifact,
            postDeployCtor: (instance, wallet)=>LargePublicEventContract.at(instance.address, wallet),
            args: []
        }, instantiation);
    }
    /**
   * Creates a tx to deploy a new instance of this contract using the specified constructor method.
   */ static deployWithOpts(opts, ...args) {
        return DeployMethod.create(opts.wallet, {
            artifact: LargePublicEventContractArtifact,
            postDeployCtor: (instance, wallet)=>LargePublicEventContract.at(instance.address, wallet),
            args,
            constructorNameOrArtifact: opts.method ?? 'constructor'
        }, opts.instantiation);
    }
    /**
   * Returns this contract's artifact.
   */ static get artifact() {
        return LargePublicEventContractArtifact;
    }
    /**
   * Returns this contract's artifact with public bytecode.
   */ static get artifactForPublic() {
        return loadContractArtifactForPublic(LargePublicEventContractArtifactJson);
    }
    static get events() {
        return {
            LargeEvent: {
                abiType: {
                    "kind": "struct",
                    "fields": [
                        {
                            "name": "data",
                            "type": {
                                "kind": "array",
                                "length": 11,
                                "type": {
                                    "kind": "field"
                                }
                            }
                        }
                    ],
                    "path": "LargePublicEvent::LargeEvent"
                },
                eventSelector: EventSelector.fromString("0xf6a94c68"),
                fieldNames: [
                    "data"
                ]
            }
        };
    }
}
