@wireio/outpost-ethereum-artifacts 0.2.0 → 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.
Files changed (72) hide show
  1. package/README.md +13 -5
  2. package/lib/cjs/Manifest.d.ts +80 -0
  3. package/lib/cjs/Manifest.js +241 -0
  4. package/lib/cjs/contracts/BAR.d.ts +563 -0
  5. package/lib/cjs/contracts/BAR.js +2 -0
  6. package/lib/cjs/contracts/IERC1155.d.ts +232 -0
  7. package/lib/cjs/contracts/IERC1155.js +2 -0
  8. package/lib/cjs/contracts/OPP.d.ts +472 -0
  9. package/lib/cjs/contracts/OPP.js +2 -0
  10. package/lib/cjs/contracts/OPPInbound.d.ts +907 -0
  11. package/lib/cjs/contracts/OPPInbound.js +2 -0
  12. package/lib/cjs/contracts/OperatorRegistry.d.ts +592 -0
  13. package/lib/cjs/contracts/OperatorRegistry.js +2 -0
  14. package/lib/cjs/contracts/ReserveManager.d.ts +1138 -0
  15. package/lib/cjs/contracts/ReserveManager.js +2 -0
  16. package/lib/cjs/contracts/common.d.ts +50 -0
  17. package/lib/cjs/contracts/common.js +2 -0
  18. package/lib/cjs/contracts/factories/BAR__factory.d.ts +1532 -0
  19. package/lib/cjs/contracts/factories/BAR__factory.js +2014 -0
  20. package/lib/cjs/contracts/factories/IERC1155__factory.d.ts +236 -0
  21. package/lib/cjs/contracts/factories/IERC1155__factory.js +312 -0
  22. package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +1454 -0
  23. package/lib/cjs/contracts/factories/OPPInbound__factory.js +1909 -0
  24. package/lib/cjs/contracts/factories/OPP__factory.d.ts +1029 -0
  25. package/lib/cjs/contracts/factories/OPP__factory.js +1362 -0
  26. package/lib/cjs/contracts/factories/OperatorRegistry__factory.d.ts +1517 -0
  27. package/lib/cjs/contracts/factories/OperatorRegistry__factory.js +1991 -0
  28. package/lib/cjs/contracts/factories/ReserveManager__factory.d.ts +2146 -0
  29. package/lib/cjs/contracts/factories/ReserveManager__factory.js +2783 -0
  30. package/lib/cjs/contracts/factories/index.d.ts +6 -0
  31. package/lib/cjs/contracts/factories/index.js +18 -0
  32. package/lib/cjs/contracts/index.d.ts +13 -0
  33. package/lib/cjs/contracts/index.js +49 -0
  34. package/lib/cjs/index.d.ts +3 -0
  35. package/lib/cjs/index.js +18 -0
  36. package/lib/cjs/package.json +3 -0
  37. package/lib/esm/Manifest.d.ts +80 -0
  38. package/lib/esm/Manifest.js +238 -0
  39. package/lib/esm/contracts/BAR.d.ts +563 -0
  40. package/lib/esm/contracts/BAR.js +1 -0
  41. package/lib/esm/contracts/IERC1155.d.ts +232 -0
  42. package/lib/esm/contracts/IERC1155.js +1 -0
  43. package/lib/esm/contracts/OPP.d.ts +472 -0
  44. package/lib/esm/contracts/OPP.js +1 -0
  45. package/lib/esm/contracts/OPPInbound.d.ts +907 -0
  46. package/lib/esm/contracts/OPPInbound.js +1 -0
  47. package/lib/esm/contracts/OperatorRegistry.d.ts +592 -0
  48. package/lib/esm/contracts/OperatorRegistry.js +1 -0
  49. package/lib/esm/contracts/ReserveManager.d.ts +1138 -0
  50. package/lib/esm/contracts/ReserveManager.js +1 -0
  51. package/lib/esm/contracts/common.d.ts +50 -0
  52. package/lib/esm/contracts/common.js +1 -0
  53. package/lib/esm/contracts/factories/BAR__factory.d.ts +1532 -0
  54. package/lib/esm/contracts/factories/BAR__factory.js +2010 -0
  55. package/lib/esm/contracts/factories/IERC1155__factory.d.ts +236 -0
  56. package/lib/esm/contracts/factories/IERC1155__factory.js +308 -0
  57. package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +1454 -0
  58. package/lib/esm/contracts/factories/OPPInbound__factory.js +1905 -0
  59. package/lib/esm/contracts/factories/OPP__factory.d.ts +1029 -0
  60. package/lib/esm/contracts/factories/OPP__factory.js +1358 -0
  61. package/lib/esm/contracts/factories/OperatorRegistry__factory.d.ts +1517 -0
  62. package/lib/esm/contracts/factories/OperatorRegistry__factory.js +1987 -0
  63. package/lib/esm/contracts/factories/ReserveManager__factory.d.ts +2146 -0
  64. package/lib/esm/contracts/factories/ReserveManager__factory.js +2779 -0
  65. package/lib/esm/contracts/factories/index.d.ts +6 -0
  66. package/lib/esm/contracts/factories/index.js +9 -0
  67. package/lib/esm/contracts/index.d.ts +13 -0
  68. package/lib/esm/contracts/index.js +7 -0
  69. package/lib/esm/index.d.ts +3 -0
  70. package/lib/esm/index.js +2 -0
  71. package/manifest.json +2 -2
  72. package/package.json +13 -1
@@ -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 {};