Skip to content

Commit

Permalink
fix(dist): moar contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbeckers committed Nov 24, 2023
1 parent 51b556d commit 39d5b9f
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 5 deletions.
3 changes: 3 additions & 0 deletions contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ const config: HardhatUserConfig = {
"OrderValidatorV2A",
"StrategyManager",
"TransferManager",
"StrategyCollectionOffer",
"StrategyHypercertFractionOffer",
"CreatorFeeManagerWithRoyalties",
],
except: ["@openzeppelin"],
},
Expand Down
2 changes: 1 addition & 1 deletion contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@hypercerts-org/contracts",
"description": "EVM compatible protocol for managing impact claims",
"version": "1.0.0-alpha.3",
"version": "1.0.0-alpha.4",
"author": {
"name": "Hypercerts Foundation",
"url": "https://github.com/hypercerts-org/hypercerts"
Expand Down
31 changes: 29 additions & 2 deletions contracts/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,20 @@ import HypercertExchangeAbi from "../abi/src/marketplace/LooksRareProtocol.sol/L
import OrderValidatorV2AAbi from "../abi/src/marketplace/helpers/OrderValidatorV2A.sol/OrderValidatorV2A.json";
import StrategyManagerAbi from "../abi/src/marketplace/StrategyManager.sol/StrategyManager.json";
import TransferManagerAbi from "../abi/src/marketplace/TransferManager.sol/TransferManager.json";
import StrategyCollectionOfferAbi from "../abi/src/marketplace/executionStrategies/StrategyCollectionOffer.sol/StrategyCollectionOffer.json";
import StrategyHypercertFractionOfferAbi from "../abi/src/marketplace/executionStrategies/StrategyHypercertFractionOffer.sol/StrategyHypercertFractionOffer.json";
import CreatorFeeManagerWithRoyaltiesAbi from "../abi/src/marketplace/CreatorFeeManagerWithRoyalties.sol/CreatorFeeManagerWithRoyalties.json";

import {
HypercertMinter,
IHypercertToken,
LooksRareProtocol as HypercertExchange,
ILooksRareProtocol as IHypercertExchange,
TransferManager,
StrategyCollectionOffer,
StrategyHypercertFractionOffer,
CreatorFeeManagerWithRoyalties,
OrderValidatorV2A,
} from "types";

/*
Expand Down Expand Up @@ -64,7 +72,26 @@ const asDeployedChain = (chainId: string | number) => {
export { deployments, asDeployedChain };

// Abis
export { HypercertMinterAbi, HypercertExchangeAbi, OrderValidatorV2AAbi, StrategyManagerAbi, TransferManagerAbi };
export {
CreatorFeeManagerWithRoyaltiesAbi,
HypercertMinterAbi,
HypercertExchangeAbi,
OrderValidatorV2AAbi,
StrategyManagerAbi,
StrategyCollectionOfferAbi,
StrategyHypercertFractionOfferAbi,
TransferManagerAbi,
};

// Interfaces
export type { IHypercertExchange, IHypercertToken, HypercertExchange, HypercertMinter };
export type {
CreatorFeeManagerWithRoyalties,
IHypercertExchange,
IHypercertToken,
HypercertExchange,
HypercertMinter,
OrderValidatorV2A,
TransferManager,
StrategyCollectionOffer,
StrategyHypercertFractionOffer,
};
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ import {OrderInvalid, FunctionSelectorInvalid, MerkleProofInvalid, QuoteTypeInva
// Base strategy contracts
import {BaseStrategy, IStrategy} from "./BaseStrategy.sol";

import "forge-std/console2.sol";

/**
* @title StrategyHypercertFractionOffer
* @notice This contract offers a single execution strategy for users to bid on
Expand Down

0 comments on commit 39d5b9f

Please sign in to comment.