@hypercerts-org/marketplace-sdk 0.4.2 → 0.5.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/dist/HypercertExchangeClient.d.ts +48 -4
- package/dist/abis/OrderValidatorV2A.json +0 -13
- package/dist/constants/eip712.d.ts +4 -4
- package/dist/index.cjs.js +559 -341
- package/dist/index.d.ts +19 -19
- package/dist/index.esm.js +559 -341
- package/dist/safe/SafeTransactionBuilder.d.ts +35 -0
- package/dist/safe/errors.d.ts +4 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/helpers/OrderValidatorV2A.d.ts +1 -5
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/ExecutionManager__factory.d.ts +1 -1
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/LooksRareProtocol__factory.d.ts +1 -1
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/StrategyManager__factory.d.ts +1 -1
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/TransferSelectorNFT__factory.d.ts +1 -1
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/OrderValidatorV2A__factory.d.ts +1 -11
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/ProtocolHelpers__factory.d.ts +1 -1
- package/dist/typechain/factories/solmate/src/tokens/WETH__factory.d.ts +1 -1
- package/dist/typechain/factories/src/contracts/tests/Verifier__factory.d.ts +1 -1
- package/dist/utils/api.d.ts +88 -88
- package/dist/utils/graphl.d.ts +48 -48
- package/package.json +8 -4
package/dist/index.d.ts
CHANGED
@@ -10,29 +10,29 @@ declare const utils: {
|
|
10
10
|
getMakerParamsTypes: (strategy: import("./types").StrategyType) => import("./types").SolidityType[];
|
11
11
|
getTakerParamsTypes: (strategy: import("./types").StrategyType) => import("./types").SolidityType[];
|
12
12
|
encodeParams: (params: any[], types: import("./types").SolidityType[]) => import("ethers").BytesLike;
|
13
|
-
strategyInfo: (signerOrProvider: import("ethers").
|
14
|
-
verifyMakerOrders: (signerOrProvider: import("ethers").
|
15
|
-
hasUserApprovedOperator: (signerOrProvider: import("ethers").
|
16
|
-
grantApprovals: (signer: import("ethers").Signer, address: string, operators: string[], overrides?: import("ethers").Overrides
|
17
|
-
revokeApprovals: (signer: import("ethers").Signer, address: string, operators: string[], overrides?: import("ethers").Overrides
|
18
|
-
viewUserBidAskNonces: (signerOrProvider: import("ethers").
|
13
|
+
strategyInfo: (signerOrProvider: import("ethers").Provider | import("ethers").Signer, address: string, strategyId: import("./types").StrategyType, overrides?: import("ethers").Overrides) => Promise<import("./types").StrategyInfo>;
|
14
|
+
verifyMakerOrders: (signerOrProvider: import("ethers").Provider | import("ethers").Signer, address: string, makerOrders: import("./types").Maker[], signatures: string[], merkleTrees: import("./types").MerkleTree[], overrides?: import("ethers").Overrides) => Promise<import("./types").OrderValidatorCode[][]>;
|
15
|
+
hasUserApprovedOperator: (signerOrProvider: import("ethers").Provider | import("ethers").Signer, address: string, user: string, operator: string, overrides?: import("ethers").Overrides) => Promise<boolean>;
|
16
|
+
grantApprovals: (signer: import("ethers").Signer, address: string, operators: string[], overrides?: import("ethers").Overrides) => import("./types").ContractMethods;
|
17
|
+
revokeApprovals: (signer: import("ethers").Signer, address: string, operators: string[], overrides?: import("ethers").Overrides) => import("./types").ContractMethods;
|
18
|
+
viewUserBidAskNonces: (signerOrProvider: import("ethers").Provider | import("ethers").Signer, address: string, account: string, overrides?: import("ethers").Overrides) => Promise<{
|
19
19
|
bidNonce: bigint;
|
20
20
|
askNonce: bigint;
|
21
21
|
}>;
|
22
|
-
cancelOrderNonces: (signer: import("ethers").Signer, address: string, nonces: import("ethers").BigNumberish[], overrides?: import("ethers").Overrides
|
23
|
-
incrementBidAskNonces: (signer: import("ethers").Signer, address: string, bid: boolean, ask: boolean, overrides?: import("ethers").Overrides
|
24
|
-
executeTakerBid: (signer: import("ethers").Signer, address: string, taker: import("./types").Taker, maker: import("./types").Maker, makerSignature: string, merkleTree: import("./types").MerkleTree, overrides?: import("./typechain/common").PayableOverrides
|
25
|
-
executeTakerAsk: (signer: import("ethers").Signer, address: string, taker: import("./types").Taker, maker: import("./types").Maker, makerSignature: string, merkleTree: import("./types").MerkleTree, overrides?: import("./typechain/common").PayableOverrides
|
26
|
-
executeMultipleTakerBids: (signer: import("ethers").Signer, address: string, taker: import("./types").Taker[], maker: import("./types").Maker[], makerSignature: string[], isAtomic: boolean, merkleTree: import("./types").MerkleTree[], overrides?: import("./typechain/common").PayableOverrides
|
27
|
-
call: (additionalOverrides?: import("./typechain/common").PayableOverrides
|
28
|
-
estimateGas: (additionalOverrides?: import("./typechain/common").PayableOverrides
|
29
|
-
callStatic: (additionalOverrides?: import("./typechain/common").PayableOverrides
|
22
|
+
cancelOrderNonces: (signer: import("ethers").Signer, address: string, nonces: import("ethers").BigNumberish[], overrides?: import("ethers").Overrides) => import("./types").ContractMethods;
|
23
|
+
incrementBidAskNonces: (signer: import("ethers").Signer, address: string, bid: boolean, ask: boolean, overrides?: import("ethers").Overrides) => import("./types").ContractMethods;
|
24
|
+
executeTakerBid: (signer: import("ethers").Signer, address: string, taker: import("./types").Taker, maker: import("./types").Maker, makerSignature: string, merkleTree: import("./types").MerkleTree, overrides?: import("./typechain/common").PayableOverrides) => import("./types").ContractMethods;
|
25
|
+
executeTakerAsk: (signer: import("ethers").Signer, address: string, taker: import("./types").Taker, maker: import("./types").Maker, makerSignature: string, merkleTree: import("./types").MerkleTree, overrides?: import("./typechain/common").PayableOverrides) => import("./types").ContractMethods;
|
26
|
+
executeMultipleTakerBids: (signer: import("ethers").Signer, address: string, taker: import("./types").Taker[], maker: import("./types").Maker[], makerSignature: string[], isAtomic: boolean, merkleTree: import("./types").MerkleTree[], overrides?: import("./typechain/common").PayableOverrides) => {
|
27
|
+
call: (additionalOverrides?: import("./typechain/common").PayableOverrides) => any;
|
28
|
+
estimateGas: (additionalOverrides?: import("./typechain/common").PayableOverrides) => any;
|
29
|
+
callStatic: (additionalOverrides?: import("./typechain/common").PayableOverrides) => any;
|
30
30
|
};
|
31
|
-
setApprovalForAll: (signer: import("ethers").Signer, collection: string, operator: string, approved: boolean, overrides?: import("ethers").Overrides
|
32
|
-
isApprovedForAll: (signerOrProvider: import("ethers").
|
33
|
-
allowance: (signerOrProvider: import("ethers").
|
34
|
-
approve: (signer: import("ethers").Signer, currency: string, operator: string, amount: bigint, overrides?: import("ethers").Overrides
|
35
|
-
balanceOf: (signerOrProvider: import("ethers").
|
31
|
+
setApprovalForAll: (signer: import("ethers").Signer, collection: string, operator: string, approved: boolean, overrides?: import("ethers").Overrides) => Promise<import("ethers").ContractTransactionResponse>;
|
32
|
+
isApprovedForAll: (signerOrProvider: import("ethers").Provider | import("ethers").Signer, collection: string, account: string, operator: string, overrides?: import("ethers").Overrides) => Promise<boolean>;
|
33
|
+
allowance: (signerOrProvider: import("ethers").Provider | import("ethers").Signer, currency: string, account: string, operator: string, overrides?: import("ethers").Overrides) => Promise<bigint>;
|
34
|
+
approve: (signer: import("ethers").Signer, currency: string, operator: string, amount: bigint, overrides?: import("ethers").Overrides) => Promise<import("ethers").ContractTransactionResponse>;
|
35
|
+
balanceOf: (signerOrProvider: import("ethers").Provider | import("ethers").Signer, currency: string, account: string, overrides?: import("ethers").Overrides) => Promise<bigint>;
|
36
36
|
};
|
37
37
|
export { utils };
|
38
38
|
export * from "./constants";
|