-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
555 additions
and
0 deletions.
There are no files selected for viewing
55 changes: 55 additions & 0 deletions
55
typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* Autogenerated file. Do not edit manually. */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
import type { BaseContract, Signer, utils } from "ethers"; | ||
|
||
import type { Listener, Provider } from "@ethersproject/providers"; | ||
import type { | ||
TypedEventFilter, | ||
TypedEvent, | ||
TypedListener, | ||
OnEvent, | ||
} from "../../../../common"; | ||
|
||
export interface IERC1155ErrorsInterface extends utils.Interface { | ||
functions: {}; | ||
|
||
events: {}; | ||
} | ||
|
||
export interface IERC1155Errors extends BaseContract { | ||
connect(signerOrProvider: Signer | Provider | string): this; | ||
attach(addressOrName: string): this; | ||
deployed(): Promise<this>; | ||
|
||
interface: IERC1155ErrorsInterface; | ||
|
||
queryFilter<TEvent extends TypedEvent>( | ||
event: TypedEventFilter<TEvent>, | ||
fromBlockOrBlockhash?: string | number | undefined, | ||
toBlock?: string | number | undefined | ||
): Promise<Array<TEvent>>; | ||
|
||
listeners<TEvent extends TypedEvent>( | ||
eventFilter?: TypedEventFilter<TEvent> | ||
): Array<TypedListener<TEvent>>; | ||
listeners(eventName?: string): Array<Listener>; | ||
removeAllListeners<TEvent extends TypedEvent>( | ||
eventFilter: TypedEventFilter<TEvent> | ||
): this; | ||
removeAllListeners(eventName?: string): this; | ||
off: OnEvent<this>; | ||
on: OnEvent<this>; | ||
once: OnEvent<this>; | ||
removeListener: OnEvent<this>; | ||
|
||
functions: {}; | ||
|
||
callStatic: {}; | ||
|
||
filters: {}; | ||
|
||
estimateGas: {}; | ||
|
||
populateTransaction: {}; | ||
} |
55 changes: 55 additions & 0 deletions
55
typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* Autogenerated file. Do not edit manually. */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
import type { BaseContract, Signer, utils } from "ethers"; | ||
|
||
import type { Listener, Provider } from "@ethersproject/providers"; | ||
import type { | ||
TypedEventFilter, | ||
TypedEvent, | ||
TypedListener, | ||
OnEvent, | ||
} from "../../../../common"; | ||
|
||
export interface IERC20ErrorsInterface extends utils.Interface { | ||
functions: {}; | ||
|
||
events: {}; | ||
} | ||
|
||
export interface IERC20Errors extends BaseContract { | ||
connect(signerOrProvider: Signer | Provider | string): this; | ||
attach(addressOrName: string): this; | ||
deployed(): Promise<this>; | ||
|
||
interface: IERC20ErrorsInterface; | ||
|
||
queryFilter<TEvent extends TypedEvent>( | ||
event: TypedEventFilter<TEvent>, | ||
fromBlockOrBlockhash?: string | number | undefined, | ||
toBlock?: string | number | undefined | ||
): Promise<Array<TEvent>>; | ||
|
||
listeners<TEvent extends TypedEvent>( | ||
eventFilter?: TypedEventFilter<TEvent> | ||
): Array<TypedListener<TEvent>>; | ||
listeners(eventName?: string): Array<Listener>; | ||
removeAllListeners<TEvent extends TypedEvent>( | ||
eventFilter: TypedEventFilter<TEvent> | ||
): this; | ||
removeAllListeners(eventName?: string): this; | ||
off: OnEvent<this>; | ||
on: OnEvent<this>; | ||
once: OnEvent<this>; | ||
removeListener: OnEvent<this>; | ||
|
||
functions: {}; | ||
|
||
callStatic: {}; | ||
|
||
filters: {}; | ||
|
||
estimateGas: {}; | ||
|
||
populateTransaction: {}; | ||
} |
55 changes: 55 additions & 0 deletions
55
typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* Autogenerated file. Do not edit manually. */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
import type { BaseContract, Signer, utils } from "ethers"; | ||
|
||
import type { Listener, Provider } from "@ethersproject/providers"; | ||
import type { | ||
TypedEventFilter, | ||
TypedEvent, | ||
TypedListener, | ||
OnEvent, | ||
} from "../../../../common"; | ||
|
||
export interface IERC721ErrorsInterface extends utils.Interface { | ||
functions: {}; | ||
|
||
events: {}; | ||
} | ||
|
||
export interface IERC721Errors extends BaseContract { | ||
connect(signerOrProvider: Signer | Provider | string): this; | ||
attach(addressOrName: string): this; | ||
deployed(): Promise<this>; | ||
|
||
interface: IERC721ErrorsInterface; | ||
|
||
queryFilter<TEvent extends TypedEvent>( | ||
event: TypedEventFilter<TEvent>, | ||
fromBlockOrBlockhash?: string | number | undefined, | ||
toBlock?: string | number | undefined | ||
): Promise<Array<TEvent>>; | ||
|
||
listeners<TEvent extends TypedEvent>( | ||
eventFilter?: TypedEventFilter<TEvent> | ||
): Array<TypedListener<TEvent>>; | ||
listeners(eventName?: string): Array<Listener>; | ||
removeAllListeners<TEvent extends TypedEvent>( | ||
eventFilter: TypedEventFilter<TEvent> | ||
): this; | ||
removeAllListeners(eventName?: string): this; | ||
off: OnEvent<this>; | ||
on: OnEvent<this>; | ||
once: OnEvent<this>; | ||
removeListener: OnEvent<this>; | ||
|
||
functions: {}; | ||
|
||
callStatic: {}; | ||
|
||
filters: {}; | ||
|
||
estimateGas: {}; | ||
|
||
populateTransaction: {}; | ||
} |
6 changes: 6 additions & 0 deletions
6
typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/* Autogenerated file. Do not edit manually. */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
export type { IERC1155Errors } from "./IERC1155Errors"; | ||
export type { IERC20Errors } from "./IERC20Errors"; | ||
export type { IERC721Errors } from "./IERC721Errors"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/* Autogenerated file. Do not edit manually. */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
import type * as draftIerc6093Sol from "./draft-IERC6093.sol"; | ||
export type { draftIerc6093Sol }; |
128 changes: 128 additions & 0 deletions
128
...actories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors__factory.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
/* Autogenerated file. Do not edit manually. */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
import { Contract, Signer, utils } from "ethers"; | ||
import type { Provider } from "@ethersproject/providers"; | ||
import type { | ||
IERC1155Errors, | ||
IERC1155ErrorsInterface, | ||
} from "../../../../../@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors"; | ||
|
||
const _abi = [ | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "address", | ||
name: "sender", | ||
type: "address", | ||
}, | ||
{ | ||
internalType: "uint256", | ||
name: "balance", | ||
type: "uint256", | ||
}, | ||
{ | ||
internalType: "uint256", | ||
name: "needed", | ||
type: "uint256", | ||
}, | ||
{ | ||
internalType: "uint256", | ||
name: "tokenId", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "ERC1155InsufficientBalance", | ||
type: "error", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "address", | ||
name: "approver", | ||
type: "address", | ||
}, | ||
], | ||
name: "ERC1155InvalidApprover", | ||
type: "error", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "uint256", | ||
name: "idsLength", | ||
type: "uint256", | ||
}, | ||
{ | ||
internalType: "uint256", | ||
name: "valuesLength", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "ERC1155InvalidArrayLength", | ||
type: "error", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "address", | ||
name: "operator", | ||
type: "address", | ||
}, | ||
], | ||
name: "ERC1155InvalidOperator", | ||
type: "error", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "address", | ||
name: "receiver", | ||
type: "address", | ||
}, | ||
], | ||
name: "ERC1155InvalidReceiver", | ||
type: "error", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "address", | ||
name: "sender", | ||
type: "address", | ||
}, | ||
], | ||
name: "ERC1155InvalidSender", | ||
type: "error", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "address", | ||
name: "operator", | ||
type: "address", | ||
}, | ||
{ | ||
internalType: "address", | ||
name: "owner", | ||
type: "address", | ||
}, | ||
], | ||
name: "ERC1155MissingApprovalForAll", | ||
type: "error", | ||
}, | ||
] as const; | ||
|
||
export class IERC1155Errors__factory { | ||
static readonly abi = _abi; | ||
static createInterface(): IERC1155ErrorsInterface { | ||
return new utils.Interface(_abi) as IERC1155ErrorsInterface; | ||
} | ||
static connect( | ||
address: string, | ||
signerOrProvider: Signer | Provider | ||
): IERC1155Errors { | ||
return new Contract(address, _abi, signerOrProvider) as IERC1155Errors; | ||
} | ||
} |
Oops, something went wrong.