Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features: Gasless transactions ops #91

Merged
merged 12 commits into from
Apr 4, 2024
9 changes: 8 additions & 1 deletion deploy/90_seedDevEnv.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { HardhatRuntimeEnvironment } from "hardhat/types";
import { DeployFunction } from "hardhat-deploy/types";
import { deployments, ethers, getNamedAccounts } from "hardhat";
import { Marketplace } from "../typechain";
import { Marketplace, IERC20 } from "../typechain";
import { FastAutomatonPrivilege, toBaseUnit, ZERO_ADDRESS } from "../src/utils";

const func: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
Expand Down Expand Up @@ -29,6 +29,13 @@ const func: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
deterministicDeployment: true,
});
console.log(`DDD deployed at ${ddd.address}.`);

console.log("Minting X DDD tokens... to user1");
const dddToken = await ethers.getContractAt([
"function mint(address, uint256)"
], ddd.address);
await (await dddToken.connect(issuerMemberSigner).mint(user1, 5000000)).wait();
console.log("done...");
}

console.log("Adding user[1-10] to the Marketplace as members...");
Expand Down
44 changes: 38 additions & 6 deletions deployments/amoy/FastAccessFacet.json

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions deployments/amoy/FastAutomatonsFacet.json

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions deployments/amoy/FastCrowdfundsFacet.json

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions deployments/amoy/FastDistributionsFacet.json

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions deployments/amoy/FastF01.json

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions deployments/amoy/FastF02.json

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions deployments/amoy/FastF03.json

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions deployments/amoy/FastF04.json

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions deployments/amoy/FastForwardableFacet.json

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions deployments/amoy/FastFrontendFacet.json

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions deployments/amoy/FastHistoryFacet.json

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions deployments/amoy/FastTokenFacet.json

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions deployments/amoy/FastTopFacet.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions deployments/amoy/Issuer.json

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions deployments/amoy/IssuerAccessFacet.json

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions deployments/amoy/IssuerAutomatonsFacet.json

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions deployments/amoy/IssuerFrontendFacet.json

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions deployments/amoy/IssuerTopFacet.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions deployments/amoy/Marketplace.json

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions deployments/amoy/MarketplaceAccessFacet.json

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions deployments/amoy/MarketplaceAutomatonsFacet.json

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions deployments/amoy/MarketplaceFastDeploymentRequestsFacet.json

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions deployments/amoy/MarketplaceForwardableFacet.json

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions deployments/amoy/MarketplaceTokenHoldersFacet.json

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions deployments/amoy/MarketplaceTopFacet.json

Large diffs are not rendered by default.

281 changes: 281 additions & 0 deletions deployments/amoy/solcInputs/db2959aae9c17321f9d88ad51d32de96.json

Large diffs are not rendered by default.

98 changes: 21 additions & 77 deletions deployments/mumbai/FastAccessFacet.json

Large diffs are not rendered by default.

98 changes: 21 additions & 77 deletions deployments/mumbai/FastAutomatonsFacet.json

Large diffs are not rendered by default.

60 changes: 22 additions & 38 deletions deployments/mumbai/FastTokenFacet.json

Large diffs are not rendered by default.

98 changes: 21 additions & 77 deletions deployments/mumbai/FastTopFacet.json

Large diffs are not rendered by default.

11 changes: 9 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
version: "3.7"
version: "3.8"

services:
geth:
image: ethereum/client-go:v1.10.19
image: ethereum/client-go:v1.13.11
entrypoint: "/bin/sh -c"
command: [ "apk add -U bash && ./scripts/geth-local-poa-chain.sh" ]
working_dir: /data
networks:
- eth_network
env_file:
- './.env.docker'
volumes:
Expand All @@ -14,3 +16,8 @@ services:
target: /data
ports:
- "8546:8546"

networks:
eth_network:
name: eth_network
attachable: true
Loading
Loading