import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common"; export interface BackedTokenInterface extends Interface { getFunction(nameOrSignature: "DELEGATED_TRANSFER_TYPEHASH" | "DOMAIN_SEPARATOR" | "PERMIT_TYPEHASH" | "VERSION" | "allowance" | "approve" | "balanceOf" | "burn" | "burner" | "decimals" | "decreaseAllowance" | "delegateMode" | "delegateWhitelist" | "delegatedTransfer" | "increaseAllowance" | "initialize" | "isPaused" | "mint" | "minter" | "name" | "nonces" | "owner" | "pauser" | "permit" | "renounceOwnership" | "sanctionsList" | "setBurner" | "setDelegateMode" | "setDelegateWhitelist" | "setMinter" | "setPause" | "setPauser" | "setSanctionsList" | "setTerms" | "symbol" | "terms" | "totalSupply" | "transfer" | "transferFrom" | "transferOwnership"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "Approval" | "DelegateModeChange" | "DelegateWhitelistChange" | "NewBurner" | "NewMinter" | "NewPauser" | "NewSanctionsList" | "NewTerms" | "OwnershipTransferred" | "PauseModeChange" | "Transfer"): EventFragment; encodeFunctionData(functionFragment: "DELEGATED_TRANSFER_TYPEHASH", values?: undefined): string; encodeFunctionData(functionFragment: "DOMAIN_SEPARATOR", values?: undefined): string; encodeFunctionData(functionFragment: "PERMIT_TYPEHASH", values?: undefined): string; encodeFunctionData(functionFragment: "VERSION", values?: undefined): string; encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string; encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string; encodeFunctionData(functionFragment: "burn", values: [AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "burner", values?: undefined): string; encodeFunctionData(functionFragment: "decimals", values?: undefined): string; encodeFunctionData(functionFragment: "decreaseAllowance", values: [AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "delegateMode", values?: undefined): string; encodeFunctionData(functionFragment: "delegateWhitelist", values: [AddressLike]): string; encodeFunctionData(functionFragment: "delegatedTransfer", values: [ AddressLike, AddressLike, BigNumberish, BigNumberish, BigNumberish, BytesLike, BytesLike ]): string; encodeFunctionData(functionFragment: "increaseAllowance", values: [AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "initialize", values: [string, string]): string; encodeFunctionData(functionFragment: "isPaused", values?: undefined): string; encodeFunctionData(functionFragment: "mint", values: [AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "minter", values?: undefined): string; encodeFunctionData(functionFragment: "name", values?: undefined): string; encodeFunctionData(functionFragment: "nonces", values: [AddressLike]): string; encodeFunctionData(functionFragment: "owner", values?: undefined): string; encodeFunctionData(functionFragment: "pauser", values?: undefined): string; encodeFunctionData(functionFragment: "permit", values: [ AddressLike, AddressLike, BigNumberish, BigNumberish, BigNumberish, BytesLike, BytesLike ]): string; encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string; encodeFunctionData(functionFragment: "sanctionsList", values?: undefined): string; encodeFunctionData(functionFragment: "setBurner", values: [AddressLike]): string; encodeFunctionData(functionFragment: "setDelegateMode", values: [boolean]): string; encodeFunctionData(functionFragment: "setDelegateWhitelist", values: [AddressLike, boolean]): string; encodeFunctionData(functionFragment: "setMinter", values: [AddressLike]): string; encodeFunctionData(functionFragment: "setPause", values: [boolean]): string; encodeFunctionData(functionFragment: "setPauser", values: [AddressLike]): string; encodeFunctionData(functionFragment: "setSanctionsList", values: [AddressLike]): string; encodeFunctionData(functionFragment: "setTerms", values: [string]): string; encodeFunctionData(functionFragment: "symbol", values?: undefined): string; encodeFunctionData(functionFragment: "terms", values?: undefined): string; encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string; encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string; decodeFunctionResult(functionFragment: "DELEGATED_TRANSFER_TYPEHASH", data: BytesLike): Result; decodeFunctionResult(functionFragment: "DOMAIN_SEPARATOR", data: BytesLike): Result; decodeFunctionResult(functionFragment: "PERMIT_TYPEHASH", data: BytesLike): Result; decodeFunctionResult(functionFragment: "VERSION", data: BytesLike): Result; decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; decodeFunctionResult(functionFragment: "burner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; decodeFunctionResult(functionFragment: "decreaseAllowance", data: BytesLike): Result; decodeFunctionResult(functionFragment: "delegateMode", data: BytesLike): Result; decodeFunctionResult(functionFragment: "delegateWhitelist", data: BytesLike): Result; decodeFunctionResult(functionFragment: "delegatedTransfer", data: BytesLike): Result; decodeFunctionResult(functionFragment: "increaseAllowance", data: BytesLike): Result; decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; decodeFunctionResult(functionFragment: "isPaused", data: BytesLike): Result; decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result; decodeFunctionResult(functionFragment: "minter", data: BytesLike): Result; decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result; decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "pauser", data: BytesLike): Result; decodeFunctionResult(functionFragment: "permit", data: BytesLike): Result; decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "sanctionsList", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setBurner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setDelegateMode", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setDelegateWhitelist", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setMinter", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setPause", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setPauser", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setSanctionsList", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setTerms", data: BytesLike): Result; decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; decodeFunctionResult(functionFragment: "terms", data: BytesLike): Result; decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result; decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result; decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result; } export declare namespace ApprovalEvent { type InputTuple = [ owner: AddressLike, spender: AddressLike, value: BigNumberish ]; type OutputTuple = [owner: string, spender: string, value: bigint]; interface OutputObject { owner: string; spender: string; value: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace DelegateModeChangeEvent { type InputTuple = [delegateMode: boolean]; type OutputTuple = [delegateMode: boolean]; interface OutputObject { delegateMode: boolean; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace DelegateWhitelistChangeEvent { type InputTuple = [whitelistAddress: AddressLike, status: boolean]; type OutputTuple = [whitelistAddress: string, status: boolean]; interface OutputObject { whitelistAddress: string; status: boolean; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace NewBurnerEvent { type InputTuple = [newBurner: AddressLike]; type OutputTuple = [newBurner: string]; interface OutputObject { newBurner: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace NewMinterEvent { type InputTuple = [newMinter: AddressLike]; type OutputTuple = [newMinter: string]; interface OutputObject { newMinter: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace NewPauserEvent { type InputTuple = [newPauser: AddressLike]; type OutputTuple = [newPauser: string]; interface OutputObject { newPauser: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace NewSanctionsListEvent { type InputTuple = [newSanctionsList: AddressLike]; type OutputTuple = [newSanctionsList: string]; interface OutputObject { newSanctionsList: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace NewTermsEvent { type InputTuple = [newTerms: string]; type OutputTuple = [newTerms: string]; interface OutputObject { newTerms: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace OwnershipTransferredEvent { type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; type OutputTuple = [previousOwner: string, newOwner: string]; interface OutputObject { previousOwner: string; newOwner: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace PauseModeChangeEvent { type InputTuple = [pauseMode: boolean]; type OutputTuple = [pauseMode: boolean]; interface OutputObject { pauseMode: boolean; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace TransferEvent { type InputTuple = [ from: AddressLike, to: AddressLike, value: BigNumberish ]; type OutputTuple = [from: string, to: string, value: bigint]; interface OutputObject { from: string; to: string; value: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface BackedToken extends BaseContract { connect(runner?: ContractRunner | null): BackedToken; waitForDeployment(): Promise; interface: BackedTokenInterface; queryFilter(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>>; queryFilter(filter: TypedDeferredTopicFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>>; on(event: TCEvent, listener: TypedListener): Promise; on(filter: TypedDeferredTopicFilter, listener: TypedListener): Promise; once(event: TCEvent, listener: TypedListener): Promise; once(filter: TypedDeferredTopicFilter, listener: TypedListener): Promise; listeners(event: TCEvent): Promise>>; listeners(eventName?: string): Promise>; removeAllListeners(event?: TCEvent): Promise; DELEGATED_TRANSFER_TYPEHASH: TypedContractMethod<[], [string], "view">; DOMAIN_SEPARATOR: TypedContractMethod<[], [string], "view">; PERMIT_TYPEHASH: TypedContractMethod<[], [string], "view">; VERSION: TypedContractMethod<[], [string], "view">; allowance: TypedContractMethod<[ owner: AddressLike, spender: AddressLike ], [ bigint ], "view">; approve: TypedContractMethod<[ spender: AddressLike, amount: BigNumberish ], [ boolean ], "nonpayable">; balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">; burn: TypedContractMethod<[ account: AddressLike, amount: BigNumberish ], [ void ], "nonpayable">; burner: TypedContractMethod<[], [string], "view">; decimals: TypedContractMethod<[], [bigint], "view">; decreaseAllowance: TypedContractMethod<[ spender: AddressLike, subtractedValue: BigNumberish ], [ boolean ], "nonpayable">; delegateMode: TypedContractMethod<[], [boolean], "view">; delegateWhitelist: TypedContractMethod<[ arg0: AddressLike ], [ boolean ], "view">; delegatedTransfer: TypedContractMethod<[ owner: AddressLike, to: AddressLike, value: BigNumberish, deadline: BigNumberish, v: BigNumberish, r: BytesLike, s: BytesLike ], [ void ], "nonpayable">; increaseAllowance: TypedContractMethod<[ spender: AddressLike, addedValue: BigNumberish ], [ boolean ], "nonpayable">; initialize: TypedContractMethod<[ name_: string, symbol_: string ], [ void ], "nonpayable">; isPaused: TypedContractMethod<[], [boolean], "view">; mint: TypedContractMethod<[ account: AddressLike, amount: BigNumberish ], [ void ], "nonpayable">; minter: TypedContractMethod<[], [string], "view">; name: TypedContractMethod<[], [string], "view">; nonces: TypedContractMethod<[arg0: AddressLike], [bigint], "view">; owner: TypedContractMethod<[], [string], "view">; pauser: TypedContractMethod<[], [string], "view">; permit: TypedContractMethod<[ owner: AddressLike, spender: AddressLike, value: BigNumberish, deadline: BigNumberish, v: BigNumberish, r: BytesLike, s: BytesLike ], [ void ], "nonpayable">; renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; sanctionsList: TypedContractMethod<[], [string], "view">; setBurner: TypedContractMethod<[ newBurner: AddressLike ], [ void ], "nonpayable">; setDelegateMode: TypedContractMethod<[ _delegateMode: boolean ], [ void ], "nonpayable">; setDelegateWhitelist: TypedContractMethod<[ whitelistAddress: AddressLike, status: boolean ], [ void ], "nonpayable">; setMinter: TypedContractMethod<[ newMinter: AddressLike ], [ void ], "nonpayable">; setPause: TypedContractMethod<[newPauseMode: boolean], [void], "nonpayable">; setPauser: TypedContractMethod<[ newPauser: AddressLike ], [ void ], "nonpayable">; setSanctionsList: TypedContractMethod<[ newSanctionsList: AddressLike ], [ void ], "nonpayable">; setTerms: TypedContractMethod<[newTerms: string], [void], "nonpayable">; symbol: TypedContractMethod<[], [string], "view">; terms: TypedContractMethod<[], [string], "view">; totalSupply: TypedContractMethod<[], [bigint], "view">; transfer: TypedContractMethod<[ to: AddressLike, amount: BigNumberish ], [ boolean ], "nonpayable">; transferFrom: TypedContractMethod<[ from: AddressLike, to: AddressLike, amount: BigNumberish ], [ boolean ], "nonpayable">; transferOwnership: TypedContractMethod<[ newOwner: AddressLike ], [ void ], "nonpayable">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "DELEGATED_TRANSFER_TYPEHASH"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "DOMAIN_SEPARATOR"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "PERMIT_TYPEHASH"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "VERSION"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "allowance"): TypedContractMethod<[ owner: AddressLike, spender: AddressLike ], [ bigint ], "view">; getFunction(nameOrSignature: "approve"): TypedContractMethod<[ spender: AddressLike, amount: BigNumberish ], [ boolean ], "nonpayable">; getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "burn"): TypedContractMethod<[ account: AddressLike, amount: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "burner"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "decreaseAllowance"): TypedContractMethod<[ spender: AddressLike, subtractedValue: BigNumberish ], [ boolean ], "nonpayable">; getFunction(nameOrSignature: "delegateMode"): TypedContractMethod<[], [boolean], "view">; getFunction(nameOrSignature: "delegateWhitelist"): TypedContractMethod<[arg0: AddressLike], [boolean], "view">; getFunction(nameOrSignature: "delegatedTransfer"): TypedContractMethod<[ owner: AddressLike, to: AddressLike, value: BigNumberish, deadline: BigNumberish, v: BigNumberish, r: BytesLike, s: BytesLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "increaseAllowance"): TypedContractMethod<[ spender: AddressLike, addedValue: BigNumberish ], [ boolean ], "nonpayable">; getFunction(nameOrSignature: "initialize"): TypedContractMethod<[ name_: string, symbol_: string ], [ void ], "nonpayable">; getFunction(nameOrSignature: "isPaused"): TypedContractMethod<[], [boolean], "view">; getFunction(nameOrSignature: "mint"): TypedContractMethod<[ account: AddressLike, amount: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "minter"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "nonces"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "pauser"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "permit"): TypedContractMethod<[ owner: AddressLike, spender: AddressLike, value: BigNumberish, deadline: BigNumberish, v: BigNumberish, r: BytesLike, s: BytesLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "sanctionsList"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "setBurner"): TypedContractMethod<[newBurner: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "setDelegateMode"): TypedContractMethod<[_delegateMode: boolean], [void], "nonpayable">; getFunction(nameOrSignature: "setDelegateWhitelist"): TypedContractMethod<[ whitelistAddress: AddressLike, status: boolean ], [ void ], "nonpayable">; getFunction(nameOrSignature: "setMinter"): TypedContractMethod<[newMinter: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "setPause"): TypedContractMethod<[newPauseMode: boolean], [void], "nonpayable">; getFunction(nameOrSignature: "setPauser"): TypedContractMethod<[newPauser: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "setSanctionsList"): TypedContractMethod<[newSanctionsList: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "setTerms"): TypedContractMethod<[newTerms: string], [void], "nonpayable">; getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "terms"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "transfer"): TypedContractMethod<[ to: AddressLike, amount: BigNumberish ], [ boolean ], "nonpayable">; getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[ from: AddressLike, to: AddressLike, amount: BigNumberish ], [ boolean ], "nonpayable">; getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; getEvent(key: "Approval"): TypedContractEvent; getEvent(key: "DelegateModeChange"): TypedContractEvent; getEvent(key: "DelegateWhitelistChange"): TypedContractEvent; getEvent(key: "NewBurner"): TypedContractEvent; getEvent(key: "NewMinter"): TypedContractEvent; getEvent(key: "NewPauser"): TypedContractEvent; getEvent(key: "NewSanctionsList"): TypedContractEvent; getEvent(key: "NewTerms"): TypedContractEvent; getEvent(key: "OwnershipTransferred"): TypedContractEvent; getEvent(key: "PauseModeChange"): TypedContractEvent; getEvent(key: "Transfer"): TypedContractEvent; filters: { "Approval(address,address,uint256)": TypedContractEvent; Approval: TypedContractEvent; "DelegateModeChange(bool)": TypedContractEvent; DelegateModeChange: TypedContractEvent; "DelegateWhitelistChange(address,bool)": TypedContractEvent; DelegateWhitelistChange: TypedContractEvent; "NewBurner(address)": TypedContractEvent; NewBurner: TypedContractEvent; "NewMinter(address)": TypedContractEvent; NewMinter: TypedContractEvent; "NewPauser(address)": TypedContractEvent; NewPauser: TypedContractEvent; "NewSanctionsList(address)": TypedContractEvent; NewSanctionsList: TypedContractEvent; "NewTerms(string)": TypedContractEvent; NewTerms: TypedContractEvent; "OwnershipTransferred(address,address)": TypedContractEvent; OwnershipTransferred: TypedContractEvent; "PauseModeChange(bool)": TypedContractEvent; PauseModeChange: TypedContractEvent; "Transfer(address,address,uint256)": TypedContractEvent; Transfer: TypedContractEvent; }; }