@wireio/outpost-ethereum-artifacts 0.1.1 → 0.2.1
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 +13 -4
- package/abis/BAR.json +2001 -0
- package/abis/IERC1155.json +299 -0
- package/lib/cjs/Manifest.d.ts +80 -0
- package/lib/cjs/Manifest.js +241 -0
- package/lib/cjs/contracts/BAR.d.ts +563 -0
- package/lib/cjs/contracts/BAR.js +2 -0
- package/lib/cjs/contracts/IERC1155.d.ts +232 -0
- package/lib/cjs/contracts/IERC1155.js +2 -0
- package/lib/cjs/contracts/OPP.d.ts +472 -0
- package/lib/cjs/contracts/OPP.js +2 -0
- package/lib/cjs/contracts/OPPInbound.d.ts +907 -0
- package/lib/cjs/contracts/OPPInbound.js +2 -0
- package/lib/cjs/contracts/OperatorRegistry.d.ts +592 -0
- package/lib/cjs/contracts/OperatorRegistry.js +2 -0
- package/lib/cjs/contracts/ReserveManager.d.ts +1138 -0
- package/lib/cjs/contracts/ReserveManager.js +2 -0
- package/lib/cjs/contracts/common.d.ts +50 -0
- package/lib/cjs/contracts/common.js +2 -0
- package/lib/cjs/contracts/factories/BAR__factory.d.ts +1532 -0
- package/lib/cjs/contracts/factories/BAR__factory.js +2014 -0
- package/lib/cjs/contracts/factories/IERC1155__factory.d.ts +236 -0
- package/lib/cjs/contracts/factories/IERC1155__factory.js +312 -0
- package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +1454 -0
- package/lib/cjs/contracts/factories/OPPInbound__factory.js +1909 -0
- package/lib/cjs/contracts/factories/OPP__factory.d.ts +1029 -0
- package/lib/cjs/contracts/factories/OPP__factory.js +1362 -0
- package/lib/cjs/contracts/factories/OperatorRegistry__factory.d.ts +1517 -0
- package/lib/cjs/contracts/factories/OperatorRegistry__factory.js +1991 -0
- package/lib/cjs/contracts/factories/ReserveManager__factory.d.ts +2146 -0
- package/lib/cjs/contracts/factories/ReserveManager__factory.js +2783 -0
- package/lib/cjs/contracts/factories/index.d.ts +6 -0
- package/lib/cjs/contracts/factories/index.js +18 -0
- package/lib/cjs/contracts/index.d.ts +13 -0
- package/lib/cjs/contracts/index.js +49 -0
- package/lib/cjs/index.d.ts +3 -0
- package/lib/cjs/index.js +18 -0
- package/lib/cjs/package.json +3 -0
- package/lib/esm/Manifest.d.ts +80 -0
- package/lib/esm/Manifest.js +238 -0
- package/lib/esm/contracts/BAR.d.ts +563 -0
- package/lib/esm/contracts/BAR.js +1 -0
- package/lib/esm/contracts/IERC1155.d.ts +232 -0
- package/lib/esm/contracts/IERC1155.js +1 -0
- package/lib/esm/contracts/OPP.d.ts +472 -0
- package/lib/esm/contracts/OPP.js +1 -0
- package/lib/esm/contracts/OPPInbound.d.ts +907 -0
- package/lib/esm/contracts/OPPInbound.js +1 -0
- package/lib/esm/contracts/OperatorRegistry.d.ts +592 -0
- package/lib/esm/contracts/OperatorRegistry.js +1 -0
- package/lib/esm/contracts/ReserveManager.d.ts +1138 -0
- package/lib/esm/contracts/ReserveManager.js +1 -0
- package/lib/esm/contracts/common.d.ts +50 -0
- package/lib/esm/contracts/common.js +1 -0
- package/lib/esm/contracts/factories/BAR__factory.d.ts +1532 -0
- package/lib/esm/contracts/factories/BAR__factory.js +2010 -0
- package/lib/esm/contracts/factories/IERC1155__factory.d.ts +236 -0
- package/lib/esm/contracts/factories/IERC1155__factory.js +308 -0
- package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +1454 -0
- package/lib/esm/contracts/factories/OPPInbound__factory.js +1905 -0
- package/lib/esm/contracts/factories/OPP__factory.d.ts +1029 -0
- package/lib/esm/contracts/factories/OPP__factory.js +1358 -0
- package/lib/esm/contracts/factories/OperatorRegistry__factory.d.ts +1517 -0
- package/lib/esm/contracts/factories/OperatorRegistry__factory.js +1987 -0
- package/lib/esm/contracts/factories/ReserveManager__factory.d.ts +2146 -0
- package/lib/esm/contracts/factories/ReserveManager__factory.js +2779 -0
- package/lib/esm/contracts/factories/index.d.ts +6 -0
- package/lib/esm/contracts/factories/index.js +9 -0
- package/lib/esm/contracts/index.d.ts +13 -0
- package/lib/esm/contracts/index.js +7 -0
- package/lib/esm/index.d.ts +3 -0
- package/lib/esm/index.js +2 -0
- package/manifest.json +17 -3
- package/package.json +13 -1
- package/runtime/BAR.bin +0 -0
|
@@ -0,0 +1,232 @@
|
|
|
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.js";
|
|
3
|
+
export interface IERC1155Interface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "balanceOf" | "balanceOfBatch" | "isApprovedForAll" | "safeBatchTransferFrom" | "safeTransferFrom" | "setApprovalForAll" | "supportsInterface"): 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
|
+
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
20
|
+
decodeFunctionResult(functionFragment: "balanceOfBatch", data: BytesLike): Result;
|
|
21
|
+
decodeFunctionResult(functionFragment: "isApprovedForAll", data: BytesLike): Result;
|
|
22
|
+
decodeFunctionResult(functionFragment: "safeBatchTransferFrom", data: BytesLike): Result;
|
|
23
|
+
decodeFunctionResult(functionFragment: "safeTransferFrom", data: BytesLike): Result;
|
|
24
|
+
decodeFunctionResult(functionFragment: "setApprovalForAll", data: BytesLike): Result;
|
|
25
|
+
decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace ApprovalForAllEvent {
|
|
28
|
+
type InputTuple = [
|
|
29
|
+
account: AddressLike,
|
|
30
|
+
operator: AddressLike,
|
|
31
|
+
approved: boolean
|
|
32
|
+
];
|
|
33
|
+
type OutputTuple = [
|
|
34
|
+
account: string,
|
|
35
|
+
operator: string,
|
|
36
|
+
approved: boolean
|
|
37
|
+
];
|
|
38
|
+
interface OutputObject {
|
|
39
|
+
account: string;
|
|
40
|
+
operator: string;
|
|
41
|
+
approved: boolean;
|
|
42
|
+
}
|
|
43
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
44
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
45
|
+
type Log = TypedEventLog<Event>;
|
|
46
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
47
|
+
}
|
|
48
|
+
export declare namespace TransferBatchEvent {
|
|
49
|
+
type InputTuple = [
|
|
50
|
+
operator: AddressLike,
|
|
51
|
+
from: AddressLike,
|
|
52
|
+
to: AddressLike,
|
|
53
|
+
ids: BigNumberish[],
|
|
54
|
+
values: BigNumberish[]
|
|
55
|
+
];
|
|
56
|
+
type OutputTuple = [
|
|
57
|
+
operator: string,
|
|
58
|
+
from: string,
|
|
59
|
+
to: string,
|
|
60
|
+
ids: bigint[],
|
|
61
|
+
values: bigint[]
|
|
62
|
+
];
|
|
63
|
+
interface OutputObject {
|
|
64
|
+
operator: string;
|
|
65
|
+
from: string;
|
|
66
|
+
to: string;
|
|
67
|
+
ids: bigint[];
|
|
68
|
+
values: bigint[];
|
|
69
|
+
}
|
|
70
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
71
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
72
|
+
type Log = TypedEventLog<Event>;
|
|
73
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
74
|
+
}
|
|
75
|
+
export declare namespace TransferSingleEvent {
|
|
76
|
+
type InputTuple = [
|
|
77
|
+
operator: AddressLike,
|
|
78
|
+
from: AddressLike,
|
|
79
|
+
to: AddressLike,
|
|
80
|
+
id: BigNumberish,
|
|
81
|
+
value: BigNumberish
|
|
82
|
+
];
|
|
83
|
+
type OutputTuple = [
|
|
84
|
+
operator: string,
|
|
85
|
+
from: string,
|
|
86
|
+
to: string,
|
|
87
|
+
id: bigint,
|
|
88
|
+
value: bigint
|
|
89
|
+
];
|
|
90
|
+
interface OutputObject {
|
|
91
|
+
operator: string;
|
|
92
|
+
from: string;
|
|
93
|
+
to: string;
|
|
94
|
+
id: bigint;
|
|
95
|
+
value: bigint;
|
|
96
|
+
}
|
|
97
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
98
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
99
|
+
type Log = TypedEventLog<Event>;
|
|
100
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
101
|
+
}
|
|
102
|
+
export declare namespace URIEvent {
|
|
103
|
+
type InputTuple = [value: string, id: BigNumberish];
|
|
104
|
+
type OutputTuple = [value: string, id: bigint];
|
|
105
|
+
interface OutputObject {
|
|
106
|
+
value: string;
|
|
107
|
+
id: bigint;
|
|
108
|
+
}
|
|
109
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
110
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
111
|
+
type Log = TypedEventLog<Event>;
|
|
112
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
113
|
+
}
|
|
114
|
+
export interface IERC1155 extends BaseContract {
|
|
115
|
+
connect(runner?: ContractRunner | null): IERC1155;
|
|
116
|
+
waitForDeployment(): Promise<this>;
|
|
117
|
+
interface: IERC1155Interface;
|
|
118
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
119
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
120
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
121
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
122
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
123
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
124
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
125
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
126
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
127
|
+
balanceOf: TypedContractMethod<[
|
|
128
|
+
account: AddressLike,
|
|
129
|
+
id: BigNumberish
|
|
130
|
+
], [
|
|
131
|
+
bigint
|
|
132
|
+
], "view">;
|
|
133
|
+
balanceOfBatch: TypedContractMethod<[
|
|
134
|
+
accounts: AddressLike[],
|
|
135
|
+
ids: BigNumberish[]
|
|
136
|
+
], [
|
|
137
|
+
bigint[]
|
|
138
|
+
], "view">;
|
|
139
|
+
isApprovedForAll: TypedContractMethod<[
|
|
140
|
+
account: AddressLike,
|
|
141
|
+
operator: AddressLike
|
|
142
|
+
], [
|
|
143
|
+
boolean
|
|
144
|
+
], "view">;
|
|
145
|
+
safeBatchTransferFrom: TypedContractMethod<[
|
|
146
|
+
from: AddressLike,
|
|
147
|
+
to: AddressLike,
|
|
148
|
+
ids: BigNumberish[],
|
|
149
|
+
values: BigNumberish[],
|
|
150
|
+
data: BytesLike
|
|
151
|
+
], [
|
|
152
|
+
void
|
|
153
|
+
], "nonpayable">;
|
|
154
|
+
safeTransferFrom: TypedContractMethod<[
|
|
155
|
+
from: AddressLike,
|
|
156
|
+
to: AddressLike,
|
|
157
|
+
id: BigNumberish,
|
|
158
|
+
value: BigNumberish,
|
|
159
|
+
data: BytesLike
|
|
160
|
+
], [
|
|
161
|
+
void
|
|
162
|
+
], "nonpayable">;
|
|
163
|
+
setApprovalForAll: TypedContractMethod<[
|
|
164
|
+
operator: AddressLike,
|
|
165
|
+
approved: boolean
|
|
166
|
+
], [
|
|
167
|
+
void
|
|
168
|
+
], "nonpayable">;
|
|
169
|
+
supportsInterface: TypedContractMethod<[
|
|
170
|
+
interfaceId: BytesLike
|
|
171
|
+
], [
|
|
172
|
+
boolean
|
|
173
|
+
], "view">;
|
|
174
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
175
|
+
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[
|
|
176
|
+
account: AddressLike,
|
|
177
|
+
id: BigNumberish
|
|
178
|
+
], [
|
|
179
|
+
bigint
|
|
180
|
+
], "view">;
|
|
181
|
+
getFunction(nameOrSignature: "balanceOfBatch"): TypedContractMethod<[
|
|
182
|
+
accounts: AddressLike[],
|
|
183
|
+
ids: BigNumberish[]
|
|
184
|
+
], [
|
|
185
|
+
bigint[]
|
|
186
|
+
], "view">;
|
|
187
|
+
getFunction(nameOrSignature: "isApprovedForAll"): TypedContractMethod<[
|
|
188
|
+
account: AddressLike,
|
|
189
|
+
operator: AddressLike
|
|
190
|
+
], [
|
|
191
|
+
boolean
|
|
192
|
+
], "view">;
|
|
193
|
+
getFunction(nameOrSignature: "safeBatchTransferFrom"): TypedContractMethod<[
|
|
194
|
+
from: AddressLike,
|
|
195
|
+
to: AddressLike,
|
|
196
|
+
ids: BigNumberish[],
|
|
197
|
+
values: BigNumberish[],
|
|
198
|
+
data: BytesLike
|
|
199
|
+
], [
|
|
200
|
+
void
|
|
201
|
+
], "nonpayable">;
|
|
202
|
+
getFunction(nameOrSignature: "safeTransferFrom"): TypedContractMethod<[
|
|
203
|
+
from: AddressLike,
|
|
204
|
+
to: AddressLike,
|
|
205
|
+
id: BigNumberish,
|
|
206
|
+
value: BigNumberish,
|
|
207
|
+
data: BytesLike
|
|
208
|
+
], [
|
|
209
|
+
void
|
|
210
|
+
], "nonpayable">;
|
|
211
|
+
getFunction(nameOrSignature: "setApprovalForAll"): TypedContractMethod<[
|
|
212
|
+
operator: AddressLike,
|
|
213
|
+
approved: boolean
|
|
214
|
+
], [
|
|
215
|
+
void
|
|
216
|
+
], "nonpayable">;
|
|
217
|
+
getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
218
|
+
getEvent(key: "ApprovalForAll"): TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
|
|
219
|
+
getEvent(key: "TransferBatch"): TypedContractEvent<TransferBatchEvent.InputTuple, TransferBatchEvent.OutputTuple, TransferBatchEvent.OutputObject>;
|
|
220
|
+
getEvent(key: "TransferSingle"): TypedContractEvent<TransferSingleEvent.InputTuple, TransferSingleEvent.OutputTuple, TransferSingleEvent.OutputObject>;
|
|
221
|
+
getEvent(key: "URI"): TypedContractEvent<URIEvent.InputTuple, URIEvent.OutputTuple, URIEvent.OutputObject>;
|
|
222
|
+
filters: {
|
|
223
|
+
"ApprovalForAll(address,address,bool)": TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
|
|
224
|
+
ApprovalForAll: TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
|
|
225
|
+
"TransferBatch(address,address,address,uint256[],uint256[])": TypedContractEvent<TransferBatchEvent.InputTuple, TransferBatchEvent.OutputTuple, TransferBatchEvent.OutputObject>;
|
|
226
|
+
TransferBatch: TypedContractEvent<TransferBatchEvent.InputTuple, TransferBatchEvent.OutputTuple, TransferBatchEvent.OutputObject>;
|
|
227
|
+
"TransferSingle(address,address,address,uint256,uint256)": TypedContractEvent<TransferSingleEvent.InputTuple, TransferSingleEvent.OutputTuple, TransferSingleEvent.OutputObject>;
|
|
228
|
+
TransferSingle: TypedContractEvent<TransferSingleEvent.InputTuple, TransferSingleEvent.OutputTuple, TransferSingleEvent.OutputObject>;
|
|
229
|
+
"URI(string,uint256)": TypedContractEvent<URIEvent.InputTuple, URIEvent.OutputTuple, URIEvent.OutputObject>;
|
|
230
|
+
URI: TypedContractEvent<URIEvent.InputTuple, URIEvent.OutputTuple, URIEvent.OutputObject>;
|
|
231
|
+
};
|
|
232
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|