/// import BN from "bn.js"; import { ContractOptions } from "web3-eth-contract"; import { EventLog } from "web3-core"; import { EventEmitter } from "events"; import { Callback, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract } from "./types"; export interface EventOptions { filter?: object; fromBlock?: BlockType; topics?: string[]; } export declare type Transfer = ContractEventLog<{ _from: string; _to: string; _tokenId: string; 0: string; 1: string; 2: string; }>; export declare type Approval = ContractEventLog<{ _owner: string; _approved: string; _tokenId: string; 0: string; 1: string; 2: string; }>; export declare type ApprovalForAll = ContractEventLog<{ _owner: string; _operator: string; _approved: boolean; 0: string; 1: string; 2: boolean; }>; export interface ERC721v3Abi extends BaseContract { constructor(jsonInterface: any[], address?: string, options?: ContractOptions): ERC721v3Abi; clone(): ERC721v3Abi; methods: { name(): NonPayableTransactionObject; kittyIndexToApproved(arg0: number | string | BN): NonPayableTransactionObject; partIndexToApproved(arg0: number | string | BN): NonPayableTransactionObject; allowed(arg0: string, arg1: number | string | BN): NonPayableTransactionObject; getApproved(_tokenId: number | string | BN): NonPayableTransactionObject; approve(_to: string, _tokenId: number | string | BN): NonPayableTransactionObject; totalSupply(): NonPayableTransactionObject; transfer(_to: string, _tokenId: number | string | BN): NonPayableTransactionObject; transferFrom(_from: string, _to: string, _tokenId: number | string | BN): NonPayableTransactionObject; tokenOfOwnerByIndex(_owner: string, _index: number | string | BN): NonPayableTransactionObject; "safeTransferFrom(address,address,uint256)"(_from: string, _to: string, _tokenId: number | string | BN): NonPayableTransactionObject; "safeTransferFrom(address,address,uint256,bytes)"(_from: string, _to: string, _tokenId: number | string | BN, _data: string | number[]): NonPayableTransactionObject; exists(_tokenId: number | string | BN): NonPayableTransactionObject; tokenByIndex(_index: number | string | BN): NonPayableTransactionObject; ownerOf(_tokenId: number | string | BN): NonPayableTransactionObject; balanceOf(_owner: string): NonPayableTransactionObject; symbol(): NonPayableTransactionObject; setApprovalForAll(_to: string, _approved: boolean): NonPayableTransactionObject; tokenURI(_tokenId: number | string | BN): NonPayableTransactionObject; isApprovedForAll(_owner: string, _operator: string): NonPayableTransactionObject; }; events: { Transfer(cb?: Callback): EventEmitter; Transfer(options?: EventOptions, cb?: Callback): EventEmitter; Approval(cb?: Callback): EventEmitter; Approval(options?: EventOptions, cb?: Callback): EventEmitter; ApprovalForAll(cb?: Callback): EventEmitter; ApprovalForAll(options?: EventOptions, cb?: Callback): EventEmitter; allEvents(options?: EventOptions, cb?: Callback): EventEmitter; }; once(event: "Transfer", cb: Callback): void; once(event: "Transfer", options: EventOptions, cb: Callback): void; once(event: "Approval", cb: Callback): void; once(event: "Approval", options: EventOptions, cb: Callback): void; once(event: "ApprovalForAll", cb: Callback): void; once(event: "ApprovalForAll", options: EventOptions, cb: Callback): void; }