@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.
- package/README.md +25 -4
- 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 +6 -1
- package/lib/api/api.js +60 -51
- package/lib/api/api.js.map +1 -1
- package/lib/api/orders.js +2 -2
- package/lib/api/orders.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 +334 -0
- package/lib/sdk/base.js +312 -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 +13 -58
- package/lib/sdk/fulfillment.js +16 -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 +25 -8
- package/src/abi/abis.ts +236 -0
- package/src/api/api.ts +66 -59
- package/src/api/orders.ts +2 -2
- 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 +558 -0
- package/src/sdk/cancellation.ts +6 -9
- package/src/sdk/context.ts +5 -5
- package/src/sdk/fulfillment.ts +31 -72
- 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,332 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* Autogenerated file. Do not edit manually. */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ERC1155__factory = void 0;
|
|
7
|
-
const ethers_1 = require("ethers");
|
|
8
|
-
const _abi = [
|
|
9
|
-
{
|
|
10
|
-
anonymous: false,
|
|
11
|
-
inputs: [
|
|
12
|
-
{
|
|
13
|
-
indexed: true,
|
|
14
|
-
internalType: "address",
|
|
15
|
-
name: "account",
|
|
16
|
-
type: "address",
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
indexed: true,
|
|
20
|
-
internalType: "address",
|
|
21
|
-
name: "operator",
|
|
22
|
-
type: "address",
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
indexed: false,
|
|
26
|
-
internalType: "bool",
|
|
27
|
-
name: "approved",
|
|
28
|
-
type: "bool",
|
|
29
|
-
},
|
|
30
|
-
],
|
|
31
|
-
name: "ApprovalForAll",
|
|
32
|
-
type: "event",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
anonymous: false,
|
|
36
|
-
inputs: [
|
|
37
|
-
{
|
|
38
|
-
indexed: true,
|
|
39
|
-
internalType: "address",
|
|
40
|
-
name: "operator",
|
|
41
|
-
type: "address",
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
indexed: true,
|
|
45
|
-
internalType: "address",
|
|
46
|
-
name: "from",
|
|
47
|
-
type: "address",
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
indexed: true,
|
|
51
|
-
internalType: "address",
|
|
52
|
-
name: "to",
|
|
53
|
-
type: "address",
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
indexed: false,
|
|
57
|
-
internalType: "uint256[]",
|
|
58
|
-
name: "ids",
|
|
59
|
-
type: "uint256[]",
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
indexed: false,
|
|
63
|
-
internalType: "uint256[]",
|
|
64
|
-
name: "values",
|
|
65
|
-
type: "uint256[]",
|
|
66
|
-
},
|
|
67
|
-
],
|
|
68
|
-
name: "TransferBatch",
|
|
69
|
-
type: "event",
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
anonymous: false,
|
|
73
|
-
inputs: [
|
|
74
|
-
{
|
|
75
|
-
indexed: true,
|
|
76
|
-
internalType: "address",
|
|
77
|
-
name: "operator",
|
|
78
|
-
type: "address",
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
indexed: true,
|
|
82
|
-
internalType: "address",
|
|
83
|
-
name: "from",
|
|
84
|
-
type: "address",
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
indexed: true,
|
|
88
|
-
internalType: "address",
|
|
89
|
-
name: "to",
|
|
90
|
-
type: "address",
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
indexed: false,
|
|
94
|
-
internalType: "uint256",
|
|
95
|
-
name: "id",
|
|
96
|
-
type: "uint256",
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
indexed: false,
|
|
100
|
-
internalType: "uint256",
|
|
101
|
-
name: "value",
|
|
102
|
-
type: "uint256",
|
|
103
|
-
},
|
|
104
|
-
],
|
|
105
|
-
name: "TransferSingle",
|
|
106
|
-
type: "event",
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
anonymous: false,
|
|
110
|
-
inputs: [
|
|
111
|
-
{
|
|
112
|
-
indexed: false,
|
|
113
|
-
internalType: "string",
|
|
114
|
-
name: "value",
|
|
115
|
-
type: "string",
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
indexed: true,
|
|
119
|
-
internalType: "uint256",
|
|
120
|
-
name: "id",
|
|
121
|
-
type: "uint256",
|
|
122
|
-
},
|
|
123
|
-
],
|
|
124
|
-
name: "URI",
|
|
125
|
-
type: "event",
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
inputs: [
|
|
129
|
-
{
|
|
130
|
-
internalType: "address",
|
|
131
|
-
name: "account",
|
|
132
|
-
type: "address",
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
internalType: "uint256",
|
|
136
|
-
name: "id",
|
|
137
|
-
type: "uint256",
|
|
138
|
-
},
|
|
139
|
-
],
|
|
140
|
-
name: "balanceOf",
|
|
141
|
-
outputs: [
|
|
142
|
-
{
|
|
143
|
-
internalType: "uint256",
|
|
144
|
-
name: "",
|
|
145
|
-
type: "uint256",
|
|
146
|
-
},
|
|
147
|
-
],
|
|
148
|
-
stateMutability: "view",
|
|
149
|
-
type: "function",
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
inputs: [
|
|
153
|
-
{
|
|
154
|
-
internalType: "address[]",
|
|
155
|
-
name: "accounts",
|
|
156
|
-
type: "address[]",
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
internalType: "uint256[]",
|
|
160
|
-
name: "ids",
|
|
161
|
-
type: "uint256[]",
|
|
162
|
-
},
|
|
163
|
-
],
|
|
164
|
-
name: "balanceOfBatch",
|
|
165
|
-
outputs: [
|
|
166
|
-
{
|
|
167
|
-
internalType: "uint256[]",
|
|
168
|
-
name: "",
|
|
169
|
-
type: "uint256[]",
|
|
170
|
-
},
|
|
171
|
-
],
|
|
172
|
-
stateMutability: "view",
|
|
173
|
-
type: "function",
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
inputs: [
|
|
177
|
-
{
|
|
178
|
-
internalType: "address",
|
|
179
|
-
name: "account",
|
|
180
|
-
type: "address",
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
internalType: "address",
|
|
184
|
-
name: "operator",
|
|
185
|
-
type: "address",
|
|
186
|
-
},
|
|
187
|
-
],
|
|
188
|
-
name: "isApprovedForAll",
|
|
189
|
-
outputs: [
|
|
190
|
-
{
|
|
191
|
-
internalType: "bool",
|
|
192
|
-
name: "",
|
|
193
|
-
type: "bool",
|
|
194
|
-
},
|
|
195
|
-
],
|
|
196
|
-
stateMutability: "view",
|
|
197
|
-
type: "function",
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
inputs: [
|
|
201
|
-
{
|
|
202
|
-
internalType: "address",
|
|
203
|
-
name: "from",
|
|
204
|
-
type: "address",
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
internalType: "address",
|
|
208
|
-
name: "to",
|
|
209
|
-
type: "address",
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
internalType: "uint256[]",
|
|
213
|
-
name: "ids",
|
|
214
|
-
type: "uint256[]",
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
internalType: "uint256[]",
|
|
218
|
-
name: "amounts",
|
|
219
|
-
type: "uint256[]",
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
internalType: "bytes",
|
|
223
|
-
name: "data",
|
|
224
|
-
type: "bytes",
|
|
225
|
-
},
|
|
226
|
-
],
|
|
227
|
-
name: "safeBatchTransferFrom",
|
|
228
|
-
outputs: [],
|
|
229
|
-
stateMutability: "nonpayable",
|
|
230
|
-
type: "function",
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
inputs: [
|
|
234
|
-
{
|
|
235
|
-
internalType: "address",
|
|
236
|
-
name: "from",
|
|
237
|
-
type: "address",
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
internalType: "address",
|
|
241
|
-
name: "to",
|
|
242
|
-
type: "address",
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
internalType: "uint256",
|
|
246
|
-
name: "id",
|
|
247
|
-
type: "uint256",
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
internalType: "uint256",
|
|
251
|
-
name: "amount",
|
|
252
|
-
type: "uint256",
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
internalType: "bytes",
|
|
256
|
-
name: "data",
|
|
257
|
-
type: "bytes",
|
|
258
|
-
},
|
|
259
|
-
],
|
|
260
|
-
name: "safeTransferFrom",
|
|
261
|
-
outputs: [],
|
|
262
|
-
stateMutability: "nonpayable",
|
|
263
|
-
type: "function",
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
inputs: [
|
|
267
|
-
{
|
|
268
|
-
internalType: "address",
|
|
269
|
-
name: "operator",
|
|
270
|
-
type: "address",
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
internalType: "bool",
|
|
274
|
-
name: "approved",
|
|
275
|
-
type: "bool",
|
|
276
|
-
},
|
|
277
|
-
],
|
|
278
|
-
name: "setApprovalForAll",
|
|
279
|
-
outputs: [],
|
|
280
|
-
stateMutability: "nonpayable",
|
|
281
|
-
type: "function",
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
inputs: [
|
|
285
|
-
{
|
|
286
|
-
internalType: "bytes4",
|
|
287
|
-
name: "interfaceId",
|
|
288
|
-
type: "bytes4",
|
|
289
|
-
},
|
|
290
|
-
],
|
|
291
|
-
name: "supportsInterface",
|
|
292
|
-
outputs: [
|
|
293
|
-
{
|
|
294
|
-
internalType: "bool",
|
|
295
|
-
name: "",
|
|
296
|
-
type: "bool",
|
|
297
|
-
},
|
|
298
|
-
],
|
|
299
|
-
stateMutability: "view",
|
|
300
|
-
type: "function",
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
inputs: [
|
|
304
|
-
{
|
|
305
|
-
internalType: "uint256",
|
|
306
|
-
name: "id",
|
|
307
|
-
type: "uint256",
|
|
308
|
-
},
|
|
309
|
-
],
|
|
310
|
-
name: "uri",
|
|
311
|
-
outputs: [
|
|
312
|
-
{
|
|
313
|
-
internalType: "string",
|
|
314
|
-
name: "",
|
|
315
|
-
type: "string",
|
|
316
|
-
},
|
|
317
|
-
],
|
|
318
|
-
stateMutability: "view",
|
|
319
|
-
type: "function",
|
|
320
|
-
},
|
|
321
|
-
];
|
|
322
|
-
class ERC1155__factory {
|
|
323
|
-
static createInterface() {
|
|
324
|
-
return new ethers_1.Interface(_abi);
|
|
325
|
-
}
|
|
326
|
-
static connect(address, runner) {
|
|
327
|
-
return new ethers_1.Contract(address, _abi, runner);
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
exports.ERC1155__factory = ERC1155__factory;
|
|
331
|
-
ERC1155__factory.abi = _abi;
|
|
332
|
-
//# sourceMappingURL=ERC1155__factory.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ERC1155__factory.js","sourceRoot":"","sources":["../../../../../src/typechain/contracts/factories/ERC1155__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAGlE,MAAM,IAAI,GAAG;IACX;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,MAAM;aACb;SACF;QACD,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACv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AAG,GAAG,IAAI,CAAC"}
|
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
import { type ContractRunner } from "ethers";
|
|
2
|
-
import type { ERC20, ERC20Interface } from "../ERC20";
|
|
3
|
-
export declare class ERC20__factory {
|
|
4
|
-
static readonly abi: readonly [{
|
|
5
|
-
readonly constant: true;
|
|
6
|
-
readonly inputs: readonly [];
|
|
7
|
-
readonly name: "name";
|
|
8
|
-
readonly outputs: readonly [{
|
|
9
|
-
readonly name: "";
|
|
10
|
-
readonly type: "string";
|
|
11
|
-
}];
|
|
12
|
-
readonly payable: false;
|
|
13
|
-
readonly stateMutability: "view";
|
|
14
|
-
readonly type: "function";
|
|
15
|
-
}, {
|
|
16
|
-
readonly constant: false;
|
|
17
|
-
readonly inputs: readonly [{
|
|
18
|
-
readonly name: "_spender";
|
|
19
|
-
readonly type: "address";
|
|
20
|
-
}, {
|
|
21
|
-
readonly name: "_value";
|
|
22
|
-
readonly type: "uint256";
|
|
23
|
-
}];
|
|
24
|
-
readonly name: "approve";
|
|
25
|
-
readonly outputs: readonly [{
|
|
26
|
-
readonly name: "";
|
|
27
|
-
readonly type: "bool";
|
|
28
|
-
}];
|
|
29
|
-
readonly payable: false;
|
|
30
|
-
readonly stateMutability: "nonpayable";
|
|
31
|
-
readonly type: "function";
|
|
32
|
-
}, {
|
|
33
|
-
readonly constant: true;
|
|
34
|
-
readonly inputs: readonly [];
|
|
35
|
-
readonly name: "totalSupply";
|
|
36
|
-
readonly outputs: readonly [{
|
|
37
|
-
readonly name: "";
|
|
38
|
-
readonly type: "uint256";
|
|
39
|
-
}];
|
|
40
|
-
readonly payable: false;
|
|
41
|
-
readonly stateMutability: "view";
|
|
42
|
-
readonly type: "function";
|
|
43
|
-
}, {
|
|
44
|
-
readonly constant: false;
|
|
45
|
-
readonly inputs: readonly [{
|
|
46
|
-
readonly name: "_from";
|
|
47
|
-
readonly type: "address";
|
|
48
|
-
}, {
|
|
49
|
-
readonly name: "_to";
|
|
50
|
-
readonly type: "address";
|
|
51
|
-
}, {
|
|
52
|
-
readonly name: "_value";
|
|
53
|
-
readonly type: "uint256";
|
|
54
|
-
}];
|
|
55
|
-
readonly name: "transferFrom";
|
|
56
|
-
readonly outputs: readonly [{
|
|
57
|
-
readonly name: "";
|
|
58
|
-
readonly type: "bool";
|
|
59
|
-
}];
|
|
60
|
-
readonly payable: false;
|
|
61
|
-
readonly stateMutability: "nonpayable";
|
|
62
|
-
readonly type: "function";
|
|
63
|
-
}, {
|
|
64
|
-
readonly constant: true;
|
|
65
|
-
readonly inputs: readonly [];
|
|
66
|
-
readonly name: "decimals";
|
|
67
|
-
readonly outputs: readonly [{
|
|
68
|
-
readonly name: "";
|
|
69
|
-
readonly type: "uint8";
|
|
70
|
-
}];
|
|
71
|
-
readonly payable: false;
|
|
72
|
-
readonly stateMutability: "view";
|
|
73
|
-
readonly type: "function";
|
|
74
|
-
}, {
|
|
75
|
-
readonly constant: true;
|
|
76
|
-
readonly inputs: readonly [{
|
|
77
|
-
readonly name: "_owner";
|
|
78
|
-
readonly type: "address";
|
|
79
|
-
}];
|
|
80
|
-
readonly name: "balanceOf";
|
|
81
|
-
readonly outputs: readonly [{
|
|
82
|
-
readonly name: "balance";
|
|
83
|
-
readonly type: "uint256";
|
|
84
|
-
}];
|
|
85
|
-
readonly payable: false;
|
|
86
|
-
readonly stateMutability: "view";
|
|
87
|
-
readonly type: "function";
|
|
88
|
-
}, {
|
|
89
|
-
readonly constant: true;
|
|
90
|
-
readonly inputs: readonly [];
|
|
91
|
-
readonly name: "symbol";
|
|
92
|
-
readonly outputs: readonly [{
|
|
93
|
-
readonly name: "";
|
|
94
|
-
readonly type: "string";
|
|
95
|
-
}];
|
|
96
|
-
readonly payable: false;
|
|
97
|
-
readonly stateMutability: "view";
|
|
98
|
-
readonly type: "function";
|
|
99
|
-
}, {
|
|
100
|
-
readonly constant: false;
|
|
101
|
-
readonly inputs: readonly [{
|
|
102
|
-
readonly name: "_to";
|
|
103
|
-
readonly type: "address";
|
|
104
|
-
}, {
|
|
105
|
-
readonly name: "_value";
|
|
106
|
-
readonly type: "uint256";
|
|
107
|
-
}];
|
|
108
|
-
readonly name: "transfer";
|
|
109
|
-
readonly outputs: readonly [{
|
|
110
|
-
readonly name: "";
|
|
111
|
-
readonly type: "bool";
|
|
112
|
-
}];
|
|
113
|
-
readonly payable: false;
|
|
114
|
-
readonly stateMutability: "nonpayable";
|
|
115
|
-
readonly type: "function";
|
|
116
|
-
}, {
|
|
117
|
-
readonly constant: true;
|
|
118
|
-
readonly inputs: readonly [{
|
|
119
|
-
readonly name: "_owner";
|
|
120
|
-
readonly type: "address";
|
|
121
|
-
}, {
|
|
122
|
-
readonly name: "_spender";
|
|
123
|
-
readonly type: "address";
|
|
124
|
-
}];
|
|
125
|
-
readonly name: "allowance";
|
|
126
|
-
readonly outputs: readonly [{
|
|
127
|
-
readonly name: "";
|
|
128
|
-
readonly type: "uint256";
|
|
129
|
-
}];
|
|
130
|
-
readonly payable: false;
|
|
131
|
-
readonly stateMutability: "view";
|
|
132
|
-
readonly type: "function";
|
|
133
|
-
}, {
|
|
134
|
-
readonly payable: true;
|
|
135
|
-
readonly stateMutability: "payable";
|
|
136
|
-
readonly type: "fallback";
|
|
137
|
-
}, {
|
|
138
|
-
readonly anonymous: false;
|
|
139
|
-
readonly inputs: readonly [{
|
|
140
|
-
readonly indexed: true;
|
|
141
|
-
readonly name: "owner";
|
|
142
|
-
readonly type: "address";
|
|
143
|
-
}, {
|
|
144
|
-
readonly indexed: true;
|
|
145
|
-
readonly name: "spender";
|
|
146
|
-
readonly type: "address";
|
|
147
|
-
}, {
|
|
148
|
-
readonly indexed: false;
|
|
149
|
-
readonly name: "value";
|
|
150
|
-
readonly type: "uint256";
|
|
151
|
-
}];
|
|
152
|
-
readonly name: "Approval";
|
|
153
|
-
readonly type: "event";
|
|
154
|
-
}, {
|
|
155
|
-
readonly anonymous: false;
|
|
156
|
-
readonly inputs: readonly [{
|
|
157
|
-
readonly indexed: true;
|
|
158
|
-
readonly name: "from";
|
|
159
|
-
readonly type: "address";
|
|
160
|
-
}, {
|
|
161
|
-
readonly indexed: true;
|
|
162
|
-
readonly name: "to";
|
|
163
|
-
readonly type: "address";
|
|
164
|
-
}, {
|
|
165
|
-
readonly indexed: false;
|
|
166
|
-
readonly name: "value";
|
|
167
|
-
readonly type: "uint256";
|
|
168
|
-
}];
|
|
169
|
-
readonly name: "Transfer";
|
|
170
|
-
readonly type: "event";
|
|
171
|
-
}];
|
|
172
|
-
static createInterface(): ERC20Interface;
|
|
173
|
-
static connect(address: string, runner?: ContractRunner | null): ERC20;
|
|
174
|
-
}
|