@opensea/sdk 9.0.0 → 10.0.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.
Files changed (300) hide show
  1. package/README.md +25 -4
  2. package/lib/abi/abis.d.ts +301 -0
  3. package/lib/abi/abis.js +231 -0
  4. package/lib/abi/abis.js.map +1 -0
  5. package/lib/api/api.d.ts +6 -1
  6. package/lib/api/api.js +60 -51
  7. package/lib/api/api.js.map +1 -1
  8. package/lib/api/orders.js +2 -2
  9. package/lib/api/orders.js.map +1 -1
  10. package/lib/constants.d.ts +2 -2
  11. package/lib/constants.js +7 -4
  12. package/lib/constants.js.map +1 -1
  13. package/lib/index.d.ts +2 -0
  14. package/lib/index.js +1 -0
  15. package/lib/index.js.map +1 -1
  16. package/lib/orders/privateListings.js +2 -2
  17. package/lib/orders/privateListings.js.map +1 -1
  18. package/lib/orders/utils.js +9 -1
  19. package/lib/orders/utils.js.map +1 -1
  20. package/lib/provider/ethers-adapter.d.ts +17 -0
  21. package/lib/provider/ethers-adapter.js +135 -0
  22. package/lib/provider/ethers-adapter.js.map +1 -0
  23. package/lib/provider/seaport-bridge.d.ts +11 -0
  24. package/lib/provider/seaport-bridge.js +130 -0
  25. package/lib/provider/seaport-bridge.js.map +1 -0
  26. package/lib/provider/types.d.ts +62 -0
  27. package/lib/provider/types.js +7 -0
  28. package/lib/provider/types.js.map +1 -0
  29. package/lib/provider/viem-adapter.d.ts +27 -0
  30. package/lib/provider/viem-adapter.js +122 -0
  31. package/lib/provider/viem-adapter.js.map +1 -0
  32. package/lib/sdk/assets.d.ts +7 -23
  33. package/lib/sdk/assets.js +101 -77
  34. package/lib/sdk/assets.js.map +1 -1
  35. package/lib/sdk/base.d.ts +334 -0
  36. package/lib/sdk/base.js +312 -0
  37. package/lib/sdk/base.js.map +1 -0
  38. package/lib/sdk/cancellation.d.ts +1 -2
  39. package/lib/sdk/cancellation.js +4 -4
  40. package/lib/sdk/cancellation.js.map +1 -1
  41. package/lib/sdk/context.d.ts +5 -5
  42. package/lib/sdk/fulfillment.d.ts +13 -58
  43. package/lib/sdk/fulfillment.js +16 -58
  44. package/lib/sdk/fulfillment.js.map +1 -1
  45. package/lib/sdk/orders.d.ts +25 -26
  46. package/lib/sdk/orders.js +8 -9
  47. package/lib/sdk/orders.js.map +1 -1
  48. package/lib/sdk/tokens.d.ts +3 -3
  49. package/lib/sdk/tokens.js +17 -7
  50. package/lib/sdk/tokens.js.map +1 -1
  51. package/lib/sdk.d.ts +16 -550
  52. package/lib/sdk.js +35 -663
  53. package/lib/sdk.js.map +1 -1
  54. package/lib/types.d.ts +11 -6
  55. package/lib/types.js +3 -3
  56. package/lib/types.js.map +1 -1
  57. package/lib/utils/address.d.ts +12 -0
  58. package/lib/utils/address.js +39 -0
  59. package/lib/utils/address.js.map +1 -0
  60. package/lib/utils/chain.d.ts +1 -1
  61. package/lib/utils/fees.d.ts +5 -0
  62. package/lib/utils/fees.js +24 -6
  63. package/lib/utils/fees.js.map +1 -1
  64. package/lib/utils/protocol.js +5 -5
  65. package/lib/utils/protocol.js.map +1 -1
  66. package/lib/utils/units.d.ts +12 -0
  67. package/lib/utils/units.js +43 -0
  68. package/lib/utils/units.js.map +1 -0
  69. package/lib/utils/utils.d.ts +2 -10
  70. package/lib/utils/utils.js +2 -17
  71. package/lib/utils/utils.js.map +1 -1
  72. package/lib/viem.d.ts +44 -0
  73. package/lib/viem.js +114 -0
  74. package/lib/viem.js.map +1 -0
  75. package/package.json +25 -8
  76. package/src/abi/abis.ts +236 -0
  77. package/src/api/api.ts +66 -59
  78. package/src/api/orders.ts +2 -2
  79. package/src/constants.ts +7 -3
  80. package/src/index.ts +8 -0
  81. package/src/orders/privateListings.ts +2 -2
  82. package/src/orders/utils.ts +8 -1
  83. package/src/provider/ethers-adapter.ts +182 -0
  84. package/src/provider/seaport-bridge.ts +163 -0
  85. package/src/provider/types.ts +67 -0
  86. package/src/provider/viem-adapter.ts +165 -0
  87. package/src/sdk/assets.ts +128 -158
  88. package/src/sdk/base.ts +558 -0
  89. package/src/sdk/cancellation.ts +6 -9
  90. package/src/sdk/context.ts +5 -5
  91. package/src/sdk/fulfillment.ts +31 -72
  92. package/src/sdk/orders.ts +44 -44
  93. package/src/sdk/tokens.ts +18 -18
  94. package/src/sdk.ts +40 -1011
  95. package/src/types.ts +12 -6
  96. package/src/utils/address.ts +40 -0
  97. package/src/utils/fees.ts +28 -8
  98. package/src/utils/protocol.ts +5 -5
  99. package/src/utils/units.ts +47 -0
  100. package/src/utils/utils.ts +2 -22
  101. package/src/viem.ts +125 -0
  102. package/lib/src/api/accounts.d.ts +0 -18
  103. package/lib/src/api/accounts.js +0 -30
  104. package/lib/src/api/accounts.js.map +0 -1
  105. package/lib/src/api/api.d.ts +0 -429
  106. package/lib/src/api/api.js +0 -652
  107. package/lib/src/api/api.js.map +0 -1
  108. package/lib/src/api/apiPaths.d.ts +0 -37
  109. package/lib/src/api/apiPaths.js +0 -140
  110. package/lib/src/api/apiPaths.js.map +0 -1
  111. package/lib/src/api/collections.d.ts +0 -26
  112. package/lib/src/api/collections.js +0 -57
  113. package/lib/src/api/collections.js.map +0 -1
  114. package/lib/src/api/events.d.ts +0 -26
  115. package/lib/src/api/events.js +0 -42
  116. package/lib/src/api/events.js.map +0 -1
  117. package/lib/src/api/fetcher.d.ts +0 -24
  118. package/lib/src/api/fetcher.js +0 -3
  119. package/lib/src/api/fetcher.js.map +0 -1
  120. package/lib/src/api/index.d.ts +0 -2
  121. package/lib/src/api/index.js +0 -19
  122. package/lib/src/api/index.js.map +0 -1
  123. package/lib/src/api/listings.d.ts +0 -44
  124. package/lib/src/api/listings.js +0 -86
  125. package/lib/src/api/listings.js.map +0 -1
  126. package/lib/src/api/nfts.d.ts +0 -35
  127. package/lib/src/api/nfts.js +0 -66
  128. package/lib/src/api/nfts.js.map +0 -1
  129. package/lib/src/api/offers.d.ts +0 -54
  130. package/lib/src/api/offers.js +0 -122
  131. package/lib/src/api/offers.js.map +0 -1
  132. package/lib/src/api/orders.d.ts +0 -50
  133. package/lib/src/api/orders.js +0 -151
  134. package/lib/src/api/orders.js.map +0 -1
  135. package/lib/src/api/search.d.ts +0 -13
  136. package/lib/src/api/search.js +0 -21
  137. package/lib/src/api/search.js.map +0 -1
  138. package/lib/src/api/tokens.d.ts +0 -25
  139. package/lib/src/api/tokens.js +0 -42
  140. package/lib/src/api/tokens.js.map +0 -1
  141. package/lib/src/api/types.d.ts +0 -840
  142. package/lib/src/api/types.js +0 -65
  143. package/lib/src/api/types.js.map +0 -1
  144. package/lib/src/constants.d.ts +0 -22
  145. package/lib/src/constants.js +0 -52
  146. package/lib/src/constants.js.map +0 -1
  147. package/lib/src/index.d.ts +0 -18
  148. package/lib/src/index.js +0 -24
  149. package/lib/src/index.js.map +0 -1
  150. package/lib/src/orders/privateListings.d.ts +0 -12
  151. package/lib/src/orders/privateListings.js +0 -130
  152. package/lib/src/orders/privateListings.js.map +0 -1
  153. package/lib/src/orders/types.d.ts +0 -160
  154. package/lib/src/orders/types.js +0 -10
  155. package/lib/src/orders/types.js.map +0 -1
  156. package/lib/src/orders/utils.d.ts +0 -89
  157. package/lib/src/orders/utils.js +0 -177
  158. package/lib/src/orders/utils.js.map +0 -1
  159. package/lib/src/sdk/assets.d.ts +0 -104
  160. package/lib/src/sdk/assets.js +0 -397
  161. package/lib/src/sdk/assets.js.map +0 -1
  162. package/lib/src/sdk/cancellation.d.ts +0 -97
  163. package/lib/src/sdk/cancellation.js +0 -234
  164. package/lib/src/sdk/cancellation.js.map +0 -1
  165. package/lib/src/sdk/context.d.ts +0 -28
  166. package/lib/src/sdk/context.js +0 -3
  167. package/lib/src/sdk/context.js.map +0 -1
  168. package/lib/src/sdk/fulfillment.d.ts +0 -153
  169. package/lib/src/sdk/fulfillment.js +0 -296
  170. package/lib/src/sdk/fulfillment.js.map +0 -1
  171. package/lib/src/sdk/orders.d.ts +0 -253
  172. package/lib/src/sdk/orders.js +0 -677
  173. package/lib/src/sdk/orders.js.map +0 -1
  174. package/lib/src/sdk/tokens.d.ts +0 -31
  175. package/lib/src/sdk/tokens.js +0 -64
  176. package/lib/src/sdk/tokens.js.map +0 -1
  177. package/lib/src/sdk.d.ts +0 -560
  178. package/lib/src/sdk.js +0 -675
  179. package/lib/src/sdk.js.map +0 -1
  180. package/lib/src/typechain/contracts/ERC1155.d.ts +0 -236
  181. package/lib/src/typechain/contracts/ERC1155.js +0 -3
  182. package/lib/src/typechain/contracts/ERC1155.js.map +0 -1
  183. package/lib/src/typechain/contracts/ERC20.d.ts +0 -141
  184. package/lib/src/typechain/contracts/ERC20.js +0 -3
  185. package/lib/src/typechain/contracts/ERC20.js.map +0 -1
  186. package/lib/src/typechain/contracts/ERC721.d.ts +0 -213
  187. package/lib/src/typechain/contracts/ERC721.js +0 -3
  188. package/lib/src/typechain/contracts/ERC721.js.map +0 -1
  189. package/lib/src/typechain/contracts/Multicall3.d.ts +0 -57
  190. package/lib/src/typechain/contracts/Multicall3.js +0 -3
  191. package/lib/src/typechain/contracts/Multicall3.js.map +0 -1
  192. package/lib/src/typechain/contracts/TransferHelper.d.ts +0 -55
  193. package/lib/src/typechain/contracts/TransferHelper.js +0 -3
  194. package/lib/src/typechain/contracts/TransferHelper.js.map +0 -1
  195. package/lib/src/typechain/contracts/common.d.ts +0 -50
  196. package/lib/src/typechain/contracts/common.js +0 -3
  197. package/lib/src/typechain/contracts/common.js.map +0 -1
  198. package/lib/src/typechain/contracts/factories/ERC1155__factory.d.ts +0 -250
  199. package/lib/src/typechain/contracts/factories/ERC1155__factory.js +0 -332
  200. package/lib/src/typechain/contracts/factories/ERC1155__factory.js.map +0 -1
  201. package/lib/src/typechain/contracts/factories/ERC20__factory.d.ts +0 -174
  202. package/lib/src/typechain/contracts/factories/ERC20__factory.js +0 -240
  203. package/lib/src/typechain/contracts/factories/ERC20__factory.js.map +0 -1
  204. package/lib/src/typechain/contracts/factories/ERC721__factory.d.ts +0 -268
  205. package/lib/src/typechain/contracts/factories/ERC721__factory.js +0 -351
  206. package/lib/src/typechain/contracts/factories/ERC721__factory.js.map +0 -1
  207. package/lib/src/typechain/contracts/factories/Multicall3__factory.d.ts +0 -43
  208. package/lib/src/typechain/contracts/factories/Multicall3__factory.js +0 -68
  209. package/lib/src/typechain/contracts/factories/Multicall3__factory.js.map +0 -1
  210. package/lib/src/typechain/contracts/factories/TransferHelper__factory.d.ts +0 -46
  211. package/lib/src/typechain/contracts/factories/TransferHelper__factory.js +0 -71
  212. package/lib/src/typechain/contracts/factories/TransferHelper__factory.js.map +0 -1
  213. package/lib/src/typechain/contracts/factories/index.d.ts +0 -5
  214. package/lib/src/typechain/contracts/factories/index.js +0 -17
  215. package/lib/src/typechain/contracts/factories/index.js.map +0 -1
  216. package/lib/src/typechain/contracts/index.d.ts +0 -11
  217. package/lib/src/typechain/contracts/index.js +0 -48
  218. package/lib/src/typechain/contracts/index.js.map +0 -1
  219. package/lib/src/types.d.ts +0 -387
  220. package/lib/src/types.js +0 -127
  221. package/lib/src/types.js.map +0 -1
  222. package/lib/src/utils/chain.d.ts +0 -60
  223. package/lib/src/utils/chain.js +0 -248
  224. package/lib/src/utils/chain.js.map +0 -1
  225. package/lib/src/utils/converters.d.ts +0 -37
  226. package/lib/src/utils/converters.js +0 -137
  227. package/lib/src/utils/converters.js.map +0 -1
  228. package/lib/src/utils/dateHelper.d.ts +0 -38
  229. package/lib/src/utils/dateHelper.js +0 -52
  230. package/lib/src/utils/dateHelper.js.map +0 -1
  231. package/lib/src/utils/fees.d.ts +0 -13
  232. package/lib/src/utils/fees.js +0 -29
  233. package/lib/src/utils/fees.js.map +0 -1
  234. package/lib/src/utils/index.d.ts +0 -2
  235. package/lib/src/utils/index.js +0 -19
  236. package/lib/src/utils/index.js.map +0 -1
  237. package/lib/src/utils/protocol.d.ts +0 -75
  238. package/lib/src/utils/protocol.js +0 -161
  239. package/lib/src/utils/protocol.js.map +0 -1
  240. package/lib/src/utils/rateLimit.d.ts +0 -34
  241. package/lib/src/utils/rateLimit.js +0 -97
  242. package/lib/src/utils/rateLimit.js.map +0 -1
  243. package/lib/src/utils/stringHelper.d.ts +0 -18
  244. package/lib/src/utils/stringHelper.js +0 -24
  245. package/lib/src/utils/stringHelper.js.map +0 -1
  246. package/lib/src/utils/utils.d.ts +0 -18
  247. package/lib/src/utils/utils.js +0 -45
  248. package/lib/src/utils/utils.js.map +0 -1
  249. package/lib/typechain/contracts/ERC1155.d.ts +0 -236
  250. package/lib/typechain/contracts/ERC1155.js +0 -3
  251. package/lib/typechain/contracts/ERC1155.js.map +0 -1
  252. package/lib/typechain/contracts/ERC20.d.ts +0 -141
  253. package/lib/typechain/contracts/ERC20.js +0 -3
  254. package/lib/typechain/contracts/ERC20.js.map +0 -1
  255. package/lib/typechain/contracts/ERC721.d.ts +0 -213
  256. package/lib/typechain/contracts/ERC721.js +0 -3
  257. package/lib/typechain/contracts/ERC721.js.map +0 -1
  258. package/lib/typechain/contracts/Multicall3.d.ts +0 -57
  259. package/lib/typechain/contracts/Multicall3.js +0 -3
  260. package/lib/typechain/contracts/Multicall3.js.map +0 -1
  261. package/lib/typechain/contracts/TransferHelper.d.ts +0 -55
  262. package/lib/typechain/contracts/TransferHelper.js +0 -3
  263. package/lib/typechain/contracts/TransferHelper.js.map +0 -1
  264. package/lib/typechain/contracts/common.d.ts +0 -50
  265. package/lib/typechain/contracts/common.js +0 -3
  266. package/lib/typechain/contracts/common.js.map +0 -1
  267. package/lib/typechain/contracts/factories/ERC1155__factory.d.ts +0 -250
  268. package/lib/typechain/contracts/factories/ERC1155__factory.js +0 -332
  269. package/lib/typechain/contracts/factories/ERC1155__factory.js.map +0 -1
  270. package/lib/typechain/contracts/factories/ERC20__factory.d.ts +0 -174
  271. package/lib/typechain/contracts/factories/ERC20__factory.js +0 -240
  272. package/lib/typechain/contracts/factories/ERC20__factory.js.map +0 -1
  273. package/lib/typechain/contracts/factories/ERC721__factory.d.ts +0 -268
  274. package/lib/typechain/contracts/factories/ERC721__factory.js +0 -351
  275. package/lib/typechain/contracts/factories/ERC721__factory.js.map +0 -1
  276. package/lib/typechain/contracts/factories/Multicall3__factory.d.ts +0 -43
  277. package/lib/typechain/contracts/factories/Multicall3__factory.js +0 -68
  278. package/lib/typechain/contracts/factories/Multicall3__factory.js.map +0 -1
  279. package/lib/typechain/contracts/factories/TransferHelper__factory.d.ts +0 -46
  280. package/lib/typechain/contracts/factories/TransferHelper__factory.js +0 -71
  281. package/lib/typechain/contracts/factories/TransferHelper__factory.js.map +0 -1
  282. package/lib/typechain/contracts/factories/index.d.ts +0 -5
  283. package/lib/typechain/contracts/factories/index.js +0 -17
  284. package/lib/typechain/contracts/factories/index.js.map +0 -1
  285. package/lib/typechain/contracts/index.d.ts +0 -11
  286. package/lib/typechain/contracts/index.js +0 -48
  287. package/lib/typechain/contracts/index.js.map +0 -1
  288. package/src/typechain/contracts/ERC1155.ts +0 -440
  289. package/src/typechain/contracts/ERC20.ts +0 -286
  290. package/src/typechain/contracts/ERC721.ts +0 -412
  291. package/src/typechain/contracts/Multicall3.ts +0 -117
  292. package/src/typechain/contracts/TransferHelper.ts +0 -122
  293. package/src/typechain/contracts/common.ts +0 -131
  294. package/src/typechain/contracts/factories/ERC1155__factory.ts +0 -331
  295. package/src/typechain/contracts/factories/ERC20__factory.ts +0 -239
  296. package/src/typechain/contracts/factories/ERC721__factory.ts +0 -350
  297. package/src/typechain/contracts/factories/Multicall3__factory.ts +0 -67
  298. package/src/typechain/contracts/factories/TransferHelper__factory.ts +0 -76
  299. package/src/typechain/contracts/factories/index.ts +0 -8
  300. package/src/typechain/contracts/index.ts +0 -14
