@raac/rpc 1.1.0-beta.4 → 1.1.0-beta.5
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/dist/RPCLibrary.js +2 -0
- package/dist/artifacts/core/collectors/FeeCollector.sol/FeeCollector.json +2 -2
- package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.json +2 -2
- package/dist/artifacts/core/oracles/RAACPrimeRateOracle.sol/RAACPrimeRateOracle.json +66 -4
- package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +2 -2
- package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.json +21 -2
- package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.json +2 -2
- package/dist/artifacts/core/tokens/RToken.sol/RToken.json +2 -54
- package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +7 -2
- package/dist/artifacts/zeno/Auction.sol/Auction.json +17 -2
- package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +7 -2
- package/dist/artifacts/zeno/Zeno.sol/Zeno.json +2 -2
- package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +17 -2
- package/dist/pools/lendingPool/getUserOfDepositedNFT.js +27 -0
- package/dist/types/RPCLibrary.d.ts +2 -0
- package/dist/types/pools/lendingPool/getUserOfDepositedNFT.d.ts +11 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/core/tokens/DebtToken.d.ts +14 -5
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IDebtToken.d.ts +12 -3
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/DebtToken__factory.d.ts +6 -2
- package/dist/types/typechain-types/factories/contracts/core/tokens/RAACNFT__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IDebtToken__factory.d.ts +4 -0
- package/dist/types/typechain-types/factories/contracts/libraries/pools/ReserveLibrary__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/pools/ReserveLibraryMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/index.d.ts +0 -2
- package/dist/types/utils/artifacts.d.ts +16 -22
- package/package.json +1 -1
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/ERC721Wrapper.d.ts +0 -261
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/ERC721Wrapper__factory.d.ts +0 -417
|
@@ -1,261 +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 ERC721WrapperInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "approve" | "balanceOf" | "depositFor" | "getApproved" | "isApprovedForAll" | "name" | "onERC721Received" | "ownerOf" | "safeTransferFrom(address,address,uint256)" | "safeTransferFrom(address,address,uint256,bytes)" | "setApprovalForAll" | "supportsInterface" | "symbol" | "tokenURI" | "transferFrom" | "underlying" | "withdrawTo"): FunctionFragment;
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "Approval" | "ApprovalForAll" | "Transfer"): EventFragment;
|
|
6
|
-
encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
|
|
7
|
-
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
|
8
|
-
encodeFunctionData(functionFragment: "depositFor", values: [AddressLike, BigNumberish[]]): string;
|
|
9
|
-
encodeFunctionData(functionFragment: "getApproved", values: [BigNumberish]): string;
|
|
10
|
-
encodeFunctionData(functionFragment: "isApprovedForAll", values: [AddressLike, AddressLike]): string;
|
|
11
|
-
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
12
|
-
encodeFunctionData(functionFragment: "onERC721Received", values: [AddressLike, AddressLike, BigNumberish, BytesLike]): string;
|
|
13
|
-
encodeFunctionData(functionFragment: "ownerOf", values: [BigNumberish]): string;
|
|
14
|
-
encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256)", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
15
|
-
encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", values: [AddressLike, AddressLike, BigNumberish, BytesLike]): string;
|
|
16
|
-
encodeFunctionData(functionFragment: "setApprovalForAll", values: [AddressLike, boolean]): string;
|
|
17
|
-
encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
|
|
18
|
-
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
|
|
19
|
-
encodeFunctionData(functionFragment: "tokenURI", values: [BigNumberish]): string;
|
|
20
|
-
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
21
|
-
encodeFunctionData(functionFragment: "underlying", values?: undefined): string;
|
|
22
|
-
encodeFunctionData(functionFragment: "withdrawTo", values: [AddressLike, BigNumberish[]]): string;
|
|
23
|
-
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
24
|
-
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
25
|
-
decodeFunctionResult(functionFragment: "depositFor", data: BytesLike): Result;
|
|
26
|
-
decodeFunctionResult(functionFragment: "getApproved", data: BytesLike): Result;
|
|
27
|
-
decodeFunctionResult(functionFragment: "isApprovedForAll", data: BytesLike): Result;
|
|
28
|
-
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
29
|
-
decodeFunctionResult(functionFragment: "onERC721Received", data: BytesLike): Result;
|
|
30
|
-
decodeFunctionResult(functionFragment: "ownerOf", data: BytesLike): Result;
|
|
31
|
-
decodeFunctionResult(functionFragment: "safeTransferFrom(address,address,uint256)", data: BytesLike): Result;
|
|
32
|
-
decodeFunctionResult(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", data: BytesLike): Result;
|
|
33
|
-
decodeFunctionResult(functionFragment: "setApprovalForAll", data: BytesLike): Result;
|
|
34
|
-
decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
|
|
35
|
-
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
|
|
36
|
-
decodeFunctionResult(functionFragment: "tokenURI", data: BytesLike): Result;
|
|
37
|
-
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
|
|
38
|
-
decodeFunctionResult(functionFragment: "underlying", data: BytesLike): Result;
|
|
39
|
-
decodeFunctionResult(functionFragment: "withdrawTo", data: BytesLike): Result;
|
|
40
|
-
}
|
|
41
|
-
export declare namespace ApprovalEvent {
|
|
42
|
-
type InputTuple = [
|
|
43
|
-
owner: AddressLike,
|
|
44
|
-
approved: AddressLike,
|
|
45
|
-
tokenId: BigNumberish
|
|
46
|
-
];
|
|
47
|
-
type OutputTuple = [owner: string, approved: string, tokenId: bigint];
|
|
48
|
-
interface OutputObject {
|
|
49
|
-
owner: string;
|
|
50
|
-
approved: string;
|
|
51
|
-
tokenId: bigint;
|
|
52
|
-
}
|
|
53
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
54
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
55
|
-
type Log = TypedEventLog<Event>;
|
|
56
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
57
|
-
}
|
|
58
|
-
export declare namespace ApprovalForAllEvent {
|
|
59
|
-
type InputTuple = [
|
|
60
|
-
owner: AddressLike,
|
|
61
|
-
operator: AddressLike,
|
|
62
|
-
approved: boolean
|
|
63
|
-
];
|
|
64
|
-
type OutputTuple = [
|
|
65
|
-
owner: string,
|
|
66
|
-
operator: string,
|
|
67
|
-
approved: boolean
|
|
68
|
-
];
|
|
69
|
-
interface OutputObject {
|
|
70
|
-
owner: string;
|
|
71
|
-
operator: string;
|
|
72
|
-
approved: boolean;
|
|
73
|
-
}
|
|
74
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
75
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
76
|
-
type Log = TypedEventLog<Event>;
|
|
77
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
78
|
-
}
|
|
79
|
-
export declare namespace TransferEvent {
|
|
80
|
-
type InputTuple = [
|
|
81
|
-
from: AddressLike,
|
|
82
|
-
to: AddressLike,
|
|
83
|
-
tokenId: BigNumberish
|
|
84
|
-
];
|
|
85
|
-
type OutputTuple = [from: string, to: string, tokenId: bigint];
|
|
86
|
-
interface OutputObject {
|
|
87
|
-
from: string;
|
|
88
|
-
to: string;
|
|
89
|
-
tokenId: bigint;
|
|
90
|
-
}
|
|
91
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
92
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
93
|
-
type Log = TypedEventLog<Event>;
|
|
94
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
95
|
-
}
|
|
96
|
-
export interface ERC721Wrapper extends BaseContract {
|
|
97
|
-
connect(runner?: ContractRunner | null): ERC721Wrapper;
|
|
98
|
-
waitForDeployment(): Promise<this>;
|
|
99
|
-
interface: ERC721WrapperInterface;
|
|
100
|
-
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
101
|
-
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
102
|
-
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
103
|
-
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
104
|
-
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
105
|
-
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
106
|
-
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
107
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
108
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
109
|
-
approve: TypedContractMethod<[
|
|
110
|
-
to: AddressLike,
|
|
111
|
-
tokenId: BigNumberish
|
|
112
|
-
], [
|
|
113
|
-
void
|
|
114
|
-
], "nonpayable">;
|
|
115
|
-
balanceOf: TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
|
116
|
-
depositFor: TypedContractMethod<[
|
|
117
|
-
account: AddressLike,
|
|
118
|
-
tokenIds: BigNumberish[]
|
|
119
|
-
], [
|
|
120
|
-
boolean
|
|
121
|
-
], "nonpayable">;
|
|
122
|
-
getApproved: TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
|
123
|
-
isApprovedForAll: TypedContractMethod<[
|
|
124
|
-
owner: AddressLike,
|
|
125
|
-
operator: AddressLike
|
|
126
|
-
], [
|
|
127
|
-
boolean
|
|
128
|
-
], "view">;
|
|
129
|
-
name: TypedContractMethod<[], [string], "view">;
|
|
130
|
-
onERC721Received: TypedContractMethod<[
|
|
131
|
-
arg0: AddressLike,
|
|
132
|
-
from: AddressLike,
|
|
133
|
-
tokenId: BigNumberish,
|
|
134
|
-
arg3: BytesLike
|
|
135
|
-
], [
|
|
136
|
-
string
|
|
137
|
-
], "nonpayable">;
|
|
138
|
-
ownerOf: TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
|
139
|
-
"safeTransferFrom(address,address,uint256)": TypedContractMethod<[
|
|
140
|
-
from: AddressLike,
|
|
141
|
-
to: AddressLike,
|
|
142
|
-
tokenId: BigNumberish
|
|
143
|
-
], [
|
|
144
|
-
void
|
|
145
|
-
], "nonpayable">;
|
|
146
|
-
"safeTransferFrom(address,address,uint256,bytes)": TypedContractMethod<[
|
|
147
|
-
from: AddressLike,
|
|
148
|
-
to: AddressLike,
|
|
149
|
-
tokenId: BigNumberish,
|
|
150
|
-
data: BytesLike
|
|
151
|
-
], [
|
|
152
|
-
void
|
|
153
|
-
], "nonpayable">;
|
|
154
|
-
setApprovalForAll: TypedContractMethod<[
|
|
155
|
-
operator: AddressLike,
|
|
156
|
-
approved: boolean
|
|
157
|
-
], [
|
|
158
|
-
void
|
|
159
|
-
], "nonpayable">;
|
|
160
|
-
supportsInterface: TypedContractMethod<[
|
|
161
|
-
interfaceId: BytesLike
|
|
162
|
-
], [
|
|
163
|
-
boolean
|
|
164
|
-
], "view">;
|
|
165
|
-
symbol: TypedContractMethod<[], [string], "view">;
|
|
166
|
-
tokenURI: TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
|
167
|
-
transferFrom: TypedContractMethod<[
|
|
168
|
-
from: AddressLike,
|
|
169
|
-
to: AddressLike,
|
|
170
|
-
tokenId: BigNumberish
|
|
171
|
-
], [
|
|
172
|
-
void
|
|
173
|
-
], "nonpayable">;
|
|
174
|
-
underlying: TypedContractMethod<[], [string], "view">;
|
|
175
|
-
withdrawTo: TypedContractMethod<[
|
|
176
|
-
account: AddressLike,
|
|
177
|
-
tokenIds: BigNumberish[]
|
|
178
|
-
], [
|
|
179
|
-
boolean
|
|
180
|
-
], "nonpayable">;
|
|
181
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
182
|
-
getFunction(nameOrSignature: "approve"): TypedContractMethod<[
|
|
183
|
-
to: AddressLike,
|
|
184
|
-
tokenId: BigNumberish
|
|
185
|
-
], [
|
|
186
|
-
void
|
|
187
|
-
], "nonpayable">;
|
|
188
|
-
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
|
189
|
-
getFunction(nameOrSignature: "depositFor"): TypedContractMethod<[
|
|
190
|
-
account: AddressLike,
|
|
191
|
-
tokenIds: BigNumberish[]
|
|
192
|
-
], [
|
|
193
|
-
boolean
|
|
194
|
-
], "nonpayable">;
|
|
195
|
-
getFunction(nameOrSignature: "getApproved"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
|
196
|
-
getFunction(nameOrSignature: "isApprovedForAll"): TypedContractMethod<[
|
|
197
|
-
owner: AddressLike,
|
|
198
|
-
operator: AddressLike
|
|
199
|
-
], [
|
|
200
|
-
boolean
|
|
201
|
-
], "view">;
|
|
202
|
-
getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
|
|
203
|
-
getFunction(nameOrSignature: "onERC721Received"): TypedContractMethod<[
|
|
204
|
-
arg0: AddressLike,
|
|
205
|
-
from: AddressLike,
|
|
206
|
-
tokenId: BigNumberish,
|
|
207
|
-
arg3: BytesLike
|
|
208
|
-
], [
|
|
209
|
-
string
|
|
210
|
-
], "nonpayable">;
|
|
211
|
-
getFunction(nameOrSignature: "ownerOf"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
|
212
|
-
getFunction(nameOrSignature: "safeTransferFrom(address,address,uint256)"): TypedContractMethod<[
|
|
213
|
-
from: AddressLike,
|
|
214
|
-
to: AddressLike,
|
|
215
|
-
tokenId: BigNumberish
|
|
216
|
-
], [
|
|
217
|
-
void
|
|
218
|
-
], "nonpayable">;
|
|
219
|
-
getFunction(nameOrSignature: "safeTransferFrom(address,address,uint256,bytes)"): TypedContractMethod<[
|
|
220
|
-
from: AddressLike,
|
|
221
|
-
to: AddressLike,
|
|
222
|
-
tokenId: BigNumberish,
|
|
223
|
-
data: BytesLike
|
|
224
|
-
], [
|
|
225
|
-
void
|
|
226
|
-
], "nonpayable">;
|
|
227
|
-
getFunction(nameOrSignature: "setApprovalForAll"): TypedContractMethod<[
|
|
228
|
-
operator: AddressLike,
|
|
229
|
-
approved: boolean
|
|
230
|
-
], [
|
|
231
|
-
void
|
|
232
|
-
], "nonpayable">;
|
|
233
|
-
getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
234
|
-
getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
|
|
235
|
-
getFunction(nameOrSignature: "tokenURI"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
|
236
|
-
getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
|
|
237
|
-
from: AddressLike,
|
|
238
|
-
to: AddressLike,
|
|
239
|
-
tokenId: BigNumberish
|
|
240
|
-
], [
|
|
241
|
-
void
|
|
242
|
-
], "nonpayable">;
|
|
243
|
-
getFunction(nameOrSignature: "underlying"): TypedContractMethod<[], [string], "view">;
|
|
244
|
-
getFunction(nameOrSignature: "withdrawTo"): TypedContractMethod<[
|
|
245
|
-
account: AddressLike,
|
|
246
|
-
tokenIds: BigNumberish[]
|
|
247
|
-
], [
|
|
248
|
-
boolean
|
|
249
|
-
], "nonpayable">;
|
|
250
|
-
getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
251
|
-
getEvent(key: "ApprovalForAll"): TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
|
|
252
|
-
getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
253
|
-
filters: {
|
|
254
|
-
"Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
255
|
-
Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
256
|
-
"ApprovalForAll(address,address,bool)": TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
|
|
257
|
-
ApprovalForAll: TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
|
|
258
|
-
"Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
259
|
-
Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
260
|
-
};
|
|
261
|
-
}
|
|
@@ -1,417 +0,0 @@
|
|
|
1
|
-
import { type ContractRunner } from "ethers";
|
|
2
|
-
import type { ERC721Wrapper, ERC721WrapperInterface } from "../../../../../../@openzeppelin/contracts/token/ERC721/extensions/ERC721Wrapper";
|
|
3
|
-
export declare class ERC721Wrapper__factory {
|
|
4
|
-
static readonly abi: readonly [{
|
|
5
|
-
readonly inputs: readonly [{
|
|
6
|
-
readonly internalType: "address";
|
|
7
|
-
readonly name: "sender";
|
|
8
|
-
readonly type: "address";
|
|
9
|
-
}, {
|
|
10
|
-
readonly internalType: "uint256";
|
|
11
|
-
readonly name: "tokenId";
|
|
12
|
-
readonly type: "uint256";
|
|
13
|
-
}, {
|
|
14
|
-
readonly internalType: "address";
|
|
15
|
-
readonly name: "owner";
|
|
16
|
-
readonly type: "address";
|
|
17
|
-
}];
|
|
18
|
-
readonly name: "ERC721IncorrectOwner";
|
|
19
|
-
readonly type: "error";
|
|
20
|
-
}, {
|
|
21
|
-
readonly inputs: readonly [{
|
|
22
|
-
readonly internalType: "address";
|
|
23
|
-
readonly name: "operator";
|
|
24
|
-
readonly type: "address";
|
|
25
|
-
}, {
|
|
26
|
-
readonly internalType: "uint256";
|
|
27
|
-
readonly name: "tokenId";
|
|
28
|
-
readonly type: "uint256";
|
|
29
|
-
}];
|
|
30
|
-
readonly name: "ERC721InsufficientApproval";
|
|
31
|
-
readonly type: "error";
|
|
32
|
-
}, {
|
|
33
|
-
readonly inputs: readonly [{
|
|
34
|
-
readonly internalType: "address";
|
|
35
|
-
readonly name: "approver";
|
|
36
|
-
readonly type: "address";
|
|
37
|
-
}];
|
|
38
|
-
readonly name: "ERC721InvalidApprover";
|
|
39
|
-
readonly type: "error";
|
|
40
|
-
}, {
|
|
41
|
-
readonly inputs: readonly [{
|
|
42
|
-
readonly internalType: "address";
|
|
43
|
-
readonly name: "operator";
|
|
44
|
-
readonly type: "address";
|
|
45
|
-
}];
|
|
46
|
-
readonly name: "ERC721InvalidOperator";
|
|
47
|
-
readonly type: "error";
|
|
48
|
-
}, {
|
|
49
|
-
readonly inputs: readonly [{
|
|
50
|
-
readonly internalType: "address";
|
|
51
|
-
readonly name: "owner";
|
|
52
|
-
readonly type: "address";
|
|
53
|
-
}];
|
|
54
|
-
readonly name: "ERC721InvalidOwner";
|
|
55
|
-
readonly type: "error";
|
|
56
|
-
}, {
|
|
57
|
-
readonly inputs: readonly [{
|
|
58
|
-
readonly internalType: "address";
|
|
59
|
-
readonly name: "receiver";
|
|
60
|
-
readonly type: "address";
|
|
61
|
-
}];
|
|
62
|
-
readonly name: "ERC721InvalidReceiver";
|
|
63
|
-
readonly type: "error";
|
|
64
|
-
}, {
|
|
65
|
-
readonly inputs: readonly [{
|
|
66
|
-
readonly internalType: "address";
|
|
67
|
-
readonly name: "sender";
|
|
68
|
-
readonly type: "address";
|
|
69
|
-
}];
|
|
70
|
-
readonly name: "ERC721InvalidSender";
|
|
71
|
-
readonly type: "error";
|
|
72
|
-
}, {
|
|
73
|
-
readonly inputs: readonly [{
|
|
74
|
-
readonly internalType: "uint256";
|
|
75
|
-
readonly name: "tokenId";
|
|
76
|
-
readonly type: "uint256";
|
|
77
|
-
}];
|
|
78
|
-
readonly name: "ERC721NonexistentToken";
|
|
79
|
-
readonly type: "error";
|
|
80
|
-
}, {
|
|
81
|
-
readonly inputs: readonly [{
|
|
82
|
-
readonly internalType: "address";
|
|
83
|
-
readonly name: "token";
|
|
84
|
-
readonly type: "address";
|
|
85
|
-
}];
|
|
86
|
-
readonly name: "ERC721UnsupportedToken";
|
|
87
|
-
readonly type: "error";
|
|
88
|
-
}, {
|
|
89
|
-
readonly anonymous: false;
|
|
90
|
-
readonly inputs: readonly [{
|
|
91
|
-
readonly indexed: true;
|
|
92
|
-
readonly internalType: "address";
|
|
93
|
-
readonly name: "owner";
|
|
94
|
-
readonly type: "address";
|
|
95
|
-
}, {
|
|
96
|
-
readonly indexed: true;
|
|
97
|
-
readonly internalType: "address";
|
|
98
|
-
readonly name: "approved";
|
|
99
|
-
readonly type: "address";
|
|
100
|
-
}, {
|
|
101
|
-
readonly indexed: true;
|
|
102
|
-
readonly internalType: "uint256";
|
|
103
|
-
readonly name: "tokenId";
|
|
104
|
-
readonly type: "uint256";
|
|
105
|
-
}];
|
|
106
|
-
readonly name: "Approval";
|
|
107
|
-
readonly type: "event";
|
|
108
|
-
}, {
|
|
109
|
-
readonly anonymous: false;
|
|
110
|
-
readonly inputs: readonly [{
|
|
111
|
-
readonly indexed: true;
|
|
112
|
-
readonly internalType: "address";
|
|
113
|
-
readonly name: "owner";
|
|
114
|
-
readonly type: "address";
|
|
115
|
-
}, {
|
|
116
|
-
readonly indexed: true;
|
|
117
|
-
readonly internalType: "address";
|
|
118
|
-
readonly name: "operator";
|
|
119
|
-
readonly type: "address";
|
|
120
|
-
}, {
|
|
121
|
-
readonly indexed: false;
|
|
122
|
-
readonly internalType: "bool";
|
|
123
|
-
readonly name: "approved";
|
|
124
|
-
readonly type: "bool";
|
|
125
|
-
}];
|
|
126
|
-
readonly name: "ApprovalForAll";
|
|
127
|
-
readonly type: "event";
|
|
128
|
-
}, {
|
|
129
|
-
readonly anonymous: false;
|
|
130
|
-
readonly inputs: readonly [{
|
|
131
|
-
readonly indexed: true;
|
|
132
|
-
readonly internalType: "address";
|
|
133
|
-
readonly name: "from";
|
|
134
|
-
readonly type: "address";
|
|
135
|
-
}, {
|
|
136
|
-
readonly indexed: true;
|
|
137
|
-
readonly internalType: "address";
|
|
138
|
-
readonly name: "to";
|
|
139
|
-
readonly type: "address";
|
|
140
|
-
}, {
|
|
141
|
-
readonly indexed: true;
|
|
142
|
-
readonly internalType: "uint256";
|
|
143
|
-
readonly name: "tokenId";
|
|
144
|
-
readonly type: "uint256";
|
|
145
|
-
}];
|
|
146
|
-
readonly name: "Transfer";
|
|
147
|
-
readonly type: "event";
|
|
148
|
-
}, {
|
|
149
|
-
readonly inputs: readonly [{
|
|
150
|
-
readonly internalType: "address";
|
|
151
|
-
readonly name: "to";
|
|
152
|
-
readonly type: "address";
|
|
153
|
-
}, {
|
|
154
|
-
readonly internalType: "uint256";
|
|
155
|
-
readonly name: "tokenId";
|
|
156
|
-
readonly type: "uint256";
|
|
157
|
-
}];
|
|
158
|
-
readonly name: "approve";
|
|
159
|
-
readonly outputs: readonly [];
|
|
160
|
-
readonly stateMutability: "nonpayable";
|
|
161
|
-
readonly type: "function";
|
|
162
|
-
}, {
|
|
163
|
-
readonly inputs: readonly [{
|
|
164
|
-
readonly internalType: "address";
|
|
165
|
-
readonly name: "owner";
|
|
166
|
-
readonly type: "address";
|
|
167
|
-
}];
|
|
168
|
-
readonly name: "balanceOf";
|
|
169
|
-
readonly outputs: readonly [{
|
|
170
|
-
readonly internalType: "uint256";
|
|
171
|
-
readonly name: "";
|
|
172
|
-
readonly type: "uint256";
|
|
173
|
-
}];
|
|
174
|
-
readonly stateMutability: "view";
|
|
175
|
-
readonly type: "function";
|
|
176
|
-
}, {
|
|
177
|
-
readonly inputs: readonly [{
|
|
178
|
-
readonly internalType: "address";
|
|
179
|
-
readonly name: "account";
|
|
180
|
-
readonly type: "address";
|
|
181
|
-
}, {
|
|
182
|
-
readonly internalType: "uint256[]";
|
|
183
|
-
readonly name: "tokenIds";
|
|
184
|
-
readonly type: "uint256[]";
|
|
185
|
-
}];
|
|
186
|
-
readonly name: "depositFor";
|
|
187
|
-
readonly outputs: readonly [{
|
|
188
|
-
readonly internalType: "bool";
|
|
189
|
-
readonly name: "";
|
|
190
|
-
readonly type: "bool";
|
|
191
|
-
}];
|
|
192
|
-
readonly stateMutability: "nonpayable";
|
|
193
|
-
readonly type: "function";
|
|
194
|
-
}, {
|
|
195
|
-
readonly inputs: readonly [{
|
|
196
|
-
readonly internalType: "uint256";
|
|
197
|
-
readonly name: "tokenId";
|
|
198
|
-
readonly type: "uint256";
|
|
199
|
-
}];
|
|
200
|
-
readonly name: "getApproved";
|
|
201
|
-
readonly outputs: readonly [{
|
|
202
|
-
readonly internalType: "address";
|
|
203
|
-
readonly name: "";
|
|
204
|
-
readonly type: "address";
|
|
205
|
-
}];
|
|
206
|
-
readonly stateMutability: "view";
|
|
207
|
-
readonly type: "function";
|
|
208
|
-
}, {
|
|
209
|
-
readonly inputs: readonly [{
|
|
210
|
-
readonly internalType: "address";
|
|
211
|
-
readonly name: "owner";
|
|
212
|
-
readonly type: "address";
|
|
213
|
-
}, {
|
|
214
|
-
readonly internalType: "address";
|
|
215
|
-
readonly name: "operator";
|
|
216
|
-
readonly type: "address";
|
|
217
|
-
}];
|
|
218
|
-
readonly name: "isApprovedForAll";
|
|
219
|
-
readonly outputs: readonly [{
|
|
220
|
-
readonly internalType: "bool";
|
|
221
|
-
readonly name: "";
|
|
222
|
-
readonly type: "bool";
|
|
223
|
-
}];
|
|
224
|
-
readonly stateMutability: "view";
|
|
225
|
-
readonly type: "function";
|
|
226
|
-
}, {
|
|
227
|
-
readonly inputs: readonly [];
|
|
228
|
-
readonly name: "name";
|
|
229
|
-
readonly outputs: readonly [{
|
|
230
|
-
readonly internalType: "string";
|
|
231
|
-
readonly name: "";
|
|
232
|
-
readonly type: "string";
|
|
233
|
-
}];
|
|
234
|
-
readonly stateMutability: "view";
|
|
235
|
-
readonly type: "function";
|
|
236
|
-
}, {
|
|
237
|
-
readonly inputs: readonly [{
|
|
238
|
-
readonly internalType: "address";
|
|
239
|
-
readonly name: "";
|
|
240
|
-
readonly type: "address";
|
|
241
|
-
}, {
|
|
242
|
-
readonly internalType: "address";
|
|
243
|
-
readonly name: "from";
|
|
244
|
-
readonly type: "address";
|
|
245
|
-
}, {
|
|
246
|
-
readonly internalType: "uint256";
|
|
247
|
-
readonly name: "tokenId";
|
|
248
|
-
readonly type: "uint256";
|
|
249
|
-
}, {
|
|
250
|
-
readonly internalType: "bytes";
|
|
251
|
-
readonly name: "";
|
|
252
|
-
readonly type: "bytes";
|
|
253
|
-
}];
|
|
254
|
-
readonly name: "onERC721Received";
|
|
255
|
-
readonly outputs: readonly [{
|
|
256
|
-
readonly internalType: "bytes4";
|
|
257
|
-
readonly name: "";
|
|
258
|
-
readonly type: "bytes4";
|
|
259
|
-
}];
|
|
260
|
-
readonly stateMutability: "nonpayable";
|
|
261
|
-
readonly type: "function";
|
|
262
|
-
}, {
|
|
263
|
-
readonly inputs: readonly [{
|
|
264
|
-
readonly internalType: "uint256";
|
|
265
|
-
readonly name: "tokenId";
|
|
266
|
-
readonly type: "uint256";
|
|
267
|
-
}];
|
|
268
|
-
readonly name: "ownerOf";
|
|
269
|
-
readonly outputs: readonly [{
|
|
270
|
-
readonly internalType: "address";
|
|
271
|
-
readonly name: "";
|
|
272
|
-
readonly type: "address";
|
|
273
|
-
}];
|
|
274
|
-
readonly stateMutability: "view";
|
|
275
|
-
readonly type: "function";
|
|
276
|
-
}, {
|
|
277
|
-
readonly inputs: readonly [{
|
|
278
|
-
readonly internalType: "address";
|
|
279
|
-
readonly name: "from";
|
|
280
|
-
readonly type: "address";
|
|
281
|
-
}, {
|
|
282
|
-
readonly internalType: "address";
|
|
283
|
-
readonly name: "to";
|
|
284
|
-
readonly type: "address";
|
|
285
|
-
}, {
|
|
286
|
-
readonly internalType: "uint256";
|
|
287
|
-
readonly name: "tokenId";
|
|
288
|
-
readonly type: "uint256";
|
|
289
|
-
}];
|
|
290
|
-
readonly name: "safeTransferFrom";
|
|
291
|
-
readonly outputs: readonly [];
|
|
292
|
-
readonly stateMutability: "nonpayable";
|
|
293
|
-
readonly type: "function";
|
|
294
|
-
}, {
|
|
295
|
-
readonly inputs: readonly [{
|
|
296
|
-
readonly internalType: "address";
|
|
297
|
-
readonly name: "from";
|
|
298
|
-
readonly type: "address";
|
|
299
|
-
}, {
|
|
300
|
-
readonly internalType: "address";
|
|
301
|
-
readonly name: "to";
|
|
302
|
-
readonly type: "address";
|
|
303
|
-
}, {
|
|
304
|
-
readonly internalType: "uint256";
|
|
305
|
-
readonly name: "tokenId";
|
|
306
|
-
readonly type: "uint256";
|
|
307
|
-
}, {
|
|
308
|
-
readonly internalType: "bytes";
|
|
309
|
-
readonly name: "data";
|
|
310
|
-
readonly type: "bytes";
|
|
311
|
-
}];
|
|
312
|
-
readonly name: "safeTransferFrom";
|
|
313
|
-
readonly outputs: readonly [];
|
|
314
|
-
readonly stateMutability: "nonpayable";
|
|
315
|
-
readonly type: "function";
|
|
316
|
-
}, {
|
|
317
|
-
readonly inputs: readonly [{
|
|
318
|
-
readonly internalType: "address";
|
|
319
|
-
readonly name: "operator";
|
|
320
|
-
readonly type: "address";
|
|
321
|
-
}, {
|
|
322
|
-
readonly internalType: "bool";
|
|
323
|
-
readonly name: "approved";
|
|
324
|
-
readonly type: "bool";
|
|
325
|
-
}];
|
|
326
|
-
readonly name: "setApprovalForAll";
|
|
327
|
-
readonly outputs: readonly [];
|
|
328
|
-
readonly stateMutability: "nonpayable";
|
|
329
|
-
readonly type: "function";
|
|
330
|
-
}, {
|
|
331
|
-
readonly inputs: readonly [{
|
|
332
|
-
readonly internalType: "bytes4";
|
|
333
|
-
readonly name: "interfaceId";
|
|
334
|
-
readonly type: "bytes4";
|
|
335
|
-
}];
|
|
336
|
-
readonly name: "supportsInterface";
|
|
337
|
-
readonly outputs: readonly [{
|
|
338
|
-
readonly internalType: "bool";
|
|
339
|
-
readonly name: "";
|
|
340
|
-
readonly type: "bool";
|
|
341
|
-
}];
|
|
342
|
-
readonly stateMutability: "view";
|
|
343
|
-
readonly type: "function";
|
|
344
|
-
}, {
|
|
345
|
-
readonly inputs: readonly [];
|
|
346
|
-
readonly name: "symbol";
|
|
347
|
-
readonly outputs: readonly [{
|
|
348
|
-
readonly internalType: "string";
|
|
349
|
-
readonly name: "";
|
|
350
|
-
readonly type: "string";
|
|
351
|
-
}];
|
|
352
|
-
readonly stateMutability: "view";
|
|
353
|
-
readonly type: "function";
|
|
354
|
-
}, {
|
|
355
|
-
readonly inputs: readonly [{
|
|
356
|
-
readonly internalType: "uint256";
|
|
357
|
-
readonly name: "tokenId";
|
|
358
|
-
readonly type: "uint256";
|
|
359
|
-
}];
|
|
360
|
-
readonly name: "tokenURI";
|
|
361
|
-
readonly outputs: readonly [{
|
|
362
|
-
readonly internalType: "string";
|
|
363
|
-
readonly name: "";
|
|
364
|
-
readonly type: "string";
|
|
365
|
-
}];
|
|
366
|
-
readonly stateMutability: "view";
|
|
367
|
-
readonly type: "function";
|
|
368
|
-
}, {
|
|
369
|
-
readonly inputs: readonly [{
|
|
370
|
-
readonly internalType: "address";
|
|
371
|
-
readonly name: "from";
|
|
372
|
-
readonly type: "address";
|
|
373
|
-
}, {
|
|
374
|
-
readonly internalType: "address";
|
|
375
|
-
readonly name: "to";
|
|
376
|
-
readonly type: "address";
|
|
377
|
-
}, {
|
|
378
|
-
readonly internalType: "uint256";
|
|
379
|
-
readonly name: "tokenId";
|
|
380
|
-
readonly type: "uint256";
|
|
381
|
-
}];
|
|
382
|
-
readonly name: "transferFrom";
|
|
383
|
-
readonly outputs: readonly [];
|
|
384
|
-
readonly stateMutability: "nonpayable";
|
|
385
|
-
readonly type: "function";
|
|
386
|
-
}, {
|
|
387
|
-
readonly inputs: readonly [];
|
|
388
|
-
readonly name: "underlying";
|
|
389
|
-
readonly outputs: readonly [{
|
|
390
|
-
readonly internalType: "contract IERC721";
|
|
391
|
-
readonly name: "";
|
|
392
|
-
readonly type: "address";
|
|
393
|
-
}];
|
|
394
|
-
readonly stateMutability: "view";
|
|
395
|
-
readonly type: "function";
|
|
396
|
-
}, {
|
|
397
|
-
readonly inputs: readonly [{
|
|
398
|
-
readonly internalType: "address";
|
|
399
|
-
readonly name: "account";
|
|
400
|
-
readonly type: "address";
|
|
401
|
-
}, {
|
|
402
|
-
readonly internalType: "uint256[]";
|
|
403
|
-
readonly name: "tokenIds";
|
|
404
|
-
readonly type: "uint256[]";
|
|
405
|
-
}];
|
|
406
|
-
readonly name: "withdrawTo";
|
|
407
|
-
readonly outputs: readonly [{
|
|
408
|
-
readonly internalType: "bool";
|
|
409
|
-
readonly name: "";
|
|
410
|
-
readonly type: "bool";
|
|
411
|
-
}];
|
|
412
|
-
readonly stateMutability: "nonpayable";
|
|
413
|
-
readonly type: "function";
|
|
414
|
-
}];
|
|
415
|
-
static createInterface(): ERC721WrapperInterface;
|
|
416
|
-
static connect(address: string, runner?: ContractRunner | null): ERC721Wrapper;
|
|
417
|
-
}
|