@opensea/seaport-js 1.0.6 → 1.0.7
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/lib/__tests__/ascending-descending-amounts.spec.d.ts +1 -0
- package/lib/__tests__/ascending-descending-amounts.spec.js +1016 -0
- package/lib/__tests__/ascending-descending-amounts.spec.js.map +1 -0
- package/lib/__tests__/basic-fulfill.spec.d.ts +1 -0
- package/lib/__tests__/basic-fulfill.spec.js +914 -0
- package/lib/__tests__/basic-fulfill.spec.js.map +1 -0
- package/lib/__tests__/bundle.spec.d.ts +1 -0
- package/lib/__tests__/bundle.spec.js +1226 -0
- package/lib/__tests__/bundle.spec.js.map +1 -0
- package/lib/__tests__/cancel.spec.d.ts +1 -0
- package/lib/__tests__/cancel.spec.js +194 -0
- package/lib/__tests__/cancel.spec.js.map +1 -0
- package/lib/__tests__/create-order.spec.d.ts +1 -0
- package/lib/__tests__/create-order.spec.js +1043 -0
- package/lib/__tests__/create-order.spec.js.map +1 -0
- package/lib/__tests__/criteria-based.spec.d.ts +1 -0
- package/lib/__tests__/criteria-based.spec.js +1593 -0
- package/lib/__tests__/criteria-based.spec.js.map +1 -0
- package/lib/__tests__/fulfill-orders.spec.d.ts +1 -0
- package/lib/__tests__/fulfill-orders.spec.js +1010 -0
- package/lib/__tests__/fulfill-orders.spec.js.map +1 -0
- package/lib/__tests__/gifting.spec.d.ts +1 -0
- package/lib/__tests__/gifting.spec.js +374 -0
- package/lib/__tests__/gifting.spec.js.map +1 -0
- package/lib/__tests__/match-orders.spec.d.ts +1 -0
- package/lib/__tests__/match-orders.spec.js +425 -0
- package/lib/__tests__/match-orders.spec.js.map +1 -0
- package/lib/__tests__/partial-fulfill.spec.d.ts +1 -0
- package/lib/__tests__/partial-fulfill.spec.js +849 -0
- package/lib/__tests__/partial-fulfill.spec.js.map +1 -0
- package/lib/__tests__/sign-order.spec.d.ts +1 -0
- package/lib/__tests__/sign-order.spec.js +147 -0
- package/lib/__tests__/sign-order.spec.js.map +1 -0
- package/lib/__tests__/swap.spec.d.ts +1 -0
- package/lib/__tests__/swap.spec.js +594 -0
- package/lib/__tests__/swap.spec.js.map +1 -0
- package/lib/__tests__/utils/balance.d.ts +22 -0
- package/lib/__tests__/utils/balance.js +271 -0
- package/lib/__tests__/utils/balance.js.map +1 -0
- package/lib/__tests__/utils/examples/privateListings.d.ts +3 -0
- package/lib/__tests__/utils/examples/privateListings.js +139 -0
- package/lib/__tests__/utils/examples/privateListings.js.map +1 -0
- package/lib/__tests__/utils/setup.d.ts +11 -0
- package/lib/__tests__/utils/setup.js +119 -0
- package/lib/__tests__/utils/setup.js.map +1 -0
- package/lib/seaport.d.ts +15 -6
- package/lib/seaport.js +29 -28
- package/lib/seaport.js.map +1 -1
- package/lib/typechain/AmountDerivationErrors.d.ts +29 -0
- package/lib/typechain/AmountDerivationErrors.js +3 -0
- package/lib/typechain/AmountDerivationErrors.js.map +1 -0
- package/lib/typechain/AmountDeriver.d.ts +29 -0
- package/lib/typechain/AmountDeriver.js +3 -0
- package/lib/typechain/AmountDeriver.js.map +1 -0
- package/lib/typechain/Assertions.d.ts +124 -0
- package/lib/typechain/Assertions.js +3 -0
- package/lib/typechain/Assertions.js.map +1 -0
- package/lib/typechain/BasicOrderFulfiller.d.ts +124 -0
- package/lib/typechain/BasicOrderFulfiller.js +3 -0
- package/lib/typechain/BasicOrderFulfiller.js.map +1 -0
- package/lib/typechain/Conduit.d.ts +156 -0
- package/lib/typechain/Conduit.js +3 -0
- package/lib/typechain/Conduit.js.map +1 -0
- package/lib/typechain/ConduitController.d.ts +266 -0
- package/lib/typechain/ConduitController.js +3 -0
- package/lib/typechain/ConduitController.js.map +1 -0
- package/lib/typechain/ConduitControllerInterface.d.ts +266 -0
- package/lib/typechain/ConduitControllerInterface.js +3 -0
- package/lib/typechain/ConduitControllerInterface.js.map +1 -0
- package/lib/typechain/ConduitInterface.d.ts +156 -0
- package/lib/typechain/ConduitInterface.js +3 -0
- package/lib/typechain/ConduitInterface.js.map +1 -0
- package/lib/typechain/Consideration.d.ts +686 -0
- package/lib/typechain/Consideration.js +3 -0
- package/lib/typechain/Consideration.js.map +1 -0
- package/lib/typechain/ConsiderationBase.d.ts +124 -0
- package/lib/typechain/ConsiderationBase.js +3 -0
- package/lib/typechain/ConsiderationBase.js.map +1 -0
- package/lib/typechain/ConsiderationEventsAndErrors.d.ts +124 -0
- package/lib/typechain/ConsiderationEventsAndErrors.js +3 -0
- package/lib/typechain/ConsiderationEventsAndErrors.js.map +1 -0
- package/lib/typechain/ConsiderationInterface.d.ts +612 -0
- package/lib/typechain/ConsiderationInterface.js +3 -0
- package/lib/typechain/ConsiderationInterface.js.map +1 -0
- package/lib/typechain/CounterManager.d.ts +124 -0
- package/lib/typechain/CounterManager.js +3 -0
- package/lib/typechain/CounterManager.js.map +1 -0
- package/lib/typechain/CriteriaResolution.d.ts +29 -0
- package/lib/typechain/CriteriaResolution.js +3 -0
- package/lib/typechain/CriteriaResolution.js.map +1 -0
- package/lib/typechain/CriteriaResolutionErrors.d.ts +29 -0
- package/lib/typechain/CriteriaResolutionErrors.js +3 -0
- package/lib/typechain/CriteriaResolutionErrors.js.map +1 -0
- package/lib/typechain/EIP1271Interface.d.ts +43 -0
- package/lib/typechain/EIP1271Interface.js +3 -0
- package/lib/typechain/EIP1271Interface.js.map +1 -0
- package/lib/typechain/ERC1155Interface.d.ts +67 -0
- package/lib/typechain/ERC1155Interface.js +3 -0
- package/lib/typechain/ERC1155Interface.js.map +1 -0
- package/lib/typechain/ERC1155TokenReceiver.d.ts +67 -0
- package/lib/typechain/ERC1155TokenReceiver.js +3 -0
- package/lib/typechain/ERC1155TokenReceiver.js.map +1 -0
- package/lib/typechain/ERC20Interface.d.ts +51 -0
- package/lib/typechain/ERC20Interface.js +3 -0
- package/lib/typechain/ERC20Interface.js.map +1 -0
- package/lib/typechain/ERC721Interface.d.ts +51 -0
- package/lib/typechain/ERC721Interface.js +3 -0
- package/lib/typechain/ERC721Interface.js.map +1 -0
- package/lib/typechain/ERC721TokenReceiver.d.ts +51 -0
- package/lib/typechain/ERC721TokenReceiver.js +3 -0
- package/lib/typechain/ERC721TokenReceiver.js.map +1 -0
- package/lib/typechain/Executor.d.ts +124 -0
- package/lib/typechain/Executor.js +3 -0
- package/lib/typechain/Executor.js.map +1 -0
- package/lib/typechain/FulfillmentApplicationErrors.d.ts +29 -0
- package/lib/typechain/FulfillmentApplicationErrors.js +3 -0
- package/lib/typechain/FulfillmentApplicationErrors.js.map +1 -0
- package/lib/typechain/FulfillmentApplier.d.ts +29 -0
- package/lib/typechain/FulfillmentApplier.js +3 -0
- package/lib/typechain/FulfillmentApplier.js.map +1 -0
- package/lib/typechain/GettersAndDerivers.d.ts +124 -0
- package/lib/typechain/GettersAndDerivers.js +3 -0
- package/lib/typechain/GettersAndDerivers.js.map +1 -0
- package/lib/typechain/OrderCombiner.d.ts +124 -0
- package/lib/typechain/OrderCombiner.js +3 -0
- package/lib/typechain/OrderCombiner.js.map +1 -0
- package/lib/typechain/OrderFulfiller.d.ts +124 -0
- package/lib/typechain/OrderFulfiller.js +3 -0
- package/lib/typechain/OrderFulfiller.js.map +1 -0
- package/lib/typechain/OrderValidator.d.ts +124 -0
- package/lib/typechain/OrderValidator.js +3 -0
- package/lib/typechain/OrderValidator.js.map +1 -0
- package/lib/typechain/ReentrancyErrors.d.ts +29 -0
- package/lib/typechain/ReentrancyErrors.js +3 -0
- package/lib/typechain/ReentrancyErrors.js.map +1 -0
- package/lib/typechain/ReentrancyGuard.d.ts +29 -0
- package/lib/typechain/ReentrancyGuard.js +3 -0
- package/lib/typechain/ReentrancyGuard.js.map +1 -0
- package/lib/typechain/SignatureVerification.d.ts +29 -0
- package/lib/typechain/SignatureVerification.js +3 -0
- package/lib/typechain/SignatureVerification.js.map +1 -0
- package/lib/typechain/SignatureVerificationErrors.d.ts +29 -0
- package/lib/typechain/SignatureVerificationErrors.js +3 -0
- package/lib/typechain/SignatureVerificationErrors.js.map +1 -0
- package/lib/typechain/TestERC1155.d.ts +205 -0
- package/lib/typechain/TestERC1155.js +3 -0
- package/lib/typechain/TestERC1155.js.map +1 -0
- package/lib/typechain/TestERC20.d.ts +249 -0
- package/lib/typechain/TestERC20.js +3 -0
- package/lib/typechain/TestERC20.js.map +1 -0
- package/lib/typechain/TestERC721.d.ts +236 -0
- package/lib/typechain/TestERC721.js +3 -0
- package/lib/typechain/TestERC721.js.map +1 -0
- package/lib/typechain/TokenTransferrer.d.ts +29 -0
- package/lib/typechain/TokenTransferrer.js +3 -0
- package/lib/typechain/TokenTransferrer.js.map +1 -0
- package/lib/typechain/TokenTransferrerErrors.d.ts +29 -0
- package/lib/typechain/TokenTransferrerErrors.js +3 -0
- package/lib/typechain/TokenTransferrerErrors.js.map +1 -0
- package/lib/typechain/Verifiers.d.ts +124 -0
- package/lib/typechain/Verifiers.js +3 -0
- package/lib/typechain/Verifiers.js.map +1 -0
- package/lib/typechain/ZoneInteraction.d.ts +29 -0
- package/lib/typechain/ZoneInteraction.js +3 -0
- package/lib/typechain/ZoneInteraction.js.map +1 -0
- package/lib/typechain/ZoneInteractionErrors.d.ts +29 -0
- package/lib/typechain/ZoneInteractionErrors.js +3 -0
- package/lib/typechain/ZoneInteractionErrors.js.map +1 -0
- package/lib/typechain/ZoneInterface.d.ts +182 -0
- package/lib/typechain/ZoneInterface.js +3 -0
- package/lib/typechain/ZoneInterface.js.map +1 -0
- package/lib/typechain/factories/AmountDerivationErrors__factory.d.ts +12 -0
- package/lib/typechain/factories/AmountDerivationErrors__factory.js +28 -0
- package/lib/typechain/factories/AmountDerivationErrors__factory.js.map +1 -0
- package/lib/typechain/factories/AmountDeriver__factory.d.ts +26 -0
- package/lib/typechain/factories/AmountDeriver__factory.js +97 -0
- package/lib/typechain/factories/AmountDeriver__factory.js.map +1 -0
- package/lib/typechain/factories/Assertions__factory.d.ts +64 -0
- package/lib/typechain/factories/Assertions__factory.js +526 -0
- package/lib/typechain/factories/Assertions__factory.js.map +1 -0
- package/lib/typechain/factories/BasicOrderFulfiller__factory.d.ts +64 -0
- package/lib/typechain/factories/BasicOrderFulfiller__factory.js +563 -0
- package/lib/typechain/factories/BasicOrderFulfiller__factory.js.map +1 -0
- package/lib/typechain/factories/ConduitControllerInterface__factory.d.ts +46 -0
- package/lib/typechain/factories/ConduitControllerInterface__factory.js +453 -0
- package/lib/typechain/factories/ConduitControllerInterface__factory.js.map +1 -0
- package/lib/typechain/factories/ConduitController__factory.d.ts +67 -0
- package/lib/typechain/factories/ConduitController__factory.js +527 -0
- package/lib/typechain/factories/ConduitController__factory.js.map +1 -0
- package/lib/typechain/factories/ConduitInterface__factory.d.ts +62 -0
- package/lib/typechain/factories/ConduitInterface__factory.js +282 -0
- package/lib/typechain/factories/ConduitInterface__factory.js.map +1 -0
- package/lib/typechain/factories/Conduit__factory.d.ts +83 -0
- package/lib/typechain/factories/Conduit__factory.js +465 -0
- package/lib/typechain/factories/Conduit__factory.js.map +1 -0
- package/lib/typechain/factories/ConsiderationBase__factory.d.ts +64 -0
- package/lib/typechain/factories/ConsiderationBase__factory.js +412 -0
- package/lib/typechain/factories/ConsiderationBase__factory.js.map +1 -0
- package/lib/typechain/factories/ConsiderationEventsAndErrors__factory.d.ts +38 -0
- package/lib/typechain/factories/ConsiderationEventsAndErrors__factory.js +332 -0
- package/lib/typechain/factories/ConsiderationEventsAndErrors__factory.js.map +1 -0
- package/lib/typechain/factories/ConsiderationInterface__factory.d.ts +72 -0
- package/lib/typechain/factories/ConsiderationInterface__factory.js +2064 -0
- package/lib/typechain/factories/ConsiderationInterface__factory.js.map +1 -0
- package/lib/typechain/factories/Consideration__factory.d.ts +132 -0
- package/lib/typechain/factories/Consideration__factory.js +2670 -0
- package/lib/typechain/factories/Consideration__factory.js.map +1 -0
- package/lib/typechain/factories/CounterManager__factory.d.ts +52 -0
- package/lib/typechain/factories/CounterManager__factory.js +406 -0
- package/lib/typechain/factories/CounterManager__factory.js.map +1 -0
- package/lib/typechain/factories/CriteriaResolutionErrors__factory.d.ts +12 -0
- package/lib/typechain/factories/CriteriaResolutionErrors__factory.js +58 -0
- package/lib/typechain/factories/CriteriaResolutionErrors__factory.js.map +1 -0
- package/lib/typechain/factories/CriteriaResolution__factory.d.ts +26 -0
- package/lib/typechain/factories/CriteriaResolution__factory.js +127 -0
- package/lib/typechain/factories/CriteriaResolution__factory.js.map +1 -0
- package/lib/typechain/factories/EIP1271Interface__factory.d.ts +22 -0
- package/lib/typechain/factories/EIP1271Interface__factory.js +47 -0
- package/lib/typechain/factories/EIP1271Interface__factory.js.map +1 -0
- package/lib/typechain/factories/ERC1155Interface__factory.d.ts +18 -0
- package/lib/typechain/factories/ERC1155Interface__factory.js +89 -0
- package/lib/typechain/factories/ERC1155Interface__factory.js.map +1 -0
- package/lib/typechain/factories/ERC1155TokenReceiver__factory.d.ts +22 -0
- package/lib/typechain/factories/ERC1155TokenReceiver__factory.js +101 -0
- package/lib/typechain/factories/ERC1155TokenReceiver__factory.js.map +1 -0
- package/lib/typechain/factories/ERC1155__factory.d.ts +35 -0
- package/lib/typechain/factories/ERC1155__factory.js +335 -0
- package/lib/typechain/factories/ERC1155__factory.js.map +1 -0
- package/lib/typechain/factories/ERC20Interface__factory.d.ts +22 -0
- package/lib/typechain/factories/ERC20Interface__factory.js +52 -0
- package/lib/typechain/factories/ERC20Interface__factory.js.map +1 -0
- package/lib/typechain/factories/ERC20__factory.d.ts +35 -0
- package/lib/typechain/factories/ERC20__factory.js +333 -0
- package/lib/typechain/factories/ERC20__factory.js.map +1 -0
- package/lib/typechain/factories/ERC721Interface__factory.d.ts +18 -0
- package/lib/typechain/factories/ERC721Interface__factory.js +46 -0
- package/lib/typechain/factories/ERC721Interface__factory.js.map +1 -0
- package/lib/typechain/factories/ERC721TokenReceiver__factory.d.ts +22 -0
- package/lib/typechain/factories/ERC721TokenReceiver__factory.js +57 -0
- package/lib/typechain/factories/ERC721TokenReceiver__factory.js.map +1 -0
- package/lib/typechain/factories/ERC721__factory.d.ts +35 -0
- package/lib/typechain/factories/ERC721__factory.js +353 -0
- package/lib/typechain/factories/ERC721__factory.js.map +1 -0
- package/lib/typechain/factories/Executor__factory.d.ts +64 -0
- package/lib/typechain/factories/Executor__factory.js +552 -0
- package/lib/typechain/factories/Executor__factory.js.map +1 -0
- package/lib/typechain/factories/FulfillmentApplicationErrors__factory.d.ts +16 -0
- package/lib/typechain/factories/FulfillmentApplicationErrors__factory.js +49 -0
- package/lib/typechain/factories/FulfillmentApplicationErrors__factory.js.map +1 -0
- package/lib/typechain/factories/FulfillmentApplier__factory.d.ts +30 -0
- package/lib/typechain/factories/FulfillmentApplier__factory.js +118 -0
- package/lib/typechain/factories/FulfillmentApplier__factory.js.map +1 -0
- package/lib/typechain/factories/GettersAndDerivers__factory.d.ts +64 -0
- package/lib/typechain/factories/GettersAndDerivers__factory.js +412 -0
- package/lib/typechain/factories/GettersAndDerivers__factory.js.map +1 -0
- package/lib/typechain/factories/OrderCombiner__factory.d.ts +64 -0
- package/lib/typechain/factories/OrderCombiner__factory.js +629 -0
- package/lib/typechain/factories/OrderCombiner__factory.js.map +1 -0
- package/lib/typechain/factories/OrderFulfiller__factory.d.ts +64 -0
- package/lib/typechain/factories/OrderFulfiller__factory.js +603 -0
- package/lib/typechain/factories/OrderFulfiller__factory.js.map +1 -0
- package/lib/typechain/factories/OrderValidator__factory.d.ts +64 -0
- package/lib/typechain/factories/OrderValidator__factory.js +563 -0
- package/lib/typechain/factories/OrderValidator__factory.js.map +1 -0
- package/lib/typechain/factories/ReentrancyErrors__factory.d.ts +12 -0
- package/lib/typechain/factories/ReentrancyErrors__factory.js +28 -0
- package/lib/typechain/factories/ReentrancyErrors__factory.js.map +1 -0
- package/lib/typechain/factories/ReentrancyGuard__factory.d.ts +32 -0
- package/lib/typechain/factories/ReentrancyGuard__factory.js +102 -0
- package/lib/typechain/factories/ReentrancyGuard__factory.js.map +1 -0
- package/lib/typechain/factories/Seaport__factory.d.ts +132 -0
- package/lib/typechain/factories/Seaport__factory.js +2670 -0
- package/lib/typechain/factories/Seaport__factory.js.map +1 -0
- package/lib/typechain/factories/SignatureVerificationErrors__factory.d.ts +16 -0
- package/lib/typechain/factories/SignatureVerificationErrors__factory.js +49 -0
- package/lib/typechain/factories/SignatureVerificationErrors__factory.js.map +1 -0
- package/lib/typechain/factories/SignatureVerification__factory.d.ts +30 -0
- package/lib/typechain/factories/SignatureVerification__factory.js +118 -0
- package/lib/typechain/factories/SignatureVerification__factory.js.map +1 -0
- package/lib/typechain/factories/TestERC1155__factory.d.ts +49 -0
- package/lib/typechain/factories/TestERC1155__factory.js +433 -0
- package/lib/typechain/factories/TestERC1155__factory.js.map +1 -0
- package/lib/typechain/factories/TestERC20__factory.d.ts +56 -0
- package/lib/typechain/factories/TestERC20__factory.js +457 -0
- package/lib/typechain/factories/TestERC20__factory.js.map +1 -0
- package/lib/typechain/factories/TestERC721__factory.d.ts +49 -0
- package/lib/typechain/factories/TestERC721__factory.js +446 -0
- package/lib/typechain/factories/TestERC721__factory.js.map +1 -0
- package/lib/typechain/factories/TokenTransferrerErrors__factory.d.ts +16 -0
- package/lib/typechain/factories/TokenTransferrerErrors__factory.js +132 -0
- package/lib/typechain/factories/TokenTransferrerErrors__factory.js.map +1 -0
- package/lib/typechain/factories/TokenTransferrer__factory.d.ts +30 -0
- package/lib/typechain/factories/TokenTransferrer__factory.js +201 -0
- package/lib/typechain/factories/TokenTransferrer__factory.js.map +1 -0
- package/lib/typechain/factories/Verifiers__factory.d.ts +64 -0
- package/lib/typechain/factories/Verifiers__factory.js +552 -0
- package/lib/typechain/factories/Verifiers__factory.js.map +1 -0
- package/lib/typechain/factories/ZoneInteractionErrors__factory.d.ts +16 -0
- package/lib/typechain/factories/ZoneInteractionErrors__factory.js +34 -0
- package/lib/typechain/factories/ZoneInteractionErrors__factory.js.map +1 -0
- package/lib/typechain/factories/ZoneInteraction__factory.d.ts +30 -0
- package/lib/typechain/factories/ZoneInteraction__factory.js +103 -0
- package/lib/typechain/factories/ZoneInteraction__factory.js.map +1 -0
- package/lib/typechain/factories/ZoneInterface__factory.d.ts +52 -0
- package/lib/typechain/factories/ZoneInterface__factory.js +266 -0
- package/lib/typechain/factories/ZoneInterface__factory.js.map +1 -0
- package/lib/typechain/index.d.ts +90 -0
- package/lib/typechain/index.js +94 -0
- package/lib/typechain/index.js.map +1 -0
- package/lib/utils/fulfill.d.ts +6 -3
- package/lib/utils/fulfill.js +7 -11
- package/lib/utils/fulfill.js.map +1 -1
- package/lib/utils/usecase.d.ts +2 -1
- package/lib/utils/usecase.js +38 -11
- package/lib/utils/usecase.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
18
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
19
|
+
if (!m) return o;
|
|
20
|
+
var i = m.call(o), r, ar = [], e;
|
|
21
|
+
try {
|
|
22
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
23
|
+
}
|
|
24
|
+
catch (error) { e = { error: error }; }
|
|
25
|
+
finally {
|
|
26
|
+
try {
|
|
27
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
28
|
+
}
|
|
29
|
+
finally { if (e) throw e.error; }
|
|
30
|
+
}
|
|
31
|
+
return ar;
|
|
32
|
+
};
|
|
33
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
34
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
35
|
+
if (ar || !(i in from)) {
|
|
36
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
37
|
+
ar[i] = from[i];
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
41
|
+
};
|
|
42
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
+
exports.TokenTransferrer__factory = void 0;
|
|
44
|
+
/* Autogenerated file. Do not edit manually. */
|
|
45
|
+
/* tslint:disable */
|
|
46
|
+
/* eslint-disable */
|
|
47
|
+
var ethers_1 = require("ethers");
|
|
48
|
+
var _abi = [
|
|
49
|
+
{
|
|
50
|
+
inputs: [
|
|
51
|
+
{
|
|
52
|
+
internalType: "address",
|
|
53
|
+
name: "token",
|
|
54
|
+
type: "address",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
internalType: "address",
|
|
58
|
+
name: "from",
|
|
59
|
+
type: "address",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
internalType: "address",
|
|
63
|
+
name: "to",
|
|
64
|
+
type: "address",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
internalType: "uint256",
|
|
68
|
+
name: "amount",
|
|
69
|
+
type: "uint256",
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
name: "BadReturnValueFromERC20OnTransfer",
|
|
73
|
+
type: "error",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
inputs: [
|
|
77
|
+
{
|
|
78
|
+
internalType: "address",
|
|
79
|
+
name: "token",
|
|
80
|
+
type: "address",
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
internalType: "address",
|
|
84
|
+
name: "from",
|
|
85
|
+
type: "address",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
internalType: "address",
|
|
89
|
+
name: "to",
|
|
90
|
+
type: "address",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
internalType: "uint256[]",
|
|
94
|
+
name: "identifiers",
|
|
95
|
+
type: "uint256[]",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
internalType: "uint256[]",
|
|
99
|
+
name: "amounts",
|
|
100
|
+
type: "uint256[]",
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
name: "ERC1155BatchTransferGenericFailure",
|
|
104
|
+
type: "error",
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
inputs: [],
|
|
108
|
+
name: "InvalidERC721TransferAmount",
|
|
109
|
+
type: "error",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
inputs: [],
|
|
113
|
+
name: "MissingItemAmount",
|
|
114
|
+
type: "error",
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
inputs: [
|
|
118
|
+
{
|
|
119
|
+
internalType: "address",
|
|
120
|
+
name: "account",
|
|
121
|
+
type: "address",
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
name: "NoContract",
|
|
125
|
+
type: "error",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
inputs: [
|
|
129
|
+
{
|
|
130
|
+
internalType: "address",
|
|
131
|
+
name: "token",
|
|
132
|
+
type: "address",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
internalType: "address",
|
|
136
|
+
name: "from",
|
|
137
|
+
type: "address",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
internalType: "address",
|
|
141
|
+
name: "to",
|
|
142
|
+
type: "address",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
internalType: "uint256",
|
|
146
|
+
name: "identifier",
|
|
147
|
+
type: "uint256",
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
internalType: "uint256",
|
|
151
|
+
name: "amount",
|
|
152
|
+
type: "uint256",
|
|
153
|
+
},
|
|
154
|
+
],
|
|
155
|
+
name: "TokenTransferGenericFailure",
|
|
156
|
+
type: "error",
|
|
157
|
+
},
|
|
158
|
+
];
|
|
159
|
+
var _bytecode = "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea2646970667358221220da67deb1e2b58fb3dd6b8a3925ed8098af2dadc8463767695ae2d663566bb3a364736f6c634300080d0033";
|
|
160
|
+
var isSuperArgs = function (xs) { return xs.length > 1; };
|
|
161
|
+
var TokenTransferrer__factory = /** @class */ (function (_super) {
|
|
162
|
+
__extends(TokenTransferrer__factory, _super);
|
|
163
|
+
function TokenTransferrer__factory() {
|
|
164
|
+
var args = [];
|
|
165
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
166
|
+
args[_i] = arguments[_i];
|
|
167
|
+
}
|
|
168
|
+
var _this = this;
|
|
169
|
+
if (isSuperArgs(args)) {
|
|
170
|
+
_this = _super.apply(this, __spreadArray([], __read(args), false)) || this;
|
|
171
|
+
}
|
|
172
|
+
else {
|
|
173
|
+
_this = _super.call(this, _abi, _bytecode, args[0]) || this;
|
|
174
|
+
}
|
|
175
|
+
_this.contractName = "TokenTransferrer";
|
|
176
|
+
return _this;
|
|
177
|
+
}
|
|
178
|
+
TokenTransferrer__factory.prototype.deploy = function (overrides) {
|
|
179
|
+
return _super.prototype.deploy.call(this, overrides || {});
|
|
180
|
+
};
|
|
181
|
+
TokenTransferrer__factory.prototype.getDeployTransaction = function (overrides) {
|
|
182
|
+
return _super.prototype.getDeployTransaction.call(this, overrides || {});
|
|
183
|
+
};
|
|
184
|
+
TokenTransferrer__factory.prototype.attach = function (address) {
|
|
185
|
+
return _super.prototype.attach.call(this, address);
|
|
186
|
+
};
|
|
187
|
+
TokenTransferrer__factory.prototype.connect = function (signer) {
|
|
188
|
+
return _super.prototype.connect.call(this, signer);
|
|
189
|
+
};
|
|
190
|
+
TokenTransferrer__factory.createInterface = function () {
|
|
191
|
+
return new ethers_1.utils.Interface(_abi);
|
|
192
|
+
};
|
|
193
|
+
TokenTransferrer__factory.connect = function (address, signerOrProvider) {
|
|
194
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
195
|
+
};
|
|
196
|
+
TokenTransferrer__factory.bytecode = _bytecode;
|
|
197
|
+
TokenTransferrer__factory.abi = _abi;
|
|
198
|
+
return TokenTransferrer__factory;
|
|
199
|
+
}(ethers_1.ContractFactory));
|
|
200
|
+
exports.TokenTransferrer__factory = TokenTransferrer__factory;
|
|
201
|
+
//# sourceMappingURL=TokenTransferrer__factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TokenTransferrer__factory.js","sourceRoot":"","sources":["../../../src/typechain/factories/TokenTransferrer__factory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,iCAA6E;AAO7E,IAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,I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AAC;CAAA,AAvCD,CAA+C,wBAAe,GAuC7D;AAvCY,8DAAyB"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { Signer, ContractFactory, Overrides } from "ethers";
|
|
2
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
3
|
+
import type { Verifiers, VerifiersInterface } from "../Verifiers";
|
|
4
|
+
declare type VerifiersConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
5
|
+
export declare class Verifiers__factory extends ContractFactory {
|
|
6
|
+
constructor(...args: VerifiersConstructorParams);
|
|
7
|
+
deploy(conduitController: string, overrides?: Overrides & {
|
|
8
|
+
from?: string | Promise<string>;
|
|
9
|
+
}): Promise<Verifiers>;
|
|
10
|
+
getDeployTransaction(conduitController: string, overrides?: Overrides & {
|
|
11
|
+
from?: string | Promise<string>;
|
|
12
|
+
}): TransactionRequest;
|
|
13
|
+
attach(address: string): Verifiers;
|
|
14
|
+
connect(signer: Signer): Verifiers__factory;
|
|
15
|
+
static readonly contractName: "Verifiers";
|
|
16
|
+
readonly contractName: "Verifiers";
|
|
17
|
+
static readonly bytecode = "0x6101c060405234801561001157600080fd5b506040516106ff3803806106ff833981016040819052610030916105af565b80808061003b610119565b610120526101005260e05260c081815260a0838152608085815246610140819052604080516020818101979097528082019890985260608801969096529086015230858201528351808603909101815293019091528151910120610160526001600160a01b03811661018081905260408051630a96ad3960e01b81528151630a96ad39926004808401939192918290030181865afa1580156100e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061010591906105df565b506101a05250506001600055506106659050565b6000808080808061014a60408051808201909152600d81526c21b7b739b4b232b930ba34b7b760991b602082015290565b80516020918201206040805180820182526003815262312e3160e81b90840152519097507f722c0e0c80487266e8c6a45e3a1a803aab23378a9c32e6ebe029d4fad7bfc965965060009161024e91016909ecccccae492e8cada560b31b81526e1d5a5b9d0e081a5d195b551e5c194b608a1b600a8201526d1859191c995cdcc81d1bdad95b8b60921b60198201527f75696e74323536206964656e7469666965724f7243726974657269612c00000060278201527f75696e74323536207374617274416d6f756e742c0000000000000000000000006044820152701d5a5b9d0c8d4d88195b99105b5bdd5b9d607a1b6058820152602960f81b6069820152606a0190565b60408051601f1981840301815282825271086dedce6d2c8cae4c2e8d2dedc92e8cada560731b60208401526e1d5a5b9d0e081a5d195b551e5c194b608a1b60328401526d1859191c995cdcc81d1bdad95b8b60921b60418401527f75696e74323536206964656e7469666965724f7243726974657269612c000000604f8401527f75696e74323536207374617274416d6f756e742c000000000000000000000000606c840152711d5a5b9d0c8d4d88195b99105b5bdd5b9d0b60721b6080840152701859191c995cdcc81c9958da5c1a595b9d607a1b6092840152602960f81b60a384018190528251808503608401815260a485019093526f09ee4c8cae486dedae0dedccadce8e6560831b60c48501526f1859191c995cdcc81bd999995c995c8b60821b60d48501526c1859191c995cdcc81e9bdb994b609a1b60e48501527113d999995c925d195b56d7481bd999995c8b60721b60f18501527f436f6e73696465726174696f6e4974656d5b5d20636f6e73696465726174696f610103850152611b8b60f21b6101238501526f1d5a5b9d0e081bdc99195c951e5c194b60821b610125850152711d5a5b9d0c8d4d881cdd185c9d151a5b594b60721b6101358501526f1d5a5b9d0c8d4d88195b99151a5b594b60821b61014785015270189e5d195ccccc881e9bdb9952185cda0b607a1b6101578501526c1d5a5b9d0c8d4d881cd85b1d0b609a1b6101688501527f6279746573333220636f6e647569744b65792c000000000000000000000000006101758501526e3ab4b73a191a9b1031b7bab73a32b960891b6101888501526101978401529250906000906101980160408051601f19818403018152908290526c08a92a06e626488dedac2d2dc5609b1b60208301526b1cdd1c9a5b99c81b985b594b60a21b602d8301526e1cdd1c9a5b99c81d995c9cda5bdb8b608a1b60398301526f1d5a5b9d0c8d4d8818da185a5b92590b60821b60488301527f6164647265737320766572696679696e67436f6e7472616374000000000000006058830152602960f81b6071830152915060720160408051601f19818403018152908290528051602091820120855186830120855186840120919a509850965061058c918391859187910161063e565b604051602081830303815290604052805190602001209350505050909192939495565b6000602082840312156105c157600080fd5b81516001600160a01b03811681146105d857600080fd5b9392505050565b600080604083850312156105f257600080fd5b505080516020909101519092909150565b6000815160005b81811015610624576020818501810151868301520161060a565b81811115610633576000828601525b509290920192915050565b600061065c6106566106508488610603565b86610603565b84610603565b95945050505050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a051603f6106c060003960005050600050506000505060005050600050506000505060005050600050506000505060005050603f6000f3fe6080604052600080fdfea2646970667358221220a10d9b6ce038545586b13e294ef5b1c1e3ceebf61ade6e3df7736a5903e0826f64736f6c634300080d0033";
|
|
18
|
+
static readonly abi: ({
|
|
19
|
+
inputs: {
|
|
20
|
+
internalType: string;
|
|
21
|
+
name: string;
|
|
22
|
+
type: string;
|
|
23
|
+
}[];
|
|
24
|
+
stateMutability: string;
|
|
25
|
+
type: string;
|
|
26
|
+
name?: undefined;
|
|
27
|
+
anonymous?: undefined;
|
|
28
|
+
} | {
|
|
29
|
+
inputs: {
|
|
30
|
+
internalType: string;
|
|
31
|
+
name: string;
|
|
32
|
+
type: string;
|
|
33
|
+
}[];
|
|
34
|
+
name: string;
|
|
35
|
+
type: string;
|
|
36
|
+
stateMutability?: undefined;
|
|
37
|
+
anonymous?: undefined;
|
|
38
|
+
} | {
|
|
39
|
+
anonymous: boolean;
|
|
40
|
+
inputs: ({
|
|
41
|
+
indexed: boolean;
|
|
42
|
+
internalType: string;
|
|
43
|
+
name: string;
|
|
44
|
+
type: string;
|
|
45
|
+
components?: undefined;
|
|
46
|
+
} | {
|
|
47
|
+
components: {
|
|
48
|
+
internalType: string;
|
|
49
|
+
name: string;
|
|
50
|
+
type: string;
|
|
51
|
+
}[];
|
|
52
|
+
indexed: boolean;
|
|
53
|
+
internalType: string;
|
|
54
|
+
name: string;
|
|
55
|
+
type: string;
|
|
56
|
+
})[];
|
|
57
|
+
name: string;
|
|
58
|
+
type: string;
|
|
59
|
+
stateMutability?: undefined;
|
|
60
|
+
})[];
|
|
61
|
+
static createInterface(): VerifiersInterface;
|
|
62
|
+
static connect(address: string, signerOrProvider: Signer | Provider): Verifiers;
|
|
63
|
+
}
|
|
64
|
+
export {};
|