@@ -1,236 +0,0 @@
1
- import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
- import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "./common";
3
- export interface ERC1155Interface extends Interface {
4
- getFunction(nameOrSignature: "balanceOf" | "balanceOfBatch" | "isApprovedForAll" | "safeBatchTransferFrom" | "safeTransferFrom" | "setApprovalForAll" | "supportsInterface" | "uri"): FunctionFragment;
5
- getEvent(nameOrSignatureOrTopic: "ApprovalForAll" | "TransferBatch" | "TransferSingle" | "URI"): EventFragment;
6
- encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike, BigNumberish]): string;
7
- encodeFunctionData(functionFragment: "balanceOfBatch", values: [AddressLike[], BigNumberish[]]): string;
8
- encodeFunctionData(functionFragment: "isApprovedForAll", values: [AddressLike, AddressLike]): string;
9
- encodeFunctionData(functionFragment: "safeBatchTransferFrom", values: [
10
- AddressLike,
11
- AddressLike,
12
- BigNumberish[],
13
- BigNumberish[],
14
- BytesLike
15
- ]): string;
16
- encodeFunctionData(functionFragment: "safeTransferFrom", values: [AddressLike, AddressLike, BigNumberish, BigNumberish, BytesLike]): string;
17
- encodeFunctionData(functionFragment: "setApprovalForAll", values: [AddressLike, boolean]): string;
18
- encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
19
- encodeFunctionData(functionFragment: "uri", values: [BigNumberish]): string;
20
- decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
21
- decodeFunctionResult(functionFragment: "balanceOfBatch", data: BytesLike): Result;
22
- decodeFunctionResult(functionFragment: "isApprovedForAll", data: BytesLike): Result;
23
- decodeFunctionResult(functionFragment: "safeBatchTransferFrom", data: BytesLike): Result;
24
- decodeFunctionResult(functionFragment: "safeTransferFrom", data: BytesLike): Result;
25
- decodeFunctionResult(functionFragment: "setApprovalForAll", data: BytesLike): Result;
26
- decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
27
- decodeFunctionResult(functionFragment: "uri", data: BytesLike): Result;
28
- }
29
- export declare namespace ApprovalForAllEvent {
30
- type InputTuple = [
31
- account: AddressLike,
32
- operator: AddressLike,
33
- approved: boolean
34
- ];
35
- type OutputTuple = [
36
- account: string,
37
- operator: string,
38
- approved: boolean
39
- ];
40
- interface OutputObject {
41
- account: string;
42
- operator: string;
43
- approved: boolean;
44
- }
45
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
46
- type Filter = TypedDeferredTopicFilter<Event>;
47
- type Log = TypedEventLog<Event>;
48
- type LogDescription = TypedLogDescription<Event>;
49
- }
50
- export declare namespace TransferBatchEvent {
51
- type InputTuple = [
52
- operator: AddressLike,
53
- from: AddressLike,
54
- to: AddressLike,
55
- ids: BigNumberish[],
56
- values: BigNumberish[]
57
- ];
58
- type OutputTuple = [
59
- operator: string,
60
- from: string,
61
- to: string,
62
- ids: bigint[],
63
- values: bigint[]
64
- ];
65
- interface OutputObject {
66
- operator: string;
67
- from: string;
68
- to: string;
69
- ids: bigint[];
70
- values: bigint[];
71
- }
72
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
73
- type Filter = TypedDeferredTopicFilter<Event>;
74
- type Log = TypedEventLog<Event>;
75
- type LogDescription = TypedLogDescription<Event>;
76
- }
77
- export declare namespace TransferSingleEvent {
78
- type InputTuple = [
79
- operator: AddressLike,
80
- from: AddressLike,
81
- to: AddressLike,
82
- id: BigNumberish,
83
- value: BigNumberish
84
- ];
85
- type OutputTuple = [
86
- operator: string,
87
- from: string,
88
- to: string,
89
- id: bigint,
90
- value: bigint
91
- ];
92
- interface OutputObject {
93
- operator: string;
94
- from: string;
95
- to: string;
96
- id: bigint;
97
- value: bigint;
98
- }
99
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
100
- type Filter = TypedDeferredTopicFilter<Event>;
101
- type Log = TypedEventLog<Event>;
102
- type LogDescription = TypedLogDescription<Event>;
103
- }
104
- export declare namespace URIEvent {
105
- type InputTuple = [value: string, id: BigNumberish];
106
- type OutputTuple = [value: string, id: bigint];
107
- interface OutputObject {
108
- value: string;
109
- id: bigint;
110
- }
111
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
112
- type Filter = TypedDeferredTopicFilter<Event>;
113
- type Log = TypedEventLog<Event>;
114
- type LogDescription = TypedLogDescription<Event>;
115
- }
116
- export interface ERC1155 extends BaseContract {
117
- connect(runner?: ContractRunner | null): ERC1155;
118
- waitForDeployment(): Promise<this>;
119
- interface: ERC1155Interface;
120
- queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
121
- queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
122
- on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
123
- on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
124
- once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
125
- once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
126
- listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
127
- listeners(eventName?: string): Promise<Array<Listener>>;
128
- removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
129
- balanceOf: TypedContractMethod<[
130
- account: AddressLike,
131
- id: BigNumberish
132
- ], [
133
- bigint
134
- ], "view">;
135
- balanceOfBatch: TypedContractMethod<[
136
- accounts: AddressLike[],
137
- ids: BigNumberish[]
138
- ], [
139
- bigint[]
140
- ], "view">;
141
- isApprovedForAll: TypedContractMethod<[
142
- account: AddressLike,
143
- operator: AddressLike
144
- ], [
145
- boolean
146
- ], "view">;
147
- safeBatchTransferFrom: TypedContractMethod<[
148
- from: AddressLike,
149
- to: AddressLike,
150
- ids: BigNumberish[],
151
- amounts: BigNumberish[],
152
- data: BytesLike
153
- ], [
154
- void
155
- ], "nonpayable">;
156
- safeTransferFrom: TypedContractMethod<[
157
- from: AddressLike,
158
- to: AddressLike,
159
- id: BigNumberish,
160
- amount: BigNumberish,
161
- data: BytesLike
162
- ], [
163
- void
164
- ], "nonpayable">;
165
- setApprovalForAll: TypedContractMethod<[
166
- operator: AddressLike,
167
- approved: boolean
168
- ], [
169
- void
170
- ], "nonpayable">;
171
- supportsInterface: TypedContractMethod<[
172
- interfaceId: BytesLike
173
- ], [
174
- boolean
175
- ], "view">;
176
- uri: TypedContractMethod<[id: BigNumberish], [string], "view">;
177
- getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
178
- getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[
179
- account: AddressLike,
180
- id: BigNumberish
181
- ], [
182
- bigint
183
- ], "view">;
184
- getFunction(nameOrSignature: "balanceOfBatch"): TypedContractMethod<[
185
- accounts: AddressLike[],
186
- ids: BigNumberish[]
187
- ], [
188
- bigint[]
189
- ], "view">;
190
- getFunction(nameOrSignature: "isApprovedForAll"): TypedContractMethod<[
191
- account: AddressLike,
192
- operator: AddressLike
193
- ], [
194
- boolean
195
- ], "view">;
196
- getFunction(nameOrSignature: "safeBatchTransferFrom"): TypedContractMethod<[
197
- from: AddressLike,
198
- to: AddressLike,
199
- ids: BigNumberish[],
200
- amounts: BigNumberish[],
201
- data: BytesLike
202
- ], [
203
- void
204
- ], "nonpayable">;
205
- getFunction(nameOrSignature: "safeTransferFrom"): TypedContractMethod<[
206
- from: AddressLike,
207
- to: AddressLike,
208
- id: BigNumberish,
209
- amount: BigNumberish,
210
- data: BytesLike
211
- ], [
212
- void
213
- ], "nonpayable">;
214
- getFunction(nameOrSignature: "setApprovalForAll"): TypedContractMethod<[
215
- operator: AddressLike,
216
- approved: boolean
217
- ], [
218
- void
219
- ], "nonpayable">;
220
- getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
221
- getFunction(nameOrSignature: "uri"): TypedContractMethod<[id: BigNumberish], [string], "view">;
222
- getEvent(key: "ApprovalForAll"): TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
223
- getEvent(key: "TransferBatch"): TypedContractEvent<TransferBatchEvent.InputTuple, TransferBatchEvent.OutputTuple, TransferBatchEvent.OutputObject>;
224
- getEvent(key: "TransferSingle"): TypedContractEvent<TransferSingleEvent.InputTuple, TransferSingleEvent.OutputTuple, TransferSingleEvent.OutputObject>;
225
- getEvent(key: "URI"): TypedContractEvent<URIEvent.InputTuple, URIEvent.OutputTuple, URIEvent.OutputObject>;
226
- filters: {
227
- "ApprovalForAll(address,address,bool)": TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
228
- ApprovalForAll: TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
229
- "TransferBatch(address,address,address,uint256[],uint256[])": TypedContractEvent<TransferBatchEvent.InputTuple, TransferBatchEvent.OutputTuple, TransferBatchEvent.OutputObject>;
230
- TransferBatch: TypedContractEvent<TransferBatchEvent.InputTuple, TransferBatchEvent.OutputTuple, TransferBatchEvent.OutputObject>;
231
- "TransferSingle(address,address,address,uint256,uint256)": TypedContractEvent<TransferSingleEvent.InputTuple, TransferSingleEvent.OutputTuple, TransferSingleEvent.OutputObject>;
232
- TransferSingle: TypedContractEvent<TransferSingleEvent.InputTuple, TransferSingleEvent.OutputTuple, TransferSingleEvent.OutputObject>;
233
- "URI(string,uint256)": TypedContractEvent<URIEvent.InputTuple, URIEvent.OutputTuple, URIEvent.OutputObject>;
234
- URI: TypedContractEvent<URIEvent.InputTuple, URIEvent.OutputTuple, URIEvent.OutputObject>;
235
- };
236
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ERC1155.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ERC1155.js","sourceRoot":"","sources":["../../../src/typechain/contracts/ERC1155.ts"],"names":[],"mappings":""}
@@ -1,141 +0,0 @@
1
- import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
- import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "./common";
3
- export interface ERC20Interface extends Interface {
4
- getFunction(nameOrSignature: "name" | "approve" | "totalSupply" | "transferFrom" | "decimals" | "balanceOf" | "symbol" | "transfer" | "allowance"): FunctionFragment;
5
- getEvent(nameOrSignatureOrTopic: "Approval" | "Transfer"): EventFragment;
6
- encodeFunctionData(functionFragment: "name", values?: undefined): string;
7
- encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
8
- encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
9
- encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
10
- encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
11
- encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
12
- encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
13
- encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
14
- encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
15
- decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
16
- decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
17
- decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
18
- decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
19
- decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
20
- decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
21
- decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
22
- decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
23
- decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
24
- }
25
- export declare namespace ApprovalEvent {
26
- type InputTuple = [
27
- owner: AddressLike,
28
- spender: AddressLike,
29
- value: BigNumberish
30
- ];
31
- type OutputTuple = [owner: string, spender: string, value: bigint];
32
- interface OutputObject {
33
- owner: string;
34
- spender: string;
35
- value: bigint;
36
- }
37
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
38
- type Filter = TypedDeferredTopicFilter<Event>;
39
- type Log = TypedEventLog<Event>;
40
- type LogDescription = TypedLogDescription<Event>;
41
- }
42
- export declare namespace TransferEvent {
43
- type InputTuple = [
44
- from: AddressLike,
45
- to: AddressLike,
46
- value: BigNumberish
47
- ];
48
- type OutputTuple = [from: string, to: string, value: bigint];
49
- interface OutputObject {
50
- from: string;
51
- to: string;
52
- value: bigint;
53
- }
54
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
55
- type Filter = TypedDeferredTopicFilter<Event>;
56
- type Log = TypedEventLog<Event>;
57
- type LogDescription = TypedLogDescription<Event>;
58
- }
59
- export interface ERC20 extends BaseContract {
60
- connect(runner?: ContractRunner | null): ERC20;
61
- waitForDeployment(): Promise<this>;
62
- interface: ERC20Interface;
63
- queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
64
- queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
65
- on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
66
- on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
67
- once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
68
- once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
69
- listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
70
- listeners(eventName?: string): Promise<Array<Listener>>;
71
- removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
72
- name: TypedContractMethod<[], [string], "view">;
73
- approve: TypedContractMethod<[
74
- _spender: AddressLike,
75
- _value: BigNumberish
76
- ], [
77
- boolean
78
- ], "nonpayable">;
79
- totalSupply: TypedContractMethod<[], [bigint], "view">;
80
- transferFrom: TypedContractMethod<[
81
- _from: AddressLike,
82
- _to: AddressLike,
83
- _value: BigNumberish
84
- ], [
85
- boolean
86
- ], "nonpayable">;
87
- decimals: TypedContractMethod<[], [bigint], "view">;
88
- balanceOf: TypedContractMethod<[_owner: AddressLike], [bigint], "view">;
89
- symbol: TypedContractMethod<[], [string], "view">;
90
- transfer: TypedContractMethod<[
91
- _to: AddressLike,
92
- _value: BigNumberish
93
- ], [
94
- boolean
95
- ], "nonpayable">;
96
- allowance: TypedContractMethod<[
97
- _owner: AddressLike,
98
- _spender: AddressLike
99
- ], [
100
- bigint
101
- ], "view">;
102
- getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
103
- getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
104
- getFunction(nameOrSignature: "approve"): TypedContractMethod<[
105
- _spender: AddressLike,
106
- _value: BigNumberish
107
- ], [
108
- boolean
109
- ], "nonpayable">;
110
- getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
111
- getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
112
- _from: AddressLike,
113
- _to: AddressLike,
114
- _value: BigNumberish
115
- ], [
116
- boolean
117
- ], "nonpayable">;
118
- getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
119
- getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[_owner: AddressLike], [bigint], "view">;
120
- getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
121
- getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
122
- _to: AddressLike,
123
- _value: BigNumberish
124
- ], [
125
- boolean
126
- ], "nonpayable">;
127
- getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
128
- _owner: AddressLike,
129
- _spender: AddressLike
130
- ], [
131
- bigint
132
- ], "view">;
133
- getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
134
- getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
135
- filters: {
136
- "Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
137
- Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
138
- "Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
139
- Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
140
- };
141
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ERC20.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ERC20.js","sourceRoot":"","sources":["../../../src/typechain/contracts/ERC20.ts"],"names":[],"mappings":""}
@@ -1,213 +0,0 @@
1
- import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
- import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "./common";
3
- export interface ERC721Interface extends Interface {
4
- getFunction(nameOrSignature: "approve" | "mint" | "safeTransferFrom(address,address,uint256)" | "safeTransferFrom(address,address,uint256,bytes)" | "setApprovalForAll" | "transferFrom" | "balanceOf" | "getApproved" | "isApprovedForAll" | "ownerOf" | "supportsInterface"): FunctionFragment;
5
- getEvent(nameOrSignatureOrTopic: "Transfer" | "Approval" | "ApprovalForAll"): EventFragment;
6
- encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
7
- encodeFunctionData(functionFragment: "mint", values: [AddressLike, BigNumberish]): string;
8
- encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256)", values: [AddressLike, AddressLike, BigNumberish]): string;
9
- encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", values: [AddressLike, AddressLike, BigNumberish, BytesLike]): string;
10
- encodeFunctionData(functionFragment: "setApprovalForAll", values: [AddressLike, boolean]): string;
11
- encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
12
- encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
13
- encodeFunctionData(functionFragment: "getApproved", values: [BigNumberish]): string;
14
- encodeFunctionData(functionFragment: "isApprovedForAll", values: [AddressLike, AddressLike]): string;
15
- encodeFunctionData(functionFragment: "ownerOf", values: [BigNumberish]): string;
16
- encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
17
- decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
18
- decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
19
- decodeFunctionResult(functionFragment: "safeTransferFrom(address,address,uint256)", data: BytesLike): Result;
20
- decodeFunctionResult(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", data: BytesLike): Result;
21
- decodeFunctionResult(functionFragment: "setApprovalForAll", data: BytesLike): Result;
22
- decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
23
- decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
24
- decodeFunctionResult(functionFragment: "getApproved", data: BytesLike): Result;
25
- decodeFunctionResult(functionFragment: "isApprovedForAll", data: BytesLike): Result;
26
- decodeFunctionResult(functionFragment: "ownerOf", data: BytesLike): Result;
27
- decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
28
- }
29
- export declare namespace TransferEvent {
30
- type InputTuple = [
31
- from: AddressLike,
32
- to: AddressLike,
33
- tokenId: BigNumberish
34
- ];
35
- type OutputTuple = [from: string, to: string, tokenId: bigint];
36
- interface OutputObject {
37
- from: string;
38
- to: string;
39
- tokenId: bigint;
40
- }
41
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
42
- type Filter = TypedDeferredTopicFilter<Event>;
43
- type Log = TypedEventLog<Event>;
44
- type LogDescription = TypedLogDescription<Event>;
45
- }
46
- export declare namespace ApprovalEvent {
47
- type InputTuple = [
48
- owner: AddressLike,
49
- approved: AddressLike,
50
- tokenId: BigNumberish
51
- ];
52
- type OutputTuple = [owner: string, approved: string, tokenId: bigint];
53
- interface OutputObject {
54
- owner: string;
55
- approved: string;
56
- tokenId: bigint;
57
- }
58
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
59
- type Filter = TypedDeferredTopicFilter<Event>;
60
- type Log = TypedEventLog<Event>;
61
- type LogDescription = TypedLogDescription<Event>;
62
- }
63
- export declare namespace ApprovalForAllEvent {
64
- type InputTuple = [
65
- owner: AddressLike,
66
- operator: AddressLike,
67
- approved: boolean
68
- ];
69
- type OutputTuple = [
70
- owner: string,
71
- operator: string,
72
- approved: boolean
73
- ];
74
- interface OutputObject {
75
- owner: string;
76
- operator: string;
77
- approved: boolean;
78
- }
79
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
80
- type Filter = TypedDeferredTopicFilter<Event>;
81
- type Log = TypedEventLog<Event>;
82
- type LogDescription = TypedLogDescription<Event>;
83
- }
84
- export interface ERC721 extends BaseContract {
85
- connect(runner?: ContractRunner | null): ERC721;
86
- waitForDeployment(): Promise<this>;
87
- interface: ERC721Interface;
88
- queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
89
- queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
90
- on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
91
- on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
92
- once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
93
- once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
94
- listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
95
- listeners(eventName?: string): Promise<Array<Listener>>;
96
- removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
97
- approve: TypedContractMethod<[
98
- to: AddressLike,
99
- tokenId: BigNumberish
100
- ], [
101
- void
102
- ], "nonpayable">;
103
- mint: TypedContractMethod<[
104
- to: AddressLike,
105
- tokenId: BigNumberish
106
- ], [
107
- void
108
- ], "nonpayable">;
109
- "safeTransferFrom(address,address,uint256)": TypedContractMethod<[
110
- from: AddressLike,
111
- to: AddressLike,
112
- tokenId: BigNumberish
113
- ], [
114
- void
115
- ], "nonpayable">;
116
- "safeTransferFrom(address,address,uint256,bytes)": TypedContractMethod<[
117
- from: AddressLike,
118
- to: AddressLike,
119
- tokenId: BigNumberish,
120
- _data: BytesLike
121
- ], [
122
- void
123
- ], "nonpayable">;
124
- setApprovalForAll: TypedContractMethod<[
125
- to: AddressLike,
126
- approved: boolean
127
- ], [
128
- void
129
- ], "nonpayable">;
130
- transferFrom: TypedContractMethod<[
131
- from: AddressLike,
132
- to: AddressLike,
133
- tokenId: BigNumberish
134
- ], [
135
- void
136
- ], "nonpayable">;
137
- balanceOf: TypedContractMethod<[owner: AddressLike], [bigint], "view">;
138
- getApproved: TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
139
- isApprovedForAll: TypedContractMethod<[
140
- owner: AddressLike,
141
- operator: AddressLike
142
- ], [
143
- boolean
144
- ], "view">;
145
- ownerOf: TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
146
- supportsInterface: TypedContractMethod<[
147
- interfaceId: BytesLike
148
- ], [
149
- boolean
150
- ], "view">;
151
- getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
152
- getFunction(nameOrSignature: "approve"): TypedContractMethod<[
153
- to: AddressLike,
154
- tokenId: BigNumberish
155
- ], [
156
- void
157
- ], "nonpayable">;
158
- getFunction(nameOrSignature: "mint"): TypedContractMethod<[
159
- to: AddressLike,
160
- tokenId: BigNumberish
161
- ], [
162
- void
163
- ], "nonpayable">;
164
- getFunction(nameOrSignature: "safeTransferFrom(address,address,uint256)"): TypedContractMethod<[
165
- from: AddressLike,
166
- to: AddressLike,
167
- tokenId: BigNumberish
168
- ], [
169
- void
170
- ], "nonpayable">;
171
- getFunction(nameOrSignature: "safeTransferFrom(address,address,uint256,bytes)"): TypedContractMethod<[
172
- from: AddressLike,
173
- to: AddressLike,
174
- tokenId: BigNumberish,
175
- _data: BytesLike
176
- ], [
177
- void
178
- ], "nonpayable">;
179
- getFunction(nameOrSignature: "setApprovalForAll"): TypedContractMethod<[
180
- to: AddressLike,
181
- approved: boolean
182
- ], [
183
- void
184
- ], "nonpayable">;
185
- getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
186
- from: AddressLike,
187
- to: AddressLike,
188
- tokenId: BigNumberish
189
- ], [
190
- void
191
- ], "nonpayable">;
192
- getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[owner: AddressLike], [bigint], "view">;
193
- getFunction(nameOrSignature: "getApproved"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
194
- getFunction(nameOrSignature: "isApprovedForAll"): TypedContractMethod<[
195
- owner: AddressLike,
196
- operator: AddressLike
197
- ], [
198
- boolean
199
- ], "view">;
200
- getFunction(nameOrSignature: "ownerOf"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
201
- getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
202
- getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
203
- getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
204
- getEvent(key: "ApprovalForAll"): TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
205
- filters: {
206
- "Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
207
- Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
208
- "Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
209
- Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
210
- "ApprovalForAll(address,address,bool)": TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
211
- ApprovalForAll: TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
212
- };
213
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ERC721.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ERC721.js","sourceRoot":"","sources":["../../../src/typechain/contracts/ERC721.ts"],"names":[],"mappings":""}