@opensea/sdk 9.0.0 → 10.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -6
- package/lib/abi/abis.d.ts +301 -0
- package/lib/abi/abis.js +231 -0
- package/lib/abi/abis.js.map +1 -0
- package/lib/api/api.d.ts +26 -2
- package/lib/api/api.js +83 -51
- package/lib/api/api.js.map +1 -1
- package/lib/api/apiPaths.d.ts +2 -0
- package/lib/api/apiPaths.js +9 -1
- package/lib/api/apiPaths.js.map +1 -1
- package/lib/api/nfts.d.ts +13 -2
- package/lib/api/nfts.js +18 -0
- package/lib/api/nfts.js.map +1 -1
- package/lib/api/orders.js +2 -2
- package/lib/api/orders.js.map +1 -1
- package/lib/api/types.d.ts +7 -0
- package/lib/api/types.js.map +1 -1
- package/lib/constants.d.ts +2 -2
- package/lib/constants.js +7 -4
- package/lib/constants.js.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/orders/privateListings.js +2 -2
- package/lib/orders/privateListings.js.map +1 -1
- package/lib/orders/utils.js +9 -1
- package/lib/orders/utils.js.map +1 -1
- package/lib/provider/ethers-adapter.d.ts +17 -0
- package/lib/provider/ethers-adapter.js +135 -0
- package/lib/provider/ethers-adapter.js.map +1 -0
- package/lib/provider/seaport-bridge.d.ts +11 -0
- package/lib/provider/seaport-bridge.js +130 -0
- package/lib/provider/seaport-bridge.js.map +1 -0
- package/lib/provider/types.d.ts +62 -0
- package/lib/provider/types.js +7 -0
- package/lib/provider/types.js.map +1 -0
- package/lib/provider/viem-adapter.d.ts +27 -0
- package/lib/provider/viem-adapter.js +122 -0
- package/lib/provider/viem-adapter.js.map +1 -0
- package/lib/sdk/assets.d.ts +7 -23
- package/lib/sdk/assets.js +101 -77
- package/lib/sdk/assets.js.map +1 -1
- package/lib/sdk/base.d.ts +350 -0
- package/lib/sdk/base.js +325 -0
- package/lib/sdk/base.js.map +1 -0
- package/lib/sdk/cancellation.d.ts +1 -2
- package/lib/sdk/cancellation.js +4 -4
- package/lib/sdk/cancellation.js.map +1 -1
- package/lib/sdk/context.d.ts +5 -5
- package/lib/sdk/fulfillment.d.ts +20 -59
- package/lib/sdk/fulfillment.js +18 -58
- package/lib/sdk/fulfillment.js.map +1 -1
- package/lib/sdk/orders.d.ts +25 -26
- package/lib/sdk/orders.js +8 -9
- package/lib/sdk/orders.js.map +1 -1
- package/lib/sdk/tokens.d.ts +3 -3
- package/lib/sdk/tokens.js +17 -7
- package/lib/sdk/tokens.js.map +1 -1
- package/lib/sdk.d.ts +16 -550
- package/lib/sdk.js +35 -663
- package/lib/sdk.js.map +1 -1
- package/lib/types.d.ts +11 -6
- package/lib/types.js +3 -3
- package/lib/types.js.map +1 -1
- package/lib/utils/address.d.ts +12 -0
- package/lib/utils/address.js +39 -0
- package/lib/utils/address.js.map +1 -0
- package/lib/utils/chain.d.ts +1 -1
- package/lib/utils/fees.d.ts +5 -0
- package/lib/utils/fees.js +24 -6
- package/lib/utils/fees.js.map +1 -1
- package/lib/utils/protocol.js +5 -5
- package/lib/utils/protocol.js.map +1 -1
- package/lib/utils/units.d.ts +12 -0
- package/lib/utils/units.js +43 -0
- package/lib/utils/units.js.map +1 -0
- package/lib/utils/utils.d.ts +2 -10
- package/lib/utils/utils.js +2 -17
- package/lib/utils/utils.js.map +1 -1
- package/lib/viem.d.ts +44 -0
- package/lib/viem.js +114 -0
- package/lib/viem.js.map +1 -0
- package/package.json +31 -13
- package/src/abi/abis.ts +236 -0
- package/src/api/api.ts +100 -59
- package/src/api/apiPaths.ts +16 -0
- package/src/api/nfts.ts +37 -1
- package/src/api/orders.ts +2 -2
- package/src/api/types.ts +8 -0
- package/src/constants.ts +7 -3
- package/src/index.ts +8 -0
- package/src/orders/privateListings.ts +2 -2
- package/src/orders/utils.ts +8 -1
- package/src/provider/ethers-adapter.ts +182 -0
- package/src/provider/seaport-bridge.ts +163 -0
- package/src/provider/types.ts +67 -0
- package/src/provider/viem-adapter.ts +165 -0
- package/src/sdk/assets.ts +128 -158
- package/src/sdk/base.ts +577 -0
- package/src/sdk/cancellation.ts +6 -9
- package/src/sdk/context.ts +5 -5
- package/src/sdk/fulfillment.ts +34 -73
- package/src/sdk/orders.ts +44 -44
- package/src/sdk/tokens.ts +18 -18
- package/src/sdk.ts +40 -1011
- package/src/types.ts +12 -6
- package/src/utils/address.ts +40 -0
- package/src/utils/fees.ts +28 -8
- package/src/utils/protocol.ts +5 -5
- package/src/utils/units.ts +47 -0
- package/src/utils/utils.ts +2 -22
- package/src/viem.ts +125 -0
- package/lib/src/api/accounts.d.ts +0 -18
- package/lib/src/api/accounts.js +0 -30
- package/lib/src/api/accounts.js.map +0 -1
- package/lib/src/api/api.d.ts +0 -429
- package/lib/src/api/api.js +0 -652
- package/lib/src/api/api.js.map +0 -1
- package/lib/src/api/apiPaths.d.ts +0 -37
- package/lib/src/api/apiPaths.js +0 -140
- package/lib/src/api/apiPaths.js.map +0 -1
- package/lib/src/api/collections.d.ts +0 -26
- package/lib/src/api/collections.js +0 -57
- package/lib/src/api/collections.js.map +0 -1
- package/lib/src/api/events.d.ts +0 -26
- package/lib/src/api/events.js +0 -42
- package/lib/src/api/events.js.map +0 -1
- package/lib/src/api/fetcher.d.ts +0 -24
- package/lib/src/api/fetcher.js +0 -3
- package/lib/src/api/fetcher.js.map +0 -1
- package/lib/src/api/index.d.ts +0 -2
- package/lib/src/api/index.js +0 -19
- package/lib/src/api/index.js.map +0 -1
- package/lib/src/api/listings.d.ts +0 -44
- package/lib/src/api/listings.js +0 -86
- package/lib/src/api/listings.js.map +0 -1
- package/lib/src/api/nfts.d.ts +0 -35
- package/lib/src/api/nfts.js +0 -66
- package/lib/src/api/nfts.js.map +0 -1
- package/lib/src/api/offers.d.ts +0 -54
- package/lib/src/api/offers.js +0 -122
- package/lib/src/api/offers.js.map +0 -1
- package/lib/src/api/orders.d.ts +0 -50
- package/lib/src/api/orders.js +0 -151
- package/lib/src/api/orders.js.map +0 -1
- package/lib/src/api/search.d.ts +0 -13
- package/lib/src/api/search.js +0 -21
- package/lib/src/api/search.js.map +0 -1
- package/lib/src/api/tokens.d.ts +0 -25
- package/lib/src/api/tokens.js +0 -42
- package/lib/src/api/tokens.js.map +0 -1
- package/lib/src/api/types.d.ts +0 -840
- package/lib/src/api/types.js +0 -65
- package/lib/src/api/types.js.map +0 -1
- package/lib/src/constants.d.ts +0 -22
- package/lib/src/constants.js +0 -52
- package/lib/src/constants.js.map +0 -1
- package/lib/src/index.d.ts +0 -18
- package/lib/src/index.js +0 -24
- package/lib/src/index.js.map +0 -1
- package/lib/src/orders/privateListings.d.ts +0 -12
- package/lib/src/orders/privateListings.js +0 -130
- package/lib/src/orders/privateListings.js.map +0 -1
- package/lib/src/orders/types.d.ts +0 -160
- package/lib/src/orders/types.js +0 -10
- package/lib/src/orders/types.js.map +0 -1
- package/lib/src/orders/utils.d.ts +0 -89
- package/lib/src/orders/utils.js +0 -177
- package/lib/src/orders/utils.js.map +0 -1
- package/lib/src/sdk/assets.d.ts +0 -104
- package/lib/src/sdk/assets.js +0 -397
- package/lib/src/sdk/assets.js.map +0 -1
- package/lib/src/sdk/cancellation.d.ts +0 -97
- package/lib/src/sdk/cancellation.js +0 -234
- package/lib/src/sdk/cancellation.js.map +0 -1
- package/lib/src/sdk/context.d.ts +0 -28
- package/lib/src/sdk/context.js +0 -3
- package/lib/src/sdk/context.js.map +0 -1
- package/lib/src/sdk/fulfillment.d.ts +0 -153
- package/lib/src/sdk/fulfillment.js +0 -296
- package/lib/src/sdk/fulfillment.js.map +0 -1
- package/lib/src/sdk/orders.d.ts +0 -253
- package/lib/src/sdk/orders.js +0 -677
- package/lib/src/sdk/orders.js.map +0 -1
- package/lib/src/sdk/tokens.d.ts +0 -31
- package/lib/src/sdk/tokens.js +0 -64
- package/lib/src/sdk/tokens.js.map +0 -1
- package/lib/src/sdk.d.ts +0 -560
- package/lib/src/sdk.js +0 -675
- package/lib/src/sdk.js.map +0 -1
- package/lib/src/typechain/contracts/ERC1155.d.ts +0 -236
- package/lib/src/typechain/contracts/ERC1155.js +0 -3
- package/lib/src/typechain/contracts/ERC1155.js.map +0 -1
- package/lib/src/typechain/contracts/ERC20.d.ts +0 -141
- package/lib/src/typechain/contracts/ERC20.js +0 -3
- package/lib/src/typechain/contracts/ERC20.js.map +0 -1
- package/lib/src/typechain/contracts/ERC721.d.ts +0 -213
- package/lib/src/typechain/contracts/ERC721.js +0 -3
- package/lib/src/typechain/contracts/ERC721.js.map +0 -1
- package/lib/src/typechain/contracts/Multicall3.d.ts +0 -57
- package/lib/src/typechain/contracts/Multicall3.js +0 -3
- package/lib/src/typechain/contracts/Multicall3.js.map +0 -1
- package/lib/src/typechain/contracts/TransferHelper.d.ts +0 -55
- package/lib/src/typechain/contracts/TransferHelper.js +0 -3
- package/lib/src/typechain/contracts/TransferHelper.js.map +0 -1
- package/lib/src/typechain/contracts/common.d.ts +0 -50
- package/lib/src/typechain/contracts/common.js +0 -3
- package/lib/src/typechain/contracts/common.js.map +0 -1
- package/lib/src/typechain/contracts/factories/ERC1155__factory.d.ts +0 -250
- package/lib/src/typechain/contracts/factories/ERC1155__factory.js +0 -332
- package/lib/src/typechain/contracts/factories/ERC1155__factory.js.map +0 -1
- package/lib/src/typechain/contracts/factories/ERC20__factory.d.ts +0 -174
- package/lib/src/typechain/contracts/factories/ERC20__factory.js +0 -240
- package/lib/src/typechain/contracts/factories/ERC20__factory.js.map +0 -1
- package/lib/src/typechain/contracts/factories/ERC721__factory.d.ts +0 -268
- package/lib/src/typechain/contracts/factories/ERC721__factory.js +0 -351
- package/lib/src/typechain/contracts/factories/ERC721__factory.js.map +0 -1
- package/lib/src/typechain/contracts/factories/Multicall3__factory.d.ts +0 -43
- package/lib/src/typechain/contracts/factories/Multicall3__factory.js +0 -68
- package/lib/src/typechain/contracts/factories/Multicall3__factory.js.map +0 -1
- package/lib/src/typechain/contracts/factories/TransferHelper__factory.d.ts +0 -46
- package/lib/src/typechain/contracts/factories/TransferHelper__factory.js +0 -71
- package/lib/src/typechain/contracts/factories/TransferHelper__factory.js.map +0 -1
- package/lib/src/typechain/contracts/factories/index.d.ts +0 -5
- package/lib/src/typechain/contracts/factories/index.js +0 -17
- package/lib/src/typechain/contracts/factories/index.js.map +0 -1
- package/lib/src/typechain/contracts/index.d.ts +0 -11
- package/lib/src/typechain/contracts/index.js +0 -48
- package/lib/src/typechain/contracts/index.js.map +0 -1
- package/lib/src/types.d.ts +0 -387
- package/lib/src/types.js +0 -127
- package/lib/src/types.js.map +0 -1
- package/lib/src/utils/chain.d.ts +0 -60
- package/lib/src/utils/chain.js +0 -248
- package/lib/src/utils/chain.js.map +0 -1
- package/lib/src/utils/converters.d.ts +0 -37
- package/lib/src/utils/converters.js +0 -137
- package/lib/src/utils/converters.js.map +0 -1
- package/lib/src/utils/dateHelper.d.ts +0 -38
- package/lib/src/utils/dateHelper.js +0 -52
- package/lib/src/utils/dateHelper.js.map +0 -1
- package/lib/src/utils/fees.d.ts +0 -13
- package/lib/src/utils/fees.js +0 -29
- package/lib/src/utils/fees.js.map +0 -1
- package/lib/src/utils/index.d.ts +0 -2
- package/lib/src/utils/index.js +0 -19
- package/lib/src/utils/index.js.map +0 -1
- package/lib/src/utils/protocol.d.ts +0 -75
- package/lib/src/utils/protocol.js +0 -161
- package/lib/src/utils/protocol.js.map +0 -1
- package/lib/src/utils/rateLimit.d.ts +0 -34
- package/lib/src/utils/rateLimit.js +0 -97
- package/lib/src/utils/rateLimit.js.map +0 -1
- package/lib/src/utils/stringHelper.d.ts +0 -18
- package/lib/src/utils/stringHelper.js +0 -24
- package/lib/src/utils/stringHelper.js.map +0 -1
- package/lib/src/utils/utils.d.ts +0 -18
- package/lib/src/utils/utils.js +0 -45
- package/lib/src/utils/utils.js.map +0 -1
- package/lib/typechain/contracts/ERC1155.d.ts +0 -236
- package/lib/typechain/contracts/ERC1155.js +0 -3
- package/lib/typechain/contracts/ERC1155.js.map +0 -1
- package/lib/typechain/contracts/ERC20.d.ts +0 -141
- package/lib/typechain/contracts/ERC20.js +0 -3
- package/lib/typechain/contracts/ERC20.js.map +0 -1
- package/lib/typechain/contracts/ERC721.d.ts +0 -213
- package/lib/typechain/contracts/ERC721.js +0 -3
- package/lib/typechain/contracts/ERC721.js.map +0 -1
- package/lib/typechain/contracts/Multicall3.d.ts +0 -57
- package/lib/typechain/contracts/Multicall3.js +0 -3
- package/lib/typechain/contracts/Multicall3.js.map +0 -1
- package/lib/typechain/contracts/TransferHelper.d.ts +0 -55
- package/lib/typechain/contracts/TransferHelper.js +0 -3
- package/lib/typechain/contracts/TransferHelper.js.map +0 -1
- package/lib/typechain/contracts/common.d.ts +0 -50
- package/lib/typechain/contracts/common.js +0 -3
- package/lib/typechain/contracts/common.js.map +0 -1
- package/lib/typechain/contracts/factories/ERC1155__factory.d.ts +0 -250
- package/lib/typechain/contracts/factories/ERC1155__factory.js +0 -332
- package/lib/typechain/contracts/factories/ERC1155__factory.js.map +0 -1
- package/lib/typechain/contracts/factories/ERC20__factory.d.ts +0 -174
- package/lib/typechain/contracts/factories/ERC20__factory.js +0 -240
- package/lib/typechain/contracts/factories/ERC20__factory.js.map +0 -1
- package/lib/typechain/contracts/factories/ERC721__factory.d.ts +0 -268
- package/lib/typechain/contracts/factories/ERC721__factory.js +0 -351
- package/lib/typechain/contracts/factories/ERC721__factory.js.map +0 -1
- package/lib/typechain/contracts/factories/Multicall3__factory.d.ts +0 -43
- package/lib/typechain/contracts/factories/Multicall3__factory.js +0 -68
- package/lib/typechain/contracts/factories/Multicall3__factory.js.map +0 -1
- package/lib/typechain/contracts/factories/TransferHelper__factory.d.ts +0 -46
- package/lib/typechain/contracts/factories/TransferHelper__factory.js +0 -71
- package/lib/typechain/contracts/factories/TransferHelper__factory.js.map +0 -1
- package/lib/typechain/contracts/factories/index.d.ts +0 -5
- package/lib/typechain/contracts/factories/index.js +0 -17
- package/lib/typechain/contracts/factories/index.js.map +0 -1
- package/lib/typechain/contracts/index.d.ts +0 -11
- package/lib/typechain/contracts/index.js +0 -48
- package/lib/typechain/contracts/index.js.map +0 -1
- package/src/typechain/contracts/ERC1155.ts +0 -440
- package/src/typechain/contracts/ERC20.ts +0 -286
- package/src/typechain/contracts/ERC721.ts +0 -412
- package/src/typechain/contracts/Multicall3.ts +0 -117
- package/src/typechain/contracts/TransferHelper.ts +0 -122
- package/src/typechain/contracts/common.ts +0 -131
- package/src/typechain/contracts/factories/ERC1155__factory.ts +0 -331
- package/src/typechain/contracts/factories/ERC20__factory.ts +0 -239
- package/src/typechain/contracts/factories/ERC721__factory.ts +0 -350
- package/src/typechain/contracts/factories/Multicall3__factory.ts +0 -67
- package/src/typechain/contracts/factories/TransferHelper__factory.ts +0 -76
- package/src/typechain/contracts/factories/index.ts +0 -8
- package/src/typechain/contracts/index.ts +0 -14
|
@@ -1,286 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import type {
|
|
5
|
-
BaseContract,
|
|
6
|
-
BigNumberish,
|
|
7
|
-
BytesLike,
|
|
8
|
-
FunctionFragment,
|
|
9
|
-
Result,
|
|
10
|
-
Interface,
|
|
11
|
-
EventFragment,
|
|
12
|
-
AddressLike,
|
|
13
|
-
ContractRunner,
|
|
14
|
-
ContractMethod,
|
|
15
|
-
Listener,
|
|
16
|
-
} from "ethers";
|
|
17
|
-
import type {
|
|
18
|
-
TypedContractEvent,
|
|
19
|
-
TypedDeferredTopicFilter,
|
|
20
|
-
TypedEventLog,
|
|
21
|
-
TypedLogDescription,
|
|
22
|
-
TypedListener,
|
|
23
|
-
TypedContractMethod,
|
|
24
|
-
} from "./common";
|
|
25
|
-
|
|
26
|
-
export interface ERC20Interface extends Interface {
|
|
27
|
-
getFunction(
|
|
28
|
-
nameOrSignature:
|
|
29
|
-
| "name"
|
|
30
|
-
| "approve"
|
|
31
|
-
| "totalSupply"
|
|
32
|
-
| "transferFrom"
|
|
33
|
-
| "decimals"
|
|
34
|
-
| "balanceOf"
|
|
35
|
-
| "symbol"
|
|
36
|
-
| "transfer"
|
|
37
|
-
| "allowance"
|
|
38
|
-
): FunctionFragment;
|
|
39
|
-
|
|
40
|
-
getEvent(nameOrSignatureOrTopic: "Approval" | "Transfer"): EventFragment;
|
|
41
|
-
|
|
42
|
-
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
43
|
-
encodeFunctionData(
|
|
44
|
-
functionFragment: "approve",
|
|
45
|
-
values: [AddressLike, BigNumberish]
|
|
46
|
-
): string;
|
|
47
|
-
encodeFunctionData(
|
|
48
|
-
functionFragment: "totalSupply",
|
|
49
|
-
values?: undefined
|
|
50
|
-
): string;
|
|
51
|
-
encodeFunctionData(
|
|
52
|
-
functionFragment: "transferFrom",
|
|
53
|
-
values: [AddressLike, AddressLike, BigNumberish]
|
|
54
|
-
): string;
|
|
55
|
-
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
|
56
|
-
encodeFunctionData(
|
|
57
|
-
functionFragment: "balanceOf",
|
|
58
|
-
values: [AddressLike]
|
|
59
|
-
): string;
|
|
60
|
-
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
|
|
61
|
-
encodeFunctionData(
|
|
62
|
-
functionFragment: "transfer",
|
|
63
|
-
values: [AddressLike, BigNumberish]
|
|
64
|
-
): string;
|
|
65
|
-
encodeFunctionData(
|
|
66
|
-
functionFragment: "allowance",
|
|
67
|
-
values: [AddressLike, AddressLike]
|
|
68
|
-
): string;
|
|
69
|
-
|
|
70
|
-
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
71
|
-
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
72
|
-
decodeFunctionResult(
|
|
73
|
-
functionFragment: "totalSupply",
|
|
74
|
-
data: BytesLike
|
|
75
|
-
): Result;
|
|
76
|
-
decodeFunctionResult(
|
|
77
|
-
functionFragment: "transferFrom",
|
|
78
|
-
data: BytesLike
|
|
79
|
-
): Result;
|
|
80
|
-
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
|
|
81
|
-
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
82
|
-
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
|
|
83
|
-
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
|
|
84
|
-
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export namespace ApprovalEvent {
|
|
88
|
-
export type InputTuple = [
|
|
89
|
-
owner: AddressLike,
|
|
90
|
-
spender: AddressLike,
|
|
91
|
-
value: BigNumberish
|
|
92
|
-
];
|
|
93
|
-
export type OutputTuple = [owner: string, spender: string, value: bigint];
|
|
94
|
-
export interface OutputObject {
|
|
95
|
-
owner: string;
|
|
96
|
-
spender: string;
|
|
97
|
-
value: bigint;
|
|
98
|
-
}
|
|
99
|
-
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
100
|
-
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
101
|
-
export type Log = TypedEventLog<Event>;
|
|
102
|
-
export type LogDescription = TypedLogDescription<Event>;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
export namespace TransferEvent {
|
|
106
|
-
export type InputTuple = [
|
|
107
|
-
from: AddressLike,
|
|
108
|
-
to: AddressLike,
|
|
109
|
-
value: BigNumberish
|
|
110
|
-
];
|
|
111
|
-
export type OutputTuple = [from: string, to: string, value: bigint];
|
|
112
|
-
export interface OutputObject {
|
|
113
|
-
from: string;
|
|
114
|
-
to: string;
|
|
115
|
-
value: bigint;
|
|
116
|
-
}
|
|
117
|
-
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
118
|
-
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
119
|
-
export type Log = TypedEventLog<Event>;
|
|
120
|
-
export type LogDescription = TypedLogDescription<Event>;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
export interface ERC20 extends BaseContract {
|
|
124
|
-
connect(runner?: ContractRunner | null): ERC20;
|
|
125
|
-
waitForDeployment(): Promise<this>;
|
|
126
|
-
|
|
127
|
-
interface: ERC20Interface;
|
|
128
|
-
|
|
129
|
-
queryFilter<TCEvent extends TypedContractEvent>(
|
|
130
|
-
event: TCEvent,
|
|
131
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
132
|
-
toBlock?: string | number | undefined
|
|
133
|
-
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
134
|
-
queryFilter<TCEvent extends TypedContractEvent>(
|
|
135
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
136
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
137
|
-
toBlock?: string | number | undefined
|
|
138
|
-
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
139
|
-
|
|
140
|
-
on<TCEvent extends TypedContractEvent>(
|
|
141
|
-
event: TCEvent,
|
|
142
|
-
listener: TypedListener<TCEvent>
|
|
143
|
-
): Promise<this>;
|
|
144
|
-
on<TCEvent extends TypedContractEvent>(
|
|
145
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
146
|
-
listener: TypedListener<TCEvent>
|
|
147
|
-
): Promise<this>;
|
|
148
|
-
|
|
149
|
-
once<TCEvent extends TypedContractEvent>(
|
|
150
|
-
event: TCEvent,
|
|
151
|
-
listener: TypedListener<TCEvent>
|
|
152
|
-
): Promise<this>;
|
|
153
|
-
once<TCEvent extends TypedContractEvent>(
|
|
154
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
155
|
-
listener: TypedListener<TCEvent>
|
|
156
|
-
): Promise<this>;
|
|
157
|
-
|
|
158
|
-
listeners<TCEvent extends TypedContractEvent>(
|
|
159
|
-
event: TCEvent
|
|
160
|
-
): Promise<Array<TypedListener<TCEvent>>>;
|
|
161
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
162
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
163
|
-
event?: TCEvent
|
|
164
|
-
): Promise<this>;
|
|
165
|
-
|
|
166
|
-
name: TypedContractMethod<[], [string], "view">;
|
|
167
|
-
|
|
168
|
-
approve: TypedContractMethod<
|
|
169
|
-
[_spender: AddressLike, _value: BigNumberish],
|
|
170
|
-
[boolean],
|
|
171
|
-
"nonpayable"
|
|
172
|
-
>;
|
|
173
|
-
|
|
174
|
-
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
175
|
-
|
|
176
|
-
transferFrom: TypedContractMethod<
|
|
177
|
-
[_from: AddressLike, _to: AddressLike, _value: BigNumberish],
|
|
178
|
-
[boolean],
|
|
179
|
-
"nonpayable"
|
|
180
|
-
>;
|
|
181
|
-
|
|
182
|
-
decimals: TypedContractMethod<[], [bigint], "view">;
|
|
183
|
-
|
|
184
|
-
balanceOf: TypedContractMethod<[_owner: AddressLike], [bigint], "view">;
|
|
185
|
-
|
|
186
|
-
symbol: TypedContractMethod<[], [string], "view">;
|
|
187
|
-
|
|
188
|
-
transfer: TypedContractMethod<
|
|
189
|
-
[_to: AddressLike, _value: BigNumberish],
|
|
190
|
-
[boolean],
|
|
191
|
-
"nonpayable"
|
|
192
|
-
>;
|
|
193
|
-
|
|
194
|
-
allowance: TypedContractMethod<
|
|
195
|
-
[_owner: AddressLike, _spender: AddressLike],
|
|
196
|
-
[bigint],
|
|
197
|
-
"view"
|
|
198
|
-
>;
|
|
199
|
-
|
|
200
|
-
getFunction<T extends ContractMethod = ContractMethod>(
|
|
201
|
-
key: string | FunctionFragment
|
|
202
|
-
): T;
|
|
203
|
-
|
|
204
|
-
getFunction(
|
|
205
|
-
nameOrSignature: "name"
|
|
206
|
-
): TypedContractMethod<[], [string], "view">;
|
|
207
|
-
getFunction(
|
|
208
|
-
nameOrSignature: "approve"
|
|
209
|
-
): TypedContractMethod<
|
|
210
|
-
[_spender: AddressLike, _value: BigNumberish],
|
|
211
|
-
[boolean],
|
|
212
|
-
"nonpayable"
|
|
213
|
-
>;
|
|
214
|
-
getFunction(
|
|
215
|
-
nameOrSignature: "totalSupply"
|
|
216
|
-
): TypedContractMethod<[], [bigint], "view">;
|
|
217
|
-
getFunction(
|
|
218
|
-
nameOrSignature: "transferFrom"
|
|
219
|
-
): TypedContractMethod<
|
|
220
|
-
[_from: AddressLike, _to: AddressLike, _value: BigNumberish],
|
|
221
|
-
[boolean],
|
|
222
|
-
"nonpayable"
|
|
223
|
-
>;
|
|
224
|
-
getFunction(
|
|
225
|
-
nameOrSignature: "decimals"
|
|
226
|
-
): TypedContractMethod<[], [bigint], "view">;
|
|
227
|
-
getFunction(
|
|
228
|
-
nameOrSignature: "balanceOf"
|
|
229
|
-
): TypedContractMethod<[_owner: AddressLike], [bigint], "view">;
|
|
230
|
-
getFunction(
|
|
231
|
-
nameOrSignature: "symbol"
|
|
232
|
-
): TypedContractMethod<[], [string], "view">;
|
|
233
|
-
getFunction(
|
|
234
|
-
nameOrSignature: "transfer"
|
|
235
|
-
): TypedContractMethod<
|
|
236
|
-
[_to: AddressLike, _value: BigNumberish],
|
|
237
|
-
[boolean],
|
|
238
|
-
"nonpayable"
|
|
239
|
-
>;
|
|
240
|
-
getFunction(
|
|
241
|
-
nameOrSignature: "allowance"
|
|
242
|
-
): TypedContractMethod<
|
|
243
|
-
[_owner: AddressLike, _spender: AddressLike],
|
|
244
|
-
[bigint],
|
|
245
|
-
"view"
|
|
246
|
-
>;
|
|
247
|
-
|
|
248
|
-
getEvent(
|
|
249
|
-
key: "Approval"
|
|
250
|
-
): TypedContractEvent<
|
|
251
|
-
ApprovalEvent.InputTuple,
|
|
252
|
-
ApprovalEvent.OutputTuple,
|
|
253
|
-
ApprovalEvent.OutputObject
|
|
254
|
-
>;
|
|
255
|
-
getEvent(
|
|
256
|
-
key: "Transfer"
|
|
257
|
-
): TypedContractEvent<
|
|
258
|
-
TransferEvent.InputTuple,
|
|
259
|
-
TransferEvent.OutputTuple,
|
|
260
|
-
TransferEvent.OutputObject
|
|
261
|
-
>;
|
|
262
|
-
|
|
263
|
-
filters: {
|
|
264
|
-
"Approval(address,address,uint256)": TypedContractEvent<
|
|
265
|
-
ApprovalEvent.InputTuple,
|
|
266
|
-
ApprovalEvent.OutputTuple,
|
|
267
|
-
ApprovalEvent.OutputObject
|
|
268
|
-
>;
|
|
269
|
-
Approval: TypedContractEvent<
|
|
270
|
-
ApprovalEvent.InputTuple,
|
|
271
|
-
ApprovalEvent.OutputTuple,
|
|
272
|
-
ApprovalEvent.OutputObject
|
|
273
|
-
>;
|
|
274
|
-
|
|
275
|
-
"Transfer(address,address,uint256)": TypedContractEvent<
|
|
276
|
-
TransferEvent.InputTuple,
|
|
277
|
-
TransferEvent.OutputTuple,
|
|
278
|
-
TransferEvent.OutputObject
|
|
279
|
-
>;
|
|
280
|
-
Transfer: TypedContractEvent<
|
|
281
|
-
TransferEvent.InputTuple,
|
|
282
|
-
TransferEvent.OutputTuple,
|
|
283
|
-
TransferEvent.OutputObject
|
|
284
|
-
>;
|
|
285
|
-
};
|
|
286
|
-
}
|
|
@@ -1,412 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import type {
|
|
5
|
-
BaseContract,
|
|
6
|
-
BigNumberish,
|
|
7
|
-
BytesLike,
|
|
8
|
-
FunctionFragment,
|
|
9
|
-
Result,
|
|
10
|
-
Interface,
|
|
11
|
-
EventFragment,
|
|
12
|
-
AddressLike,
|
|
13
|
-
ContractRunner,
|
|
14
|
-
ContractMethod,
|
|
15
|
-
Listener,
|
|
16
|
-
} from "ethers";
|
|
17
|
-
import type {
|
|
18
|
-
TypedContractEvent,
|
|
19
|
-
TypedDeferredTopicFilter,
|
|
20
|
-
TypedEventLog,
|
|
21
|
-
TypedLogDescription,
|
|
22
|
-
TypedListener,
|
|
23
|
-
TypedContractMethod,
|
|
24
|
-
} from "./common";
|
|
25
|
-
|
|
26
|
-
export interface ERC721Interface extends Interface {
|
|
27
|
-
getFunction(
|
|
28
|
-
nameOrSignature:
|
|
29
|
-
| "approve"
|
|
30
|
-
| "mint"
|
|
31
|
-
| "safeTransferFrom(address,address,uint256)"
|
|
32
|
-
| "safeTransferFrom(address,address,uint256,bytes)"
|
|
33
|
-
| "setApprovalForAll"
|
|
34
|
-
| "transferFrom"
|
|
35
|
-
| "balanceOf"
|
|
36
|
-
| "getApproved"
|
|
37
|
-
| "isApprovedForAll"
|
|
38
|
-
| "ownerOf"
|
|
39
|
-
| "supportsInterface"
|
|
40
|
-
): FunctionFragment;
|
|
41
|
-
|
|
42
|
-
getEvent(
|
|
43
|
-
nameOrSignatureOrTopic: "Transfer" | "Approval" | "ApprovalForAll"
|
|
44
|
-
): EventFragment;
|
|
45
|
-
|
|
46
|
-
encodeFunctionData(
|
|
47
|
-
functionFragment: "approve",
|
|
48
|
-
values: [AddressLike, BigNumberish]
|
|
49
|
-
): string;
|
|
50
|
-
encodeFunctionData(
|
|
51
|
-
functionFragment: "mint",
|
|
52
|
-
values: [AddressLike, BigNumberish]
|
|
53
|
-
): string;
|
|
54
|
-
encodeFunctionData(
|
|
55
|
-
functionFragment: "safeTransferFrom(address,address,uint256)",
|
|
56
|
-
values: [AddressLike, AddressLike, BigNumberish]
|
|
57
|
-
): string;
|
|
58
|
-
encodeFunctionData(
|
|
59
|
-
functionFragment: "safeTransferFrom(address,address,uint256,bytes)",
|
|
60
|
-
values: [AddressLike, AddressLike, BigNumberish, BytesLike]
|
|
61
|
-
): string;
|
|
62
|
-
encodeFunctionData(
|
|
63
|
-
functionFragment: "setApprovalForAll",
|
|
64
|
-
values: [AddressLike, boolean]
|
|
65
|
-
): string;
|
|
66
|
-
encodeFunctionData(
|
|
67
|
-
functionFragment: "transferFrom",
|
|
68
|
-
values: [AddressLike, AddressLike, BigNumberish]
|
|
69
|
-
): string;
|
|
70
|
-
encodeFunctionData(
|
|
71
|
-
functionFragment: "balanceOf",
|
|
72
|
-
values: [AddressLike]
|
|
73
|
-
): string;
|
|
74
|
-
encodeFunctionData(
|
|
75
|
-
functionFragment: "getApproved",
|
|
76
|
-
values: [BigNumberish]
|
|
77
|
-
): string;
|
|
78
|
-
encodeFunctionData(
|
|
79
|
-
functionFragment: "isApprovedForAll",
|
|
80
|
-
values: [AddressLike, AddressLike]
|
|
81
|
-
): string;
|
|
82
|
-
encodeFunctionData(
|
|
83
|
-
functionFragment: "ownerOf",
|
|
84
|
-
values: [BigNumberish]
|
|
85
|
-
): string;
|
|
86
|
-
encodeFunctionData(
|
|
87
|
-
functionFragment: "supportsInterface",
|
|
88
|
-
values: [BytesLike]
|
|
89
|
-
): string;
|
|
90
|
-
|
|
91
|
-
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
92
|
-
decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
|
|
93
|
-
decodeFunctionResult(
|
|
94
|
-
functionFragment: "safeTransferFrom(address,address,uint256)",
|
|
95
|
-
data: BytesLike
|
|
96
|
-
): Result;
|
|
97
|
-
decodeFunctionResult(
|
|
98
|
-
functionFragment: "safeTransferFrom(address,address,uint256,bytes)",
|
|
99
|
-
data: BytesLike
|
|
100
|
-
): Result;
|
|
101
|
-
decodeFunctionResult(
|
|
102
|
-
functionFragment: "setApprovalForAll",
|
|
103
|
-
data: BytesLike
|
|
104
|
-
): Result;
|
|
105
|
-
decodeFunctionResult(
|
|
106
|
-
functionFragment: "transferFrom",
|
|
107
|
-
data: BytesLike
|
|
108
|
-
): Result;
|
|
109
|
-
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
110
|
-
decodeFunctionResult(
|
|
111
|
-
functionFragment: "getApproved",
|
|
112
|
-
data: BytesLike
|
|
113
|
-
): Result;
|
|
114
|
-
decodeFunctionResult(
|
|
115
|
-
functionFragment: "isApprovedForAll",
|
|
116
|
-
data: BytesLike
|
|
117
|
-
): Result;
|
|
118
|
-
decodeFunctionResult(functionFragment: "ownerOf", data: BytesLike): Result;
|
|
119
|
-
decodeFunctionResult(
|
|
120
|
-
functionFragment: "supportsInterface",
|
|
121
|
-
data: BytesLike
|
|
122
|
-
): Result;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
export namespace TransferEvent {
|
|
126
|
-
export type InputTuple = [
|
|
127
|
-
from: AddressLike,
|
|
128
|
-
to: AddressLike,
|
|
129
|
-
tokenId: BigNumberish
|
|
130
|
-
];
|
|
131
|
-
export type OutputTuple = [from: string, to: string, tokenId: bigint];
|
|
132
|
-
export interface OutputObject {
|
|
133
|
-
from: string;
|
|
134
|
-
to: string;
|
|
135
|
-
tokenId: bigint;
|
|
136
|
-
}
|
|
137
|
-
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
138
|
-
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
139
|
-
export type Log = TypedEventLog<Event>;
|
|
140
|
-
export type LogDescription = TypedLogDescription<Event>;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
export namespace ApprovalEvent {
|
|
144
|
-
export type InputTuple = [
|
|
145
|
-
owner: AddressLike,
|
|
146
|
-
approved: AddressLike,
|
|
147
|
-
tokenId: BigNumberish
|
|
148
|
-
];
|
|
149
|
-
export type OutputTuple = [owner: string, approved: string, tokenId: bigint];
|
|
150
|
-
export interface OutputObject {
|
|
151
|
-
owner: string;
|
|
152
|
-
approved: string;
|
|
153
|
-
tokenId: bigint;
|
|
154
|
-
}
|
|
155
|
-
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
156
|
-
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
157
|
-
export type Log = TypedEventLog<Event>;
|
|
158
|
-
export type LogDescription = TypedLogDescription<Event>;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
export namespace ApprovalForAllEvent {
|
|
162
|
-
export type InputTuple = [
|
|
163
|
-
owner: AddressLike,
|
|
164
|
-
operator: AddressLike,
|
|
165
|
-
approved: boolean
|
|
166
|
-
];
|
|
167
|
-
export type OutputTuple = [
|
|
168
|
-
owner: string,
|
|
169
|
-
operator: string,
|
|
170
|
-
approved: boolean
|
|
171
|
-
];
|
|
172
|
-
export interface OutputObject {
|
|
173
|
-
owner: string;
|
|
174
|
-
operator: string;
|
|
175
|
-
approved: boolean;
|
|
176
|
-
}
|
|
177
|
-
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
178
|
-
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
179
|
-
export type Log = TypedEventLog<Event>;
|
|
180
|
-
export type LogDescription = TypedLogDescription<Event>;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
export interface ERC721 extends BaseContract {
|
|
184
|
-
connect(runner?: ContractRunner | null): ERC721;
|
|
185
|
-
waitForDeployment(): Promise<this>;
|
|
186
|
-
|
|
187
|
-
interface: ERC721Interface;
|
|
188
|
-
|
|
189
|
-
queryFilter<TCEvent extends TypedContractEvent>(
|
|
190
|
-
event: TCEvent,
|
|
191
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
192
|
-
toBlock?: string | number | undefined
|
|
193
|
-
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
194
|
-
queryFilter<TCEvent extends TypedContractEvent>(
|
|
195
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
196
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
197
|
-
toBlock?: string | number | undefined
|
|
198
|
-
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
199
|
-
|
|
200
|
-
on<TCEvent extends TypedContractEvent>(
|
|
201
|
-
event: TCEvent,
|
|
202
|
-
listener: TypedListener<TCEvent>
|
|
203
|
-
): Promise<this>;
|
|
204
|
-
on<TCEvent extends TypedContractEvent>(
|
|
205
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
206
|
-
listener: TypedListener<TCEvent>
|
|
207
|
-
): Promise<this>;
|
|
208
|
-
|
|
209
|
-
once<TCEvent extends TypedContractEvent>(
|
|
210
|
-
event: TCEvent,
|
|
211
|
-
listener: TypedListener<TCEvent>
|
|
212
|
-
): Promise<this>;
|
|
213
|
-
once<TCEvent extends TypedContractEvent>(
|
|
214
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
215
|
-
listener: TypedListener<TCEvent>
|
|
216
|
-
): Promise<this>;
|
|
217
|
-
|
|
218
|
-
listeners<TCEvent extends TypedContractEvent>(
|
|
219
|
-
event: TCEvent
|
|
220
|
-
): Promise<Array<TypedListener<TCEvent>>>;
|
|
221
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
222
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
223
|
-
event?: TCEvent
|
|
224
|
-
): Promise<this>;
|
|
225
|
-
|
|
226
|
-
approve: TypedContractMethod<
|
|
227
|
-
[to: AddressLike, tokenId: BigNumberish],
|
|
228
|
-
[void],
|
|
229
|
-
"nonpayable"
|
|
230
|
-
>;
|
|
231
|
-
|
|
232
|
-
mint: TypedContractMethod<
|
|
233
|
-
[to: AddressLike, tokenId: BigNumberish],
|
|
234
|
-
[void],
|
|
235
|
-
"nonpayable"
|
|
236
|
-
>;
|
|
237
|
-
|
|
238
|
-
"safeTransferFrom(address,address,uint256)": TypedContractMethod<
|
|
239
|
-
[from: AddressLike, to: AddressLike, tokenId: BigNumberish],
|
|
240
|
-
[void],
|
|
241
|
-
"nonpayable"
|
|
242
|
-
>;
|
|
243
|
-
|
|
244
|
-
"safeTransferFrom(address,address,uint256,bytes)": TypedContractMethod<
|
|
245
|
-
[
|
|
246
|
-
from: AddressLike,
|
|
247
|
-
to: AddressLike,
|
|
248
|
-
tokenId: BigNumberish,
|
|
249
|
-
_data: BytesLike
|
|
250
|
-
],
|
|
251
|
-
[void],
|
|
252
|
-
"nonpayable"
|
|
253
|
-
>;
|
|
254
|
-
|
|
255
|
-
setApprovalForAll: TypedContractMethod<
|
|
256
|
-
[to: AddressLike, approved: boolean],
|
|
257
|
-
[void],
|
|
258
|
-
"nonpayable"
|
|
259
|
-
>;
|
|
260
|
-
|
|
261
|
-
transferFrom: TypedContractMethod<
|
|
262
|
-
[from: AddressLike, to: AddressLike, tokenId: BigNumberish],
|
|
263
|
-
[void],
|
|
264
|
-
"nonpayable"
|
|
265
|
-
>;
|
|
266
|
-
|
|
267
|
-
balanceOf: TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
|
268
|
-
|
|
269
|
-
getApproved: TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
|
270
|
-
|
|
271
|
-
isApprovedForAll: TypedContractMethod<
|
|
272
|
-
[owner: AddressLike, operator: AddressLike],
|
|
273
|
-
[boolean],
|
|
274
|
-
"view"
|
|
275
|
-
>;
|
|
276
|
-
|
|
277
|
-
ownerOf: TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
|
278
|
-
|
|
279
|
-
supportsInterface: TypedContractMethod<
|
|
280
|
-
[interfaceId: BytesLike],
|
|
281
|
-
[boolean],
|
|
282
|
-
"view"
|
|
283
|
-
>;
|
|
284
|
-
|
|
285
|
-
getFunction<T extends ContractMethod = ContractMethod>(
|
|
286
|
-
key: string | FunctionFragment
|
|
287
|
-
): T;
|
|
288
|
-
|
|
289
|
-
getFunction(
|
|
290
|
-
nameOrSignature: "approve"
|
|
291
|
-
): TypedContractMethod<
|
|
292
|
-
[to: AddressLike, tokenId: BigNumberish],
|
|
293
|
-
[void],
|
|
294
|
-
"nonpayable"
|
|
295
|
-
>;
|
|
296
|
-
getFunction(
|
|
297
|
-
nameOrSignature: "mint"
|
|
298
|
-
): TypedContractMethod<
|
|
299
|
-
[to: AddressLike, tokenId: BigNumberish],
|
|
300
|
-
[void],
|
|
301
|
-
"nonpayable"
|
|
302
|
-
>;
|
|
303
|
-
getFunction(
|
|
304
|
-
nameOrSignature: "safeTransferFrom(address,address,uint256)"
|
|
305
|
-
): TypedContractMethod<
|
|
306
|
-
[from: AddressLike, to: AddressLike, tokenId: BigNumberish],
|
|
307
|
-
[void],
|
|
308
|
-
"nonpayable"
|
|
309
|
-
>;
|
|
310
|
-
getFunction(
|
|
311
|
-
nameOrSignature: "safeTransferFrom(address,address,uint256,bytes)"
|
|
312
|
-
): TypedContractMethod<
|
|
313
|
-
[
|
|
314
|
-
from: AddressLike,
|
|
315
|
-
to: AddressLike,
|
|
316
|
-
tokenId: BigNumberish,
|
|
317
|
-
_data: BytesLike
|
|
318
|
-
],
|
|
319
|
-
[void],
|
|
320
|
-
"nonpayable"
|
|
321
|
-
>;
|
|
322
|
-
getFunction(
|
|
323
|
-
nameOrSignature: "setApprovalForAll"
|
|
324
|
-
): TypedContractMethod<
|
|
325
|
-
[to: AddressLike, approved: boolean],
|
|
326
|
-
[void],
|
|
327
|
-
"nonpayable"
|
|
328
|
-
>;
|
|
329
|
-
getFunction(
|
|
330
|
-
nameOrSignature: "transferFrom"
|
|
331
|
-
): TypedContractMethod<
|
|
332
|
-
[from: AddressLike, to: AddressLike, tokenId: BigNumberish],
|
|
333
|
-
[void],
|
|
334
|
-
"nonpayable"
|
|
335
|
-
>;
|
|
336
|
-
getFunction(
|
|
337
|
-
nameOrSignature: "balanceOf"
|
|
338
|
-
): TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
|
339
|
-
getFunction(
|
|
340
|
-
nameOrSignature: "getApproved"
|
|
341
|
-
): TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
|
342
|
-
getFunction(
|
|
343
|
-
nameOrSignature: "isApprovedForAll"
|
|
344
|
-
): TypedContractMethod<
|
|
345
|
-
[owner: AddressLike, operator: AddressLike],
|
|
346
|
-
[boolean],
|
|
347
|
-
"view"
|
|
348
|
-
>;
|
|
349
|
-
getFunction(
|
|
350
|
-
nameOrSignature: "ownerOf"
|
|
351
|
-
): TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
|
352
|
-
getFunction(
|
|
353
|
-
nameOrSignature: "supportsInterface"
|
|
354
|
-
): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
355
|
-
|
|
356
|
-
getEvent(
|
|
357
|
-
key: "Transfer"
|
|
358
|
-
): TypedContractEvent<
|
|
359
|
-
TransferEvent.InputTuple,
|
|
360
|
-
TransferEvent.OutputTuple,
|
|
361
|
-
TransferEvent.OutputObject
|
|
362
|
-
>;
|
|
363
|
-
getEvent(
|
|
364
|
-
key: "Approval"
|
|
365
|
-
): TypedContractEvent<
|
|
366
|
-
ApprovalEvent.InputTuple,
|
|
367
|
-
ApprovalEvent.OutputTuple,
|
|
368
|
-
ApprovalEvent.OutputObject
|
|
369
|
-
>;
|
|
370
|
-
getEvent(
|
|
371
|
-
key: "ApprovalForAll"
|
|
372
|
-
): TypedContractEvent<
|
|
373
|
-
ApprovalForAllEvent.InputTuple,
|
|
374
|
-
ApprovalForAllEvent.OutputTuple,
|
|
375
|
-
ApprovalForAllEvent.OutputObject
|
|
376
|
-
>;
|
|
377
|
-
|
|
378
|
-
filters: {
|
|
379
|
-
"Transfer(address,address,uint256)": TypedContractEvent<
|
|
380
|
-
TransferEvent.InputTuple,
|
|
381
|
-
TransferEvent.OutputTuple,
|
|
382
|
-
TransferEvent.OutputObject
|
|
383
|
-
>;
|
|
384
|
-
Transfer: TypedContractEvent<
|
|
385
|
-
TransferEvent.InputTuple,
|
|
386
|
-
TransferEvent.OutputTuple,
|
|
387
|
-
TransferEvent.OutputObject
|
|
388
|
-
>;
|
|
389
|
-
|
|
390
|
-
"Approval(address,address,uint256)": TypedContractEvent<
|
|
391
|
-
ApprovalEvent.InputTuple,
|
|
392
|
-
ApprovalEvent.OutputTuple,
|
|
393
|
-
ApprovalEvent.OutputObject
|
|
394
|
-
>;
|
|
395
|
-
Approval: TypedContractEvent<
|
|
396
|
-
ApprovalEvent.InputTuple,
|
|
397
|
-
ApprovalEvent.OutputTuple,
|
|
398
|
-
ApprovalEvent.OutputObject
|
|
399
|
-
>;
|
|
400
|
-
|
|
401
|
-
"ApprovalForAll(address,address,bool)": TypedContractEvent<
|
|
402
|
-
ApprovalForAllEvent.InputTuple,
|
|
403
|
-
ApprovalForAllEvent.OutputTuple,
|
|
404
|
-
ApprovalForAllEvent.OutputObject
|
|
405
|
-
>;
|
|
406
|
-
ApprovalForAll: TypedContractEvent<
|
|
407
|
-
ApprovalForAllEvent.InputTuple,
|
|
408
|
-
ApprovalForAllEvent.OutputTuple,
|
|
409
|
-
ApprovalForAllEvent.OutputObject
|
|
410
|
-
>;
|
|
411
|
-
};
|
|
412
|
-
}
|